/* Layout and components. Values come from tokens.css. */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--on-green);
  font-weight: 700;
  border-radius: var(--radius-small);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

/* ---------- Shared type ---------- */

.display,
.heading {
  font-family: var(--font-display);
  font-style: italic;
  font-stretch: var(--display-stretch);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-weight: var(--display-weight);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin-block: 18px 0;
}
.display > span { display: block; }

.display__brand {
  padding-right: 0.08em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgb(57 255 136 / 0.35));
}

.heading {
  font-weight: var(--heading-weight);
  font-size: clamp(1.95rem, 4.8vw, 3.4rem);
  line-height: 1.04;
  max-width: 20ch;
  margin-bottom: 18px;
}

.eyebrow,
.status-line {
  font-family: var(--font-mono);
  text-transform: lowercase;
}

.eyebrow {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.lede {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 60ch;
  margin-bottom: 44px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 18px 0 8px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.05em 0.4em;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--green);
  box-shadow: var(--glow-green);
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: var(--on-green);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--glow-green);
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}
.button:hover { box-shadow: 0 0 8px rgb(57 255 136 / 0.7), 0 0 34px rgb(57 255 136 / 0.45); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline-color: var(--text); }
.button:disabled { cursor: progress; }
.button--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--text); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--page-width);
  height: 68px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  filter: var(--glow-mark);
}

.brand__word {
  margin-left: -7px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 7px rgb(57 255 136 / 0.35));
}

.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav__links a:hover { color: var(--text); }

.nav .button { margin-left: auto; }

@media (min-width: 760px) {
  .nav__links { display: flex; }
  .nav .button { margin-left: 8px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
}

.hero__inner {
  display: grid;
  column-gap: 72px;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__kicker { color: var(--green); font-size: 0.875rem; }

.hero__sub {
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  max-width: 36ch;
  margin-bottom: 30px;
}
.hero__sub kbd { color: var(--text); }

.hero__fine {
  margin-top: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: lowercase;
}

.hero__head { margin-bottom: 24px; }
.hero .demo { margin-top: clamp(48px, 7vw, 72px); }

@media (min-width: 1040px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .hero__copy { padding-top: 12px; }
  .hero__head {
    grid-column: 1 / -1;
    margin-bottom: 44px;
  }
  .hero .demo { margin-top: 0; }
}

/* ---------- Waitlist ---------- */

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 500px;
}

.waitlist input[type='email'] {
  flex: 1 1 230px;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font: 0.95rem var(--font-mono);
}
.waitlist input::placeholder { color: var(--text-muted); opacity: 1; }
.waitlist input:focus { border-color: var(--green-line); }
.waitlist .button { flex: 1 0 auto; }

.waitlist__status {
  flex-basis: 100%;
  min-height: 1.5em;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: lowercase;
  color: var(--text-muted);
}
.waitlist__status:empty { min-height: 0; margin-top: -10px; }
.waitlist__status.is-ok { color: var(--green); }
.waitlist__status.is-error { color: var(--error); }

.waitlist--center { margin-inline: auto; }

/* ---------- Aurora ---------- */

.demo__stage {
  position: relative;
  isolation: isolate;
}

.aurora {
  position: absolute;
  inset: -12% -40%;
  z-index: -1;
  pointer-events: none;
}

.aurora__band {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 50%;
  background: var(--aurora);
  filter: blur(44px);
  will-change: transform;
}

.aurora__band--one {
  top: 38%;
  height: 24%;
  opacity: 0.6;
  transform: rotate(-9deg);
  animation: drift-one 38s ease-in-out infinite alternate;
}

.aurora__band--two {
  top: 60%;
  height: 16%;
  opacity: 0.5;
  background: linear-gradient(100deg, var(--violet), var(--blue) 40%, var(--cyan) 70%, var(--green));
  transform: rotate(7deg);
  animation: drift-two 46s ease-in-out infinite alternate;
}

.aurora__band--three {
  top: 16%;
  height: 12%;
  opacity: 0.32;
  transform: rotate(4deg);
  animation: drift-three 52s ease-in-out infinite alternate;
}

@media (min-width: 1040px) {
  .aurora { inset: -14% -45% -14% -6%; }
}

@keyframes drift-one {
  to { transform: translate3d(8%, 6%, 0) rotate(-3deg) scaleY(1.2); }
}
@keyframes drift-two {
  to { transform: translate3d(-9%, -8%, 0) rotate(1deg) scaleY(0.85); }
}
@keyframes drift-three {
  to { transform: translate3d(6%, 10%, 0) rotate(-6deg); }
}

.demo.is-paused .aurora__band { animation-play-state: paused; }

/* ---------- Hero demo: a simulated Mac desktop ---------- */

.demo { outline: none; }

.screen {
  --cx: 64cqw;
  --cy: 40cqw;
  --move: 700ms;
  --cursor: clamp(15px, 3.4cqw, 24px);
  position: relative;
  container-type: inline-size;
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: clamp(10px, 2cqw, 16px);
  background: var(--demo-wallpaper);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line), 0 40px 90px -30px #000;
}

