/* Readable legal pages, matching the main site's restrained typography. */
.legal-page{max-width:800px;padding-block:68px 84px;overflow-wrap:anywhere}
.legal-page h1{font-size:clamp(38px,5vw,66px);line-height:1.12;letter-spacing:-2px;margin-bottom:16px}
.legal-page .eyebrow{margin-bottom:18px}
.legal-date{font-size:13px;color:var(--muted);margin-bottom:28px}
.legal-page p,.legal-page li,.legal-facts{font-size:15px;line-height:1.8;color:#c6c6c6}
.legal-page h2{font-size:28px;line-height:1.3;letter-spacing:-.6px;margin-bottom:20px}
.legal-page h3{font-size:18px;line-height:1.5;margin-block:26px 12px}
.legal-page section{padding-top:34px;margin-top:32px;border-top:1px solid var(--line);scroll-margin-top:24px}
.legal-page a{text-decoration:underline;text-underline-offset:4px}
.legal-page strong{color:#eee;font-weight:600}
.legal-draft{border:1px solid #555;border-radius:8px;padding:20px;margin-bottom:30px;font-size:14px;line-height:1.75;color:#ddd}
.legal-draft strong{display:block}
.legal-page .legal-pending{border-left:2px solid #777;padding-left:16px;color:#bcbcbc}
.legal-toc{display:flex;flex-wrap:wrap;gap:12px 24px;line-height:1.6;font-size:13px;margin-top:26px}
.legal-facts dt{font-weight:500;color:#eee;margin-top:20px}
.legal-facts dd{margin:6px 0 0}
.legal-page ul{padding-left:22px}
.legal-page li+li{margin-top:14px}
@media(max-width:760px){.legal-page{padding-block:42px 56px}.legal-page h2{font-size:25px}.legal-page p,.legal-page li,.legal-facts{font-size:14px}.legal-page h1{letter-spacing:-1px}.legal-toc{gap:10px 20px}}

/* Quiet text rows, consistent with the rest of the site. */
.legal-page ul{list-style:none;padding-left:0}
.legal-page li{padding-block:6px}

/* Terms and data processing agreement: clause numbers, the sub-processor table and the print link. */
.legal-print{border:0;background:none;padding:0;margin-left:14px;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px}
.legal-parties{margin-top:30px}
.clause-number{color:#eee;font-weight:500;margin-right:6px}
.legal-table-wrap{overflow-x:auto;margin-top:8px}
.legal-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;color:#c6c6c6}
.legal-table th,.legal-table td{text-align:left;vertical-align:top;padding:12px 16px 12px 0;border-bottom:1px solid var(--line);min-width:140px}
.legal-table thead th{color:#eee;font-weight:500}
.legal-table tbody th{font-weight:400;color:#eee}
@media(max-width:760px){.legal-print{display:block;margin:8px 0 0}.legal-table,.legal-table tbody,.legal-table tr,.legal-table th,.legal-table td{display:block;min-width:0}.legal-table thead{display:none}.legal-table tr{padding-block:12px;border-bottom:1px solid var(--line)}.legal-table th,.legal-table td{border:0;padding:4px 0}.legal-table tbody th{font-weight:500}.legal-table td::before{content:attr(data-label) ": ";color:#eee}}

/* Printing or saving as PDF: black on white, without the site's header, footer and navigation. */
@media print{
  @page{margin:18mm 16mm}
  html,body{background:#fff!important;color:#000!important}
  .skip-link,.site-header,.site-footer,.legal-toc,.legal-print,.consent-banner,dialog{display:none!important}
  .legal-page{width:auto;max-width:none;padding:0;margin:0}
  .legal-page h1{font-size:26pt;letter-spacing:0;color:#000}
  .legal-page h2{font-size:14pt;letter-spacing:0;margin-bottom:8pt;color:#000;break-after:avoid}
  .legal-page p,.legal-page li,.legal-table,.legal-date,.legal-page strong,.clause-number,.legal-table th{font-size:10.5pt;line-height:1.5;color:#000!important}
  .legal-page section{border-top:1px solid #999;padding-top:10pt;margin-top:12pt}
  .legal-page p{orphans:3;widows:3}
  .legal-page a{color:#000;text-decoration:none}
  .legal-table th,.legal-table td{border-bottom:1px solid #999;padding:6pt 8pt 6pt 0}
  .legal-table-wrap{overflow:visible}
  .legal-table tr{break-inside:avoid}
}
