/* Inner pages (help, legal, contact...). Same tokens and look as index.html. No JavaScript anywhere. */
:root {
  --paper: #F4F4F0; --card: #FFFFFF; --ink: #191A18; --sub: #5F615B; --line: #E2E3DB;
  --lime: #D6FF3F; --lilac: #BD75F3; --orange: #FFAD53; --pink: #F255BC; --mint: #A7F2CA; --blue: #95CAFF;
  --on-accent: #191A18; --band: #191A18; --on-band: #F4F4F0; --band-sub: #A6A89F;
  --tint-lime: #EEFFB8; --tint-lilac: #F1E3FC; --tint-pink: #FDE3F3;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121311; --card: #1F201D; --ink: #F4F4F0; --sub: #A6A89F; --line: #30322E; --band: #000000;
    --tint-lime: #2A3311; --tint-lilac: #2B1F36; --tint-pink: #351C2B; color-scheme: dark }
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: env(safe-area-inset-top, 0px); overflow-wrap: break-word }
img { max-width: 100%; display: block }
a { color: inherit; text-underline-offset: 3px }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { margin: 0; text-wrap: balance }
p { margin: 0 }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub) }
.sticker { display: inline-block; font-family: var(--hand); font-size: 24px; line-height: 1.1; padding: 3px 12px; border-radius: 4px; box-shadow: 0 6px 14px rgba(0,0,0,0.14); color: var(--on-accent); white-space: nowrap; text-transform: none; letter-spacing: 0 }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform 160ms ease }
.btn:hover { transform: translateY(-2px) }
.btn-ink { background: #191A18; color: #F4F4F0 }
.btn-lime { background: var(--lime); color: var(--on-accent) }
.btn-ghost { box-shadow: inset 0 0 0 2px currentColor }

/* header (same as the home page) */
header.top { position: sticky; top: 0; z-index: 20; background: var(--lime); color: var(--on-accent) }
.nav { display: flex; align-items: center; gap: 24px; height: 68px }
.logo { font-weight: 800; font-size: 27px; letter-spacing: -0.04em; text-decoration: none }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font-weight: 700; font-size: 15px }
.nav ul a { text-decoration: none } .nav ul a:hover, .nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 14px }
.nav .help-m { display: none; margin-left: auto; font-weight: 800; font-size: 15px; text-decoration: none; padding: 10px 4px }
@media (max-width: 780px) { .nav ul { display: none } .nav .help-m { display: inline-block } .nav { gap: 14px } }

/* page hero */
.page-hero { background: var(--lime); color: var(--on-accent); padding-block: 44px 52px; overflow: hidden }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; position: relative }
.page-hero .eyebrow { color: #3E4A12 }
.page-hero h1 { font-size: clamp(50px, 8vw, 108px); max-width: 11em }
.page-hero .lede { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; max-width: 34em }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px }
.chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; padding: 7px 13px; border-radius: 999px; background: #191A18; color: #F4F4F0 }
.chip.light { background: rgba(255,255,255,0.6); color: #191A18 }
.page-hero .sticker { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: -6px; background: var(--lilac); transform: rotate(5deg) }
@media (max-width: 700px) { .page-hero .sticker { display: none } }

/* document layout: contents on the left, text on the right */
.doc-wrap { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 56px; padding-block: 56px 88px; align-items: start }
.toc { position: sticky; top: 92px; font-size: 14px }
.toc .eyebrow { display: block; margin-bottom: 10px }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line) }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--sub); text-decoration: none; font-weight: 700; line-height: 1.35 }
.toc a:hover { color: var(--ink); border-left-color: var(--lime) }
.toc-m { display: none }
@media (max-width: 900px) {
  .doc-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 64px }
  .toc { display: none }
  .toc-m { display: block; border-radius: 20px; background: var(--card); padding: 0 18px }
  .toc-m summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 800; font-size: 16px }
  .toc-m summary::-webkit-details-marker { display: none }
  .toc-m summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1 }
  .toc-m[open] summary::after { content: "–" }
  .toc-m ol { margin: 0; padding: 0 0 16px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700 }
  .toc-m a { text-decoration: none; color: var(--sub) }
}

/* prose */
.doc { max-width: 760px; min-width: 0 }
.doc > section { padding-block: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px }
.doc > section:last-child { border-bottom: 0; margin-bottom: 0 }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline }
.doc h2 .num { font-family: var(--display); font-weight: 400; font-size: 0.9em; color: var(--sub); flex-shrink: 0 }
.doc h3 { font-size: 18px; font-weight: 800; margin: 22px 0 8px }
.doc p, .doc ul, .doc ol { color: var(--ink); margin: 0 0 14px }
.doc p.sub, .doc .sub { color: var(--sub) }
.doc ul, .doc ol { padding-left: 22px }
.doc li { margin-bottom: 8px }
.doc li::marker { color: var(--sub) }
.doc strong { font-weight: 800 }
.doc a { font-weight: 700 }
.summary { border-radius: 24px; background: var(--card); padding: 24px; margin-bottom: 36px }
.summary h2 { font-size: 20px; margin-bottom: 12px }
.summary ul { margin: 0; padding-left: 20px }
.note { border-radius: 18px; padding: 16px 18px; margin: 4px 0 16px; background: var(--tint-lime); font-size: 16px }
.note.lilac { background: var(--tint-lilac) } .note.pink { background: var(--tint-pink) }
.note b { font-weight: 800 }