@media (min-width: 640px) {
  .screen { aspect-ratio: 16 / 10.5; }
}

.screen__menubar {
  display: flex;
  align-items: center;
  gap: 3cqw;
  height: max(18px, 4.4cqw);
  padding-inline: 3cqw;
  background: var(--demo-chrome);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: max(9px, 1.9cqw);
}

.screen__dot {
  width: max(7px, 1.6cqw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--text-muted);
}
.screen__menu { color: var(--text); font-weight: 700; }
.screen__menu--dim { color: var(--text-muted); font-weight: 400; }
.screen__clock { margin-left: auto; font-family: var(--font-mono); }

.kompi-pill {
  position: absolute;
  top: calc(max(18px, 4.4cqw) + 2.4cqw);
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.6em;
  max-width: 96%;
  padding: 0.45em 0.5em 0.45em 0.65em;
  background: var(--bg);
  border: 1px solid var(--green-line);
  border-radius: 999px;
  box-shadow: var(--glow-green);
  font-family: var(--font-mono);
  font-size: clamp(11px, 2.05cqw, 15px);
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}
.kompi-pill img { width: 1.5em; height: 1.5em; flex: none; }

.kompi-pill__text {
  overflow: hidden;
  text-overflow: clip;
  color: var(--text);
  text-transform: lowercase;
}
.kompi-pill__text.is-ok { color: var(--green); }
.kompi-pill__text.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--green);
  animation: blink 1.05s steps(1) infinite;
}

.kompi-pill__mic {
  flex: none;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  font-size: 0.85em;
  font-weight: 700;
}
.kompi-pill__mic.is-off {
  background: var(--surface-strong);
  color: var(--text-muted);
}

/* Narrow screens: the mic chip becomes a dot so the spoken line fits. */
@container (max-width: 480px) {
  .kompi-pill { gap: 0.5em; }
  .kompi-pill__mic {
    width: 0.7em;
    height: 0.7em;
    padding: 0;
    font-size: inherit;
    color: transparent;
    overflow: hidden;
    box-shadow: var(--glow-green);
  }
  .kompi-pill__mic.is-off { background: var(--line-strong); color: transparent; box-shadow: none; }
}

.browser {
  position: absolute;
  inset: max(13cqw, 66px) 6cqw 14cqw;
  z-index: 2;
  overflow: hidden;
  background: var(--demo-window);
  border: 1px solid var(--line-strong);
  border-radius: 1.6cqw;
  box-shadow: 0 2cqw 5cqw -1cqw #000;
  opacity: 0;
  transform: translateY(5cqw) scale(0.9);
  transform-origin: 50% 100%;
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.2, 0.9, 0.25, 1.1);
}
.browser.is-open { opacity: 1; transform: none; }

.browser__bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 5.4cqw;
  padding-inline: 1.8cqw;
  background: var(--demo-window-bar);
  border-bottom: 1px solid var(--line);
}

.browser__lights { display: flex; gap: 0.8cqw; }
.browser__lights i {
  width: 1.2cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--demo-light-close);
}
.browser__lights i:nth-child(2) { background: var(--demo-light-min); }
.browser__lights i:nth-child(3) { background: var(--demo-light-max); }

.browser__url {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 60%;
  height: 3.4cqw;
  padding-inline: 1.6cqw;
  background: var(--demo-chrome);
  border-radius: 1cqw;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: max(8px, 1.7cqw);
}
.browser__url .is-typing::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: var(--text);
}

.browser__page {
  position: relative;
  height: calc(100% - 5.4cqw);
  overflow: hidden;
}

.yt-head {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 2cqw 2.4cqw;
}
.yt-logo {
  width: 4.4cqw;
  height: 3cqw;
  border-radius: 0.8cqw;
  background: var(--demo-video);
}
.yt-search {
  width: 38%;
  height: 2.8cqw;
  margin-inline: auto;
  border-radius: 1.4cqw;
  background: var(--demo-field);
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw 2cqw;
  padding: 0 2.4cqw 2.4cqw;
}

