/* Adiflow website. Editorial: warm paper, ink, one serif for display, the system sans for
   everything else. Red is reserved for the record dot and struck-out words. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}

:root {
  color-scheme: light;

  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --card: #fcfbf8;
  --ink: #141414;
  --ink-2: #3b3a37;
  --muted: #6e6a62;
  --faint: #9a958b;
  --line: rgba(20, 20, 20, 0.09);
  --line-strong: rgba(20, 20, 20, 0.16);

  --night: #121212;
  --deep: #10213b;
  --cream: #f3efe6;
  --cream-2: rgba(243, 239, 230, 0.66);
  --cream-3: rgba(243, 239, 230, 0.4);
  --cream-line: rgba(243, 239, 230, 0.14);

  --red: #e5484d;
  --focus: #2f6fed;

  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --inset: clamp(8px, 1.2vw, 16px);
  --r-panel: clamp(24px, 3vw, 40px);
  --r-card: 24px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-window: 0 1px 1px rgba(20, 20, 20, 0.04), 0 12px 24px -8px rgba(20, 20, 20, 0.12), 0 40px 80px -24px rgba(20, 20, 20, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(229, 72, 77, 0.22); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Type */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em { font-style: italic; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
code {
  font-family: var(--mono); font-size: 0.86em;
  background: rgba(20, 20, 20, 0.06); padding: 0.12em 0.4em; border-radius: 6px;
}
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 0.82em/1 var(--sans);
  min-width: 1.9em; height: 1.75em; padding: 0 0.5em;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 7px;
  box-shadow: inset 0 -1.5px 0 var(--line-strong);
  vertical-align: 0.08em;
}

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px;
  background: var(--ink); color: var(--paper);
  font: 500 0.95rem/1 var(--sans); text-decoration: none;
  border-radius: var(--r-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(20, 20, 20, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.button:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -8px rgba(20, 20, 20, 0.45); }
.button:active { transform: translateY(0); }
.button-small { height: 36px; padding: 0 16px; font-size: 0.88rem; }
.button-large { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.button-light { background: var(--cream); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.button-light:hover { box-shadow: 0 12px 32px -8px rgba(243, 239, 230, 0.35); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; text-decoration: none; color: var(--ink);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover span { transform: translateX(3px); }
.text-link-light { color: var(--cream); }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 50;
  padding: 0 var(--gutter);
}
.nav-inner {
  max-width: var(--max); margin: 12px auto 0;
  display: flex; align-items: center; gap: 32px;
  height: 56px; padding: 0 10px 0 18px;
  background: rgba(246, 243, 236, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 24px -16px rgba(20, 20, 20, 0.25);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 1.02rem;
}
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { font-size: 0.92rem; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.nav nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: var(--ink-2);
  padding: 7px 14px 7px 12px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--line);
  margin-bottom: 32px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } }

.hero .display { font-size: clamp(3.3rem, 8.6vw, 7rem); line-height: 0.94; letter-spacing: -0.02em; }
.lede {
  max-width: 35rem; margin-top: 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--muted);
  text-wrap: pretty;
}
.cta-row { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.fineprint { margin-top: 20px; font-size: 0.84rem; color: var(--faint); }
.fineprint-light { color: var(--cream-3); }

/* The demo stage */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; margin-top: clamp(56px, 8vw, 88px);
  aspect-ratio: 2 / 1;
  border-radius: var(--r-panel);
  border: 1px solid var(--line);
  display: grid; align-content: center; justify-items: center; gap: 16px;
  padding: 48px var(--gutter) 116px;
  background:
    radial-gradient(55% 75% at 12% 15%, #f7d9c4 0%, transparent 70%),
    radial-gradient(50% 70% at 92% 90%, #d7ddf0 0%, transparent 70%),
    radial-gradient(40% 50% at 80% 10%, #ece3cf 0%, transparent 70%),
    #ece6da;
}
.stage::after {
  /* Film grain, so the gradient reads as a surface rather than a flat fill */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage-glow {
  position: absolute; z-index: -1; left: 50%; bottom: -30%; width: 60%; height: 60%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), transparent);
}

.window {
  width: 100%; max-width: 38rem; text-align: left;
  background: rgba(252, 251, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.window-bar {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 7px; flex: 1; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.window-title { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.window-spacer { flex: 1; }
.thread { padding: 18px 18px 6px; display: grid; gap: 16px; }
.message { display: flex; gap: 12px; }
.avatar {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: #2b3a55; color: #fff; font-size: 0.72rem; font-weight: 600;
}
.who { font-size: 0.86rem; font-weight: 600; }
.who time { font-weight: 400; color: var(--faint); margin-left: 6px; font-size: 0.78rem; }
#demo-prompt, #demo-before { font-size: 0.92rem; color: var(--ink-2); margin-top: 2px; }
.avatar-alt { background: #8a5a3c; }
.composer { padding: 12px 18px 18px; }
.field {
  min-height: 46px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 11px; background: #fff;
  font-size: 0.92rem; line-height: 1.45;
}
.placeholder { color: var(--faint); }
.typed-in { animation: land 0.5s var(--ease); }
@keyframes land { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.caret {
  display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em;
  background: var(--focus); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.spoken {
  width: min(30rem, 100%); min-height: 3em;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.35;
  color: var(--ink-2); text-align: center;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.spoken.visible { opacity: 1; }

/* The pill, as in the app: dark glass, red dot, scrolling level bars */
.pill {
  position: absolute; left: 50%; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 20px;
  border-radius: var(--r-pill);
  background: rgba(22, 22, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px -12px rgba(20, 20, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translate(-50%, 14px) scale(0.92); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.pill[data-state="listening"], .pill[data-state="processing"] { transform: translate(-50%, 0) scale(1); opacity: 1; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); transition: opacity 0.3s; }
.pill[data-state="processing"] .dot { opacity: 0; width: 0; margin-right: -12px; }
.bars { display: flex; align-items: center; gap: 2.5px; height: 24px; }
.bars i { width: 2.5px; height: 3px; border-radius: 2px; background: #fff; transition: height 0.09s linear, opacity 0.2s; }

.hint {
  position: absolute; right: 18px; top: 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--ink-2);
  background: rgba(252, 251, 248, 0.7); border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 5px 12px 5px 5px; border-radius: var(--r-pill);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hint kbd { transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.hint kbd.down { transform: translateY(1px); box-shadow: none; background: var(--paper-2); }

/* Apps marquee */
.apps { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 112px) var(--gutter); text-align: center; }
.apps-title { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track li {
  padding: 0 clamp(20px, 3vw, 36px);
  font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink-2); white-space: nowrap;
  opacity: 0.7;
}
.marquee-track li:nth-child(even) { font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Full-width colour panels */
.panel {
  margin: 0 var(--inset);
  border-radius: var(--r-panel);
  color: var(--cream);
  padding: clamp(80px, 11vw, 140px) var(--gutter);
}
.panel-ink { background: var(--night); }
.panel-deep { background: var(--deep); }
.panel-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.panel .eyebrow { color: var(--cream-3); }
.panel-lede { max-width: 34rem; margin-top: 24px; color: var(--cream-2); font-size: 1.1rem; text-wrap: pretty; }

/* What you said vs what it typed */
.edit {
  width: 100%; max-width: 54rem; margin-top: clamp(48px, 7vw, 72px); text-align: left;
  border: 1px solid var(--cream-line); border-radius: var(--r-card);
  background: rgba(243, 239, 230, 0.03);
}
.edit-row { padding: clamp(24px, 4vw, 40px); }
.edit-row + .edit-row { border-top: 1px solid var(--cream-line); }
.edit-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 14px; }
.edit-said { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.3; color: var(--cream-2); }
.edit-typed { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.22; color: var(--cream); }
.cut {
  text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: transparent;
  transition: text-decoration-color 0.5s var(--ease), color 0.5s var(--ease);
}
.edit.in .cut { text-decoration-color: var(--red); color: var(--cream-3); }
.edit.in .cut:nth-of-type(2) { transition-delay: 0.35s; }
.edit.in .cut:nth-of-type(3) { transition-delay: 0.7s; }
.edit.in .cut:nth-of-type(4) { transition-delay: 1.05s; }
.edit-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 40px; color: var(--cream-2); font-size: 0.95rem; }
.edit-notes li { display: flex; align-items: center; gap: 10px; }
.edit-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.edit-notes strong { color: var(--cream); font-weight: 600; }

/* Sections on paper */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--gutter); }
.section-head { max-width: 44rem; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head > p:last-child:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.1rem; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px; min-height: 280px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -28px rgba(20, 20, 20, 0.28); }
.tile p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.tile > :first-child:not(h3) { margin-bottom: auto; }
.tile > :first-child + h3 { margin-top: 28px; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tile-wide > .tile-copy { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.tile-icon { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

.dict { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; font-size: 0.92rem; }
.dict-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.dict-row + .dict-row { border-top: 1px solid var(--line); }
.kind { width: 3.2em; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.heard { font-family: var(--mono); font-size: 0.84rem; color: var(--muted); }
.arrow { color: var(--faint); }
.phrase { font-weight: 600; }

.keys { display: flex; gap: 8px; }
.keys kbd { font-size: 1.5rem; min-width: 2.1em; height: 2.1em; border-radius: 12px; }
.tile .big-number { font-family: var(--serif); font-size: 5rem; line-height: 0.85; letter-spacing: -0.03em; }
.big-number span { font-style: italic; font-size: 0.6em; margin-left: 2px; color: var(--muted); }

.code-demo { display: grid; gap: 14px; padding: 24px; border-radius: 16px; background: var(--night); color: var(--cream); }
.code-said { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--cream-2) !important; }
.code-typed { font-size: 1rem; color: var(--cream) !important; }
.code-typed code { background: rgba(243, 239, 230, 0.1); color: var(--cream); }
.pilcrow { margin-left: 8px; color: var(--red); font-weight: 600; }

.history { display: grid; gap: 6px; }
.history li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 10px; background: var(--paper);
  font-size: 0.82rem; color: var(--ink-2);
}
.history li:first-child { background: var(--paper-2); }
.history span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history time { color: var(--faint); flex: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--faint); margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* Privacy */
.privacy-mark { color: var(--cream); opacity: 0.85; margin-bottom: 28px; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; max-width: 54rem; margin: clamp(48px, 7vw, 72px) 0 48px;
  border-top: 1px solid var(--cream-line);
}
.facts > div { padding: 32px 16px 0; }
.facts > div + div { border-left: 1px solid var(--cream-line); }
.facts dt { font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; }
.facts dd { margin-top: 10px; color: var(--cream-2); font-size: 0.95rem; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-section .section-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary, .install summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 500;
}
.faq summary::-webkit-details-marker, .install summary::-webkit-details-marker { display: none; }
.faq summary::after, .install summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after, .install[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* Download */
.download .display { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; margin: 32px 0 40px; }
.download-icon { filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.55)); }
.install {
  width: 100%; max-width: 34rem; margin-top: 40px; text-align: left;
  border: 1px solid var(--cream-line); border-radius: 16px; color: var(--cream-2);
}
.install summary { padding: 16px 20px; font-size: 1rem; color: var(--cream); }
.install ol { padding: 0 20px 20px 40px; list-style: decimal; display: grid; gap: 10px; font-size: 0.95rem; }
.install strong { color: var(--cream); font-weight: 600; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.footer-cols { display: flex; gap: clamp(48px, 8vw, 96px); }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols p { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer-cols a { text-decoration: none; color: var(--ink-2); font-size: 0.94rem; }
.footer-cols a:hover { color: var(--ink); }
.copyright { margin-top: 28px; font-size: 0.84rem; color: var(--faint); }

/* Privacy policy page */
.policy { max-width: 44rem; margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter) 40px; }
.policy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -0.015em; }
.policy .updated { margin: 16px 0 40px; color: var(--faint); font-size: 0.9rem; }
.policy h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; margin: 48px 0 12px; }
.policy p, .policy li { color: var(--ink-2); }
.policy p + p { margin-top: 14px; }
.policy ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; }
.policy code { overflow-wrap: anywhere; }

/* Scroll reveal: hidden only when JavaScript is running to reveal it */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .bento > :nth-child(3n + 2), .js .steps > :nth-child(2), .js .facts > :nth-child(2) { transition-delay: 0.08s; }
.js .bento > :nth-child(3n), .js .steps > :nth-child(3), .js .facts > :nth-child(3) { transition-delay: 0.16s; }

/* Responsive */
@media (max-width: 920px) {
  .nav nav { display: none; }
  .nav .button-small { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
  .faq-section { grid-template-columns: minmax(0, 1fr); }
  .faq-section .section-head { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { height: 52px; padding: 0 8px 0 14px; }
  .stage { aspect-ratio: auto; min-height: 520px; padding: 72px 16px 108px; }
  .hint span { display: none; }
  .hint { padding-right: 5px; }
  .bento, .steps { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 24px; min-height: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--cream-line); }
  .facts > div { padding: 24px 0; }
  .faq details p { padding-right: 0; }
  .cta-row { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
