/* akousa.app: Dawn, phone first. The app's own tokens (ios/AkousaDesign/Sources/AkousaDesign/Tokens/Palette.swift,
   Typography.swift): paper, taupe, stone and ink; Hanken Grotesk light for display, Newsreader for every word you read
   aloud, Geist Mono for labels. Colour lives only in Kaanu's ears and the dawn light; racing red only for a slip and the
   live dot. Shapes: actions are pills, containers 28 to 36 px.
   The home page lives in daylight after its hero (html.daylight: light whatever the phone's setting); the document
   pages follow the phone's dark mode. The study pages keep styles.css (light only, with its own walk-through); this
   file keeps the old class names (.wrap, header.top, .doc, .box, .label) so a page written for styles.css can switch.
   This file holds what every page shares, the document pages and the accuracy page; the home page's own sections
   (Hari's v2 design, 6 Oct 2026) are in home.css. */

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 200 500; font-display: swap;
  src: url(/fonts/hanken-grotesk-site.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 380 520; font-display: swap;
  src: url(/fonts/newsreader-site.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/geist-mono-site.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #FDFCFB;
  --taupe: #F5F3F1;
  --stone: #EBE8E4;
  --hair: #DCD6CF;
  --ink: #000000;
  --graphite: #44403B;
  --label: #625C55;
  --muted: #625C55;
  --ash: #A59F97;
  --on-ink: #FDFCFB;
  --slip: #E10600;
  --slip-text: #E10600;
  --near: #8E877F;
  --glow: linear-gradient(90deg, #844BDB 0%, #E0569B 36%, #FF7A52 70%, #FFC08A 100%);
  --lift: 0 1px 2px rgb(68 64 59 / .06), 0 22px 48px -24px rgb(68 64 59 / .32);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "New York", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5.2vw, 72px);
  --max: 1200px;
  --section: clamp(80px, 10vw, 136px);
}
@media (prefers-color-scheme: dark) {
  :root:not(.daylight) {
    --paper: #121110;
    --taupe: #1E1C1A;
    --stone: #2A2724;
    --hair: #3A3632;
    --ink: #F3F0EC;
    --graphite: #D2CCC5;
    --label: #A39C94;
    --muted: #A39C94;
    --ash: #5C5650;
    --on-ink: #121110;
    --slip-text: #FF2D20;
    --lift: 0 1px 2px rgb(0 0 0 / .5), 0 24px 56px -24px rgb(0 0 0 / .85);
  }
}
:root.daylight { color-scheme: light; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--stone); color: var(--ink); }
b, strong { font-weight: 500; color: var(--ink); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.label { font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ------------------------------------------------------------------ the wordmark and the header (document pages) */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 21px; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink); }
/* the brand is the wordmark alone (Hari, 8 Oct 2026); Kaanu stays the favicon and the app icon */
.site-head { position: relative; z-index: 10; }
.site-head .wrap, header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-nav, header.top nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.site-nav a, header.top nav a { display: inline-flex; align-items: center; min-height: 44px; font: 500 12px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--graphite); }
.site-nav a:hover, header.top nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 620px) { .site-nav .more { display: none; } }

/* ------------------------------------------------------------------ actions */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 500 17px/1.1 var(--sans);
  letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s; }
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(.98); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 6px; }
.link:hover { text-decoration-color: var(--ink); text-decoration-thickness: 1px; }
.link::after { content: "\2192"; font-weight: 400; transition: transform .2s; }
.link:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.h2 { margin: 0; max-width: 16em; font-weight: 300; font-size: clamp(40px, 7.4vw, 84px); line-height: 1.02;
  letter-spacing: -.04em; text-wrap: balance; }
.h3 { margin: 0; font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.012em; }
.lede { margin: 24px 0 0; max-width: 34em; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--graphite);
  text-wrap: pretty; }
.fine { font-size: 14px; line-height: 1.55; color: var(--label); text-wrap: pretty; }

/* ------------------------------------------------------------------ questions (the home page, and the support page's details) */
.faq { max-width: 860px; }
.faq .h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.qa { border-top: 1px solid var(--stone); }
.qa:last-child { border-bottom: 1px solid var(--stone); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 0; cursor: pointer;
  list-style: none; font-size: 19px; font-weight: 500; letter-spacing: -.012em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after, .doc summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.qa[open] summary::after, .doc details[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 0 22px; max-width: 40em; }
.qa .a p { margin: 0 0 10px; color: var(--graphite); text-wrap: pretty; }

/* ------------------------------------------------------------------ footer (every page) */
.site-foot { margin-top: var(--section); padding-block: 40px 56px; border-top: 1px solid var(--stone); }
.site-foot .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.foot-brand p { margin: 0; color: var(--label); font-size: 15px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); text-decoration: none; font-size: 15px; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--stone); color: var(--label);
  font-size: 13px; line-height: 1.5; }
