/* ThumbStall site. Palette from the H8 logo spec. */
:root {
  --night: #13140f;
  --night-2: #1a1c15;
  --night-3: #23261c;
  --ink: #181914;
  --olive-800: #3f4b1f;
  --olive-600: #5a6b2e;
  --olive-500: #74883c;
  --olive-300: #c5cc9e;
  --olive-100: #eceedc;
  --cream: #f1f2e8;
  --paper: #f3f3ec;
  --muted: #9a9e8c;
  --rust: #c2622d;
  --line: rgba(197, 204, 158, 0.14);
  --line-2: rgba(197, 204, 158, 0.26);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--olive-300); text-decoration: none; }
a:hover { color: var(--cream); }
code { font-family: var(--mono); font-size: 0.86em; background: rgba(197, 204, 158, 0.09); border: 1px solid var(--line); padding: 0.08em 0.4em; border-radius: 6px; color: var(--olive-100); }
em { font-style: normal; color: var(--olive-300); }
::selection { background: var(--olive-600); color: var(--cream); }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { background-position: 0 0; } 20% { background-position: -40px 30px; } 40% { background-position: 30px -50px; } 60% { background-position: -25px -15px; } 80% { background-position: 45px 40px; } }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 16px;
  background: rgba(19, 20, 15, 0.62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font: 600 15.5px/1 var(--body); padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--cream); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(197, 204, 158, 0.55); }
.btn-primary:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(197, 204, 158, 0.06); color: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--olive-300); color: var(--cream); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--olive-300); outline-offset: 3px; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px max(24px, calc((100vw - 1120px) / 2)) 90px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 72% 50%, rgba(90, 107, 46, 0.32), transparent 70%),
  radial-gradient(40% 40% at 10% 90%, rgba(194, 98, 45, 0.12), transparent 70%), var(--night); }
