/* Shared styles for the plain pages (privacy, terms, support, delete account).
   The landing page keeps its own inline CSS; the tokens, header and footer here match it. */
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("/fonts/BigShouldersDisplay_900Black.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/fonts/Nunito_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/fonts/Nunito_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("/fonts/Nunito_900Black.ttf") format("truetype"); }

:root {
  color-scheme: dark;
  --navy: #0E1726;
  --navy-deep: #0A111D;
  --panel: #16233A;
  --border: #2A3D5E;
  --signal: #FF6B3D;
  --paper: #F3EAD7;
  --paper-light: #FBF5E8;
  --paper-shade: #E3D5BA;
  --ink: #1A2436;
  --ink-dim: #4F5B6E;
  --rust: #A8452A;
  --gilt: #E2B04C;
  --gilt-text: #F2CB73;
  --teal: #3FC1C9;
  --steel-text: #C9D2DC;
  --poster: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --game: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --edge: max(20px, env(safe-area-inset-left, 0px));
  --edge-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; background: var(--navy); color: var(--paper); font-family: var(--game); font-weight: 700; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge-r); }
.track { height: 12px; background: linear-gradient(var(--rail, var(--paper-shade)), var(--rail, var(--paper-shade))) top / 100% 4px no-repeat, repeating-linear-gradient(90deg, var(--sleeper, var(--border)) 0 10px, transparent 10px 22px) bottom / 100% 6px no-repeat; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); border-bottom: 2px solid var(--navy-deep); box-shadow: 0 3px 0 rgba(10, 17, 29, 0.6); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--navy); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--poster); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: 0.02em; }
.brand-name span { color: var(--signal); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 900; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 640px) { .nav { gap: 16px; } .nav a { font-size: 12px; letter-spacing: 0.1em; } .nav .nav-extra { display: none; } }
@media (max-width: 420px) { .site-head .brand-name { display: none; } }

/* Page title band */
.page-head { padding-block: 64px 48px; }
.page-head .eyebrow { margin: 0 0 14px; font-weight: 900; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gilt-text); }
.page-head h1 { margin: 0 0 22px; font-family: var(--poster); font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em; font-size: clamp(52px, 8vw, 96px); }
.page-head .lede { margin: 22px 0 0; max-width: 60ch; font-size: 19px; color: var(--steel-text); }
.updated { margin: 14px 0 0; font-size: 15px; color: #8A94A3; }

/* Draft notice: remove from every page once the text is final (docs/prelaunch-checklist.md) */
.draft { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 7px 12px; border-radius: 10px; background: var(--panel); border: 2px dashed var(--gilt); font-weight: 900; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gilt-text); }
/* Facts still to confirm before launch. Search the pages for class="confirm". */
mark.confirm { background: #FFE9A8; color: var(--ink); padding: 0 4px; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--gilt); }

/* Body copy on poster paper */
.doc { background: var(--paper); color: var(--ink); padding-block: 64px 96px; }
.doc .wrap { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 56px; align-items: start; }
.doc .wrap.single { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 72ch; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-family: var(--poster); font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: 0.95; letter-spacing: 0.01em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-weight: 900; font-size: 19px; }
.prose p, .prose li { color: #2B3547; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 900; }

.toc { position: sticky; top: 96px; padding: 20px 22px; background: var(--paper-light); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); }
.toc p { margin: 0 0 10px; font-weight: 900; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 15px; }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 900px) { .doc .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .toc { position: static; } }

/* The short version, and other boxed notes */
.plate { padding: 22px 24px; background: var(--paper-light); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); }
.plate > * + * { margin-top: 10px; }
.plate h2, .plate h3 { margin-top: 0; }
.plate.navy { background: var(--navy); color: var(--paper); border-color: var(--navy-deep); box-shadow: 0 5px 0 var(--navy-deep); }
.plate.navy p, .plate.navy li { color: var(--steel-text); }
.plate.navy strong { color: var(--paper); }
.plate.navy a { color: var(--gilt-text); }
.ticks { list-style: none; padding-left: 0 !important; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Data table: stacks into cards on narrow screens */
.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--paper-light); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.data th, .data td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 2px solid var(--paper-shade); }
.data thead th { background: var(--ink); color: var(--paper); font-weight: 900; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 0; }
.data tbody tr:last-child > * { border-bottom: 0; }
.data tbody th { font-weight: 900; color: var(--ink); width: 22%; }
.data td { color: #2B3547; }
@media (max-width: 760px) {
  .data, .data tbody, .data tr, .data th, .data td { display: block; width: auto !important; }
  .data thead { display: none; }
  .data tr { padding: 12px 0; border-bottom: 2px solid var(--paper-shade); }
  .data tbody tr:last-child { border-bottom: 0; }
  .data th, .data td { border: 0; padding: 4px 16px; }
  .data td::before { content: attr(data-label); display: block; font-weight: 900; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
}

/* Contact card on support */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.contact .plate { display: flex; flex-direction: column; gap: 8px; }
.contact .label { font-weight: 900; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.contact .big { font-family: var(--poster); font-weight: 900; font-size: 32px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.contact .big a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.steps-list { list-style: none; padding-left: 0 !important; counter-reset: s; }
.steps-list > li { position: relative; padding-left: 52px; counter-increment: s; min-height: 38px; }
.steps-list > li + li { margin-top: 14px; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: var(--paper); font-family: var(--poster); font-weight: 900; font-size: 22px; }

/* Footer */
.site-foot { background: var(--navy-deep); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: #8A94A3; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.site-foot .brand-name { color: var(--paper); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-notes { display: flex; flex-direction: column; gap: 8px; max-width: 64ch; }
.foot-notes p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 8px; padding: 0; list-style: none; }
.foot-links a { color: var(--steel-text); font-weight: 900; text-decoration: none; }
.foot-links a:hover { color: var(--paper); text-decoration: underline; }