.yt-card {
  --thumb: var(--demo-thumb-1);
  aspect-ratio: 16 / 12.5;
  border-radius: 0.8cqw;
  background:
    linear-gradient(var(--demo-field) 0 0) 0 100% / 55% 9% no-repeat,
    linear-gradient(var(--demo-field) 0 0) 0 80% / 88% 9% no-repeat,
    linear-gradient(var(--thumb) 0 0) 0 0 / 100% 66% no-repeat;
}
.yt-card:nth-child(6n + 2) { --thumb: var(--demo-thumb-2); }
.yt-card:nth-child(6n + 3) { --thumb: var(--demo-thumb-3); }
.yt-card:nth-child(6n + 4) { --thumb: var(--demo-thumb-4); }
.yt-card:nth-child(6n + 5) { --thumb: var(--demo-thumb-5); }
.yt-card:nth-child(6n + 6) { --thumb: var(--demo-thumb-6); }

.motion .browser__page:not(.is-loaded) .yt-card,
.motion .browser__page:not(.is-loaded) .yt-logo { --thumb: var(--demo-field); background-color: var(--demo-field); }
.motion .browser__page:not(.is-loaded) .yt-head,
.motion .browser__page:not(.is-loaded) .yt-grid { visibility: hidden; }

.dock {
  position: absolute;
  bottom: 2.2cqw;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 1.6cqw;
  padding: 1.2cqw;
  background: var(--demo-chrome);
  border: 1px solid var(--line-strong);
  border-radius: 2.4cqw;
  transform: translateX(-50%);
}

.dock__app {
  position: relative;
  width: 6.4cqw;
  aspect-ratio: 1;
  border-radius: 1.6cqw;
}
.dock__app--finder { background: var(--demo-finder); }
.dock__app--notes { background: var(--demo-notes); }
.dock__app--firefox { background: var(--demo-firefox); }
.dock__app--mail { background: var(--demo-mail); }
.dock__app--term {
  background: var(--demo-terminal);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.dock__app--term::after {
  content: '>_';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green);
  font: 700 max(7px, 1.9cqw) var(--font-mono);
}

.dock__label {
  position: absolute;
  bottom: calc(100% + 1.6cqw);
  left: 50%;
  display: none;
  padding: 0.3em 0.7em;
  background: var(--text);
  color: var(--bg);
  border-radius: 0.6em;
  font-size: max(9px, 1.7cqw);
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}
.dock__app.is-hover .dock__label { display: block; }
.dock__app.is-bounce { animation: bounce 0.7s ease; }

@keyframes bounce {
  25%, 75% { transform: translateY(-1.6cqw); }
  50% { transform: none; }
}

.cursor,
.cursor__trail i {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(var(--cx), var(--cy));
  transition: transform var(--move) cubic-bezier(0.5, 0.05, 0.2, 1);
}

.cursor { z-index: 10; pointer-events: none; }

.cursor__arrow {
  display: block;
  width: var(--cursor);
  height: var(--cursor);
  margin: calc(var(--cursor) * -0.104) 0 0 calc(var(--cursor) * -0.167);
  fill: #000;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 2px var(--green)) drop-shadow(0 0 7px rgb(57 255 136 / 0.6));
}

.cursor__trail { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.cursor__trail i {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: calc(var(--move) + 90ms), 0.3s;
}
.cursor__trail i:nth-child(1) { transition-delay: 35ms, 0s; }
.cursor__trail i:nth-child(2) { transition-delay: 70ms, 0s; background: var(--cyan); }
.cursor__trail i:nth-child(3) { transition-delay: 105ms, 0s; background: var(--blue); }
.cursor__trail i:nth-child(4) { transition-delay: 140ms, 0s; background: var(--violet); }
.screen.is-moving .cursor__trail i:nth-child(1) { opacity: 0.6; }
.screen.is-moving .cursor__trail i:nth-child(2) { opacity: 0.45; }
.screen.is-moving .cursor__trail i:nth-child(3) { opacity: 0.3; }
.screen.is-moving .cursor__trail i:nth-child(4) { opacity: 0.18; }

.cursor__click {
  position: absolute;
  top: 0;
  left: 0;
  width: 5cqw;
  aspect-ratio: 1;
  margin: -2.5cqw 0 0 -2.5cqw;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: 0;
}
.cursor.is-clicking .cursor__click { animation: ripple 0.45s ease-out; }

@keyframes ripple {
  from { opacity: 1; transform: scale(0.2); }
  to { opacity: 0; transform: scale(1.5); }
}

.demo__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 22px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: lowercase;
}