#feed { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-copy { max-width: 600px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--olive-300); background: rgba(19, 20, 15, 0.5); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-300); box-shadow: 0 0 0 0 rgba(197, 204, 158, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(197, 204, 158, 0.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(197, 204, 158, 0); } }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.95; font-weight: 800; }
h1 em { display: inline-block; background: linear-gradient(100deg, var(--olive-300), var(--cream) 45%, var(--olive-300)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: #c9ccbd; max-width: 520px; margin: 26px 0 32px; text-shadow: 0 1px 18px var(--night); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font: 500 12.5px/1 var(--mono); color: var(--muted); padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(19, 20, 15, 0.55); }

#stallToggle .play { display: none; }
#stallToggle[aria-pressed="true"] .play { display: inline; }
#stallToggle[aria-pressed="true"] .bar { display: none; }
#stallToggle[aria-pressed="true"] { border-color: var(--olive-300); background: rgba(197, 204, 158, 0.14); }

.breath-hud { position: absolute; right: max(24px, calc((100vw - 1120px) / 2)); bottom: 70px; display: flex; flex-direction: column; align-items: flex-end; opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s var(--ease); pointer-events: none; }
.breath-hud.on { opacity: 1; transform: none; }
.breath-hud b { font: 800 64px/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.breath-hud span { font: 500 13px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive-300); margin-top: 6px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--olive-300); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ───────── Marquee ───────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--night-2); padding: 18px 0; }
.track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.track span { font: 700 clamp(22px, 3vw, 34px)/1 var(--display); letter-spacing: -0.02em; color: var(--cream); white-space: nowrap; }
.track span:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1px var(--olive-300); }
.track i { width: 10px; height: 10px; border-radius: 50%; background: var(--olive-600); flex: none; box-shadow: 0 0 0 4px rgba(90, 107, 46, 0.25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
section:not(.hero) { padding: 130px max(24px, calc((100vw - 1120px) / 2)); position: relative; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.kicker { font: 600 12.5px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive-300); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; margin: 20px 0 0; max-width: 640px; }
.caption { color: var(--muted); font-size: 14.5px; text-align: center; margin: 34px auto 0; max-width: 560px; }

/* ───────── Try ───────── */
.try { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.try-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 70px; align-items: center; }
.phone-stage { perspective: 1400px; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(340px, 86vw); aspect-ratio: 488 / 1010; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2c2f24, #0d0e0a 60%); box-shadow: 0 0 0 1.5px #3a3e30, 0 60px 120px -30px rgba(0, 0, 0, 0.8), 0 0 90px -20px rgba(90, 107, 46, 0.45);
  transform-style: preserve-3d; transition: transform 0.4s var(--ease);
}
.phone-notch { position: absolute; top: 22px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 20px; background: #050504; z-index: 3; }
.pause-screen { position: relative; height: 100%; border-radius: 35px; background: #161711; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 52px 18px 18px; text-align: center; }
.ps-top { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.ps-app { display: flex; align-items: center; gap: 10px; }
.ps-ico { width: 34px; height: 34px; border-radius: 10px; background: #26281e; display: grid; place-items: center; font: 700 14px/1 var(--body); color: var(--cream); }
.ps-app b { display: block; font: 600 14px/1.2 var(--body); }
.ps-app small { color: #a7aa99; font-size: 12px; }
.ps-brand { font: 700 13.5px/1 var(--display); color: #b7bba6; }
.ps-breath { position: relative; width: 62%; aspect-ratio: 1; margin: 28px 0 12px; display: grid; place-items: center; }
.ps-breath i, .ps-breath .r1 { position: absolute; border-radius: 50%; }
.ps-breath .r3 { inset: 0; border: 1px solid #2b2e23; }
.ps-breath .r2 { inset: 11%; border: 1px solid #34382a; background: #1d1f17; transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1); }
.ps-breath .r1 { inset: 23%; background: #34392a; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1), background 0.6s; }
.ps-breath.in .r1 { transform: scale(1.22); }
.ps-breath.in .r2 { transform: scale(1.08); }
.ps-breath b { font: 800 40px/1 var(--display); font-variant-numeric: tabular-nums; }
.ps-breath small { font-size: 11.5px; color: #c3c6b4; margin-top: 4px; }
.ps-breath.done .r1 { background: var(--olive-600); }
.ps-q { font: 800 23px/1.1 var(--display); margin-top: 8px; }
.ps-p { color: #b3b6a5; font-size: 13px; line-height: 1.45; margin: 8px 6px 0; }
.ps-avail { margin: auto 0 8px; font-size: 12px; color: #a7aa99; }
.ps-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; }
.ps-chips button { font: 500 13px/1 var(--body); color: var(--cream); background: transparent; border: 1px solid #34372b; border-radius: 12px; padding: 13px 0; cursor: pointer; transition: border-color 0.3s, opacity 0.3s, background 0.3s; }
.ps-chips button:disabled { opacity: 0.38; cursor: not-allowed; }
.ps-chips button:not(:disabled):hover { border-color: var(--olive-300); background: rgba(197, 204, 158, 0.08); }
.ps-close { width: 100%; margin-top: 9px; padding: 15px; border: 0; border-radius: 14px; background: var(--cream); color: var(--ink); font: 600 14.5px/1 var(--body); cursor: pointer; transition: transform 0.2s; }
.ps-close:hover { transform: scale(1.015); }
.ps-foot { font-size: 11.5px; color: #a7aa99; margin: 10px 0 0; }
.ps-toast { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(22, 23, 17, 0.94); font: 700 22px/1.25 var(--display); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.ps-toast.on { opacity: 1; }
.ps-toast small { display: block; font: 400 13.5px/1.5 var(--body); color: #b3b6a5; margin-top: 10px; }

.controls { display: flex; flex-direction: column; gap: 30px; }
.ctl label { display: block; font: 600 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: var(--night-2); width: fit-content; max-width: 100%; }
.seg button { font: 600 14.5px/1 var(--body); color: var(--muted); background: transparent; border: 0; border-radius: 11px; padding: 12px 16px; cursor: pointer; transition: background 0.25s, color 0.25s; display: flex; align-items: baseline; gap: 6px; }
.seg button small { font: 500 12px/1 var(--mono); opacity: 0.7; }
.seg button.on { background: var(--olive-600); color: var(--cream); }
.seg button:not(.on):hover { color: var(--cream); }
.ladder { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 4px; border-bottom: 1px solid var(--line-2); }
.ladder .rung { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.ladder .rung i { width: 100%; border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, var(--olive-500), var(--olive-800)); transition: height 0.7s var(--ease), background 0.4s, box-shadow 0.4s; min-height: 6px; opacity: 0.45; }
.ladder .rung b { font: 600 12.5px/1 var(--mono); color: var(--muted); transition: color 0.3s; }
.ladder .rung small { font: 500 11px/1 var(--mono); color: #6f7363; position: absolute; transform: translateY(22px); }
.ladder .rung { position: relative; }
.ladder .rung.past i { opacity: 0.8; }
.ladder .rung.now i { opacity: 1; background: linear-gradient(180deg, var(--olive-300), var(--olive-600)); box-shadow: 0 0 26px -2px rgba(197, 204, 158, 0.6); }
.ladder .rung.now b { color: var(--cream); }
.ladder .rung.cap i { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0, 0, 0, 0.18) 6px 12px), linear-gradient(180deg, var(--rust), #7d3c1a); }
.formula { margin: 34px 0 0; }
.formula code { font-size: 13.5px; }
.ctl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.reclaimed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reclaimed div { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--night-2); }
.reclaimed b { display: block; font: 800 30px/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.reclaimed span { font-size: 13px; color: var(--muted); }

/* ───────── Features ───────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1200px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(197, 204, 158, 0.06), rgba(197, 204, 158, 0.015)); transform-style: preserve-3d; transition: transform 0.35s var(--ease), border-color 0.3s;
}
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 204, 158, 0.13), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-600); margin-bottom: 22px; transform: translateZ(30px); box-shadow: 0 10px 24px -10px rgba(90, 107, 46, 0.9); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; transform: translateZ(20px); }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; transform: translateZ(10px); }

/* ───────── How ───────── */
.how { background: radial-gradient(70% 50% at 50% 0%, rgba(90, 107, 46, 0.14), transparent 70%), var(--night); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: var(--line-2); }
.flow::after { content: ""; position: absolute; left: 6%; top: 27px; height: 2px; width: calc(88% * var(--p, 0)); background: linear-gradient(90deg, var(--olive-600), var(--olive-300)); box-shadow: 0 0 14px var(--olive-300); transition: width 0.3s linear; }
.flow li { position: relative; padding-top: 74px; }
.flow .step { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--mono); background: var(--night-2); border: 1.5px solid var(--line-2); color: var(--muted); z-index: 1; transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease); }
.flow li.lit .step { background: var(--olive-600); color: var(--cream); border-color: var(--olive-300); box-shadow: 0 0 0 7px rgba(197, 204, 158, 0.1), 0 0 30px rgba(197, 204, 158, 0.35); transform: scale(1.06); }
.flow h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.flow p { color: var(--muted); font-size: 14.5px; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 80px; }
.fact { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-2); }
.fact b { display: block; font: 800 clamp(36px, 4vw, 52px)/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 14.5px; }
.arch { margin-top: 60px; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.arch-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(160deg, rgba(197, 204, 158, 0.05), transparent); }
.arch-h { margin: 0 0 14px; font: 600 14px/1 var(--body); color: var(--olive-300); }
.arch-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.arch-col li { font: 500 13px/1 var(--mono); padding: 9px 11px; border-radius: 9px; background: rgba(197, 204, 158, 0.07); border: 1px solid var(--line); color: var(--olive-100); }
.arch-link { position: relative; height: 2px; background: var(--line-2); margin: 0 10px; }
.arch-link span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--olive-300); box-shadow: 0 0 14px var(--olive-300); animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { 0% { left: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }

/* ───────── Privacy ───────── */
.privacy { background: var(--night-2); }
.manifest { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #0f100c; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.manifest-bar, .window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #171812; }
.manifest-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34372b; }
.manifest-bar span { margin-left: 10px; font: 500 12.5px/1 var(--mono); color: var(--muted); }
.manifest pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 400 13.5px/1.9 var(--mono); }
.manifest code, .code code { background: none; border: 0; padding: 0; color: #d8dbc9; font-size: inherit; }
.manifest .t { color: #8e9a6a; } .manifest .a { color: var(--olive-300); } .manifest .s { color: #e3c590; } .manifest .c { color: #6c705f; }
.manifest .x { position: relative; opacity: 0.55; }
.manifest .x::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: var(--rust); transform-origin: left; transform: scaleX(var(--strike, 0)); transition: transform 0.9s var(--ease) 0.3s; }
.manifest.in .x { --strike: 1; }
.manifest .no { color: var(--rust); font-weight: 600; }
.trust { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust li { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.trust b { display: block; font: 700 19px/1.2 var(--display); margin-bottom: 6px; }
.trust span { color: var(--muted); font-size: 14.5px; }

/* ───────── Screens carousel ───────── */
.screens { overflow: hidden; }
.carousel { height: 640px; perspective: 1800px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.carousel:active { cursor: grabbing; }
.ring { position: relative; width: 240px; height: 520px; transform-style: preserve-3d; }
.ring figure { position: absolute; inset: 0; margin: 0; transform-style: preserve-3d; backface-visibility: hidden; }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; border: 6px solid #22241b; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); pointer-events: none; }
.ring figcaption { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; font: 600 14px/1 var(--body); color: var(--olive-300); }

/* ───────── Roadmap ───────── */
.road { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lane { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.lane.done { background: linear-gradient(160deg, rgba(90, 107, 46, 0.3), rgba(90, 107, 46, 0.06)); border-color: rgba(197, 204, 158, 0.3); }
.tag { margin: 0 0 18px; font: 600 12.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-300); }
.lane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lane li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.lane li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--olive-300); }
.lane.done li::before { background: var(--olive-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2313140f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.lane.next li { color: var(--muted); }

/* ───────── Install ───────── */
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--night-2); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.panel h3 { font-size: 26px; font-weight: 700; }
.steps { margin: 0; padding-left: 20px; color: #c9ccbd; display: grid; gap: 10px; }
.steps li::marker { color: var(--olive-300); font-weight: 700; }
.code { position: relative; width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #0f100c; }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font: 400 13.5px/1.8 var(--mono); }
.code .c { color: #6c705f; }
.copy { position: absolute; top: 10px; right: 10px; font: 600 12px/1 var(--body); color: var(--cream); background: var(--night-3); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.small { font-size: 14px; color: var(--muted); margin: 0; }

/* ───────── Footer ───────── */
.footer { padding: 60px max(24px, calc((100vw - 1120px) / 2)) 50px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14.5px; }
.foot-mark { display: flex; align-items: center; gap: 14px; }
.foot-mark img { border-radius: 12px; }
.foot-mark b { display: block; font: 700 20px/1.1 var(--display); color: var(--cream); }
.footer p { margin: 0; }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feature-grid .card.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .try-grid { grid-template-columns: 1fr; gap: 50px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow::before, .flow::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow::after { height: calc(100% * var(--p, 0)); width: 2px; }
  .flow li { padding: 4px 0 0 80px; min-height: 56px; }
  .facts, .trust { grid-template-columns: 1fr 1fr; }
  .arch { grid-template-columns: 1fr; gap: 14px; }
  .arch-link { width: 2px; height: 40px; margin: 0 auto; }
  .arch-link span { left: -4px; animation: travelv 2.4s var(--ease) infinite; }
  @keyframes travelv { 0% { top: 100%; opacity: 0; } 15%,85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section:not(.hero) { padding: 90px 16px; }
  .hero { padding: 330px 16px 80px; align-items: flex-end; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 30%, rgba(19, 20, 15, 0.82) 44%, rgba(19, 20, 15, 0.92)); }
  .nav .btn-sm span { display: none; }
  .feature-grid, .road, .install-grid, .facts, .trust { grid-template-columns: 1fr; }
  .reclaimed b { font-size: 24px; }
  .carousel { height: 520px; }
  .ring { width: 190px; height: 410px; }
  .breath-hud { right: 16px; bottom: auto; top: 96px; }
  .breath-hud b { font-size: 46px; }
  .manifest pre { font-size: 11.5px; }
  .footer { padding: 40px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.install-grid > *, .try-grid > *, .road > * { min-width: 0; }
