/* hush · landing page. "A field journal of silence."
   Fonts are bundled (SIL Open Font License 1.1). */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-italic.woff2) format('woff2'); }

:root {
  --paper: #F1EEE7;        /* ivory canvas */
  --paper-2: #E8E3D9;      /* cream band */
  --card: #FAF9F5;         /* one step brighter, no shadow */
  --ink: #141413;
  --ink-2: #3B3833;
  --muted: #6B655C;
  --rule: #D5CEC2;         /* 1px warm-grey hairline */
  --line: rgba(20, 20, 19, .14);
  --coral: #FF6B57;        /* the one accent, used like a period */
  --coral-ink: #C2412F;
  --night: #0C0B0A;
  --night-2: #191714;
  --night-text: #ECE5D8;
  --night-muted: #A39A8D;
  --night-rule: rgba(236, 229, 216, .16);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: light;
}

*, *::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.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--coral); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-ink); }
code, kbd, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px rgba(255, 107, 87, .35); }
.night :focus-visible, .cmd :focus-visible { outline-color: var(--night-text); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* Type */
.display {
  font: 400 clamp(64px, 10.4vw, 160px)/.88 var(--serif); letter-spacing: -.03em; margin: 0;
}
.display em, .h2 em { font-style: italic; color: inherit; }
.period { color: var(--coral); font-style: normal; }
.h2 { font: 400 clamp(44px, 6.2vw, 92px)/.96 var(--serif); letter-spacing: -.025em; margin: 0; max-width: 15ch; }
.h2 em { display: inline; color: var(--ink-2); }
.kicker {
  font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--rule); max-width: 220px; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 26px 0 0; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
kbd {
  font-size: .8em; padding: 2px 7px; border: 1px solid var(--rule); border-bottom-width: 2px;
  border-radius: 6px; background: var(--card); white-space: nowrap;
}
section { position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 961px) {
  /* headline left, the lede set as a ruled side note on the right */
  .section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); align-items: end; }
  .section-head .kicker { grid-column: 1 / -1; }
  .section-head .h2 { max-width: 14ch; }
  .section-head .lede { margin: 0; max-width: 30em; padding-top: 16px; padding-bottom: .6em; border-top: 1px solid var(--rule); }
}

/* Journal furniture: figure labels, plates, footnotes */
.fig-cap, .scene figcaption, .muted-cap {
  font: 400 12px/1.45 var(--mono); letter-spacing: .02em; color: var(--muted); margin: 12px 0 0;
}
.fig-n { color: var(--ink); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }
.footnotes { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--rule); counter-reset: fn; display: grid; gap: 10px; max-width: 72em; }
.footnotes li { counter-increment: fn; display: grid; grid-template-columns: 26px 1fr; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.footnotes li::before { content: counter(fn); font: 500 11px/1.9 var(--mono); color: var(--ink); }
.footnotes code { font-size: .92em; color: var(--ink-2); }
sup.fn { font: 500 .62em/0 var(--mono); color: var(--ink-2); margin-left: 2px; vertical-align: super; }
sup.fn a { text-decoration: none; color: inherit; }

/* Buttons: 8 to 12px corners, flat */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--sans); text-decoration: none; border-radius: 10px;
  padding: 13px 20px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 24px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: #ff8270; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2b2926; color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(241, 238, 231, .92); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; color: var(--ink); }
.wordmark { font: 400 31px/1 var(--serif); letter-spacing: -.02em; margin-top: -3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font: 400 13px/1 var(--mono); letter-spacing: .02em; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); }

