/* Akashic public site. Plain CSS, no framework, no third-party requests.
   Orbital identity: Space Grotesk / Inter / IBM Plex Mono on the dark canvas. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --void: #080B13; --midnight: #0C1222; --surface: #131B2B; --raised: #1C2940;
  --violet: #826BFF; --violet-hover: #9B8AFF; --cyan: #45D9F4; --gold: #F4BF85;
  --mint: #64DBB4; --coral: #FF9C94; --ink: #F6F7FB;
  --body-ink: var(--ink); --muted: #B9C1D3; --muted-dark: #B9C1D3;
  --line: #29354B; --line-dark: #29354B;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px; --measure: 62ch; --gutter: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--void); color: var(--body-ink); }
body { overflow-x: clip; display: flex; flex-direction: column; min-height: 100vh; font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; min-width: 0; width: 100%; }
::selection { background: rgba(130, 107, 255, 0.32); }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
code { font-family: var(--mono); background: rgba(246, 247, 251, 0.08); padding: 0.1em 0.35em; border-radius: 6px; font-size: 0.9em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--gold); color: var(--void); border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header / footer ---------- */
header.site-header { border-bottom: 1px solid var(--line); background: var(--void); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 16px var(--gutter); flex-wrap: wrap; }
header.site-header .wrap.bar { max-width: 1320px; }
/* phones: the wordmark and Join on one row, the four links on one line beneath */
@media (max-width: 760px) {
  body header.site-header .bar { flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; padding-top: 12px; padding-bottom: 10px; }
  body nav.site-nav { display: contents; }
  body .bar .brand { order: 0; margin-right: auto; }
  body .bar .nav-cta { order: 1; padding: 7px 16px; }
  body .bar::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  body nav.site-nav a:not(.nav-cta) { display: inline; order: 3; font-size: .88rem; white-space: nowrap; }
  @media (max-width: 360px) { body header.site-header .bar { column-gap: 13px; } body nav.site-nav a:not(.nav-cta) { font-size: .82rem; } }
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 176px; height: auto; display: block; }
nav.site-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 0.92rem; }
nav.site-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav.site-nav a:hover { color: var(--ink); }
nav.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
nav.site-nav a.nav-cta { background: var(--violet); color: var(--void); font-weight: 600; padding: 8px 18px; border-radius: 8px; }
nav.site-nav a.nav-cta:hover { background: var(--violet-hover); color: var(--void); }
nav.site-nav a.nav-cta[aria-current="page"] { text-decoration: none; }

footer.site-footer { background: var(--midnight); color: var(--muted); margin-top: 96px; padding: 44px 0 56px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-inner .brand img { width: 150px; }
.footer-inner .fine { max-width: 40ch; margin: 0; font-size: 0.85rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner nav a { color: var(--muted); font-size: 0.85rem; text-decoration: none; padding: 4px 0; }
.footer-inner nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 14px; max-width: 24ch; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 6px; }
p { margin: 0 0 1rem; max-width: var(--measure); }
p.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink); max-width: 44ch; }
.muted, .fine { color: var(--muted); }
.fine { font-size: 0.88rem; }
ul, ol { max-width: var(--measure); padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--gold); }
dl { margin: 0; }
dt { color: var(--cyan); font-weight: 600; margin-top: 1rem; }
dd { margin: 2px 0 0; max-width: var(--measure); }
.eyebrow { display: block; margin: 0 0 14px; color: var(--gold); font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }

section { padding: 88px 0 0; }
section.first { padding-top: 64px; }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 8px; }
a.button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; background: var(--violet); color: var(--void); font-weight: 600; text-decoration: none; }
a.button:hover { background: var(--violet-hover); color: var(--void); }
a.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
a.button.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; }
.text-link:hover, .arrow-link:hover { color: var(--cyan); }

/* ---------- generated pages: privacy, security, changelog ---------- */
.prose h1 { max-width: none; }
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 28px; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; }

