/* Inner pages (Legal, Market reviews). Tokens and components follow the home page. */
@font-face { font-family: "Instrument Sans"; src: url(instrument-sans.woff2) format("woff2"); font-weight: 400 500; font-stretch: 100%; font-display: swap; }

:root {
  --black: #000; --white: #fff;
  --mint: #eaf4eb; --mint-deep: #b5d0b8; --mint-bg: #eaf4eb; --mint-card: #ffffff;
  --ink: #323b33;
  --grey-50: #f7f8f8; --grey-100: #e2e5e5; --hair-grey: #cdd0d0; --grey-300: #cdd0d0; --grey-600: #5e5f5f; --grey-700: #1f1f1f;
  --hair-light: rgba(50, 59, 51, .22);
  --radius: 6px; --radius-sm: 3px;
  --display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5.6vw, 80px);
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --focus: var(--black);
}
@media (min-width: 1024px) { :root { --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, h4, p, ol, ul, figure, address, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
img, svg { display: block; }
a { color: inherit; }
p { text-wrap: pretty; }
::selection { background: var(--black); color: var(--mint); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }
.nw { white-space: nowrap; }
.tone { color: #708272; }
.lnk { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.lnk:hover { text-decoration-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; background: var(--black); color: var(--white); font: 500 17px/1.1 var(--body); text-decoration: none; text-align: center; white-space: nowrap; border: 1px solid var(--black); border-radius: var(--radius-sm); transition: background-color .25s var(--ease); }
.prose .btn, .prose .btn:hover { color: var(--white); text-decoration: none; }
.btn:hover { background: var(--grey-700); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; gap: 8px; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }

/* Header and footer: chrome.css (shared with Market reviews) */

/* Page head: the black band of the home page's first screen */
.ph { background: var(--black); color: var(--white); padding: 20px 0 clamp(32px, 4.5vw, 56px); }
.ph ::selection, .subnav ::selection { background: var(--mint); color: var(--black); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; line-height: 1.4; color: var(--grey-300); }
.crumbs a { color: var(--white); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.crumbs a:hover { text-decoration-color: transparent; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--grey-600); }
.ph a:focus-visible, .subnav a:focus-visible { outline-color: var(--white); }
.ph__h { margin-top: clamp(28px, 4vw, 56px); max-width: 22ch; font: 500 clamp(36px, 4.4vw, 60px)/1.04 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.ph__lead { margin-top: 16px; max-width: 62ch; font-size: 18px; line-height: 1.5; color: var(--grey-300); }
.ph__meta { margin-top: 14px; font-size: 15px; color: var(--grey-300); }
@media (min-width: 1024px) { .ph { padding-top: 28px; } .ph__lead { font-size: 20px; } }

/* Section switch inside the band: the chips of the home page's first screen */
.subnav { background: var(--black); padding: 0 0 clamp(32px, 4.5vw, 56px); }
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 15px 0 13px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: var(--white); font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.subnav a::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--mint-deep); transition: background-color .25s var(--ease), transform .3s var(--ease); }
.subnav a:hover, .subnav a[aria-current] { background: var(--white); border-color: var(--white); color: var(--black); }
.subnav a:hover::before, .subnav a[aria-current]::before { background: var(--ink); }
.subnav a:hover::before { transform: rotate(45deg); }
.ph:has(+ .subnav) { padding-bottom: 24px; }
@media (max-width: 599px) { .subnav ul { gap: 6px; } .subnav a { min-height: 36px; padding: 0 12px 0 11px; gap: 8px; font-size: 13.5px; } }
@media (min-width: 1024px) { .subnav a { min-height: 42px; padding: 0 18px 0 15px; font-size: 15px; } .ph:has(+ .subnav) { padding-bottom: 32px; } }

.pb { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); }
.sec-h { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.015em; }
.note { font-size: 14px; line-height: 1.55; color: var(--grey-600); max-width: 80ch; }

/* Document lists */
.dl-groups { display: grid; gap: 44px; }
.dl-g__h { padding-bottom: 12px; border-bottom: 1.5px solid var(--black); font: 500 clamp(20px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: -.01em; }
.dl-g__p { margin-top: 12px; font-size: 15px; color: var(--grey-600); max-width: 70ch; }
.dlist { margin-top: 4px; }
.dl-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; row-gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--grey-100); text-decoration: none; color: var(--black); }
.dl-i__t { font-size: 17px; line-height: 1.35; font-weight: 500; }
.dl-i__d { grid-column: 1; font-size: 15px; line-height: 1.45; color: var(--grey-600); max-width: 70ch; }
.dl-i__m { grid-column: 2; grid-row: 1; font-size: 13px; color: var(--grey-600); white-space: nowrap; }
.dl-i__m .arr { display: inline-block; margin-left: 6px; color: var(--black); transition: transform .3s var(--ease); }
a.dl-i:hover .dl-i__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.dl-i:hover .arr { transform: translateX(3px); }
@media (min-width: 1024px) { .dl-groups--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }

/* Document page: contents + text */
.doc-lay { display: grid; gap: 28px; }
.toc { font-size: 15px; }
.toc details { border: 1px solid var(--grey-100); border-radius: var(--radius); }
.toc summary { display: flex; align-items: center; min-height: 52px; padding: 0 16px; font-weight: 500; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--grey-600); }
.toc details[open] summary::after { content: "\2212"; }
.toc ol { padding: 0 16px 14px; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; color: var(--grey-600); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-on { color: var(--black); }
.toc .toc--sub a { padding-left: 14px; font-size: 14px; }
.toc .toc__top { display: none; }
@media (min-width: 1024px) {
  .doc-lay { grid-template-columns: 260px minmax(0, 760px); column-gap: 72px; align-items: start; }
  .doc-lay--plain { grid-template-columns: minmax(0, 860px); }
  .toc { position: sticky; top: calc(var(--hdr) + 28px); max-height: calc(100vh - var(--hdr) - 56px); overflow-y: auto; }
  .toc details { border: 0; }
  .toc summary { min-height: 0; padding: 0 0 12px; pointer-events: none; }
  .toc summary::after { display: none; }
  .toc ol { padding: 0; }
  .toc .toc__top { display: inline-block; margin-top: 18px; padding: 0; color: var(--ink); text-decoration: none; }
  .toc .toc__top:hover { color: var(--black); }
}

.prose { min-width: 0; color: var(--grey-700); font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 52px 0 14px; color: var(--black); font: 500 clamp(22px, 2vw, 27px)/1.2 var(--display); letter-spacing: -.012em; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h3 { margin: 32px 0 10px; color: var(--black); font: 500 19px/1.3 var(--display); scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h4, .prose h5 { margin: 24px 0 8px; color: var(--black); font-size: 17px; font-weight: 500; line-height: 1.4; }
.prose p, .prose ul, .prose ol, .prose dl, .prose .tbl, .prose figure { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 24px; }
.prose li { margin: 0 0 8px; padding-left: 2px; }
.prose li::marker { color: var(--grey-600); }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin: 8px 0 0; }
.prose a { color: var(--black); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: transparent; }
.prose b, .prose strong { font-weight: 500; color: var(--black); }
.prose img { max-width: 100%; height: auto; margin: 8px 0 20px; border: 1px solid var(--grey-100); }
.prose .tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--grey-100); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--grey-100); text-align: left; vertical-align: top; }
.prose th { background: var(--grey-50); color: var(--black); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose td + td, .prose th + th { border-left: 1px solid var(--grey-100); }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; }
.prose dt { color: var(--grey-600); }
.prose dd { color: var(--black); }
.auth { display: grid; gap: 16px; margin: 20px 0 8px; }
.auth > div { padding: 20px 22px; background: var(--grey-50); border-radius: var(--radius); }
.auth h3 { margin-top: 0; }
.auth dl { margin: 0; }
@media (min-width: 700px) { .auth { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Documents published as PDF */
.pdf-open { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pdf-meta { font-size: 14px; color: var(--grey-600); }
.pdfview { display: block; width: 100%; height: min(85vh, 1100px); margin-top: 28px; border: 1px solid var(--grey-100); border-radius: var(--radius); background: var(--grey-50); }
@media (max-width: 699px) { .pdfview { display: none; } }

/* Numbered steps (File a complaint) */
.steps3, .prose .steps3 { display: grid; gap: 3px; margin: 8px 0 40px; padding: 0; list-style: none; }
.prose .steps3 li, .prose .steps3 p { margin: 0; }
.steps3 li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; padding: 22px; background: var(--mint); }
.steps3 li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.steps3 li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.steps3__n { grid-row: span 3; font: 500 40px/.95 var(--display); color: var(--black); }
.steps3__t { color: var(--black); font: 500 19px/1.3 var(--display); }
.steps3__p { color: var(--ink); font-size: 16px; line-height: 1.5; }
.steps3 .btn { justify-self: start; margin-top: 8px; min-height: 46px; }
@media (max-width: 399px) { .steps3 li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 18px; } .steps3__n { font-size: 32px; } .steps3 .btn { padding: 0 18px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0s !important; } }
@media print {
  .hdr, .skip, .toc, .subnav, .ftr__links { display: none !important; }
  .ph { background: none; padding: 0 0 16px; }
  .doc-lay { display: block; }
  .prose { color: #000; }
}