.demo__toggle {
  min-height: 32px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.demo__toggle:hover { border-color: var(--green-line); }

.status-list {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
}
.status-list .is-ok { color: var(--green); }
.motion .demo__log { display: none; }

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.card {
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--green-line); box-shadow: var(--glow-inner); }
.card p { color: var(--text-muted); }

.card .status-line {
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.5;
}
.status-line .ok { color: var(--green); }

/* Just talk */

.phrases {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.phrases li {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  white-space: nowrap;
}
.phrases .phrase--fix { color: var(--blue); border-color: var(--blue-line); }
.phrases .phrase--stop { color: var(--green); border-color: var(--green-line); box-shadow: var(--glow-inner); }
.phrases .rest { visibility: hidden; }

/* How it works */

.steps,
.stats,
.controls,
.uses__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .steps,
  .stats { grid-template-columns: repeat(3, 1fr); }
}

.step__num {
  display: block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.keys { display: flex; gap: 10px; }

.keycap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 64px;
  height: 64px;
  padding: 0 10px;
  background: linear-gradient(var(--surface-strong), var(--bg-raised));
  border: 1px solid var(--line-strong);
  border-bottom-width: 4px;
  border-radius: 12px;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}
.keycap small {
  color: var(--text-muted);
  font-size: 0.6rem;
}

.motion .keys.is-visible .keycap { animation: press 0.6s ease both; }
.motion .keys.is-visible .keycap:nth-child(2) { animation-delay: 0.15s; }
.motion .keys.is-visible .keycap:nth-child(3) { animation-delay: 0.3s; }

@keyframes press {
  40% {
    transform: translateY(3px);
    border-bottom-width: 1px;
    border-color: var(--green-line);
    color: var(--green);
    box-shadow: var(--glow-green);
  }
}

.step__line { min-height: 4.2em; }

/* Fast */

.route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.route__node {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.route__node--local { color: var(--green); border-color: var(--green-line); }
.route__arrow { color: var(--text-muted); }
.route__branch {
  flex-basis: 100%;
  padding-left: 2px;
  color: var(--blue);
}

.stat__figure {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--green);
  text-shadow: var(--text-glow);
}
.card .stat__figure { color: var(--green); }
.stat__figure span {
  margin-left: 0.12em;
  color: var(--text);
  font-size: 0.38em;
  letter-spacing: 0;
  text-shadow: none;
}

.card .stat__label {
  margin-block: 14px 18px;
  color: var(--text);
}

.stat__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.stat__tag::before { content: '● '; color: var(--green); }

/* Control */

@media (min-width: 760px) {
  .controls { grid-template-columns: repeat(2, 1fr); }
  .uses__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .uses__grid { grid-template-columns: repeat(3, 1fr); }
}

.control-card .status-line { margin-bottom: 4px; }

.use { display: flex; flex-direction: column; }
.use h3 { margin-top: 0; }
.use .status-line { margin-top: auto; padding-top: 9px; }
.use p:not(.status-line) { margin-bottom: 18px; }

/* Founder note */

.note__card { position: relative; padding: clamp(28px, 5vw, 48px); }
.note__card:hover { border-color: var(--line); box-shadow: none; }

.placeholder-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px dashed var(--placeholder);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.card .placeholder-badge { color: var(--placeholder); }

.note__card blockquote { margin-block: 6px 20px; }
.card blockquote p {
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 650;
  font-stretch: 108%;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.4;
}

.note__card figcaption {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: lowercase;
}
.note__card figcaption::before { content: '— '; }

/* FAQ */

.faq__list { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 1.1rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 6px;
  color: var(--green);
  font: 400 1.5rem/1 var(--font-mono);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--green); }

.faq details p {
  max-width: 64ch;
  padding-bottom: 24px;
  color: var(--text-muted);
}

/* Final CTA */

.final__inner { text-align: center; }
.final .heading,
.final .lede { margin-inline: auto; }
.final .lede { margin-bottom: 30px; }

.final__art {
  width: 100%;
  margin: 0 auto 36px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}

/* Footer */

.footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer nav { display: flex; gap: 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Reduced motion: static frames only ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
