:root {
  --bg: #0a0c0b;
  --bg-2: #0e1110;
  --panel: #121614;
  --panel-2: #161b18;
  --line: #1f2723;
  --line-2: #2b3630;
  --text: #edf2ee;
  --muted: #98a59c;
  --dim: #66756b;
  --accent: #9fd49f;
  --accent-2: #c3e8c3;
  --accent-ink: #0a170a;
  --cell: #5785bd;
  --macro: #66607f;
  --power: #d15742;
  --gold: #e6c27a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 80px -30px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code, kbd {
  font: 0.86em var(--mono); background: #18201b; border: 1px solid var(--line-2);
  padding: 0.08em 0.38em; border-radius: 5px; color: var(--accent-2); white-space: nowrap;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 650; max-width: 20ch; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0; }
strong { color: var(--text); font-weight: 600; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.head { margin-bottom: 56px; }
.sub { color: var(--muted); max-width: 66ch; margin-top: 18px; font-size: 17px; }
.prose { color: var(--muted); }
.prose p + p, p.prose + p.prose { margin-top: 16px; }
h2 + .prose { margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 9px;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 0 rgba(159,212,159,0), 0 8px 24px -10px rgba(159,212,159,.5);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: #151b17; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 12, 11, 0.72); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.links a { color: var(--muted); text-decoration: none; transition: color .15s; }
.links a:hover { color: var(--text); }
@media (max-width: 860px) { .links { display: none; } .nav .btn { margin-left: auto; } }

/* The brand kit's logo is one colour, #F2F2F0 on dark */
.logo { display: block; fill: #f2f2f0; }

/* Frames (product windows) */
.frame {
  margin: 0; background: #0c0e0d; border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
}
.frame-bar {
  display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: #0f1311;
}
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #26302a; }
.addr {
  flex: 1; min-width: 0; font: 12px var(--mono); color: var(--dim);
  background: #0a0c0b; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Hero */
.hero { position: relative; padding: 96px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 22% 18%, rgba(159,212,159,.10), transparent 70%),
    radial-gradient(700px 420px at 80% 55%, rgba(87,133,189,.12), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 780px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px var(--mono); color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02); border-radius: 999px; padding: 6px 13px;
  margin-bottom: 28px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(159,212,159,.18); }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.0; }
.lede { font-size: clamp(17px, 1.55vw, 19.5px); color: #b9c5bc; max-width: 60ch; margin-top: 26px; }
.hero-frame { margin-top: 64px; }
.hero-frame img { width: 100%; }
.hero-frame figcaption, .frame > figcaption.cap {
  font-size: 13px; color: var(--dim); padding: 12px 16px; border-top: 1px solid var(--line); background: #0f1311;
}

/* Proof */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); margin-top: 72px; }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-in div { padding: 34px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.proof-in div:first-child { border-left: 0; padding-left: 0; }
.proof b { font: 600 clamp(30px, 3.4vw, 42px)/1 var(--sans); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, #b9c5bc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.proof em { font-style: normal; color: var(--text); }
@media (max-width: 860px) {
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-in div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-in div:nth-child(-n+2) { border-top: 0; }
}

/* Sections */
.section { padding: 120px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .section { padding: 76px 0; } .head { margin-bottom: 40px; } }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Zoom */
.zoom { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.zoom-tabs { display: flex; flex-direction: column; gap: 8px; }
.zoom-tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden;
  display: grid; gap: 2px; padding: 16px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, background .2s;
}
.zoom-tabs button:hover { border-color: var(--line-2); }
.zoom-tabs button[aria-selected="true"] { border-color: #3d5a42; background: #131b16; }
.zoom-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.z-k { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
button[aria-selected="true"] .z-k { color: var(--accent); }
.z-t { font-weight: 600; font-size: 15.5px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); }
button[aria-selected="true"] .bar i { animation: fill var(--dur, 5s) linear forwards; }
.zoom.paused button .bar i { animation: none; width: 0; }
@keyframes fill { to { width: 100%; } }

.zoom-stage { position: relative; }
.zoom-imgs { position: relative; aspect-ratio: 16 / 10; background: #0d0d10; overflow: hidden; }
.zoom-imgs img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.zoom-imgs img.contain { object-fit: contain; }
.zoom-imgs img.on { opacity: 1; transform: scale(1); }
.zoom-imgs img.out { opacity: 0; transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .zoom-imgs img { transition: opacity .2s; transform: none !important; } }
.zoom-meta { position: relative; border-top: 1px solid var(--line); background: #0f1311; min-height: 118px; }
.zm { position: absolute; inset: 0; padding: 18px 20px; opacity: 0; transition: opacity .4s; display: grid; gap: 4px; align-content: start; }
.zm.on { opacity: 1; position: relative; }
.zm b { font-weight: 600; font-size: 15.5px; }
.zm span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .zoom { grid-template-columns: 1fr; }
  .zoom-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .zoom-tabs button { flex: 1 0 150px; padding: 12px 14px; }
}

/* Pipeline */
.pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.pipe li {
  position: relative; padding: 22px 18px 20px; background: var(--panel); border: 1px solid var(--line);
  margin-left: -1px; display: flex; flex-direction: column; gap: 8px;
}
.pipe li:first-child { border-radius: var(--r) 0 0 var(--r); margin-left: 0; }
.pipe li:last-child { border-radius: 0 var(--r) var(--r) 0; }
.pipe li:not(:last-child)::after {
  content: ""; position: absolute; right: -7px; top: 30px; width: 12px; height: 12px; z-index: 2;
  background: var(--panel); border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg);
}
.pipe li.hot { background: #131c16; border-color: #3d5a42; z-index: 1; }
.pipe li.hot::after { background: #131c16; border-color: #3d5a42; }
.pipe .n { font: 500 11.5px var(--mono); color: var(--dim); }
.pipe li.hot .n { color: var(--accent); }
.pipe b { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.pipe p { color: var(--muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.pipe code { align-self: flex-start; font-size: 11.5px; white-space: normal; }
@media (max-width: 1060px) {
  .pipe { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pipe li, .pipe li:first-child, .pipe li:last-child { border-radius: 10px; margin-left: 0; }
  .pipe li::after { display: none; }
}
@media (max-width: 620px) { .pipe { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .big { font: 500 26px/1.1 var(--mono); letter-spacing: -0.03em; color: var(--accent-2); margin-bottom: 8px; }
.card h3 + p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Spec sheet */
.spec { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.spec-row:first-child { border-top: 0; }
.spec-row span { font: 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.spec-row b { font-weight: 500; font-size: 15px; }
.spec-row em { font-style: normal; color: var(--muted); font-size: 13.5px; margin-left: 6px; }
@media (max-width: 520px) { .spec-row { grid-template-columns: 1fr; gap: 4px; } }

/* Real designs */
.designs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.design { display: flex; flex-direction: column; }
.design img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #0d0d10; }
.design figcaption { padding: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.design dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.design dl div { border-top: 1px solid var(--line); padding-top: 10px; }
.design dt { font-size: 12.5px; color: var(--dim); }
.design dd { margin: 2px 0 0; font: 500 16px var(--mono); letter-spacing: -0.02em; }
.design .note { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .designs { grid-template-columns: 1fr; } }

.found { margin-top: 20px; border: 1px solid #3d321a; background: linear-gradient(180deg, #16120a, #120f09); border-radius: var(--r); padding: 26px; }
.found .eyebrow { color: var(--gold); margin-bottom: 14px; }
.found ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.found li { color: #cdbf9f; font-size: 14.5px; padding-left: 16px; position: relative; }
.found li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); }
.found b { color: #f1dfb4; font-weight: 600; }
@media (max-width: 760px) { .found ul { grid-template-columns: 1fr; } }

/* Gates */
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gate { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--panel); }
.gate code { font-size: 13px; }
.gate p { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.stories blockquote { margin: 0; padding: 22px 24px; border-left: 2px solid var(--accent); background: rgba(159,212,159,.04); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); font-size: 14.5px; }
.stories blockquote b { color: var(--text); display: block; margin-bottom: 6px; font-weight: 600; }
.stories blockquote b code { white-space: normal; }
@media (max-width: 860px) { .gates, .stories { grid-template-columns: 1fr; } }

/* URL card */
.url-card { padding: 22px; background: var(--panel); }
.url { font: 13.5px/1.75 var(--mono); color: var(--dim); word-break: break-all; background: #0a0c0b; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.u-host { color: var(--muted); }
.u-p { color: var(--accent-2); border-radius: 3px; transition: background .15s, color .15s; }
.u-p.on { background: var(--accent); color: var(--accent-ink); }
.url-legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.url-legend li { color: var(--muted); font-size: 14.5px; padding: 8px 10px; border-radius: 7px; cursor: default; transition: background .15s, color .15s; }
.url-legend li.on { background: #18201b; color: var(--text); }
.url-legend code { margin-right: 8px; }

/* Roadmap */
.road { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); max-width: 860px; }
.road li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 0 0 30px 26px; position: relative; }
.road li:last-child { padding-bottom: 0; }
.road li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--line-2); }
.road li:has(.done)::before { background: var(--accent); border-color: var(--accent); }
.road b { font-weight: 600; }
.road p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.st { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 6px 0; text-align: center; border-radius: 5px; height: fit-content; }
.st.done { background: #16261a; color: var(--accent); }
.st.next { background: #241e0e; color: var(--gold); }
.st.later { background: #1a1a21; color: #a9a6c2; }

/* Final */
.final { padding: 130px 0; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(640px 300px at 50% 100%, rgba(159,212,159,.11), transparent 70%), var(--bg); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 18ch; }
.final p:not(.eyebrow) { color: var(--muted); margin-top: 18px; max-width: 58ch; }
.final .cta { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--dim); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { margin-left: auto; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
@media (max-width: 760px) { .foot a { margin-left: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