/* ---------- home: hero ---------- */
.home-main { max-width: var(--wrap); }
.home-page .home-main > section { padding-top: 104px; }
.home-page .home-main > .hero { padding-top: 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.hero h1 { max-width: 13ch; margin: 0 0 22px; font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1; }
.hero-lede { max-width: 40ch; margin: 0 0 14px; color: var(--ink); font-size: 1.2rem; line-height: 1.5; }
.hero-line { max-width: 44ch; margin: 0 0 28px; color: var(--muted); font-size: .95rem; }
.hero-note { margin: 28px 0 0; padding-left: 16px; border-left: 1px solid var(--gold); color: var(--muted); font-size: .88rem; }

/* the live Ask example (driven by home.js and the Rive Signal mark) */
.ask { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.ask-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.signal { position: relative; width: 56px; height: 56px; flex: 0 0 56px; }
.signal-canvas { width: 56px; height: 56px; display: block; }
.signal-canvas[hidden], .signal-still[hidden] { display: none; }
.signal-still { position: absolute; inset: 18px; border-radius: 50%; border: 2px solid var(--mint); }
.ask-status { flex: 1; min-width: 0; font-size: .9rem; }
.ask[data-state="working"] .ask-status, .ask[data-state="idle"] .ask-status { color: var(--muted); }
.ask-replay { background: transparent; color: var(--cyan); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font: 500 .8rem var(--sans); cursor: pointer; }
.ask-replay:hover { border-color: var(--cyan); }
.ask-replay:disabled { opacity: .45; cursor: default; }
.ask-body { display: grid; gap: 10px; padding-top: 18px; }
.bubble { margin: 0; padding: 11px 15px; border-radius: 14px; max-width: 32ch; font-size: .95rem; line-height: 1.45; }
.bubble.you { justify-self: end; background: var(--raised); }
.bubble.ak { background: rgba(130, 107, 255, .16); border: 1px solid rgba(130, 107, 255, .4); }
.ask-source { margin: 4px 0 0; color: var(--gold); font: 400 .78rem var(--mono); }
.ask[data-state="idle"] .ask-source, .ask[data-state="idle"] .bubble.ak,
.ask[data-state="working"] .ask-source, .ask[data-state="working"] .bubble.ak { opacity: 0; }
.ask .bubble.ak, .ask .ask-source { transition: opacity .4s ease; }
.ask figcaption, .shot figcaption { margin-top: 14px; color: var(--muted); font-size: .8rem; }

/* ---------- the idea: sources -> record -> assistants ---------- */
.idea-rows { display: grid; gap: 20px; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, .8fr) 40px minmax(0, 1fr); align-items: stretch; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.flow.others { background: transparent; border-style: dashed; grid-template-columns: minmax(0, 1fr) 40px minmax(0, .8fr); }
.flow .col h3 { margin: 0 0 12px; font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.flow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.flow li { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--midnight); }
.flow .join { align-self: center; justify-self: center; color: var(--gold); font-size: 1.4rem; }
.flow .record { display: grid; align-content: center; gap: 4px; padding: 18px; border: 1px solid var(--gold); border-radius: 10px; background: rgba(244, 191, 133, .07); text-align: center; }
.flow .record strong { font: 500 1.25rem var(--display); }
.flow .record span { color: var(--muted); font-size: .85rem; }
.flow.others .record { border-color: var(--line); background: var(--midnight); }
.flow.others .record strong { font-size: 1.05rem; }
.flow .assistants li.on { border-color: var(--cyan); color: var(--cyan); }
.idea-note { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.idea-note strong { color: var(--ink); font-weight: 600; }
.flow-label { margin: 0 0 8px; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ---------- a worked example: the request, the run, the result ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 8px; }
.case.flip > :first-child { order: 2; }
.case h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.02em; margin-bottom: 10px; }
.case .what { color: var(--muted); }
.ask-line { margin: 18px 0 14px; padding: 12px 16px; border-radius: 10px; background: var(--raised); font-size: 1rem; }
.ask-line small { display: block; margin-bottom: 2px; color: var(--gold); font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
ol.run { list-style: none; margin: 0; padding: 0; max-width: none; counter-reset: step; }
ol.run > li { position: relative; margin: 0; padding: 0 0 14px 38px; counter-increment: step; font-size: .96rem; }
ol.run > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--cyan); font: 500 .75rem var(--mono); }
ol.run b { font-weight: 600; }
.src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; overflow-wrap: anywhere; }
.src i { font-style: normal; color: var(--muted); font-size: .78rem; }
.src code { font-size: .74rem; color: var(--gold); background: rgba(244, 191, 133, .09); overflow-wrap: anywhere; }
.result { margin-top: 6px; padding: 14px 16px; border-left: 3px solid var(--mint); border-radius: 0 10px 10px 0; background: rgba(100, 219, 180, .08); font-size: .96rem; }
.result .k { display: block; margin-bottom: 2px; color: var(--mint); font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.result.guard { border-left-color: var(--coral); background: rgba(255, 156, 148, .08); }
.result.guard .k { color: var(--coral); }
.foot { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }

/* ---------- app renderings (drawn in the app's layout, made-up data) ---------- */
.shot { margin: 0; }
.win { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0E1424; box-shadow: 0 20px 60px rgba(0,0,0,.35); font-size: .84rem; }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 500 .72rem var(--mono); letter-spacing: .06em; }
.win-bar b { color: var(--ink); font-weight: 500; }
.win-bar .live { color: var(--mint); }
.win-body { padding: 14px; }
.win-body > * + * { margin-top: 12px; }
.win .map { display: block; width: 100%; height: auto; }
.win .map .water { fill: #112A3A; } .win .map .park { fill: #12281F; }
.win .map .road { fill: none; stroke: #2B3A56; stroke-width: 7; stroke-linecap: round; }
.win .map .road.thin { stroke-width: 4; }
.win .map .route { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 6 5; }
.win .map .lbl { fill: #B9C1D3; font: 500 12px var(--sans); }
.win .map .av { fill: #fff; font: 600 11px var(--sans); text-anchor: middle; }
.win .map .pill-bg { fill: var(--raised); stroke: var(--line); }
.win .map .pill-t { fill: var(--ink); font: 500 11px var(--sans); }
.people { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 8px; }
.people li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; color: #fff; font: 600 .7rem var(--sans); }
.people .nm { display: flex; gap: 10px; font-weight: 600; }
.people .pl { color: var(--muted); font-size: .8rem; }
.batt { color: var(--mint); font: 400 .72rem var(--mono); }
.batt.low { color: var(--coral); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 4 / 3; margin: 0; border-radius: 8px; overflow: hidden; }
.tile svg { display: block; width: 100%; height: 100%; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 8px 5px; background: linear-gradient(transparent, rgba(8,11,19,.8)); color: #fff; font-size: .68rem; }
.query { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.query::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--muted); border-radius: 50%; flex: 0 0 12px; }
.rows { list-style: none; margin: 0; padding: 0; max-width: none; }
.rows li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; margin: 0; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .kind { color: var(--cyan); font: 500 .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.rows .kind.wa { color: var(--mint); } .rows .kind.warn { color: var(--coral); } .rows .kind.ok { color: var(--mint); }
.rows b { font-weight: 600; } .rows small { display: block; color: var(--muted); font-size: .76rem; }
.rows time, .rows .when { color: var(--muted); font: 400 .72rem var(--mono); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters span { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .76rem; }
.filters span.on { border-color: var(--violet); color: var(--ink); background: rgba(130, 107, 255, .16); }
.draft { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.draft .hd { color: var(--muted); font-size: .8rem; margin-bottom: 6px; }
.draft p { font-size: .84rem; margin: 0 0 6px; max-width: none; }
.att { display: inline-block; padding: 3px 9px; border: 1px solid var(--cyan); border-radius: 6px; color: var(--cyan); font: 400 .72rem var(--mono); }
.card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.card .kicker { margin: 0 0 3px; color: var(--gold); font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card p { margin: 0; max-width: none; font-size: .86rem; }
.card .row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.btn-fake { padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: .76rem; font-weight: 600; }
.btn-fake.solid { background: var(--violet); border-color: var(--violet); color: var(--void); }
.askbar { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.photo-in { display: flex; gap: 12px; align-items: center; }
.photo-in svg { width: 92px; height: 64px; flex: 0 0 92px; border-radius: 8px; }

/* ---------- three promises / short rows ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trio > div { padding-top: 16px; border-top: 2px solid var(--violet); }
.trio h3 { margin-bottom: 6px; }
.trio p { margin: 0; color: var(--muted); font-size: .95rem; }
.costs { margin-top: 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .92rem; max-width: none; }
.costs strong { color: var(--ink); font-weight: 600; }

.closing { padding: 112px 0 0; text-align: center; }
.closing h2 { margin: 0 auto 26px; max-width: 14ch; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; }
.closing .actions { justify-content: center; }

/* ---------- how it works: three steps, app gallery ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps3 article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.steps3 .n { color: var(--gold); font: 500 .75rem var(--mono); letter-spacing: .1em; }
.steps3 h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.steps3 p { margin: 0; color: var(--muted); font-size: .94rem; }
ul.cols-list { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
ul.cols-list li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
ul.cols-list li span { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; }

/* ---------- principles ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 40px; }
.principle-grid article { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid .wide { grid-column: 1 / -1; }
.principle-number { color: var(--gold); font: 500 .72rem var(--mono); letter-spacing: .1em; }
.principle-grid h2 { margin: 18px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.principle-grid p { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- investors ---------- */
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 20px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols-3 > div, .cols-2 > div, .story { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.cols-3 p, .cols-2 p, .story p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 72px); align-items: start; }
.thesis-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.thesis-flow > div { padding: 22px; }
.thesis-flow .foundation-cell { background: var(--surface); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.thesis-flow p { margin: 0; color: var(--muted); font-size: .94rem; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 .5rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--cyan); font-weight: 600; font-size: .85rem; }
tbody th { font-weight: 600; }
td { color: var(--muted); }

/* security: side-by-side comparison, attack cards, the caught-email run */
table.compare { table-layout: fixed; }
table.compare thead th:nth-child(1) { width: 22%; }
table.compare td:nth-child(2) { color: var(--muted); }
table.compare td:nth-child(3) { color: var(--ink); background: rgba(100, 219, 180, .06); }
table.compare thead th:nth-child(3) { color: var(--mint); }
.threats { list-style: none; padding: 0; margin: 20px 0 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.threats li { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.threats .atk { display: block; color: var(--coral); font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.threats strong { display: block; margin-bottom: 4px; font-weight: 600; }
.threats span { display: block; color: var(--muted); font-size: .9rem; }
.threats .fix { margin-top: 8px; color: var(--mint); }
.prose .case { display: block; padding: 24px 0 0; border: 0; max-width: 640px; }

/* ---------- forms, join, sign in ---------- */
form.sign-in-form { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.5rem 0; }
form.sign-in-form input[type="text"] { flex: 1; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; color: var(--body-ink); font: 1rem var(--mono); }
form.sign-in-form button { background: var(--violet); color: var(--void); border: 0; border-radius: 8px; padding: .7rem 1.2rem; min-height: 46px; font: 600 1rem var(--sans); cursor: pointer; }
form.sign-in-form button:hover { background: var(--violet-hover); }
#sign-in-url { font-family: var(--mono); font-size: .9rem; color: var(--muted); word-break: break-all; }
blockquote { margin: 1rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 2px solid var(--gold); color: var(--muted); max-width: var(--measure); }
.narrow { max-width: 680px; }

/* ---------- home rebuild (2026-11-03): slogan stack, story, layers, chapters ---------- */
.h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 6px; letter-spacing: 0; max-width: none; }
.hero-companion { margin: 0 0 18px; color: var(--gold); font: 500 clamp(1.1rem, 2vw, 1.35rem)/1.3 var(--sans); }
.hero .photo-in { justify-self: end; max-width: 34ch; }
.hero .photo-in svg { width: 72px; height: 50px; flex-basis: 72px; }
.home-page .home-main > .promises { padding-top: 64px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* story: scattered and gathered */
.tale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: center; }
.tale.flip > :first-child { order: 2; }
.scene { margin: 0; }
.scene svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.scene .spokes path { stroke: var(--line); stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.scene .nodes circle { fill: var(--surface); stroke: var(--cyan); stroke-width: 1.5; }
.scene .nodes text { fill: var(--ink); font: 500 10px var(--sans); text-anchor: middle; }
.scene .you { fill: rgba(244, 191, 133, .12); stroke: var(--gold); stroke-width: 2; }
.scene .you-t { fill: var(--gold); font: 600 13px var(--sans); text-anchor: middle; }
.scene .nodes g, .scene .spokes path { transition: transform .9s ease, opacity .9s ease; }
.scene.await .nodes g { opacity: 0; }
.scene.await .spokes path { opacity: 0; }
.scene figcaption, .record-page figcaption { margin-top: 12px; color: var(--muted); font-size: .8rem; text-align: center; }
.record-page { margin: 0; transition: opacity .8s ease, transform .8s ease; }
.record-page.await { opacity: 0; transform: translateY(16px); }
.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { margin: 0; color: var(--cyan); font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; font-size: .9rem; }
.from { display: block; color: var(--gold); font: 400 .72rem var(--mono); }

/* the three layers, widest at the base */
ol.stack { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 10px; justify-items: center; }
.tier { width: 100%; margin: 0; padding: 18px 22px; border: 1px solid var(--ink); border-radius: 10px; background: var(--surface); text-align: center; transition: opacity .7s ease, transform .7s ease; }
.tier h3 { font-size: 1.35rem; margin-bottom: 2px; }
.tier p { margin: 0 auto; max-width: 52ch; color: var(--muted); font-size: .93rem; }
.tier .tier-name { margin-bottom: 6px; font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.tier.mid { width: 82%; border-color: var(--cyan); background: rgba(69, 217, 244, .06); }
.tier.mid .tier-name { color: var(--cyan); }
.tier.top { width: 60%; border-color: var(--violet); background: rgba(130, 107, 255, .1); }
.tier.top .tier-name { color: var(--violet-hover); }
.tier .model { text-transform: none; letter-spacing: 0; }
.stack.await .tier { opacity: 0; transform: translateY(14px); }
.stack.in .tier.base { transition-delay: 0s; } .stack.in .tier.mid { transition-delay: .35s; } .stack.in .tier.top { transition-delay: .7s; }
.stack-close { margin: 28px auto 6px; text-align: center; font: 400 clamp(1.25rem, 2.4vw, 1.6rem)/1.3 var(--display); max-width: 34ch; }
.stack-close strong { font-weight: 400; }
.stack-note { margin: 0 auto; text-align: center; color: var(--muted); font-size: .95rem; max-width: 60ch; }
.stack-gate { margin: 18px auto 20px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; text-align: center; color: var(--muted); font-size: .95rem; max-width: 64ch; }
.stack-gate strong { color: var(--ink); font-weight: 600; }

/* why: Akashic against a general assistant, side by side */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; }
.vs-label { margin: 0 0 6px; font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vs-label.ak { color: var(--violet-hover); }
.vs-note { margin: 14px 0 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }
.vs-sub { margin: 30px 0 0; color: var(--muted); font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vs-sub strong { color: var(--ink); }
.trio.diff h3 { color: var(--muted); }
.why-close { margin: 30px auto 0; max-width: 60ch; text-align: center; font: 400 clamp(1.1rem, 2vw, 1.35rem)/1.4 var(--display); }

/* chapters */
.tabs { display: flex; gap: 6px; margin: 0 0 8px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow-x: auto; scrollbar-width: thin; }
.tabs [role="tab"] { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 500 .92rem var(--sans); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.home-page #examples .case:first-of-type { padding-top: 32px; }
.contrast { margin-top: 4px; }
.switch { display: none; gap: 4px; margin: 0 0 14px; padding: 3px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; }
.js .switch { display: inline-flex; }
.switch button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 500 .85rem var(--sans); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--violet); color: var(--void); }
.switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.js .contrast[data-view="akashic"] .view-general, .js .contrast[data-view="general"] .view-akashic { display: none; }
.view-general { margin-top: 14px; }
.js .view-general { margin-top: 0; }
.js .gen-label { display: none; }
.gen-label { margin: 0 0 6px; color: var(--muted); font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bubble.gen { max-width: 46ch; background: var(--midnight); border: 1px dashed var(--line); color: var(--muted); }
.note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.run > li, .result, .alerts > li { transition: opacity .35s ease, transform .35s ease; }
.pending { opacity: 0; transform: translateY(6px); }
ul.alerts { list-style: none; margin: 12px 0 0; padding: 0; max-width: none; display: grid; gap: 8px; }
.alerts li { margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 0 10px 10px 0; background: var(--surface); font-size: .93rem; }
ul.agenda { list-style: none; margin: 0; padding: 0; max-width: none; }
.agenda li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; margin: 0; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.agenda .when { color: var(--muted); font: 400 .72rem var(--mono); }
.agenda .tag { color: var(--mint); font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.nod { padding: 12px 14px; border: 1px solid var(--violet); border-radius: 10px; background: rgba(130, 107, 255, .08); }
.nod p { margin: 0 0 4px; max-width: none; font-size: .86rem; }
.nod-actions { display: flex; gap: 8px; margin-top: 8px; }
.pill { display: inline-block; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill.yes { background: var(--violet); border-color: var(--violet); color: var(--void); }
.brief > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.brief p { margin: 0; max-width: none; font-size: .86rem; }
.brief .part { margin-bottom: 4px; color: var(--cyan); font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brief .part.guess { color: var(--gold); }
.ext { color: var(--cyan); font: 400 .74rem var(--mono); white-space: nowrap; }

/* being built, and yours */
.trio.built > div { border-top-color: var(--line); border-top-style: dashed; }
.approved { max-width: 70ch; font-size: 1.05rem; color: var(--ink); }

/* examples page */
.examples-page .jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.examples-page .jump a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.examples-page .jump a:hover { color: var(--cyan); }
.chapter > h2 { margin-bottom: 4px; }
.case.solo { display: block; max-width: 720px; padding: 36px 0; }
.case.solo:first-of-type { border-top: 0; padding-top: 16px; }

@media (max-width: 900px) {
  .tale { grid-template-columns: 1fr; }
  .tale.flip > :first-child { order: 0; }
  .tier.mid { width: 92%; } .tier.top { width: 84%; }
}
@media (max-width: 480px) {
  .tier { padding: 14px 14px; }
  .facts > div { grid-template-columns: 1fr; }
  .agenda li { grid-template-columns: 62px minmax(0, 1fr); }
  .agenda .tag { grid-column: 2; }
  .switch button { padding: 0 10px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  section { padding-top: 64px; }
  .home-page .home-main > section { padding-top: 72px; }
  .hero, .case, .split { grid-template-columns: 1fr; }
  .case.flip > :first-child { order: 0; }
  .flow, .flow.others { grid-template-columns: 1fr; gap: 12px; }
  .flow .join { transform: rotate(90deg); }
  .trio, .steps3, .cols-3, .thesis-flow { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .thesis-flow .foundation-cell { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cols-2, .threats, .principle-grid { grid-template-columns: 1fr; }
  ul.cols-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* the comparison table becomes one card per row; every cell names its column */
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: auto; }
  table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  table.compare tbody th { padding: 12px 14px 4px; font-size: 1rem; border-bottom: 0; }
  table.compare td { border-bottom: 0; padding: 6px 14px 12px; }
  table.compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  table.compare td:nth-child(3)::before { color: var(--mint); }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand img { width: 148px; }
  nav.site-nav { gap: 4px 16px; font-size: .88rem; }
  .ask { padding: 16px; }
  .win-body { padding: 10px; }
  .rows li { grid-template-columns: 62px minmax(0, 1fr); }
  .rows .when, .rows time { grid-column: 2; }
  .tiles { gap: 6px; }
  .flow { padding: 16px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.3rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* generated pages: spacing fixes that need the .prose specificity */
.prose h1 + p { margin-top: 22px; }
.prose ul.threats { padding-left: 0; }
.prose .case { padding-top: 12px; }

/* How it works: "What is Akashic", the wordmark over the partnership diagram (MESSAGING-VISUALS § 13.3) */
.what-is { text-align: center; padding: 72px 0 32px; }
.what-is-mark { display: block; margin: 0 auto 28px; height: auto; max-width: 220px; }
.what-is-sub { color: var(--muted); max-width: 46ch; margin: 8px auto 24px; }
.pyramids { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.what-is-caption { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* ---------- homepage (2026-11-05): beat per screen, one thread ----------
   Every scene's default state is its still frame (script off, reduced motion). scenes.js adds
   html.motion only when motion is allowed; every pre-play state below hangs off that class.
   Grounds change per screen: void, midnight, surface, and one full-bleed light moment. */
.home-page { background: var(--void); overflow-anchor: none; } /* scenes re-measure; the page must not chase them */
.home-page header.site-header { background: var(--void); border-bottom-color: rgba(41, 53, 75, .6); }
.home-page footer.site-footer { margin-top: 0; }
/* film grain over the page: static, very faint */
.home-page::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.home { --g: 48px; --pad: 96px; --thread: 1.25px; overflow-x: clip; }
.home > section { position: relative; padding: 0; }
.home .in { max-width: 1320px; margin: 0 auto; padding: 140px var(--gutter); }
.home h1, .home h2 { font-weight: 600; max-width: none; margin: 0; text-wrap: balance; }
:where(.home) p { max-width: none; }
.home .big { font: 600 clamp(40px, 6.6vw, 108px)/.95 var(--display); letter-spacing: -.045em; }
.home .mid { font: 600 clamp(32px, 4.4vw, 68px)/1 var(--display); letter-spacing: -.035em; }
.home .huge { font: 600 clamp(44px, 9vw, 148px)/.92 var(--display); letter-spacing: -.05em; }
.home .beat-line { color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; max-width: 30em; }
.home .caption { margin: 12px 0 0; color: var(--muted); font: 400 11.5px/1.4 var(--sans); letter-spacing: .015em; }
.home .person { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244, 191, 133, .14); }
.home .threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.home .threads path { fill: none; stroke: var(--cyan); stroke-width: var(--thread); stroke-linecap: round; stroke-linejoin: round; }
.home .pip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--surface), 0 0 12px rgba(69, 217, 244, .6); z-index: 3; }

/* ---- hero: the field of your record, the question, the six that answer it ---- */
.hero-x { background: var(--void); }
.hero-x .frame { position: relative; overflow: hidden; padding: clamp(36px, 6vh, 64px) var(--gutter) 150px; }
.field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.index { position: absolute; top: clamp(28px, 5vh, 56px); width: 210px; }
.index.left { left: 40px; }
.index.right { right: 40px; text-align: right; }
.grp { margin: 0 0 18px; }
.grp .yh { margin: 0 0 8px; color: var(--muted); font: 500 12px/1 var(--display); letter-spacing: .06em; opacity: .8; }
.grp .r { margin: 0 0 9px; color: var(--ink); font: 400 14.5px/1.25 var(--sans); }
.grp .r i { display: block; margin-top: 2px; color: var(--muted); font: 400 11px/1.2 var(--mono); font-style: normal; }
.g1 .r { opacity: .92; } .g2 .r { opacity: .74; font-size: 14px; } .g3 .r { opacity: .6; font-size: 13.5px; } .g4 .r { opacity: .5; font-size: 13px; }
.g3, .g4 { margin-left: 14px; } .right .g3, .right .g4 { margin-left: 0; margin-right: 14px; }
.field .lit { color: var(--gold); opacity: 1 !important; text-shadow: 0 0 16px rgba(244, 191, 133, .7); }
.field .lit i { color: var(--gold); }
/* what was used stays in the record, marked */
.field .used { color: var(--cyan); opacity: .55 !important; }
.field .used i { color: var(--cyan); }
@media (max-width: 1199px) { .field { display: none; } }
.scan { display: none; }
.intro { position: relative; z-index: 3; text-align: center; }
/* a soft dark pool behind the copy, so the record never collides with it */
.intro::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 150%); height: 150%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 11, 19, .96), rgba(8, 11, 19, .82) 45%, rgba(8, 11, 19, 0) 72%); }
.hero-x h1 { font: 600 clamp(40px, 6.7vw, 96px)/.96 var(--display); letter-spacing: -.03em; max-width: 9.6em; margin: 0 auto; text-wrap: wrap; }
.hero-sub { max-width: 52ch; margin: 22px auto 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-x .hero-note { margin: 14px 0 0; padding: 0; border: 0; color: var(--muted); font-size: 14px; }
.stage { position: relative; z-index: 3; max-width: 1240px; margin: 34px auto 0; }
/* one cool pool of light under the page: lighting, not decoration */
.stage::before { content: ""; position: absolute; left: 50%; bottom: -90px; width: min(1180px, 160%); height: 420px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 44% 42% at 50% 58%, rgba(69, 217, 244, .2), rgba(130, 107, 255, .09) 48%, transparent 74%); }
.prompt { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--gold); font: 500 19px/1.3 var(--display); }
.doc { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; padding: 2px 24px 8px; text-align: left;
  background: radial-gradient(120% 60% at 50% 0%, rgba(246, 247, 251, .06), transparent 60%), linear-gradient(180deg, #18223A, var(--surface) 90px);
  border: 1px solid rgba(246, 247, 251, .07); border-top-color: rgba(246, 247, 251, .18); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12), 0 0 0 1px rgba(8, 11, 19, .6), 0 1px 1px rgba(0, 0, 0, .5), 0 4px 10px -2px rgba(0, 0, 0, .45), 0 18px 36px -12px rgba(0, 0, 0, .6), 0 60px 110px -40px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(69, 217, 244, .16); }
.doc::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1.5px; border-radius: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(246, 247, 251, .75) 50%, transparent); }
.doc::after { content: ""; position: absolute; inset: 1px; border-radius: 17px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(8, 11, 19, .5); }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 14px/1.2 var(--sans); }
.doc-head .when { color: var(--muted); font-weight: 400; font-size: 13px; }
.doc-lines { list-style: none; margin: 0; padding: 0; max-width: none; }
.doc-lines li { position: relative; margin: 0; padding: 11px 0 10px; }
.doc-lines li + li { border-top: 1px solid rgba(41, 53, 75, .65); }
.doc-lines p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.48; }
.doc .src { display: inline-block; margin-top: 6px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--midnight); color: var(--muted); font: 400 11.5px/1.35 var(--mono); }
.stage > .caption { text-align: center; }
.objs { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.js .objs { display: block; }
.obj { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 11px; width: max-content; margin: 0; padding: 9px 15px 9px 9px; text-align: left;
  background: rgba(28, 41, 64, .94); border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 12px; box-shadow: 0 18px 40px -22px #000; transform-origin: 0 50%; }
.obj svg { flex: none; width: 36px; height: 36px; display: block; }
.obj b { display: block; color: var(--ink); font: 500 13.5px/1.25 var(--sans); white-space: nowrap; }
.obj i { display: block; margin-top: 2px; color: var(--cyan); font: 400 11px/1.3 var(--mono); font-style: normal; }
.obj.lit { border-color: var(--gold); box-shadow: 0 0 30px -4px rgba(244, 191, 133, .5); }
.obj.lit b, .obj.lit i { color: var(--gold); }
.lead-svg path { fill: none; stroke: var(--cyan); stroke-width: var(--thread); stroke-linecap: round; }
.lead-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.motion .scan { display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 40vw; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(69, 217, 244, .07) 32%, rgba(246, 247, 251, .12) 50%, rgba(69, 217, 244, .07) 68%, transparent); }
.motion .scan::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(246, 247, 251, .7) 30%, rgba(69, 217, 244, .8) 70%, transparent); box-shadow: 0 0 18px rgba(69, 217, 244, .8); }

/* ---- beat 1: the chores are cut away ---- */
#no-pasting { background: var(--midnight); }
.home .spine { position: absolute; left: calc(var(--g) - var(--thread) / 2); top: 0; bottom: 0; width: var(--thread); background: var(--cyan); z-index: 1; }
.home .frame { position: relative; }
#no-pasting .frame, .b2-pin .frame { min-height: max(100svh, 640px); overflow: hidden; }
.motion #no-pasting { height: 270vh; }
.motion #no-pasting .frame, .motion .b2-pin .frame { position: sticky; top: 0; height: 100svh; min-height: 600px; }
#no-pasting h2 { position: absolute; left: var(--pad); top: 13vh; max-width: 9.5em; }
.b1-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.b1-svg path, .b1-svg line { fill: none; stroke: var(--cyan); stroke-width: var(--thread); stroke-linecap: round; }
.b1-scene { position: absolute; left: 52%; right: var(--pad); top: 40vh; z-index: 2; }
.composer { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 14px; color: var(--ink); font: 500 20px/1.35 var(--display); box-shadow: 0 30px 60px -30px #000; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -.15em; background: var(--gold); }
.chores { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; padding: 0; max-width: none; }
.chore { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; margin: 0; padding: 11px 18px 11px 14px; border: 1px dashed #3A4864; border-radius: 12px; background: var(--midnight); color: var(--muted); font-size: 16px; }
.chore svg { flex: none; width: 20px; height: 20px; }
.chore s { text-decoration-color: var(--cyan); text-decoration-thickness: 1.25px; }
.motion .chore { will-change: transform; }
.motion .chore s { text-decoration: none; }
.b1-line { position: absolute; left: var(--pad); top: 66vh; z-index: 2; max-width: 24em; margin: 0; }

/* ---- beat 2: the coil of years, then the light ---- */
#remembers { background: var(--void); }
#remembers h2 { position: absolute; left: var(--pad); top: 12vh; z-index: 3; max-width: 8em; text-shadow: 0 2px 30px var(--void); }
.b2-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.b2-svg path { fill: none; stroke: var(--cyan); stroke-width: var(--thread); stroke-linecap: round; stroke-linejoin: round; }
.b2-svg .b2-back { opacity: .32; }
.mems { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.mem { position: absolute; left: 0; top: 0; }
.mem .ic { display: grid; place-items: center; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); }
.mem .ic svg { width: 56%; height: 56%; }
.mem .lb { position: absolute; left: calc(100% + 6px); padding: 2px 7px; border-radius: 6px; background: rgba(8, 11, 19, .85); color: var(--ink); font: 500 14px/1.3 var(--sans); white-space: nowrap; }
.mem.up .lb { bottom: 42%; }
.mem.dn .lb { top: 42%; }
.mem.left .lb { left: auto; right: calc(100% + 6px); }
.yr { position: absolute; left: 0; top: 0; color: var(--muted); font: 500 16px/1 var(--display); white-space: nowrap; }
.b2-line { position: absolute; left: var(--pad); bottom: 8vh; z-index: 3; max-width: 25em; margin: 0; text-shadow: 0 1px 16px var(--void), 0 0 4px var(--void); }
.scale { position: absolute; right: var(--pad); bottom: 8vh; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font: 500 15px/1 var(--sans); }
.scale i { position: relative; display: block; width: 120px; height: 2px; background: var(--line); }
.scale b { position: absolute; left: 0; top: 0; bottom: 0; width: var(--s, 4%); background: var(--cyan); }
 .slogan { position: relative; z-index: 4; margin: 0; max-width: 10.5ch; color: var(--ink); font: 600 clamp(52px, 10.4vw, 176px)/.9 var(--display); letter-spacing: -.05em; }
html:not(.motion) .b2-pin .frame { padding: max(100svh, 640px) var(--pad) 14vh; }
/* the still frame: the coil fills the first screen, the slogan follows beneath it */
html:not(.motion) .b2-layer { bottom: auto; height: max(100svh, 640px); }
html:not(.motion) .b2-line { bottom: auto; top: calc(max(100svh, 640px) - 7vh); transform: translateY(-100%); }
@media (min-width: 901px) { html:not(.motion) .scale { bottom: auto; top: calc(max(100svh, 640px) - 8vh); transform: translateY(-100%); } }
.motion .slogan { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; margin: 0 auto; text-align: center; opacity: 0; transform: translateY(-50%); }
.motion .b2-pin { height: 400vh; }
.b2-layer { position: absolute; inset: 0; transform-origin: 62% 48%; }

/* ---- beat 3a: four joins, each to what it finds; the photos narrow; the send ---- */
#connects { background: var(--surface); }
#connects .frame { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); align-items: center; gap: 0 clamp(250px, 21vw, 330px); max-width: 1380px; margin: 0 auto; padding: 120px var(--gutter); }
.motion #connects.pinned { height: 250vh; }
.motion #connects.pinned .frame { position: sticky; top: 0; height: 100svh; min-height: 680px; padding-top: 0; padding-bottom: 0; }
.c-text, .c-art { position: relative; z-index: 2; }
#connects .quote { display: flex; gap: 14px; align-items: baseline; margin: 26px 0 16px; color: var(--gold); font: 500 clamp(20px, 1.9vw, 26px)/1.3 var(--display); }
#connects .quote .person { transform: translateY(-2px); }
.four { position: relative; list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.four li { width: max-content; max-width: 100%; margin: 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--midnight); color: var(--ink); font-size: 16px; }
/* what each part of the sentence finds: beside it on a wide screen, beneath it on a phone */
.four .find { position: absolute; left: calc(100% + 64px); margin-top: -6px; }
.find { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border: 1px solid var(--cyan); border-radius: 999px; background: var(--midnight); color: var(--ink); font: 500 14px/1.2 var(--sans); transition: border-color .3s, color .3s, opacity .3s; }
.find svg { width: 20px; height: 20px; }
.find b { font-weight: 500; }
.find em { color: var(--muted); font-style: normal; font-size: 12.5px; }
.face { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--void); font: 600 11px/1 var(--display); font-style: normal; box-shadow: 0 0 0 2px var(--midnight); }
.face + .face { margin-left: -12px; }
.f1 { background: var(--gold); } .f2 { background: var(--mint); } .f3 { background: var(--cyan); } .f4 { background: var(--violet); }
.motion #connects .find:not(.on) { border-color: var(--line); color: var(--muted); opacity: .55; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(246, 247, 251, .08), 0 8px 20px -12px #000; }
.tile svg, .tile img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.motion .photos.flip .tile svg, .js .photos.flip .tile svg, .motion .photos.flip .tile img, .js .photos.flip .tile img { aspect-ratio: auto; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 6px 4px; background: linear-gradient(transparent, rgba(8, 11, 19, .78)); color: var(--ink); font: 400 8.5px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.decoy { display: none; }
.photos.flip { display: block; position: relative; }
.photos.flip > * { position: absolute; left: 0; top: 0; }
.motion .photos.flip > * { will-change: transform, opacity; }
.motion .photos.flip .decoy { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: #161F31; color: var(--muted); font: 400 10px/1.2 var(--mono); overflow: hidden; }
.motion .photos.flip .decoy { padding: 0; }
.motion .photos.flip .decoy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.8); }
.motion .photos.flip .decoy b { position: relative; margin-top: auto; padding: 12px 6px 4px; background: linear-gradient(transparent, rgba(8, 11, 19, .82)); color: var(--ink); font: 400 8.5px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.send { margin: 14px 0 0; }
.ready, .sent { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 10px 10px 16px; min-height: 60px; border: 1px solid var(--line); border-radius: 12px; background: var(--midnight); color: var(--ink); font-size: 16px; box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12), 0 0 0 1px rgba(8, 11, 19, .6), 0 1px 1px rgba(0, 0, 0, .5), 0 4px 10px -2px rgba(0, 0, 0, .45), 0 18px 36px -12px rgba(0, 0, 0, .6), 0 60px 110px -40px rgba(0, 0, 0, .9); }
.ready span { flex: 1; }
.ready .button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--violet); color: var(--void); font: 600 15.5px var(--sans); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(130, 107, 255, .7); }
.ready .button:hover { background: var(--violet-hover); }
.sent { padding-left: 8px; }
.motion #connects .send:not(.on) { opacity: .2; }
.ring { flex: none; width: 26px; height: 26px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 2.4; }
.ring .run { stroke: var(--mint); stroke-dasharray: 1; stroke-dashoffset: .3; stroke-linecap: round; }
.sent-ok { flex: none; width: 26px; height: 26px; margin-left: 6px; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sent:focus { outline: none; }
.sent:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@keyframes stop-window { to { stroke-dashoffset: 1; } }

/* ---- beat 3b: the page close up, its source open at the sentence ---- */
#check { background: var(--midnight); }
.check-stage { position: relative; display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 360px); justify-content: center; align-items: center; gap: clamp(40px, 7vw, 120px); margin: 64px 0 0; }
.doc-zoom { max-width: none; margin: 0; padding: 4px 30px 24px; }
.zline { position: relative; padding: 20px 0 6px; }
.zline p { margin: 0; color: var(--ink); font: 500 clamp(20px, 2vw, 27px)/1.35 var(--display); letter-spacing: -.01em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.doc .tags .src { min-height: 40px; margin: 0; padding: 0 13px; font-size: 13px; cursor: pointer; }
.doc .tags .src:hover { color: var(--ink); border-color: var(--muted); }
.doc .tags .src[aria-pressed="true"] { color: var(--ink); border-color: var(--cyan); box-shadow: 0 0 16px -4px rgba(69, 217, 244, .6); }
.answer { position: relative; margin: 16px 0 0; padding: 12px 14px 12px 34px; border-radius: 10px; background: rgba(69, 217, 244, .08); border: 1px solid rgba(69, 217, 244, .35); color: var(--ink); font: 500 17px/1.4 var(--sans); }
.answer .pip-in { position: absolute; left: 14px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.guess { margin: 14px 0 0; padding: 12px 14px; border: 1px dashed rgba(244, 191, 133, .7); border-radius: 10px; color: var(--ink); font-size: 15px; }
.guess b { color: var(--gold); font-weight: 600; }
.sources { position: relative; z-index: 2; }
.source { position: relative; padding: 0 0 12px; border-radius: 6px; color: var(--void);
  background: linear-gradient(rgba(244, 191, 133, .16), rgba(244, 191, 133, .1)), var(--ink);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(0, 0, 0, .5), 0 12px 28px -12px rgba(0, 0, 0, .7), 0 60px 110px -40px #000; transform: rotate(.6deg); }
.src-head { padding: 16px 22px 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(8, 11, 19, .12); }
.source .src-name { display: inline-block; margin: 0 0 8px; padding: 2px 7px; border-radius: 4px; background: rgba(8, 11, 19, .08); color: #3D2F9E; font: 500 11.5px/1.3 var(--mono); }
.src-meta { margin: 4px 0 0; color: #3A4864; font: 400 12.5px/1.3 var(--sans); }
.source ul { padding: 0 12px; }
.source h3 { margin: 0; color: var(--void); font: 600 18px/1.25 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.source ul { list-style: none; margin: 0; padding: 0; }
.source li { margin: 0; padding: 7px 10px; border-top: 1px solid #DCE0EA; font-size: 15px; line-height: 1.4; color: #1C2940; }
.source li::marker { content: none; }
.source li.hl + li.hl { margin-top: 3px; }
.source li.hl { background: rgba(69, 217, 244, .3); border-top-color: transparent; border-radius: 6px; color: var(--void); font-weight: 600; }
.check-line { margin: 56px auto 0; text-align: center; }
#check .in > .caption { text-align: center; }

/* ---- contrast: two narrow columns ---- */
#not-a-chatbot { background: var(--void); }
#not-a-chatbot .in { max-width: 1180px; }
.vs-ask { display: flex; align-items: center; gap: 12px; margin: 48px 0 18px; color: var(--gold); font: 500 clamp(19px, 1.8vw, 24px)/1.3 var(--display); }
.vs-wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.win { margin: 0; border-radius: 16px; overflow: hidden; }
.win.general { border: 1px solid var(--line); background: var(--midnight); }
.win-head { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 14px/1.2 var(--sans); }
.win.ours .win-head { padding: 15px 0 12px; color: var(--ink); }
.win.ours .when { color: var(--muted); font-weight: 400; font-size: 13px; }
.win-body { display: grid; gap: 12px; padding: 18px; }
.win .you, .win .them { margin: 0; max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 15.5px; line-height: 1.45; }
.win .you { justify-self: end; background: var(--raised); color: var(--ink); border-bottom-right-radius: 4px; }
.win .them { background: var(--surface); color: var(--muted); border-bottom-left-radius: 4px; }
.win.ours { max-width: none; padding: 0 22px 8px; }
.win.ours .doc-lines li { padding-left: 18px; }
.win.ours .doc-lines li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
#not-a-chatbot .beat-line { margin: 20px 0 0; }

/* ---- lives: three tall panels ---- */
#lives { background: var(--midnight); }
.lives-h { margin: 0 0 30px; text-align: center; }
.framing { margin: 22px auto 0; max-width: 52ch; color: var(--muted); font-size: 13px; text-align: center; }
.lives-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 820px; margin: 12px auto 0; }
.lives-foot .caption { margin: 0; }
.quiet-link { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.lives-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--void); }
.lives-switch button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 15px var(--sans); cursor: pointer; }
.lives-switch button:hover { color: var(--ink); }
.lives-switch button[aria-selected="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12); }
.lives-docs { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
.js .lives-docs { gap: 0; }
.js .lives-docs > .life { grid-area: 1 / 1; }
.js .life[aria-hidden="true"] { visibility: hidden; opacity: 0; }
.life { max-width: none; width: 100%; padding: 2px 34px 22px; }
.life-who { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.js .life-who { display: none; }
.life .q { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--gold); font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.015em; }
.life .a { margin: 14px 0 0; color: var(--ink); font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--display); letter-spacing: -.01em; }
.ev { list-style: none; margin: 20px 0 0; padding: 0; max-width: none; border-top: 1px solid var(--line); }
.ev li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 12px 0 11px 20px; border-bottom: 1px solid rgba(41, 53, 75, .65); position: relative; color: var(--ink); font-size: 15px; }
.ev li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.ev .src { margin: 0; }
.motion .life .q, .motion .life .a, .motion .life .ev li { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .3, 1); }
.motion .life[aria-hidden="true"] .q, .motion .life[aria-hidden="true"] .a, .motion .life[aria-hidden="true"] .ev li { opacity: 0; transform: translateY(10px); transition-duration: .15s; }
.motion .life .a { transition-delay: 60ms; }
.motion .life .ev li:nth-child(1) { transition-delay: 120ms; } .motion .life .ev li:nth-child(2) { transition-delay: 180ms; } .motion .life .ev li:nth-child(3) { transition-delay: 240ms; }

/* ---- promises: one line of three, on the thread ---- */
#promises { background: var(--surface); }
#promises .in { padding-top: 110px; padding-bottom: 110px; text-align: center; }
.three { position: relative; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; max-width: none; }
.three::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--thread); background: var(--cyan); }
.three li { position: relative; margin: 0; padding: 0 22px; background: var(--surface); color: var(--ink); font: 500 clamp(19px, 2.1vw, 30px)/1.2 var(--display); letter-spacing: -.015em; }
.three li:first-child { padding-left: 0; }
.three li:last-child { padding-right: 0; }
.trust { margin: 40px 0 0; font-size: 17px; }
.trust a { display: inline-block; padding: 10px 0; color: var(--ink); text-decoration-color: var(--cyan); }

/* ---- close ---- */
#close { background: var(--void); overflow: hidden; }
#close .in { position: relative; padding-bottom: 170px; }
#close .in::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -160px; height: 360px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(130, 107, 255, .2), rgba(69, 217, 244, .08) 50%, transparent 75%); }
#close h2 { max-width: 14ch; }
.companion { margin: 32px 0; color: var(--gold); font: 500 clamp(20px, 2vw, 28px)/1.3 var(--display); }

@media (max-width: 1180px) {
  #connects .frame { grid-template-columns: 1fr; padding: 110px var(--gutter); gap: 32px; }
  .four { gap: 14px; }
  .four li { padding-bottom: 12px; }
  .four .find { position: relative; left: auto; display: flex; width: max-content; max-width: 100%; margin: 12px 0 0; }
  .four .find::before { content: ""; position: absolute; left: 18px; top: -13px; height: 12px; width: var(--thread); background: var(--cyan); }
  .js .four .find::before { display: none; }
  #connects .frame { max-width: 720px; }
}
@media (max-width: 1023px) {
  .objs, .js .objs, .hero-x .pip { display: none; }
  .js .hero-x .doc { padding-left: 30px; }
  .js .hero-x .doc-lines li::before { content: ""; position: absolute; left: -17px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(69, 217, 244, .7); opacity: var(--pip, 1); }
}
@media (max-width: 900px) {
  .home { --g: 10px; --pad: 28px; }
  .home .in { padding: 96px var(--gutter); }
  .check-stage { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sources { max-width: 420px; }
  .life { padding: 2px 18px 18px; }
  .lives-switch { border-radius: 16px; }
  .lives-switch button { padding: 0 12px; font-size: 14px; }
  .three { flex-direction: column; align-items: flex-start; gap: 22px; padding-left: 28px; text-align: left; }
  .three::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: var(--thread); height: auto; }
  .three li, .three li:first-child, .three li:last-child { padding: 0; }
  .three li::before { content: ""; position: absolute; left: -28px; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
  #promises .in { text-align: left; }
  #no-pasting .frame { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 44px); padding: 6vh 20px 6vh var(--pad); }
  #no-pasting h2, .b1-scene, .b1-line { position: relative; left: auto; right: auto; top: auto; }
  .composer { font-size: 17px; padding: 15px 16px; }
  .chore { font-size: 15px; padding: 10px 14px 10px 12px; }
  .b1-line { font-size: 17px; }
  #remembers h2 { top: 9vh; right: 20px; }
  .b2-line { bottom: 6vh; right: 20px; font-size: 16.5px; }
  .scale { right: auto; left: var(--pad); bottom: auto; top: calc(9vh + 2.1 * clamp(40px, 6.6vw, 108px) + 14px); font-size: 14px; }
  .scale i { width: 80px; }
  .mem .lb { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .vs-wins { grid-template-columns: 1fr; }
  .lives-foot { flex-wrap: wrap; justify-content: center; }
  .hero-x .frame { padding-top: 26px; }
  .intro::before { width: 170%; height: 130%; }
  .hero-x h1 { font-size: 34px; line-height: 1.02; letter-spacing: -.035em; max-width: none; }
  .hero-sub { font-size: 15.5px; margin-top: 14px; }
  .hero-ctas { margin-top: 18px; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .stage { margin-top: 22px; }
  .doc { padding: 2px 16px 6px; }
  .js .doc { padding-left: 30px; }
  .doc-lines p { font-size: 14.5px; }
  .prompt { font-size: 17px; }
  .doc-zoom { padding: 2px 18px 18px; }
  .field .l1 { font-size: 11.5px; } .field .l2 { font-size: 10px; } .field .l3 { font-size: 9px; }
  .field { gap: 10px 18px; }
}
@media (max-width: 480px) {
  .hero-ctas .button { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 360px) {
  .hero-x h1 { font-size: 30px; }
  .home .big { font-size: 31px; }
}

/* ---------- how it works (2026-11-05): the mechanism, one scene per screen, in the homepage's language ----------
   Same grounds, type, threads and source tags as the homepage (main.home). how.js adds html.motion only when
   motion is allowed; every pre-play state hangs off it, so each scene's default is its still frame. */
.how .src { display: inline-block; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--void); color: var(--muted); font: 400 11px/1.35 var(--mono); overflow-wrap: anywhere; }
.how h3 { font-weight: 600; }

/* opening: one huge line, and the thread leaving it */
.hw-open { background: var(--void); }
.hw-open .in { position: relative; z-index: 2; padding-top: clamp(80px, 14vh, 150px); padding-bottom: clamp(140px, 22vh, 220px); }
.hw-open h1 { font-size: clamp(42px, 7vw, 112px); }
.hw-open h1 span { display: block; }
.hw-lede { margin: 36px 0 0; max-width: 26ch; color: var(--muted); font: 400 clamp(20px, 1.9vw, 28px)/1.38 var(--display); letter-spacing: -.01em; }
.hw-open .threads { z-index: 1; }

/* what is Akashic: the wordmark over the two pyramids */
.wi { background: var(--midnight); }
.wi .in { text-align: center; padding-top: 120px; }
.wi-mark { display: block; width: min(300px, 62vw); height: auto; margin: 0 auto 44px; }
.wi-sub { margin: 18px auto 0; max-width: 32em; }
.pyr { position: relative; max-width: 1120px; margin: 64px auto 0; }
.pyr-draw { position: relative; }
.pyr-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pyr-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-h { stroke: #FFE9CC; stroke-width: 2.6; }
.p-a { stroke: #D9D1FF; stroke-width: 1.9; }
.p-ridge { fill: none; stroke-width: 1.2; }
.pyr-svg .p-face.h.lit { fill: url(#g-h-lit); } .pyr-svg .p-face.h.shade { fill: url(#g-h-shade); }
.pyr-svg .p-face.a.lit { fill: url(#g-a-lit); } .pyr-svg .p-face.a.shade { fill: url(#g-a-shade); }
.apex-dot { filter: drop-shadow(0 0 6px rgba(244, 191, 133, .9)); }
.p-tier.h { stroke: var(--gold); stroke-width: 1.4; opacity: .5; }
.p-tier.a { stroke: var(--violet); stroke-width: 1.1; opacity: .5; }
.apex-dot { fill: var(--gold); }
.p-con { stroke: var(--cyan); stroke-width: 1.25; }
.pyr-rows { list-style: none; margin: 0; padding: 0; max-width: none; }
.pyr-rows li { margin: 0; }
.pyr .pl { display: block; font: 500 clamp(13px, 1.3vw, 17px)/1.25 var(--sans); }
.pyr .pl.h { color: var(--gold); }
.pyr .pl.a { color: var(--violet-hover); }
.pyr .pl.c { color: var(--muted); font-weight: 400; font-size: clamp(12px, 1.05vw, 14px); }
@media (min-width: 1024px) {
  .pyr-rows li { position: absolute; inset: 0 0 auto; height: 0; top: var(--y); pointer-events: none; }
  .pyr .pl { position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; }
  .pyr .pl.h { right: calc(100% - var(--hx)); text-align: right; }
  .pyr .pl.a { left: var(--ax); text-align: left; }
  .pyr .pl.c { left: 50%; transform: translate(-50%, 9px); }
  /* the base connector is short; its label sits under the bases, clear of both edges (63 of 1200 units down) */
  .pyr .r3 .pl.c { transform: translate(-50%, calc(min(1120px, 100vw - 48px) * .0525 + 6px)); }
}
.wi-cap { margin: 48px auto 0; color: var(--ink); font: 500 clamp(17px, 1.6vw, 22px)/1.4 var(--display); }
.motion .wi .p-h, .motion .wi .p-a, .motion .wi .p-con { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .wi .p-con, .motion .wi .p-tier, .motion .wi .apex-dot, .motion .wi .pl, .motion .wi .wi-cap, .motion .wi .p-face, .motion .wi .p-ridge, .motion .wi .p-ground, .motion .wi .apex-halo { opacity: 0; }
.motion .wi.on .p-face, .motion .wi.on .p-ridge, .motion .wi.on .p-ground { opacity: 1; transition: opacity 1s .9s ease-out; }
.motion .wi.on .apex-halo { opacity: 1; transition: opacity .6s 1.15s; }
.motion .wi.on .p-h { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.5, 0, .2, 1); }
.motion .wi.on .apex-dot { opacity: 1; transition: opacity .5s 1.1s; }
.motion .wi.on .p-a { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s .45s cubic-bezier(.5, 0, .2, 1); }
.motion .wi.on .p-tier { opacity: .5; transition: opacity .6s 1.4s; }
.motion .wi.on .pl.h, .motion .wi.on .pl.a { opacity: 1; transition: opacity .6s 1.5s; }
/* connectors light from the base up: connect a source, then ask and surface, then decide and authorise */
.motion .wi.on .p-con { opacity: 1; stroke-dashoffset: 0; transition: opacity .1s var(--d), stroke-dashoffset .55s var(--d) ease-out; }
.motion .wi.on .pl.c { opacity: 1; transition: opacity .5s calc(var(--d) + .25s); }
.wi .c3, .wi .r3 { --d: 2s; } .wi .c2, .wi .r2 { --d: 2.45s; } .wi .c1, .wi .r1 { --d: 2.9s; }
.motion .wi.on .wi-cap { opacity: 1; transition: opacity .7s 3.6s; }

/* the three layers, built from the bottom */
.ly { background: var(--void); }
.ly .frame { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 0 clamp(48px, 7vw, 120px); align-items: center; max-width: 1320px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.motion .ly.pinned .ly-pin { height: 330vh; }
.motion .ly.pinned .frame { position: sticky; top: 0; height: 100svh; min-height: 640px; padding-top: 0; padding-bottom: 0; }
.ly .big { font-size: clamp(40px, 4.8vw, 72px); }
.ly .big span { display: block; }
.ly-tiers { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; max-width: 30em; }
.ly-tiers li { position: relative; margin: 0; padding-left: 26px; }
.ly-tiers li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.ly-tiers h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.ly-tiers .tier-name { margin: 3px 0 6px; color: var(--cyan); font-size: 14px; }
.ly-tiers p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.motion .ly.pinned .ly-tiers li { opacity: .28; transition: opacity .35s; }
.motion .ly.pinned .ly-tiers li::before { background: var(--line); transition: background .35s; }
.motion .ly.pinned .ly-tiers li.on { opacity: 1; }
.motion .ly.pinned .ly-tiers li.on::before { background: var(--cyan); }
.ly-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.ly-art > * { position: relative; z-index: 2; }
.ly-art > .threads { position: absolute; z-index: 1; }
.ly-answer { width: min(540px, 100%); }
.ly-model { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; color: var(--ink); font: 500 15px/1.2 var(--sans); }
.ly-model svg { width: 32px; height: 32px; }
.ly-doc { max-width: none; }
.ly-page { width: min(420px, 82%); margin-top: 48px; }
.pg { padding: 14px 20px 8px; background: var(--surface); border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 14px; box-shadow: 0 30px 60px -30px #000; }
.pg-head h3 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.pg-head p { margin: 3px 0 8px; color: var(--muted); font-size: 13px; }
.pg-lines { list-style: none; margin: 0; padding: 0; max-width: none; }
.pg-lines li { margin: 0; padding: 8px 0; border-top: 1px solid rgba(41, 53, 75, .65); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.ly-record { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 48px 0 0; padding: 0; max-width: none; }
.rr { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--midnight); }
.rr b { display: block; color: var(--ink); font: 500 14px/1.3 var(--sans); }
.rr .src { margin-top: 6px; }
.rr.rel { border-color: rgba(69, 217, 244, .55); }
.ly-art > .caption { align-self: flex-start; }
.motion .ly.pinned .rr, .motion .ly.pinned .ly-page, .motion .ly.pinned .ly-answer { will-change: transform, opacity; }
.ly-close { margin: 0; padding: 40px var(--gutter) 140px; text-align: center; }
.ly-close strong { display: block; max-width: 17em; margin: 0 auto; font: 600 clamp(28px, 4.2vw, 64px)/1.04 var(--display); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }

/* the gate: only what the question needs */
.gt { background: var(--midnight); }
.gt .frame { max-width: 1320px; margin: 0 auto; padding: 130px var(--gutter) 20px; }
.motion .gt.pinned .gt-pin { height: 300vh; }
.motion .gt.pinned .frame { position: sticky; top: 0; height: 100svh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 0; }
.gt .big { font-size: clamp(40px, 5.6vw, 92px); max-width: 12em; }
.gt-q { justify-content: flex-start; margin: 26px 0 0; }
.gt-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 340px); align-items: center; gap: 0 32px; margin-top: 34px; }
.gt-stage > .threads { z-index: 1; }
.gt-record { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; max-width: none; }
.gr { position: relative; margin: 0; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--void); }
.gr > * { opacity: var(--o, 1); }
.gr b { display: block; color: var(--ink); font: 500 13.5px/1.3 var(--sans); }
.gr .src { margin-top: 4px; }
.gr.secret { border-style: dashed; }
.gr.secret b { padding-right: 20px; color: var(--muted); }
.gr.secret svg { position: absolute; right: 8px; top: 8px; width: 16px; height: 16px; }
.gr.pick { border-color: var(--cyan); }
.gr.lit { border-color: var(--gold); box-shadow: 0 0 24px -6px rgba(244, 191, 133, .6); }
.gr.lit b { color: var(--gold); }
.gt-gate { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: center; height: 250px; }
.gt-gate i { position: relative; width: 3px; height: 40%; border-radius: 2px; background: var(--muted); }
.gt-gate i::after { content: ""; position: absolute; left: 50%; width: 15px; height: 3px; border-radius: 2px; background: var(--muted); transform: translateX(-50%); }
.gt-gate i:first-child::after { bottom: 0; } .gt-gate i:last-child::after { top: 0; }
.gt-model { position: relative; z-index: 2; padding: 16px 16px 14px; border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 16px; background: var(--surface); box-shadow: 0 30px 60px -30px #000; }
.gt-name { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--ink); font: 500 15px/1.2 var(--sans); }
.gt-name svg { width: 30px; height: 30px; }
.gt-in { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; max-width: none; }
.gt-in li { margin: 0; padding: 8px 11px; border: 1px solid var(--cyan); border-radius: 9px; background: var(--void); }
.gt-in b { display: block; color: var(--ink); font: 500 13.5px/1.3 var(--sans); }
.gt-in .src { margin-top: 4px; }
.gt-answer { position: relative; margin: 14px 0 0; padding: 11px 12px 11px 30px; border-radius: 10px; background: rgba(69, 217, 244, .08); border: 1px solid rgba(69, 217, 244, .35); color: var(--ink); font: 500 15px/1.4 var(--sans); }
.gt-answer .pip-in { position: absolute; left: 12px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.gt-scan { display: none; }
.motion .gt-scan { display: block; position: absolute; top: -16px; bottom: -16px; left: 0; width: 120px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(69, 217, 244, .08) 35%, rgba(246, 247, 251, .1) 50%, rgba(69, 217, 244, .08) 65%, transparent); }
.motion .gt-scan::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(246, 247, 251, .7) 30%, rgba(69, 217, 244, .8) 70%, transparent); }
.motion .gt.pinned .gt-in li, .motion .gt.pinned .gt-answer { will-change: transform, opacity; }
.gt .frame > .caption { margin-top: 18px; }
.gt-text { padding-top: 60px; }
.gt-lead { margin: 0 0 24px; max-width: 32em; color: var(--ink); font: 500 clamp(20px, 2vw, 28px)/1.38 var(--display); letter-spacing: -.01em; }

.hw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 36px 0 0; }

@media (max-width: 1023px) {
  /* the labels leave the drawing and sit beneath it, tier by tier */
  .pyr-rows { margin-top: 28px; border-top: 1px solid var(--line); text-align: left; }
  .pyr-rows li { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
  .pyr .pl { font-size: 14px; }
  .pyr .pl.a { text-align: right; }
  .pyr .pl.c { grid-column: 1 / -1; order: -1; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
  .pyr .pl.c::before, .pyr .pl.c::after { content: ""; flex: 1; height: 1px; background: var(--cyan); opacity: .7; }
  .pyr-rows { max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1100px) {
  .ly .frame { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 720px; }
  /* stacked (no pin) the record reads first and the build flows down the screen: record, page, answer */
  .ly-art { flex-direction: column-reverse; }
  .ly-art > .caption { order: -1; margin-top: 14px; }
  .ly-answer { margin-top: 40px; }
  .ly-page { margin-top: 40px; }
  .ly-record { margin-top: 0; }
  .gt-stage { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 720px; }
  .gt-gate { flex-direction: row; width: 260px; height: 72px; margin: 0 auto; }
  .gt-gate i { width: 40%; height: 3px; }
  .gt-gate i::after { top: 50% !important; bottom: auto !important; left: auto; width: 3px; height: 15px; transform: translateY(-50%); }
  .gt-gate i:first-child::after { right: 0; } .gt-gate i:last-child::after { left: 0; }
}
@media (max-width: 760px) {
  .wi .in { padding-top: 96px; }
  .wi-mark { margin-bottom: 32px; }
  .pyr { margin-top: 40px; }
  .pyr-svg { width: 176%; max-width: none; margin-left: -38%; }
  .ly .frame { padding-top: 96px; gap: 36px; }
  .ly-tiers { margin-top: 28px; gap: 18px; }
  .ly-tiers p:last-child { font-size: 15px; }
  .ly-record { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 40px; }
  .ly-record .rr.rel { order: 1; }
  .ly-record .rr.x { display: none; }
  .ly-page { margin-top: 40px; width: 88%; }
  .ly-record { margin-top: 0; }
  .rr { padding: 7px 8px; }
  .rr b { font-size: 12px; }
  .rr .src { font-size: 10px; padding: 1px 4px; }
  .gt .frame { padding-top: 96px; }
  .gt-record { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gr:nth-child(n+13) { display: none; }
  .gr { padding: 7px 9px; }
  .gr b { font-size: 12.5px; }
}
.motion .ly .rr.rel:not(.on) { border-color: var(--line); }
.motion .gt .gr.pick:not(.lit):not(.used) { border-color: var(--line); }
.gr.used { border-color: rgba(69, 217, 244, .5); --o: .55; }

/* gate, second pass: the model waits for evidence; the keyholder items say they stay */
.gt-name .gt-wait { display: none; margin-left: auto; color: var(--muted); font: 400 12.5px/1.2 var(--sans); }
.motion .gt-name .gt-wait { display: inline; }
.gt-box { position: relative; }
.gt-slots { display: none; }
.motion .gt-slots { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; max-width: none; }
.gt-slots li { margin: 0; border: 1px dashed #3A4864; border-radius: 9px; background: repeating-linear-gradient(90deg, rgba(246, 247, 251, .025) 0 40px, transparent 40px 80px); }
.gt-in { position: relative; }
.gr.secret { border-color: rgba(244, 191, 133, .5); }
.gr-stay { display: inline-block; margin-left: 8px; color: var(--gold); font: 500 11.5px/1.3 var(--sans); vertical-align: 1px; }
.motion .gt .gr-stay { opacity: 0; transition: opacity .3s; }
.motion .gt .gr.secret.held .gr-stay { opacity: 1; }
.motion .gt .gr.secret.held { box-shadow: 0 0 0 1px rgba(244, 191, 133, .35), 0 0 22px -8px rgba(244, 191, 133, .6); }

/* any AI: one question and one answer stay; the model in the socket is swapped; the record is the heavy part */
.ai { background: var(--surface); }
.ai .frame { max-width: 1320px; margin: 0 auto; padding: 120px var(--gutter) 30px; }
.motion .ai.pinned .ai-pin { height: 330vh; }
.motion .ai.pinned .frame { position: sticky; top: 0; height: 100svh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 0; }
.ai-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.ai .big { font-size: clamp(40px, 5.4vw, 84px); }
.ai-set { margin: 0; color: var(--gold); font: 500 clamp(19px, 1.8vw, 26px)/1.3 var(--display); letter-spacing: -.01em; }
.ai-stage { position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 0 clamp(64px, 8vw, 120px); align-items: center; margin-top: 40px; }
.ai-side, .ai-record { position: relative; z-index: 2; }
.ai-q { justify-content: flex-start; margin: 0 0 40px; }
.ai-socket { display: flex; justify-content: center; }
.ai-slot { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; padding: 0; max-width: none; }
.ai-model { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 12px 8px; border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .18); border-radius: 14px; background: var(--raised); color: var(--ink); font: 500 14px/1.2 var(--display); text-align: center; box-shadow: inset 0 1px 0 rgba(246, 247, 251, .1), 0 24px 50px -26px #000; }
.ai-model svg { flex: none; width: 32px; height: 32px; }
.ai.pinned .ai-slot { position: relative; display: block; width: 300px; height: 74px; border: 1px dashed #3A4864; border-radius: 18px; }
.ai.pinned .ai-model { position: absolute; left: 50%; top: 5px; height: 62px; flex-direction: row; gap: 12px; padding: 0 22px 0 12px; white-space: nowrap; font-size: 18px; letter-spacing: -.01em; will-change: transform, opacity; }
.ai.pinned .ai-model svg { width: 40px; height: 40px; }
.ai-answer { max-width: none; margin: 24px 0 0; padding: 2px 20px 14px; }
.ai-answer .doc-lines li { padding: 14px 0 12px; }
.ai-answer .doc-lines p { font: 500 17px/1.4 var(--display); letter-spacing: -.005em; }
.ai-by-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.ai-by-label { color: var(--muted); font-size: 12.5px; }
.ai-by { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; max-width: none; }
.ai-by li { position: relative; margin: 0; padding: 3px 10px 3px 22px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 12.5px; line-height: 1.35; transition: opacity .3s, border-color .3s, color .3s; }
.ai-by li::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--mint); }
.motion .ai.pinned .ai-by li { opacity: .3; }
.motion .ai.pinned .ai-by li.done { opacity: .8; }
.motion .ai.pinned .ai-by li.now { opacity: 1; border-color: var(--gold); color: var(--gold); }
.ai-record { padding: 2px 24px 16px; border-radius: 18px; border: 1px solid rgba(246, 247, 251, .07); border-top-color: rgba(130, 107, 255, .7);
  background: radial-gradient(120% 50% at 50% 0%, rgba(130, 107, 255, .1), transparent 60%), linear-gradient(180deg, #18223A, var(--midnight) 90px); box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(130, 107, 255, .25); }
.ar-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.ar-group { margin: 12px 0 0; }
.ar-year { margin: 0 0 4px; color: var(--muted); font: 500 12px/1 var(--display); letter-spacing: .06em; }
.ar-group ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.ar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; margin: 0; padding: 7px 0; border-top: 1px solid rgba(41, 53, 75, .65); }
.ar b { color: var(--ink); font: 500 14px/1.3 var(--sans); }
.ar-col + .ar-col .ar b { color: var(--muted); }
.ar[data-use] { margin: 0 -8px; padding: 7px 8px; border-radius: 7px; border-top-color: transparent; background: rgba(69, 217, 244, .1); box-shadow: inset 0 0 0 1px rgba(69, 217, 244, .45); }
.motion .ai.pinned .ar[data-use] { transition: background .3s, box-shadow .3s; }
.motion .ai.pinned .ar[data-use]:not(.on) { background: transparent; box-shadow: none; }
.ai .frame > .caption { margin-top: 18px; }
.ai-text { padding-top: 40px; }
.ai-lead { margin: 0 0 24px; max-width: 32em; color: var(--ink); font: 500 clamp(20px, 2vw, 28px)/1.38 var(--display); letter-spacing: -.01em; }
.ai-note { margin-top: 18px; color: var(--ink); }

/* the one rule: one sequence on one thread */
.rl { background: var(--void); }
.rl .frame { max-width: 1100px; margin: 0 auto; padding: 120px var(--gutter) 60px; text-align: center; }
.motion .rl.pinned .rl-pin { height: 260vh; }
.motion .rl.pinned .frame { position: sticky; top: 0; height: 100svh; min-height: 620px; display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 0; }
.rl h2 { margin: 0 auto; }
.rl-stage { max-width: 880px; margin: 52px auto 0; }
.rl-card { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(520px, 100%); margin: 0 auto; padding: 12px; text-align: left; border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 16px; background: var(--midnight); transition: border-color .3s;
  box-shadow: inset 0 1px 0 rgba(246, 247, 251, .1), 0 18px 36px -12px rgba(0, 0, 0, .6), 0 60px 110px -40px rgba(0, 0, 0, .9); }
.rl-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rl-photos svg, .rl-photos img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; border-radius: 6px; }
.rl-state { display: none; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 0 4px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.rl-state > span:not(.rl-stop) { flex: 1; }
.rl-card[data-s="0"] .s0, .rl-card[data-s="1"] .s1, .rl-card[data-s="2"] .s2, .rl-card[data-s="3"] .s3 { display: flex; }
.rl-stop { padding: 8px 14px; border: 1px solid var(--gold); border-radius: 8px; color: var(--ink); font: 500 14px/1 var(--sans); }
.rl .ring { width: 26px; height: 26px; }
.rl-done { flex: none; width: 26px; height: 26px; }
.rl-done path { fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rl-you { position: absolute; top: -5px; right: -5px; opacity: 0; transition: opacity .3s; }
.rl-card:not([data-s="0"]) .rl-you { opacity: 1; }
.rl-card[data-s="1"] { border-color: rgba(244, 191, 133, .6); }
.rl-thread { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; padding: 0; max-width: none; --f: 1; }
.rl-thread::before, .rl-thread::after { content: ""; position: absolute; left: 12.5%; top: 5px; height: var(--thread); }
.rl-thread::before { right: 12.5%; background: var(--line); }
.rl-thread::after { width: calc(75% * var(--f)); background: var(--cyan); }
.rl-node { position: relative; z-index: 1; margin: 0; padding: 24px 6px 0; color: var(--ink); font: 500 15px/1.3 var(--sans); transition: color .3s; }
.rl-node::before { content: ""; position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--void); transition: background .3s; }
.motion .rl.pinned .rl-node { color: var(--muted); }
.motion .rl.pinned .rl-node:not(.on)::before { background: var(--line); }
.motion .rl.pinned .rl-node.now { color: var(--ink); }
.rl-note { margin: 40px auto 0; text-align: center; }
.rl .frame > .caption { text-align: center; }

/* yours: the approved wording, each sentence lighting its part of one drawing */
.tr { background: var(--midnight); }
.tr .big { max-width: 10em; }
.tr-sub { margin: 26px 0 0; }
.tr-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px clamp(48px, 6vw, 96px); align-items: start; margin-top: 72px; }
.tr-list { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 1px solid var(--line); }
.tr-list li { position: relative; margin: 0; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 clamp(17px, 1.5vw, 20px)/1.4 var(--display); letter-spacing: -.005em; }
.tr-list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.tr-scroll .tr-list { border-top: 0; }
.tr-scroll .tr-list li { display: flex; align-items: center; min-height: 30vh; border-bottom: 0; opacity: .28; transition: opacity .4s; }
.tr-scroll .tr-list li::before { top: 50%; margin-top: -4px; }
.tr-scroll .tr-list li.on { opacity: 1; }
.tr-scroll .tr-art { position: sticky; top: calc(50svh - 230px); }
.tr-art { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 132px; grid-template-areas: "others inst model" ". export ."; gap: 56px 30px; align-items: center; padding: 8px 0 0; }
.tr-art > .threads { z-index: 1; }
.tr-others { grid-area: others; display: grid; gap: 14px; }
.tr-other { display: grid; place-items: center; height: 112px; border: 1px dashed #33415C; border-radius: 12px; }
.tr-other .person { display: block; background: var(--muted); box-shadow: none; opacity: .5; }
.tr-inst { grid-area: inst; position: relative; z-index: 2; margin-right: 27px; }
.tr-seal { position: absolute; inset: -12px -39px -39px -12px; border: 1px solid rgba(130, 107, 255, .35); border-radius: 24px; }
.tr-copy { position: absolute; inset: 0; border: 1px solid rgba(130, 107, 255, .45); border-radius: 16px; background: var(--midnight); }
.tr-copy.c1 { transform: translate(9px, 9px); } .tr-copy.c2 { transform: translate(18px, 18px); opacity: .75; } .tr-copy.c3 { transform: translate(27px, 27px); opacity: .5; }
.tr-box { position: relative; z-index: 3; padding: 14px 16px 8px; border: 1px solid var(--violet); border-radius: 16px; background: var(--surface); }
.tr-label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--ink); font: 500 15px/1.2 var(--sans); }
.tr-label .person { display: block; }
.tr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; margin: 0 0 6px; }
.tr-asst { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); color: var(--ink); font: 500 13.5px/1.2 var(--sans); }
.tr-asst svg { flex: none; width: 26px; height: 26px; }
.tr-keys { padding: 8px 10px; border: 1px solid rgba(244, 191, 133, .55); border-radius: 10px; background: var(--midnight); }
.tr-keys p { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--gold); font: 500 13px/1.2 var(--sans); }
.tr-keys p svg { width: 18px; height: 18px; }
.tr-keys ul, .tr-rows { list-style: none; margin: 0; padding: 0; max-width: none; }
.tr-keys li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 3px 0; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.tr-keys li svg { flex: none; width: 14px; height: 14px; }
.tr-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; margin: 0; padding: 7px 0; border-top: 1px solid rgba(41, 53, 75, .65); }
.tr-rows b { color: var(--ink); font: 500 13.5px/1.3 var(--sans); }
.tr-model { grid-area: model; position: relative; z-index: 2; padding: 12px 10px; border: 1px dashed #3A4864; border-radius: 12px; background: var(--midnight); text-align: center; }
.tr-model p { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; color: var(--ink); font: 500 13.5px/1.2 var(--sans); }
.tr-model svg { width: 30px; height: 30px; }
.tr-model em { display: block; margin-top: 8px; color: var(--muted); font: 400 12px/1.3 var(--sans); font-style: normal; }
.tr-export { grid-area: export; position: relative; z-index: 2; justify-self: center; display: flex; align-items: center; gap: 10px; margin-left: -27px; padding: 10px 16px 10px 12px; border: 1px solid var(--cyan); border-radius: 12px; background: var(--midnight); }
.tr-export svg { flex: none; width: 22px; height: 22px; }
.tr-export p { margin: 0; color: var(--ink); font: 500 14px/1.25 var(--sans); }
.tr-export em { display: block; color: var(--muted); font: 400 12px/1.3 var(--sans); font-style: normal; }
.tr-scroll [data-part] { opacity: .16; transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .3, 1); }
.tr-scroll .tr-copy[data-part] { transform: none; }
.tr-scroll .tr-art.on-inst [data-part="inst"], .tr-scroll .tr-art.on-key [data-part="key"], .tr-scroll .tr-art.on-model [data-part="model"],
.tr-scroll .tr-art.on-export [data-part="export"], .tr-scroll .tr-art.on-none [data-part="none"], .tr-scroll .tr-art.on-copies .c1 { opacity: 1; }
.tr-scroll .tr-art.on-copies .c1 { transform: translate(9px, 9px); }
.tr-scroll .tr-art.on-copies .c2 { opacity: .75; transform: translate(18px, 18px); }
.tr-scroll .tr-art.on-copies .c3 { opacity: .5; transform: translate(27px, 27px); }
.tr-scroll .tr-art .threads path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease-out; }
.tr-scroll .tr-art.on-model .threads .t-model, .tr-scroll .tr-art.on-export .threads .t-export { stroke-dashoffset: 0; }
.tr-scroll .tr-art.on-model .threads .t-back { transition-delay: .7s; }
.tr-costs { margin-top: 64px; }
.tr-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0 0; }

@media (max-width: 1100px) {
  .ai-stage { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 720px; }
  .ai-side { max-width: 460px; }
  .tr-body { grid-template-columns: minmax(0, 1fr); }
  .tr-art { max-width: 620px; }
}
@media (max-width: 760px) {
  .ai .frame, .rl .frame { padding-top: 96px; }
  .ai-head { display: block; }
  .ai-set { margin-top: 18px; }
  .ai-stage { margin-top: 30px; gap: 30px; }
  .ar-cols { grid-template-columns: minmax(0, 1fr); }
  .ar.x { display: none; }
  .ar b { font-size: 13.5px; }
  .ai-record { padding: 2px 16px 12px; }
  .ai-model { padding: 10px 6px; font-size: 13px; }
  .ai.pinned .ai-slot { width: 280px; }
  .ai.pinned .ai-model { font-size: 17px; }
  .rl-stage { margin-top: 36px; }
  .rl-node { font-size: 13px; padding-top: 22px; }
  .rl-state { font-size: 15px; }
  .tr-body { margin-top: 48px; }
  .tr-art { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "others inst inst" "model model export"; gap: 50px 14px; }
  .tr-other { height: 80px; }
  .tr-inst { margin-right: 40px; }
  .tr-split { grid-template-columns: minmax(0, 1fr); }
  .tr-export { margin-left: 0; }
}

/* ---- the wordmark's one intro (homepage, once per visit; intro.js) ---- */
.brand { position: relative; }
.wm-intro { display: none; }
.wm-play .site-header .wm-intro { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; animation: wm-out 1ms linear 700ms forwards; }
.wm-play .site-header .brand img { opacity: 0; animation: wm-fade 250ms cubic-bezier(.4, 0, .2, 1) 450ms forwards; }
.wm-intro .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.wm-intro .dot { opacity: 0; }
/* the pyramid A's side face fades in with the gold dot, once its edges are traced */
.wm-intro .shade { opacity: 0; }
.wm-play .wm-intro .shade { animation: wm-fade 160ms cubic-bezier(.2, 0, 0, 1) 290ms forwards; }
.wm-play .wm-intro .pyr .draw { animation: wm-draw 450ms cubic-bezier(.2, 0, 0, 1) forwards; }
.wm-play .wm-intro g:not(.pyr) .draw { animation: wm-draw 330ms cubic-bezier(.2, 0, 0, 1) 120ms forwards; }
.wm-play .wm-intro .dot { animation: wm-fade 160ms cubic-bezier(.2, 0, 0, 1) 290ms forwards; }
@keyframes wm-draw { to { stroke-dashoffset: 0; } }
@keyframes wm-fade { to { opacity: 1; } }
@keyframes wm-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wm-intro { display: none !important; } .brand img { opacity: 1 !important; animation: none !important; } }