/* Photo grade: amber light, deep blacks, grain */
.frame { position: relative; overflow: hidden; background: #1b1814; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) sepia(.22) contrast(1.12) brightness(.9); }
.frame::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255, 178, 102, .22), transparent 55%), linear-gradient(180deg, transparent 45%, rgba(8, 6, 4, .5));
  mix-blend-mode: soft-light;
}
.grain::after {
  content: ''; position: absolute; inset: -50%; pointer-events: none; z-index: 2; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* Subtitles for silence */
.sub {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 3;
  width: max-content; max-width: 88%; margin: 0; text-align: center;
  font: 500 clamp(15px, 1.6vw, 21px)/1.35 var(--sans); color: #fff; letter-spacing: .005em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .55);
  display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.sub .tc { font-size: .62em; color: rgba(255, 255, 255, .72); letter-spacing: .04em; }
.sub-text:empty + .caret { opacity: 0; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--coral); margin-left: 2px; transform: translateY(2px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(88px, 9vw, 140px); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero-sub { font: italic 400 clamp(26px, 2.6vw, 38px)/1.1 var(--serif); margin: 26px 0 0; color: var(--ink-2); }
.hero .lede { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-film { margin: 0; position: relative; }
.hero-film .fig-cap { margin: 0 0 12px; display: flex; justify-content: space-between; gap: 12px; }
.hero-film .frame { aspect-ratio: 4 / 5; border-radius: 2px; max-height: 80vh; margin-left: auto; }
@media (min-width: 961px) {
  /* the hero photo bleeds off the right edge of the page, like a magazine spread */
  .hero-film .frame { margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + var(--gutter))); border-radius: 2px 0 0 2px; aspect-ratio: auto; height: clamp(480px, calc(100vh - 250px), 820px); max-height: none; }
}
.hero-video { position: absolute; inset: 0; }
.contour { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 107, 87, .5)); }
.contour path { fill: none; stroke: var(--coral); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.contour .contour-inner { stroke-width: 2.4; opacity: .85; }
.hero-film.has-video .contour { display: none; }
.hero-film .sub { bottom: 20%; max-width: 94%; font-size: clamp(15px, 1.4vw, 19px); }

.bubble-wrap { position: absolute; left: clamp(-80px, -6vw, -16px); bottom: -44px; z-index: 4; max-width: 330px; }
.chat {
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px 10px;
  box-shadow: 0 6px 27px rgba(20, 20, 19, .08);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.chat.in { opacity: 1; transform: none; }
.chat-head { font-size: 11px; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #3BAA6E; }
.bubble { margin: 0; background: var(--paper); border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 15px; line-height: 1.4; }
.chat-meta { margin: 7px 0 0; font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }

/* World: plates */
.demo { padding: clamp(72px, 9vw, 130px) 0 0; }
.demo-film { margin: 0; }
.demo-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1b1814; border-radius: 2px; }
.demo-film figcaption { border-top: 1px solid var(--rule); padding-top: 10px; }
.demo-film figcaption a { color: var(--ink); }
.world { padding: clamp(80px, 10vw, 150px) 0 0; }
.scenes { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.scene { margin: 0; position: relative; }
.scene .frame { border-radius: 2px; }
.scene figcaption { display: flex; gap: 10px; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 10px; }
.pl { color: var(--ink); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.s-tall .frame { aspect-ratio: 3 / 4; }
.s-wide .frame { aspect-ratio: 3 / 2; }
.scene .sub { position: absolute; bottom: calc(7% + 36px); text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .7), 0 0 26px rgba(0, 0, 0, .55); }
.scenes > :nth-child(1) { grid-column: 1 / span 5; }
.scenes > :nth-child(2) { grid-column: 6 / span 7; margin-top: clamp(40px, 8vw, 120px); }
.scenes > :nth-child(3) { grid-column: 1 / span 7; margin-top: clamp(24px, 3vw, 40px); }
.scenes > :nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(40px, 6vw, 90px); }

/* The night section: the one deliberate dark band */
.night { background: var(--night); color: var(--night-text); margin-top: clamp(80px, 10vw, 150px); padding: clamp(80px, 10vw, 140px) 0; }
.night-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--night-rule); padding-bottom: 14px; margin-bottom: clamp(36px, 5vw, 64px); font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }
.night .scene figcaption { color: var(--night-muted); border-top-color: var(--night-rule); }
.night .pl { color: var(--night-text); }
.night .frame img { filter: saturate(.85) sepia(.28) contrast(1.16) brightness(.86); }
.scenes-night > :nth-child(1) { grid-column: 1 / span 4; margin-top: 0; }
.scenes-night > :nth-child(2) { grid-column: 5 / span 8; margin-top: clamp(30px, 6vw, 90px); }
.scenes-night > :nth-child(3) { grid-column: 2 / span 4; margin-top: clamp(20px, 3vw, 40px); }
.scenes-night > :nth-child(4) { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 120px); }
.s-muted {
  aspect-ratio: 3 / 2; border-radius: 2px; background: var(--night-2); border: 1px solid var(--night-rule);
  display: grid; place-items: center; padding: 24px; position: relative;
}
.muted-label { position: absolute; top: 16px; left: 18px; margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); display: flex; align-items: center; gap: 8px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 87, .18); }
.muted-cap { position: absolute; bottom: -36px; left: 0; right: 0; margin: 0; color: var(--night-muted); border-top: 1px solid var(--night-rule); padding-top: 10px; }
.scene .sub-static { position: static; transform: none; width: auto; max-width: 100%; }
.fomo { font: 400 clamp(32px, 4.2vw, 60px)/1.06 var(--serif); max-width: 20ch; margin: clamp(100px, 11vw, 170px) 0 0; letter-spacing: -.015em; }
.fomo em { color: #fff; }

/* How */
.how { padding: clamp(88px, 11vw, 160px) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.step { border-top: 1px solid var(--ink); padding-top: 18px; position: relative; }
.step .num { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.step .num::before { content: 'Step '; }
.step h3 { font: 400 clamp(28px, 2.6vw, 36px)/1.05 var(--serif); margin: 22px 0 10px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step-art { height: 168px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; margin-top: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 2px; padding: 0 22px; }
.keycap {
  font: 500 22px/1 var(--sans); padding: 22px 26px 26px; min-width: 150px; border-radius: 14px; background: #fff;
  border: 1px solid var(--rule); box-shadow: 0 6px 0 var(--paper-2), 0 6px 0 1px var(--rule);
  animation: press 3.2s var(--ease) infinite;
}
@keyframes press { 0%, 12% { transform: translateY(0); box-shadow: 0 6px 0 var(--paper-2), 0 6px 0 1px var(--rule); } 18%, 70% { transform: translateY(5px); box-shadow: 0 1px 0 var(--paper-2), 0 1px 0 1px var(--rule); } 78%, 100% { transform: translateY(0); } }
.keyalt { font-size: 12px; color: var(--muted); }
.pill { width: 210px; height: 64px; border-radius: 999px; background: var(--ink); display: flex; align-items: center; justify-content: center; position: relative; }
.pill svg { width: 150px; height: 50px; }
.pill path { fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; }
.pill-lips { animation: mouth 1.1s ease-in-out infinite alternate; transform-origin: 60px 20px; }
.pill-line { animation: mouth-in 1.1s ease-in-out infinite alternate; transform-origin: 60px 20px; opacity: .7; }
@keyframes mouth { 0% { transform: scale(1, .7); } 40% { transform: scale(.9, 1.25); } 100% { transform: scale(1.05, .85); } }
@keyframes mouth-in { 0% { transform: scale(1, .4); } 40% { transform: scale(.9, 1.6); } 100% { transform: scale(1, .6); } }
.pill-dot { position: absolute; left: 20px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--coral); animation: blink 1.2s steps(1) infinite; }
.field { width: 100%; max-width: 280px; min-height: 54px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 15px 14px; font-size: 16px; display: flex; align-items: center; }
.field .caret { margin-left: 1px; height: 1.1em; }

/* Learns */
.learns { padding: clamp(88px, 11vw, 160px) 0; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fact { padding: 22px 18px 24px 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--rule); }
.fact .big { font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.learn-card { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; padding: clamp(22px, 3vw, 36px); }
.learn-card h3 { font: 400 clamp(28px, 2.6vw, 36px)/1.05 var(--serif); margin: 0 0 12px; letter-spacing: -.015em; }
.learn-card p { color: var(--ink-2); margin: 0; }
.beforeafter { margin-top: 26px; display: grid; gap: 12px; border-top: 1px solid var(--rule); padding-top: 20px; }
.ba-row { display: grid; grid-template-columns: 72px 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.ba-bar { height: 12px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.ba-bar i { display: block; height: 100%; width: 0; background: var(--ink-2); border-radius: 2px; transition: width 1.1s var(--ease); }
.is-you .ba-bar i { background: var(--coral); }
.in .ba-bar i, .ba-bar.in i { width: calc(var(--w) * 1.8); }
.ba-val { text-align: right; }
.is-you .ba-label, .is-you .ba-val { font-weight: 600; }
.ba-note { font-size: 11.5px; color: var(--muted); margin: 4px 0 0 !important; }
.prompt { position: relative; margin-top: 22px; }
.prompt pre {
  margin: 0; white-space: pre-wrap; font-size: 12.5px; line-height: 1.6; background: var(--paper); color: var(--ink-2);
  border: 1px solid var(--rule); border-radius: 2px; padding: 18px; max-height: 300px; overflow: auto;
}
.prompt .copy { margin-top: 12px; }

/* Brows */
.brows { padding: clamp(88px, 11vw, 160px) 0; }
.brows-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.brow-demo { background: var(--night); border-radius: 2px; padding: clamp(24px, 4vw, 48px); color: #fff; }
.face { width: 100%; max-width: 360px; margin: 0 auto; }
.face path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brow { stroke: var(--night-text); stroke-width: 6; animation: brow 4.4s var(--ease) infinite; }
.face-lips { stroke: var(--coral); stroke-width: 4.5; }
@keyframes brow { 0%, 38% { transform: translateY(0); } 48%, 88% { transform: translateY(-16px); } 98%, 100% { transform: translateY(0); } }
.brow-line { text-align: center; margin: 26px 0 0; font: 500 clamp(18px, 2vw, 24px)/1.3 var(--sans); }
.punct { display: inline-block; color: var(--coral); font-weight: 600; animation: punct 4.4s var(--ease) infinite; min-width: .6em; text-align: left; }
@keyframes punct { 0%, 44% { opacity: 0; transform: translateY(6px); } 52%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* Private: a ruled ledger on paper */
.private { padding: clamp(88px, 11vw, 160px) 0; border-top: 1px solid var(--rule); }
.vows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); }
.vows li { border-top: 1px solid var(--ink); padding: 22px 0 36px; display: grid; gap: 10px; }
.vow { font: 400 clamp(32px, 3.4vw, 48px)/1.02 var(--serif); color: var(--ink); letter-spacing: -.015em; }
.vows li span:last-child { color: var(--ink-2); max-width: 34em; }

/* Numbers: field notes */
.numbers { padding: clamp(88px, 11vw, 160px) 0; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.results { display: grid; gap: clamp(40px, 5vw, 72px); }
.res-lead { display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.fig { margin: 0; border-top: 1px solid var(--ink); padding: 18px 0 0; }
.fig .kicker::after { display: none; }
.fig-title { font: 400 clamp(28px, 2.8vw, 40px)/1.05 var(--serif); letter-spacing: -.015em; margin: 6px 0 4px; }
.fig-sub { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 46em; }
.fig .fig-cap { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rule); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.res-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.res-card h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.08 var(--serif); margin: 0 0 6px; letter-spacing: -.01em; }
.res-card .fine { margin-top: 4px; }
.res-card .fig-cap { margin-top: 14px; }
.bars { display: grid; gap: 16px; margin-top: 26px; position: relative; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 250px) 1fr 104px; gap: 16px; align-items: center; font-size: 15px; }
.bar-label { line-height: 1.3; }
.res-card .bar-row, .res-card .axis { grid-template-columns: minmax(120px, 200px) 1fr 64px; }
.bar-label small { display: block; margin-top: 3px; font: 400 12px/1.35 var(--mono); color: var(--muted); }
.bar { height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--rule) calc(20% - 1px) 20%); border-left: 1px solid var(--ink); position: relative; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--ink-2); transition: width 1.1s var(--ease); }
.bar-row.best .bar i { background: var(--ink); }
.bar-row.shipped .bar i { background: var(--ink); }
.bar-row.key .bar i { background: var(--coral); } /* the one accent: what training alone delivers */
.bar-row.best .bar-label, .bar-row.shipped .bar-label, .bar-row.key .bar-label { font-weight: 600; }
.bar-row.best .bar-val, .bar-row.key .bar-val { font-weight: 600; }
.results.in .bar i { width: var(--w); }
.bar-val { text-align: right; font: 400 15px/1.2 var(--mono); }
.bar-val small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.axis { display: grid; grid-template-columns: minmax(150px, 250px) 1fr 104px; gap: 16px; margin-top: 8px; }
.axis-scale { position: relative; height: 12px; font: 400 10.5px/1 var(--mono); color: var(--muted); }
.axis-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.axis-scale span:first-child { transform: none; }
.axis-scale span:last-child { transform: translateX(-100%); }
.methods { border-top: 1px solid var(--ink); padding-top: 16px; }
.methods h3 { font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.methods dl { margin: 0; display: grid; gap: 0; }
.methods dt { font: 400 12px/1.3 var(--mono); color: var(--muted); padding-top: 12px; border-top: 1px solid var(--rule); }
.methods dt:first-child { border-top: 0; padding-top: 0; }
.methods dd { margin: 4px 0 12px; font-size: 15px; color: var(--ink); }
.methods code { font-size: 12.5px; }
.stat-list { display: grid; gap: 0; }
.stat { display: grid; grid-template-columns: 210px 1fr; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.stat .v { font: 400 clamp(34px, 3.2vw, 46px)/1 var(--serif); letter-spacing: -.02em; grid-row: span 2; white-space: nowrap; }
.stat .k { font-weight: 500; }
.stat .d { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom-color: var(--ink); }
td.m { font-family: var(--mono); font-size: 12.5px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Get */
.get { padding: clamp(88px, 11vw, 160px) 0; }
.install { background: var(--card); border: 1px solid var(--rule); border-radius: 2px; padding: clamp(18px, 3vw, 32px); max-width: 940px; }
.tabs { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); }
.tabs button { font: 500 14px/1 var(--sans); padding: 9px 16px; border-radius: 3px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.panel { display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; align-items: center; }
.cmd { margin: 0; background: var(--night); border-radius: 2px; padding: 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: #fff; }
.panel .fine { grid-column: 1 / -1; margin: 0; }
.get-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* FAQ */
.faq { padding: clamp(88px, 11vw, 160px) 0; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:first-child { border-top-color: var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font: 400 clamp(22px, 2vw, 27px)/1.2 var(--serif); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 19px; font: 300 24px/1 var(--sans); color: var(--ink); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq-list code { font-size: .9em; }

/* Footer */
.foot { border-top: 1px solid var(--ink); padding: 40px 0 56px; }
.foot-in { display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 9px; }
.foot-tag { font: italic 400 20px/1 var(--serif); color: var(--muted); margin-left: 10px; }
.foot .fine { max-width: 60em; }

/* Reveal: content is hidden only when scripts run (the html element gets .js in the head). */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }
.scene .frame img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.scene.in .frame img { transform: scale(1); }

/* Responsive */
@media (max-width: 1100px) {
  .res-lead { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-film { max-width: 560px; width: 100%; margin: 0 auto 80px; }
  .hero-film .frame { max-height: none; }
  .bubble-wrap { left: 12px; right: 12px; bottom: -72px; max-width: none; }
  .hero-film .sub { bottom: 26%; }
  .steps { grid-template-columns: 1fr; }
  .step-art { height: 132px; }
  .learn-grid, .brows-grid, .res-grid, .faq-grid, .vows { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .scenes, .scenes-night { grid-template-columns: 1fr; gap: 48px; }
  .scenes > *, .scenes-night > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .s-tall .frame { aspect-ratio: 4 / 5; }
  .s-muted { margin-bottom: 28px; }
  .bar-row, .res-card .bar-row { grid-template-columns: 1fr 100px; gap: 8px 12px; }
  .stat { grid-template-columns: 1fr; }
  .stat .v { grid-row: auto; margin-bottom: 6px; }
  .bar-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .axis, .res-card .axis { grid-template-columns: 1fr; }
  .axis > span:not(.axis-scale) { display: none; }
  .panel { grid-template-columns: 1fr; }
  .panel .copy { justify-self: start; }
  .display { font-size: clamp(58px, 17vw, 88px); }
  .h2 { font-size: clamp(40px, 11.5vw, 60px); }
  .foot-tag { display: none; }
  .kicker::after { max-width: 60px; }
  .night-head span:last-child { display: none; }
  /* Phone hero: show the figure on the first screen, between the headline and the explanation. */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { min-width: 0; }
  .hero .kicker { order: 1; font-size: 10.5px; letter-spacing: .1em; }
  .hero .kicker::after { display: none; }
  .hero .display { order: 2; }
  .hero-sub { order: 3; }
  .hero-film { order: 4; margin: 28px 0 84px; }
  .hero-film .frame { aspect-ratio: 4 / 3; }
  .hero .lede { order: 5; margin-top: 8px; }
  .ctas { order: 6; }
  .hero-copy > .fine { order: 7; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .contour path { stroke-dashoffset: 0; }
  .chat { opacity: 1; transform: none; }
  .punct { opacity: 1; }
  .scene .frame img { transform: none; }
  .ba-bar i { width: calc(var(--w) * 1.8); }
  .bar i { width: var(--w); }
}

/* Grid children may shrink below their content's intrinsic width (keeps phones free of sideways scroll). */
.hero-grid > *, .scenes > *, .steps > *, .learn-grid > *, .brows-grid > *, .res-grid > *, .res-lead > *, .faq-grid > *, .vows > *, .facts > *, .panel > *, .bar-row > *, .axis > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* User-first pass: hero fine print, setup step, add-your-words note, the two ways to try it, expectations */
.hero-fine { max-width: 38em; line-height: 1.5; }
.scene figcaption .pl, .muted-cap .pl { white-space: nowrap; flex: none; }
.hero-fine a { color: inherit; }
.step-setup { align-items: stretch; gap: 8px; }
.setup-count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.setup-line { font: 400 clamp(24px, 2.2vw, 28px)/1.1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.setup-ticks { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin-top: 8px; }
.setup-ticks i { height: 6px; background: var(--rule); border-radius: 1px; }
.setup-ticks i.on { background: var(--ink-2); }
.setup-ticks i.now { background: var(--coral); animation: blink 1.2s steps(1) infinite; }
.step-hold { flex-direction: row; align-items: center; gap: 14px; }
.step-hold .keycap { min-width: 0; font-size: 18px; padding: 18px 18px 22px; }
.step-hold .pill { width: 140px; height: 50px; flex: none; }
.step-hold .pill svg { width: 96px; height: 32px; }
.step-hold .pill-dot { left: 14px; }
.step p kbd { font-size: .78em; }
.addwords { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 28px; align-items: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.addwords-k { margin: 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.addwords-t { margin: 0; color: var(--ink-2); max-width: 52em; }
.addwords-t strong { font: 400 26px/1.1 var(--serif); color: var(--ink); margin-right: 4px; letter-spacing: -.01em; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.way { border-top: 1px solid var(--ink); padding-top: 18px; min-width: 0; }
.way, .expect { scroll-margin-top: 88px; }
.way-k { margin: 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.way h3 { font: 400 clamp(32px, 3.2vw, 46px)/1.02 var(--serif); letter-spacing: -.02em; margin: 14px 0 12px; }
.way > p:not(.way-k):not(.fine) { color: var(--ink-2); margin: 0; max-width: 34em; }
.way-cta { margin-top: 26px; }
.way .install { margin-top: 24px; max-width: none; }
.way-more { margin-top: 4px; }
.way-more a { display: inline-block; padding: 12px 0; }
.expect { margin-top: clamp(56px, 7vw, 104px); }
.expect-h { font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.expect-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.expect-list > div { border-top: 1px solid var(--ink); padding: 18px 0 8px; }
.expect-list dt { font: 400 clamp(26px, 2.4vw, 32px)/1.08 var(--serif); letter-spacing: -.01em; margin: 0 0 10px; }
.expect-list dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 960px) {
  .ways, .expect-list { grid-template-columns: minmax(0, 1fr); }
  .ways { gap: 48px; }
  .expect-list > div { padding-bottom: 24px; }
}
@media (max-width: 720px) {
  .btn, .tabs button { min-height: 44px; }
  .ctas .btn { flex: 1 1 100%; }
  .way-cta .btn { width: 100%; }
  .addwords { grid-template-columns: minmax(0, 1fr); }
  .addwords .btn { justify-self: start; }
  /* Shorter plates on phones, so How it works is not eight screens away. */
  .scenes, .scenes-night { gap: 36px; }
  .s-tall .frame, .s-wide .frame { aspect-ratio: 4 / 3; }
  /* Phone hero: what it is and both buttons on the first screen, the figure right after. */
  .hero .lede { order: 4; }
  .ctas { order: 5; margin-top: 24px; }
  .hero-copy > .fine { order: 6; }
  .hero-film { order: 7; margin: 36px 0 84px; }
}