.foot-legal p { margin: 0; }
.foot-legal .fraud { color: var(--graphite); }
/* the old footer markup (pages written for styles.css) */
.wrap > footer { margin-top: 24px; padding-block: 32px 48px; border-top: 1px solid var(--stone); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px 20px; font-size: 14px; color: var(--label); }
.wrap > footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.wrap > footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); }

/* ------------------------------------------------------------------ documents: privacy, terms, support, 404 */
.doc { max-width: 720px; padding-block: clamp(28px, 5vw, 56px) 24px; }
.doc h1 { margin: 14px 0 0; font-weight: 300; font-size: clamp(44px, 8vw, 72px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.doc .updated { margin-top: 16px; }
.doc h2 { margin: 48px 0 0; font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; }
.doc p, .doc li { color: var(--graphite); text-wrap: pretty; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.doc li::marker { color: var(--label); }
.doc .box { margin-top: 30px; padding: 20px 22px; border-radius: 24px; background: var(--taupe); box-shadow: inset 0 0 0 1px var(--hair); }
.doc .box p { margin: 0; color: var(--ink); }
.doc details { border-bottom: 1px solid var(--stone); }
.doc details:first-of-type { border-top: 1px solid var(--stone); margin-top: 32px; }
.doc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 0; cursor: pointer;
  list-style: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.doc summary::-webkit-details-marker { display: none; }
.doc details p { margin: 0 0 18px; }

/* ------------------------------------------------------------------ the accuracy page (its own pieces; it follows dark mode) */
.acc .intro { margin-top: 20px; }
.acc h3 { margin: 30px 0 0; font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.acc b { font-weight: 500; color: var(--ink); }
.acc .figs { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.acc .fig { min-width: 0; padding: 18px 18px 20px; border-radius: 18px; background: var(--taupe); box-shadow: inset 0 0 0 1px var(--hair); }
.acc .fig .big { display: block; font-weight: 200; font-size: 40px; line-height: 1; letter-spacing: -.04em; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc .fig p { margin: 12px 0 0; font-size: 15px; line-height: 1.45; }
.acc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 16px; }
.acc th { padding: 0 0 8px; border-bottom: 1px solid var(--stone); text-align: left; font: 500 11px/1.4 var(--mono);
  letter-spacing: .05em; text-transform: uppercase; color: var(--label); }
.acc th:last-child, .acc td.n { text-align: right; }
.acc td { padding: 12px 0; border-bottom: 1px solid var(--stone); color: var(--graphite); vertical-align: top; line-height: 1.4; }
.acc td.n { padding-left: 16px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc td small { display: block; color: var(--label); font-size: 14px; }
.acc .when { margin-left: 6px; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--label);
  white-space: nowrap; }
.acc .ranges { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.acc .range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.acc .range-top span { color: var(--graphite); }
.acc .range-top b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc .track { position: relative; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--stone); }
.acc .track i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); }
.acc .track .r-clear { left: 80.52%; width: 14.29%; }      /* 62 to 73 of 77 */
.acc .track .r-us { left: 76.62%; width: 15.58%; }         /* 59 to 71 */
.acc .track .r-gb { left: 74.03%; width: 16.88%; }         /* 57 to 70 */
.acc .axis { display: flex; justify-content: space-between; margin-top: -8px; }
.acc .marks { margin: 16px 0 0; }
.acc .marks > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; align-items: baseline;
  border-bottom: 1px solid var(--stone); }
.acc .marks > div:first-child { border-top: 1px solid var(--stone); }
.acc .marks dt { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.acc .marks dd { margin: 0; color: var(--graphite); }
.acc .mk-slip { text-decoration: underline; text-decoration-color: #E10600; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.acc .mk-near { text-decoration: underline dotted; text-decoration-color: var(--near); text-decoration-thickness: 3px;
  text-underline-offset: 6px; }
.acc .passage { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); }
.acc .credits li { font-size: 15px; }
.acc .contact { margin-top: 12px; }
@media (max-width: 760px) {
  .acc .figs { grid-template-columns: 1fr; }
  .acc .fig .big { font-size: 44px; }
  .acc .marks > div { grid-template-columns: 96px minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ reduced motion: everything there, finished, still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* "tell me when it's ready" (8 Oct 2026) */
.notify { margin-top: 20px; display: grid; gap: 10px; max-width: 520px; }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify input[type=email] { flex: 1 1 220px; min-height: 54px; padding: 0 18px; border-radius: 999px; border: 1px solid #CFC8C0;
  background: #FDFCFB; color: #000; font: inherit; font-size: 17px; }
.notify input[type=email]:focus { outline: 2px solid #000; outline-offset: 2px; }
.notify-platform { border: 0; padding: 0; margin: 0; display: flex; gap: 22px; font-size: 16px; }
.notify-platform label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.notify-note { font-size: 14px; color: #5E5752; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
