@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/InterTight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/InterTight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/SpaceGrotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/SpaceGrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #07070b;
  --bg-elev: #0e0d14;
  --bg-panel: #12111a;
  --text: #f4f4f6;
  --muted: rgba(244, 244, 246, 0.62);
  --quiet: rgba(244, 244, 246, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #00e0c6;
  --accent-text: #b3a6ff;
  --accent-deep: #00b8a3;
  --accent-ink: #04110e;
  --violet: #7c6bff;
  --violet-deep: #1c1433;
  --violet-glow: rgba(92, 64, 200, 0.42);
  --signal: #b3a6ff;
  --radius: 18px;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Space Grotesk", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
  scroll-padding-top: var(--header-h);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, a { font: inherit; }
button { background: none; border: 0; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}
.wordmark img {
  width: 28px;
  height: 28px;
  border-radius: 23%;
}
.wordmark span {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-sm {
  height: 2.25rem;
  padding: 0 0.95rem;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-sm:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.btn-primary {
  height: 3.15rem;
  padding: 0 1.35rem;
  font-size: 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(0, 224, 198, 0);
}
.btn-primary:hover {
  background: #3ff0d8;
  transform: translateY(-1px);
  box-shadow: 0 12px 34px -14px rgba(0, 224, 198, 0.75);
}
.btn-arrow::after {
  content: "→";
  margin-left: 0.55rem;
  transition: transform 0.2s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-bottom: 0;
  transition: color 0.2s var(--ease);
}
.text-link-label {
  border-bottom: 1px solid rgba(244, 244, 246, 0.28);
  padding-bottom: 0.12rem;
  transition: border-color 0.2s var(--ease);
}
.text-link::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}
.text-link:hover { color: #fff; }
.text-link:hover .text-link-label { border-bottom-color: var(--accent); }
.text-link:hover::after { transform: translateX(3px); }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -6rem -10% auto;
  height: 46rem;
  background:
    radial-gradient(ellipse 55% 50% at 72% 38%, rgba(124, 107, 255, 0.26), transparent 70%),
    radial-gradient(ellipse 40% 35% at 20% 30%, rgba(92, 64, 200, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  padding: 1.75rem 0 3.5rem;
}
.hero-copy { max-width: 40rem; }
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 15em;
  text-wrap: balance;
}
.h1-sub {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.82em;
  letter-spacing: -0.035em;
  color: #cfc6ff;
}
.subhead {
  margin-top: 1.35rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 32rem;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.6rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
[tabindex="-1"]:focus { outline: none; }

/* Reveal: three inputs snap into one next move (sample data) */
.reveal-stage {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
}
.inputs {
  position: relative;
  width: 100%;
  max-width: 34rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin-top: -0.5rem;
  z-index: 3;
}
.input {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.3rem;
  padding: 0 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 13, 20, 0.88);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s var(--ease);
}
.input svg { width: 1rem; height: 1rem; flex: none; color: #cfc6ff; }
.input-inbox { transition-delay: 0.05s; }
.input-sheet { transition-delay: 0.1s; }
.wires {
  width: 100%;
  max-width: 34rem;
  height: 3.25rem;
  display: block;
  overflow: visible;
}
.wires path {
  fill: none;
  stroke: rgba(0, 224, 198, 0.75);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.55s var(--ease) 0.2s;
}
.result {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  width: 100%;
  max-width: 36rem;
  padding: 0.85rem 0.95rem 0.85rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #1b1927, #0f0e16);
  box-shadow:
    0 0 0 1px rgba(0, 224, 198, 0.18),
    0 26px 60px -26px rgba(92, 64, 200, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: opacity 0.5s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}
.result-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.025em; }
.result-sep { width: 1px; height: 1.4rem; background: var(--line-strong); }
.result-status { color: #cfc6ff; font-size: 0.98rem; }
.result-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.35rem;
  padding: 0 0.95rem;
  margin-left: auto;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.result-btn::after { content: "→"; transition: transform 0.2s var(--ease); }
.result-btn:hover { background: #3ff0d8; }
.result-btn:hover::after { transform: translateX(3px); }
.reveal-stage.is-snapped .result { animation: result-click 1.2s var(--ease) 0.55s; }
@keyframes result-click {
  0% { box-shadow: 0 0 0 1px rgba(0, 224, 198, 0.18), 0 26px 60px -26px rgba(92, 64, 200, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  30% { box-shadow: 0 0 0 1.5px rgba(0, 224, 198, 0.9), 0 0 46px rgba(0, 224, 198, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  100% { box-shadow: 0 0 0 1px rgba(0, 224, 198, 0.18), 0 26px 60px -26px rgba(92, 64, 200, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

/* Apart state: desktop only, motion allowed, JS running. Everything else sees the finished still. */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .reveal-stage.is-apart .input-orders { transform: translate(-1.6rem, -1.9rem) rotate(-7deg); }
  .js .reveal-stage.is-apart .input-inbox { transform: translate(0.4rem, -3.1rem) rotate(5deg); }
  .js .reveal-stage.is-apart .input-sheet { transform: translate(1.9rem, -1.3rem) rotate(8deg); }
  .js .reveal-stage.is-apart .input { border-color: rgba(255, 255, 255, 0.12); transition-delay: 0s; }
  .js .reveal-stage.is-apart .wires path { stroke-dashoffset: 1; transition-delay: 0s; }
  .js .reveal-stage.is-apart .result { opacity: 0; transform: translateY(14px) scale(0.98); transition-delay: 0s; }
}

/* Stage + CSS 3D fallback */
.stage-pin { position: relative; height: auto; }
.stage {
  position: relative;
  height: 15rem;
  width: 100%;
}
.stage-glow {
  position: absolute;
  inset: 10% 8% 18%;
  background:
    radial-gradient(ellipse at 38% 40%, var(--violet-glow), transparent 62%),
    radial-gradient(ellipse at 60% 75%, rgba(0, 224, 198, 0.1), transparent 55%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.piece-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.piece-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.piece-scene.is-webgl .piece-canvas { opacity: 1; }
.piece-scene.is-webgl .piece-css { opacity: 0; }

.piece-css {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1400px;
  perspective-origin: 50% 46%;
}
.rig {
  position: relative;
  width: 280px;
  height: 220px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-28deg);
  transform-origin: 50% 50%;
}
.chassis, .insert, .contact-shadow, .pocket {
  transform-style: preserve-3d;
  position: absolute;
}
.chassis {
  width: 280px;
  height: 200px;
  left: 0;
  top: 18px;
}
.chassis-plate {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #2a2438 0%, #14131c 42%, #0c0b12 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}
.chassis-side {
  position: absolute;
  background: linear-gradient(180deg, #3a3646, #16141e);
}
.chassis-side-front {
  left: 0; right: 0; top: 100%;
  height: 16px;
  transform: rotateX(-90deg);
  transform-origin: top;
  border-radius: 0 0 8px 8px;
}
.chassis-side-right {
  top: 0; bottom: 0; left: 100%;
  width: 16px;
  transform: rotateY(90deg);
  transform-origin: left;
  background: linear-gradient(180deg, #2c2838, #121018);
}
.pocket {
  width: 168px;
  height: 108px;
  left: 56px;
  top: 46px;
}
.pocket-floor {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #05040a;
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.55);
  transform: translateZ(-10px);
}
.pocket-rim {
  position: absolute;
  inset: -2px;
  border-radius: 15px;
  border: 1.25px solid rgba(0, 224, 198, 0.6);
  box-shadow: none;
  transform: translateZ(1px);
  pointer-events: none;
}
.insert {
  width: 164px;
  height: 104px;
  left: 58px;
  top: 30px;
  transform: translate3d(0, -36px, 78px);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.piece-scene[data-state="seated"] .insert,
.piece-scene.is-seated .insert {
  transform: translate3d(0, 18px, 12px);
}
.insert-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(140, 124, 255, 0.22), transparent 42%),
    linear-gradient(180deg, #1b1728 0%, #0d0c14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(0, 224, 198, 0.6);
}
.insert-sheen {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 36%, transparent 62%, rgba(47,123,255,0.05));
  pointer-events: none;
}
.insert-edge {
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(0, 224, 198, 0.75);
  pointer-events: none;
}
.insert-side {
  position: absolute;
  background: linear-gradient(90deg, #5a5668, #2a2732 40%, #9a96a8 70%, #24212c);
}
.insert-front {
  left: 0; right: 0; top: 100%; height: 18px;
  transform: rotateX(-90deg);
  transform-origin: top;
  background: linear-gradient(90deg, #3c3948, #8a8796 50%, #2a2733);
  border-radius: 0 0 6px 6px;
}
.insert-back {
  left: 0; right: 0; bottom: 100%; height: 18px;
  transform: rotateX(90deg);
  transform-origin: bottom;
  background: #1a1822;
}
.insert-left {
  top: 0; bottom: 0; right: 100%; width: 18px;
  transform: rotateY(-90deg);
  transform-origin: right;
  background: linear-gradient(#4a4656, #1c1a24);
}
.insert-right {
  top: 0; bottom: 0; left: 100%; width: 18px;
  transform: rotateY(90deg);
  transform-origin: left;
  background: linear-gradient(#6a6678, #2a2733);
}
.contact-shadow {
  width: 168px;
  height: 108px;
  left: 56px;
  top: 48px;
  border-radius: 14px;
  background: rgba(0,0,0,0.62);
  filter: blur(10px);
  transform: translateZ(-8px) scale(1.04);
  opacity: 0.45;
}
.piece-scene[data-state="seated"] .contact-shadow,
.piece-scene.is-seated .contact-shadow {
  opacity: 0.18;
  filter: blur(4px);
  transform: translateZ(-8px) scale(1);
}

/* Pulse after click: CSS fallback */
.piece-scene.is-pulsing .pocket-rim,
.piece-scene.is-pulsing .insert-edge {
  animation: seam-pulse 1.15s var(--ease);
}
@keyframes seam-pulse {
  0% { box-shadow: 0 0 0 1.25px #00e0c6, 0 0 8px rgba(0, 224, 198, 0.2); }
  35% { box-shadow: 0 0 0 1.5px #b8fff4, 0 0 28px rgba(0, 224, 198, 0.7); }
  100% { box-shadow: 0 0 0 1.25px #00e0c6, 0 0 14px rgba(0, 224, 198, 0.3); }
}

/* Demo */
.demo-section, .build, .process, .founder, .book {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem 1.5rem;
}
.section-intro { max-width: 36rem; margin-bottom: 2.75rem; }
.eyebrow {
  font-family: var(--font-mark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.demo-section h2, .build h2, .process h2, .founder h2, .book h2 {
  font-weight: 500;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 16ch;
}
.demo-section h2 { max-width: 18ch; }

.machine {
  position: relative;
}
.machine-bezel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 28%),
    var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(124, 107, 255, 0.22),
    0 30px 80px -40px rgba(92, 64, 200, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.machine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.demo-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2dcff;
  background: rgba(124, 107, 255, 0.34);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}
.tabs {
  display: flex;
  gap: 0.15rem;
}
.tab {
  appearance: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] {
  color: var(--accent-ink);
  background: var(--accent);
}
.panels { padding: 0; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.panel-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.panel-head h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.signal {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-text);
  background: rgba(124, 107, 255, 0.12);
  border: 1px solid rgba(124, 107, 255, 0.4);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  white-space: nowrap;
}
.flow-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.6rem;
}

/* Hub mock */
.hub { display: grid; }
.hub[hidden] { display: none; }
.hub-side { display: none; }
.hub-main { padding: 1.4rem 1.25rem 1.5rem; min-width: 0; }
.hub-main .panel-head { margin-bottom: 1.3rem; }
.hub-block + .hub-block { margin-top: 1.4rem; }
.hub-block p { color: var(--muted); font-size: 1rem; line-height: 1.45; letter-spacing: -0.015em; }
.hub-caption { margin-top: 0.4rem; font-size: 0.92rem !important; }
.hub-caption-top { margin-top: 0; font-size: 1rem !important; }
.hub-notice {
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(124, 107, 255, 0.32);
  border-left: 3px solid var(--violet);
  border-radius: 12px;
  background: rgba(124, 107, 255, 0.07);
}
.hub-notice p { color: var(--text); }
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex: none;
  background: var(--quiet);
}
.dot-late { background: #a394ff; box-shadow: 0 0 0 3px rgba(124, 107, 255, 0.2); }
.dot-soon { background: var(--accent-text); }
.dot-ok { background: rgba(244, 244, 246, 0.45); }
.dot-idle { background: transparent; border: 1.5px solid var(--quiet); }

.tl { position: relative; height: 4.4rem; margin: 0 1.75rem 0 0.4rem; }
.tl-track, .tl-late {
  position: absolute;
  top: 2rem;
  height: 2px;
  border-radius: 2px;
}
.tl-track { left: 0; right: -1.75rem; background: var(--line-strong); }
.tl-late { background: #a394ff; height: 3px; }
.tl-dot {
  position: absolute;
  top: 2rem;
  width: 0.7rem;
  height: 0.7rem;
  margin: -0.3rem 0 0 -0.35rem;
  border-radius: 999px;
  background: #7d6ff0;
  box-shadow: 0 0 0 3px var(--bg-elev);
}
.tl-dot b {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}
.tl-dot b.tl-up { top: auto; bottom: 1.05rem; }
.tl-expected { background: var(--bg-elev); border: 2px solid #a394ff; }
.tl-today { background: #a394ff; }
.tl-today b { color: var(--text); }

.steps-mini { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.steps-mini li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}
.steps-mini .is-flag { color: var(--text); }
.steps-mini .is-done { text-decoration: line-through; text-decoration-color: var(--quiet); }

.draft {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  padding: 1rem 1.05rem;
}
.draft-meta { font-size: 0.8rem !important; color: var(--quiet) !important; margin-bottom: 0.45rem; }
.draft-body { color: var(--text) !important; }
.draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
}
.hub-btn {
  appearance: none;
  height: 2.25rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hub-btn:hover { background: rgba(255, 255, 255, 0.06); }
.hub-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hub-btn-primary:hover { background: #3ff0d8; border-color: #3ff0d8; }
.hub-btn[disabled] { opacity: 0.45; pointer-events: none; }
.draft-status { font-size: 0.82rem; color: var(--quiet); margin-left: 0.25rem; }
.draft-status.is-done { color: var(--accent-text); }

.blocked { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.blocked li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}
.blocked-team { margin-left: auto; font-size: 0.78rem; color: var(--quiet); white-space: nowrap; }

@media (min-width: 800px) {
  .hub { grid-template-columns: 15rem minmax(0, 1fr); }
  .hub-side {
    display: block;
    padding: 1.4rem 0.75rem;
    border-right: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
  }
  .hub-side-title {
    padding: 0 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--quiet);
  }
  .hub-list { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
  .hub-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.6rem;
    align-items: center;
    padding: 0.6rem;
    border-radius: 10px;
  }
  .hub-item.is-current { background: rgba(255, 255, 255, 0.06); }
  .hub-item-name { font-size: 0.92rem; font-weight: 500; letter-spacing: -0.02em; }
  .hub-item-meta { grid-column: 2; font-size: 0.78rem; color: var(--quiet); }
  .hub-main { padding: 1.6rem 1.75rem 1.75rem; }
}

/* What we build */
.build h2, .process h2 { max-width: 16ch; }
.build-list {
  list-style: none;
  padding: 0;
  margin: 3.25rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.build-list li {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.build-list h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.build-list p {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* Process */
.steps {
  list-style: none;
  padding: 0;
  margin: 3.25rem 0 0;
  display: grid;
  gap: 2rem 1.75rem;
  counter-reset: none;
}
.step-num {
  display: block;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin-bottom: 0.85rem;
}
.steps h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.steps p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 22rem;
}

/* Founder */
.founder h2 { max-width: 18ch; }
.founder-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}
.founder-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 22.5%;
}
.founder-copy { max-width: 38rem; margin-top: 1.5rem; }
.founder-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.founder-copy p + p { margin-top: 1rem; }
.hero-note {
  margin-top: 1.5rem;
  color: var(--quiet);
  font-size: 0.9rem;
}

/* Book */
.book {
  text-align: left;
  padding-bottom: 5rem;
}
.book h2 { max-width: 12ch; }
.book p {
  margin: 1.15rem 0 2rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 24rem;
}
.book-email {
  margin-top: 1.15rem !important;
  font-size: 0.98rem !important;
}
.book-email a {
  color: var(--quiet);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.book-email a:hover { color: var(--text); border-bottom-color: var(--line-strong); }

/* Footer */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.footer .wordmark span { font-size: 0.95rem; }
.footer-meta, .copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  color: var(--quiet);
  font-size: 0.9rem;
}
.copyright { gap: 0.3rem; }
.footer-meta a {
  color: var(--quiet);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--text); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 960px) {
  .nav, .footer { padding-left: 2.25rem; padding-right: 2.25rem; }
  .hero, .demo-section, .build, .process, .founder, .book {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem 3rem;
    min-height: calc(100svh - var(--header-h) - 2rem);
    padding: 1.5rem 0 3rem;
  }
  .stage { height: min(21rem, 42vh); min-height: 16rem; }
  .rig { transform: rotateX(58deg) rotateZ(-28deg) scale(1.05); }
  .build {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
  }
  .build .eyebrow { grid-column: 1; grid-row: 1; }
  .build h2 { grid-column: 1; grid-row: 2; align-self: start; }
  .build-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .founder-grid {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
  .founder-logo { width: 8rem; height: 8rem; }
  .book {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: 4rem;
    align-items: start;
    border-top: 1px solid var(--line);
  }
  .book h2 { grid-column: 1; grid-row: 1 / span 3; }
  .book > p, .book > .btn { grid-column: 2; justify-self: start; }
  .book > p:not(.book-email) { margin-top: 0.35rem; }
  .footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-meta { justify-content: center; }
}

@media (max-width: 959px) {
  .nav .btn-sm { font-size: 0.78rem; padding: 0 0.8rem; }
  .hero-grid { padding-top: 0.75rem; gap: 2.25rem; }
  .stage { height: 13rem; }
  .rig { transform: rotateX(58deg) rotateZ(-28deg) scale(0.72); }
  .input { font-size: 0.78rem; padding: 0 0.55rem; gap: 0.35rem; height: 2.1rem; }
  .input svg { width: 0.9rem; height: 0.9rem; }
  .result { justify-content: flex-start; }
  .result-btn { margin-left: 0; }
  .demo-section, .build, .process, .founder, .book { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .demo-section { padding-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .insert {
    transform: translate3d(0, 18px, 12px);
  }
  .contact-shadow {
    opacity: 0.18;
    filter: blur(4px);
    transform: translateZ(-8px) scale(1);
  }
}

/* Nav links */
.nav-links {
  display: none;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
}

/* Team */
.team {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}
.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
}
.person-photo {
  width: 4rem;
  height: 4rem;
  flex: none;
  border-radius: 999px;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.2rem;
  color: #e2dcff;
  background: linear-gradient(140deg, #3b2f8a, #1a1535);
  border: 1px solid rgba(124, 107, 255, 0.4);
}
.person-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.person-role { color: var(--muted); margin-top: 0.15rem; }
@media (min-width: 800px) {
  .team { grid-template-columns: repeat(2, minmax(0, 22rem)); }
}

/* Demo: stats, sources, draft */
.stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.3rem;
}
.stats li { padding: 0.85rem 1rem; min-width: 0; }
.stats li + li { border-left: 1px solid var(--line); }
.stat-value { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.035em; }
.stat-label { display: block; font-size: 0.8rem; color: var(--quiet); margin-top: 0.15rem; }
.stat-gap .stat-value { color: #c4b8ff; }
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.source {
  font-size: 0.75rem;
  color: #d8d0ff;
  border: 1px solid rgba(124, 107, 255, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.next-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.next-line p { flex: 1 1 16rem; }
.hub-btn[aria-expanded="true"] { background: transparent; color: var(--accent); }
.hub-btn[aria-expanded="true"]::after { content: " ↑"; }
.draft-open { margin-top: 1rem; }
.draft-to { font-size: 0.8rem !important; color: var(--quiet) !important; }
.draft-subject { color: var(--text) !important; font-weight: 600; margin: 0.15rem 0 0.6rem; }
@media (max-width: 559px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

/* Lead inquiry dialog */
.lead-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--bg-elev);
  color: var(--text);
  overflow: auto;
}
.lead-dialog::backdrop {
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lead-form {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
}
.lead-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}
.lead-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lead-form h2 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 16ch;
}
.lead-note {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.lead-fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.lead-field {
  display: grid;
  gap: 0.4rem;
}
.lead-field span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.lead-field input,
.lead-field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.lead-field textarea { resize: vertical; min-height: 6rem; }
.lead-field input:focus-visible,
.lead-field textarea:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 1px;
  border-color: transparent;
}
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-status {
  margin-top: 1rem;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.92rem;
}
.lead-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}
