/* Legal document style: privacy, terms and delete-account.
   A plain, formal document in the brand font: no cards, panels, icons or coloured accents. */
.legal{background:#ffffff;color:#1c1838;font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:26px;-webkit-font-smoothing:antialiased;text-align:left}
.legal .doc{max-width:784px} /* 720 px text column plus the 32 px side padding */
.legal .foot{margin-top:64px}
.legal .foot .wrap{max-width:784px}

/* Links */
.legal a{color:#1c1838;text-decoration:underline;text-underline-offset:3px}
.legal a:focus-visible,.table-scroll:focus-visible{outline:2px solid #1c1838;outline-offset:3px}
.legal .foot-links a{text-decoration:none}
.legal .foot-links a:hover{text-decoration:underline}
.legal .foot-base a{color:#6b6359;text-decoration:underline;text-underline-offset:2px}

/* Document header */
.doc-head{padding:32px 0 24px;border-bottom:1px solid #e8e1d5}
.doc-logo{display:inline-block;line-height:0}
.doc-logo svg{width:107px;height:30px;display:block}
.doc .doc-label{margin:32px 0 0;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:#6b6359}
.doc h1{margin:8px 0 0;font-size:30px;line-height:38px;font-weight:600}
.doc-logo + h1{margin-top:32px}
.doc .doc-meta{margin:12px 0 0;font-size:14px;line-height:20px;color:#6b6359}

/* Contents */
.contents h2{margin:28px 0 0;font-size:18px;line-height:26px;font-weight:600}
.doc .contents ol{list-style:none;margin:12px 0 0;padding:0;columns:2;column-gap:40px;font-size:15px;line-height:24px}
.doc .contents li{margin:0 0 4px;break-inside:avoid}

/* Body */
.doc-body > :first-child{margin-top:32px}
.doc-body > h2:first-child{margin-top:40px}
.doc h2{margin:40px 0 0;font-size:18px;line-height:26px;font-weight:600;scroll-margin-top:16px}
.doc h3{margin:24px 0 0;font-size:16px;line-height:26px;font-weight:600;scroll-margin-top:16px}
.doc h2 + *,.doc h3 + *{margin-top:8px}
.doc p{margin:12px 0 0}
.doc ul,.doc ol{margin:12px 0 0;padding-left:24px}
.doc li + li{margin-top:4px}
.doc strong{font-weight:600}

/* Tables: wide ones scroll sideways inside their own box; words never split */
.table-scroll{margin:12px 0 0;max-width:100%;overflow-x:auto}
.table-scroll table{width:100%;border-collapse:collapse;font-size:14px;line-height:20px}
.table-scroll th,.table-scroll td{padding:8px 12px;border:1px solid #e8e1d5;text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal;hyphens:none}
.table-scroll th{background:#f7f3ea;font-weight:600}

@media (max-width:640px){
  .legal{font-size:15px;line-height:24px}
  .doc h1{font-size:24px;line-height:32px}
  .doc .contents ol{columns:1}
  .table-scroll table.w3{min-width:640px}
  .table-scroll table.w4{min-width:760px}
}

@media print{
  @page{margin:18mm}
  html,body,.legal{background:#ffffff !important;color:#000000 !important}
  .legal{font-size:11pt;line-height:1.45}
  .legal a,.legal .foot-base,.legal .foot-base a,.doc-label,.doc-meta{color:#000000 !important}
  .contents,.foot-row{display:none !important}
  .legal .doc,.legal .foot .wrap{max-width:none;padding-left:0;padding-right:0}
  .doc-head{padding-top:0}
  .legal .foot{margin-top:24px}
  .foot-base{padding-bottom:0}
  .doc h2,.doc h3{break-after:avoid;page-break-after:avoid}
  .doc p:has(+ .table-scroll){break-after:avoid;page-break-after:avoid}
  .table-scroll + *{break-before:avoid;page-break-before:avoid}
  .table-scroll{overflow:visible}
  .table-scroll table,.table-scroll table.w3,.table-scroll table.w4{min-width:0}
  .table-scroll tr{break-inside:avoid;page-break-inside:avoid}
  .table-scroll thead{display:table-header-group}
  .table-scroll th{background:#ffffff !important}
  .table-scroll th,.table-scroll td{border-color:#666666}
}