/* tables (stack on phones) */
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 18px }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line) }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sub); font-weight: 800 }
.table td:first-child { font-weight: 800 }
@media (max-width: 640px) {
  .table thead { display: none }
  .table, .table tbody, .table tr, .table td { display: block; width: 100% }
  .table tr { padding: 12px 0; border-bottom: 1px solid var(--line) }
  .table td { border: 0; padding: 2px 0 }
  .table td[data-label]::before { content: attr(data-label) ": "; font-weight: 800; color: var(--sub); font-size: 13px }
  .table td:first-child { font-size: 16px; margin-bottom: 4px }
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0 }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.card { display: flex; flex-direction: column; gap: 8px; border-radius: 24px; background: var(--card); padding: 22px; text-decoration: none; min-width: 0; transition: transform 160ms ease }
a.card:hover { transform: translateY(-2px) }
.card .ic { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--on-accent); background: var(--lime); flex-shrink: 0 }
.card .ic.lilac { background: var(--lilac) } .card .ic.mint { background: var(--mint) } .card .ic.orange { background: var(--orange) } .card .ic.pink { background: var(--pink) } .card .ic.blue { background: var(--blue) }
.card b { font-size: 18px; font-weight: 800; line-height: 1.25 }
.card span { color: var(--sub); font-size: 15px; line-height: 1.45 }
.card .go { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: 14px; color: var(--ink) }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr) } }

/* help center */
.help-top { padding-block: 48px 8px }
.help-sec { padding-block: 40px 8px }
.help-sec .head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px }
.help-sec h2 { font-size: clamp(34px, 4.6vw, 56px) }
.faq { max-width: 820px }
details.q { border-bottom: 1px solid var(--line) }
details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 800; line-height: 1.35 }
details.q summary::-webkit-details-marker { display: none }
details.q summary::after { content: "+"; font-family: var(--display); font-size: 28px; line-height: 1; width: 40px; height: 40px; border-radius: 999px; background: var(--card); display: grid; place-items: center; flex-shrink: 0; transition: transform 200ms ease }
details.q[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--on-accent) }
details.q .a { padding-bottom: 22px; color: var(--sub); max-width: 42em; display: flex; flex-direction: column; gap: 10px }
details.q .a ul, details.q .a ol { margin: 0; padding-left: 22px } details.q .a li { margin-bottom: 4px }
details.q .a strong, details.q .a a { color: var(--ink); font-weight: 800 }

/* steps (numbered, used on delete-account and complaints) */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; border-radius: 20px; background: var(--card); padding: 16px; margin: 0 }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 24px; width: 44px; height: 44px; border-radius: 999px; background: var(--lime); color: var(--on-accent); display: grid; place-items: center }
.steps b { display: block; font-weight: 800; margin-bottom: 2px }
.steps span { color: var(--sub) }

/* contact band at the end of pages */
.ask { background: var(--lilac); color: var(--on-accent); padding-block: 64px }
.ask .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between }
.ask h2 { font-size: clamp(40px, 6vw, 76px); flex: 1 1 380px; min-width: 0 }
.ask p { font-weight: 600; max-width: 28em; margin-top: 10px }
.ask .ctas { display: flex; flex-wrap: wrap; gap: 12px }

.err { min-height: 50vh; padding-block: 72px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #191A18; color: #F4F4F0; padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none }
.skip:focus { top: 12px }

/* about */
.about-sec { padding-block: 72px }
.about-sec h2.display { font-size: clamp(42px, 6vw, 80px) }
.band-sec { background: var(--band); color: var(--on-band) }
.band-sec .eyebrow { color: var(--band-sub) }
.band-sec .card { background: #262724; color: #F4F4F0 } .band-sec .card span { color: #A6A89F }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center }
.split-text { display: flex; flex-direction: column; gap: 16px; max-width: 36em }
.split-text p { color: var(--sub); font-size: 18px }
.phone { width: 100%; max-width: 290px; border-radius: 44px; background: #191A18; padding: 9px; box-shadow: 0 30px 60px rgba(25,26,24,0.25); justify-self: center }
.phone img { border-radius: 36px; width: 100%; height: auto; aspect-ratio: 390 / 844 }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr) } .about-sec { padding-block: 52px } }

/* help topics: compact two-up tiles on phones */
@media (max-width: 560px) {
  .cards.topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .cards.topics .card { padding: 16px; border-radius: 20px; gap: 10px }
  .cards.topics .card b { font-size: 15px }
  .cards.topics .card span:not(.ic) { display: none }
  .cards.topics .card .ic { width: 38px; height: 38px }
}
.doc ol.steps { padding-left: 0 }
