:root {
  
  --ink:            #0A0B0D;
  --surface:        #111317;
  --surface-2:      #181B20;
  --border:         #24282E;
  --border-strong:  #3A3F47;
  --text:           #ECE8DF;
  --text-muted:     #9AA0A6;
  --text-dim:       #5E636B;
  --accent:         #7DFFB2;
  --accent-ink:     #041409;
  --warn:           #FFB547;

--font-display: 'Geist', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --fs-display: clamp(40px, 5.5vw, 72px);
  --fs-h2:      clamp(28px, 3.2vw, 44px);
  --fs-body:    18px;
  --fs-small:   13px;

  --lh-display: 1.05;
  --lh-body:    1.55;
  --lh-small:   1.4;

  --ls-display: -0.015em;

  --fw-body:    400;
  --fw-display: 500;

--s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-6:   24px;
  --s-8:   32px;
  --s-12:  48px;
  --s-16:  64px;
  --s-24:  96px;
  --s-32:  128px;

  --section-y-desktop: 128px;
  --section-y-tablet:  96px;
  --section-y-mobile:  64px;

--radius-sm: 2px;
  --radius-md: 6px;
  --stroke: 1.25px;

--max-content: 1120px;
  --max-bleed:   1440px;
  --gutter:      24px;

--ease-standard: cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   120ms;
  --dur-base:   220ms;
  --dur-slow:   420ms;
}

@media (max-width: 720px) {
  :root { --fs-body: 17px; }
}

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

html, body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text);
  margin: 0;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
  color: var(--text);
  margin: 0;
}

h3 { margin: 0; }
h4 { margin: 0; }

p, .body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  margin: 0;
  text-wrap: pretty;
}

small, .small {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--text-muted);
}

code, .mono, .metric {
  font-family: var(--font-mono);
  font-size: 0.95em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--dur-fast) var(--ease-standard);
}
a:hover { border-color: var(--accent); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--s-8) 0;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 2px var(--accent);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-standard),
              background var(--dur-fast) var(--ease-standard);
}
.btn:hover { border-color: var(--border-strong); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(0.95); border-color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
}

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-bleed);
  margin: 0 auto;
  padding: 0 var(--s-8);
}
@media (max-width: 720px) { .shell { padding: 0 var(--s-6); } }

.content {
  max-width: var(--max-content);
  margin: 0 auto;
}

section {
  padding-top: var(--section-y-desktop);
  padding-bottom: var(--section-y-desktop);
  position: relative;
}
@media (max-width: 1024px) {
  section { padding-top: var(--section-y-tablet); padding-bottom: var(--section-y-tablet); }
}
@media (max-width: 640px) {
  section { padding-top: var(--section-y-mobile); padding-bottom: var(--section-y-mobile); }
}

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, 0.85); 
  background: color-mix(in oklab, var(--ink) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav.scrolled {
  background: var(--ink);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-bleed);
  margin: 0 auto;
  padding: 18px var(--s-8);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-8);
}
@media (max-width: 720px) { .nav-inner { padding: 14px var(--s-6); } }

.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 0;
  text-decoration: none;
}
.nav-logo:hover { border: 0; }
.nav-logo .mark {
  width: 20px; height: 20px; display: inline-flex; color: var(--accent);
}

.nav-links {
  display: flex; align-items: center; gap: var(--s-6);
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  border: 0;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav-links a:hover { color: var(--text); border: 0; }

.nav-links .nav-cta {
  height: 34px; padding: 0 14px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  border: 0;
  text-decoration: none;
}
.nav-links .nav-cta:hover { filter: brightness(0.95); color: var(--accent-ink); border: 0; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0;
}
.eyebrow::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--text-dim);
}

.heading-pair {
  display: flex; flex-direction: column; gap: var(--s-4);
  max-width: 820px;
}
.heading-pair h2 { font-size: var(--fs-h2); }

.prose { max-width: 64ch; color: var(--text); }
.prose p + p { margin-top: var(--s-4); }
.prose .muted { color: var(--text-muted); }
.prose em { font-style: italic; }

.problem-kicker {
  font-size: 17px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: var(--s-8);
}
.loop-compare {
  display: flex; align-items: center; gap: 24px;
  margin-top: var(--s-8);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.loop-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.loop-label {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-dim);
}
.loop-svg { width: 100%; max-width: 200px; height: auto; }
.loop-divider {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .loop-compare { flex-direction: column; }
  .loop-divider { transform: rotate(90deg); }
}

.wedge-tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.04em; margin-top: 8px;
  border: 1px solid rgba(125, 255, 178, 0.3); 
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 3px; padding: 3px 8px; display: inline-block;
}

.thesis-art {
  margin-top: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--surface-2);
  overflow: hidden;
}
.thesis-art svg { width: 100%; height: auto; display: block; }

.hero {
  padding-top: 96px;
  padding-bottom: var(--section-y-desktop);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-16);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-12); }
}

.hero-copy h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
.accent-underline {
  color: var(--text);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 94%;
  padding-bottom: 2px;
}

.hero-sub {
  margin-top: var(--s-6);
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.5;
}

.hero-ctas {
  margin-top: var(--s-8);
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
}

.hero-meta {
  margin-top: var(--s-12);
  display: flex; gap: var(--s-8);
  border-top: 1px solid var(--border);
  padding-top: var(--s-6);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.hero-meta .k { color: var(--text-dim); margin-right: 6px; }
.hero-meta .v { color: var(--text); }

.hero-vis-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  transition: transform 80ms linear;
  will-change: transform;
  overflow: hidden;
}
.hero-vis-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: var(--radius-md);
  z-index: 2;
  transition: background 80ms linear;
}

.hero-vis {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  min-height: 480px;
  overflow: hidden;
}
.hero-vis-header {
  height: 36px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.hero-vis-header .dots { display: flex; gap: 5px; }
.hero-vis-header .dots span {
  width: 8px; height: 8px;
  border: 1px solid var(--border); border-radius: 50%;
}

.hero-vis-body {
  position: relative;
  height: calc(100% - 36px);
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
}

.hero-vis-side {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface);
}
.hero-vis-side .nav-item {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  padding: 6px 8px;
  border-radius: 2px;
}
.hero-vis-side .nav-item.active { color: var(--text); background: var(--surface-2); }
.hero-vis-side .label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim); padding: 8px 8px 2px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.hero-vis-main {
  padding: 20px;
  background: var(--surface);
  position: relative;
}
.hero-vis-title {
  font-size: 15px; color: var(--text); margin-bottom: 16px;
}
.hero-steps { display: flex; flex-direction: column; gap: 10px; }
.hero-step {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--surface-2);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-muted);
}
.hero-step .num {
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  flex: none;
}
.hero-step.flagged { border-color: rgba(255, 181, 71, 0.5); border-color: color-mix(in oklab, var(--warn) 50%, var(--border)); }
.hero-step.flagged .num { color: var(--warn); border-color: rgba(255, 181, 71, 0.5); border-color: color-mix(in oklab, var(--warn) 50%, var(--border)); }
.hero-step.ragged { border-color: rgba(255, 181, 71, 0.5); border-color: color-mix(in oklab, var(--warn) 50%, var(--border)); }

.anno {
  position: absolute;
  background: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text);
  white-space: nowrap;
  z-index: 3;
  transition: transform 80ms linear, opacity 80ms linear;
}
.anno .k { color: var(--text-dim); margin-right: 6px; }
.anno .v { color: var(--accent); }
.anno.warn .v { color: var(--warn); }

.hairline {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.hairline path { stroke: var(--accent); stroke-width: 1; fill: none; }
.hairline .dot { fill: var(--accent); }

.lattice {
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.lattice svg { width: 100%; height: 100%; }
.lattice line { stroke: var(--border); stroke-width: 1; fill: none; }

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s-12);
  align-items: start;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; gap: var(--s-8); }
}

.problem-anim {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-6);
  min-height: 380px;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.problem-anim-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.problem-anim-head .label-accent { color: var(--accent); }
.blink {
  display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  margin-right: 6px; animation: pa-blink 1.6s steps(2, end) infinite;
}
@keyframes pa-blink { 50% { opacity: 0.2; } }

.problem-anim-stage {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  padding: 48px 16px 16px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.pa-progress {
  position: absolute; top: 12px; left: 16px; right: 16px;
  height: 2px; background: var(--surface-2);
  border-radius: 1px;
}
.pa-progress-fill {
  height: 100%; background: var(--accent);
  border-radius: 1px;
  transition: width 200ms var(--ease-standard);
}
.pa-tick {
  position: absolute; top: -3px;
  width: 1px; height: 8px; background: var(--border-strong);
  transform: translateX(-50%);
}
.pa-tick.on { background: var(--accent); }

.pa-card {
  position: absolute;
  left: 16px; right: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 250ms var(--ease-standard), transform 250ms var(--ease-standard),
              border-color 250ms var(--ease-standard);
}
.pa-card.in {
  opacity: 1;
  transform: translateY(0);
}
.pa-card.active {
  border-color: var(--accent);
  color: var(--text);
}
.pa-pill {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 10px;
  color: var(--text-dim);
  margin-left: auto;
}
.pa-card.active .pa-pill { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); }

.pa-footer {
  border-top: 1px dashed var(--border);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.pa-cohort-name { color: var(--text); }
.cursor {
  display: inline-block; width: 7px; height: 12px;
  background: var(--accent); margin-left: 2px;
  vertical-align: -2px;
  animation: pa-cursor 900ms steps(2, end) infinite;
}
@keyframes pa-cursor { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .blink, .cursor { animation: none; }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-12);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 54px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-6);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 150ms var(--ease-out);
  will-change: transform;
}
.step-card .step-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-6);
}
.step-card .step-num .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.step-art {
  margin-bottom: var(--s-6);
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  overflow: hidden;
}
.step-art svg { width: 100%; height: auto; display: block; max-width: 100%; }

.s-line { stroke: #3A3F47; stroke: var(--border-strong, #3A3F47); stroke-width: 1; fill: none; }
.s-dim { stroke: #5E636B; stroke: var(--text-dim, #5E636B); stroke-width: 1; fill: none; }
.s-accent { stroke: #7DFFB2; stroke: var(--accent, #7DFFB2); stroke-width: 1.25; fill: none; }
.s-warn { stroke: #FFB547; stroke: var(--warn, #FFB547); stroke-width: 1.25; fill: none; }
.s-node { fill: #181B20; fill: var(--surface-2, #181B20); stroke: #3A3F47; stroke: var(--border-strong, #3A3F47); stroke-width: 1; }
.s-node-accent { fill: #7DFFB2; fill: var(--accent, #7DFFB2); stroke: #7DFFB2; stroke: var(--accent, #7DFFB2); }
.s-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 8px; fill: #5E636B; fill: var(--text-dim, #5E636B); }
.s-label-accent { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 8px; fill: #7DFFB2; fill: var(--accent, #7DFFB2); }
.s-label-muted { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9px; fill: #9AA0A6; fill: var(--text-muted, #9AA0A6); }
.s-dash { stroke-dasharray: 2 3; }

.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
}
.step-card p { font-size: 16px; color: var(--text-muted); line-height: 1.5; }

.demo-frame {
  margin-top: var(--s-12);
  border: 0;
  background: transparent;
  overflow: visible;
  position: relative;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  border-bottom: 0;
  background: transparent;
  padding-bottom: var(--s-6);
  flex-wrap: wrap;
}
.demo-tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.5);
  transition: color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              background var(--dur-fast) var(--ease-standard);
}
.demo-tab:last-child { border-right: 1px solid var(--border); }
.demo-tab .tab-sub {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.demo-tab:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.demo-tab[aria-selected="true"] {
  color: var(--text);
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  border-color: var(--accent);
  box-shadow: 0 4px 20px -4px color-mix(in oklab, var(--accent) 30%, transparent);
}
.demo-tab[aria-selected="true"]::after { display: none; }
@media (max-width: 820px) {
  .demo-tabs { justify-content: flex-start; }
  .demo-tab { font-size: 12px; padding: 8px 12px; }
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  min-height: 460px;
}
@media (max-width: 900px) { .demo-body { grid-template-columns: 1fr; } }

.demo-stage {
  position: relative;
  border-right: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: stretch;
  padding: 24px;
  gap: 0;
}
@media (max-width: 900px) {
  .demo-stage { border-right: 0; border-bottom: 1px solid var(--border); }
}

.demo-panel {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-2);
  padding: 18px;
  position: relative;
  min-height: 360px;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.demo-panel .corner-label {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.demo-panel.before .corner-label { color: var(--warn); }
.demo-panel.after .corner-label { color: var(--accent); }

.demo-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 13px;
}

.demo-side {
  padding: 24px;
  display: flex; flex-direction: column;
  background: var(--ink);
}
.demo-side .side-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.demo-events {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.demo-events .event {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
}
.demo-events .event .weight { color: var(--accent); font-size: 11px; margin-left: auto; }
.demo-events .event .w-neg { color: var(--warn); }
.demo-caption {
  font-size: 13px; line-height: 1.5; color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.demo-caption .metric { color: var(--accent); font-family: var(--font-mono); font-size: 0.95em; }

.mock { font-family: var(--font-body); color: var(--text); }
.mock-title {
  font-size: 13px; color: var(--text); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.bar-actions { display: flex; gap: 6px; }
.bar-actions span { width: 20px; height: 4px; background: var(--border); border-radius: 1px; }
.mock-block {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 8px;
  background: var(--ink);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-kpi {
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 3px;
  background: var(--ink);
}
.mock-kpi .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.mock-kpi .val { font-family: var(--font-mono); font-size: 20px; color: var(--text); margin-top: 6px; }
.mock-kpi .delta { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 4px; }
.mock-toast {
  border: 1px solid rgba(125, 255, 178, 0.4); 
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border));
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 3px;
  font-size: 12px; color: var(--text);
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 8px;
}
.mock-toast .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-top: 6px; flex: none; }
.mock-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
  font-family: var(--font-mono); font-size: 11px;
  margin-top: 4px;
}
.mock-kbd { display: inline-flex; gap: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.mock-kbd kbd {
  border: 1px solid var(--border); border-radius: 2px;
  padding: 1px 5px; background: var(--surface); color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10px;
}
.onboard-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px;
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--ink); font-size: 12px;
}
.onboard-step .num {
  width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-dim);
  flex: none;
}
.onboard-step.done .num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.onboard-step.current { border-color: var(--accent); }
.onboard-step.current .num { color: var(--accent); border-color: var(--accent); }
.kbd-hints {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.kbd-hints .hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}
.kbd-hints kbd {
  border: 1px solid var(--border); border-radius: 2px;
  padding: 1px 5px; background: var(--surface); color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10px;
}

.demo-tabs { position: relative; overflow: hidden; }
.da-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  opacity: 0.6;
  pointer-events: none;
}

.demo-live {
  display: flex;
  align-items: stretch;
  gap: var(--s-6);
  border-top: 0;
}
@media (max-width: 860px) {
  .demo-live { flex-direction: column; align-items: stretch; }
}

.demo-app {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 480px;
  background: #101a14; 
  background: color-mix(in oklab, var(--accent) 10%, var(--ink));
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent),
    0 24px 80px -16px rgba(0, 0, 0, 0.85),
    0 0 60px -20px color-mix(in oklab, var(--accent) 18%, transparent);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 150ms var(--ease-out);
  will-change: transform;
}

.da-cursor {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 20;
  transition:
    opacity 280ms var(--ease-out),
    left 900ms cubic-bezier(0.4, 0.0, 0.15, 1),
    top  900ms cubic-bezier(0.4, 0.0, 0.15, 1);
  will-change: left, top, opacity;
}
.da-cursor.visible { opacity: 1; }
.da-cursor-arrow {
  position: absolute;
  left: -2px; top: -2px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}
.da-cursor-ring {
  position: absolute;
  left: -9px; top: -9px;
  width: 22px; height: 22px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
}
.da-cursor.clicking .da-cursor-ring {
  animation: da-cursor-pulse 420ms var(--ease-out);
}
@keyframes da-cursor-pulse {
  0%   { opacity: 0.85; transform: scale(0.35); }
  70%  { opacity: 0;    transform: scale(1.9); }
  100% { opacity: 0;    transform: scale(2.1); }
}
.da-cursor-lbl {
  position: absolute;
  left: 14px; top: 14px;
  padding: 2px 6px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: rgba(10, 11, 13, 0.92); 
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.px-cursor-hit {
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 0 4px rgba(125, 255, 178, 0.22) !important; 
  transition: box-shadow 280ms var(--ease-out);
}
@media (max-width: 860px) {
  .demo-app {
    width: 100%;
    max-height: none;
    min-height: 440px;
    transform: none !important;
  }
  .demo-stream {
    width: 100%;
    border-left: 0;
    border-top: 2px solid color-mix(in oklab, var(--warn) 55%, transparent);
  }
}

.da-chrome {
  height: 38px;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border);
  background: #141e17; 
  background: color-mix(in oklab, var(--accent) 10%, var(--surface-2));
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  flex-shrink: 0;
}
.da-dots { display: flex; gap: 5px; }
.da-dots span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--border); }
.da-url {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.da-ray {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-dim);
  transition: color 300ms;
}
.da-ray.active { color: var(--accent); }
.da-ray-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  transition: background 300ms, box-shadow 300ms;
  flex-shrink: 0;
}
.da-ray.active .da-ray-dot {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(125, 255, 178, 0.55); 
  box-shadow: 0 0 6px color-mix(in oklab, var(--accent) 55%, transparent);
}
@keyframes da-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(125, 255, 178, 0.7); }
  40%  { box-shadow: 0 0 0 5px rgba(125, 255, 178, 0); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.da-ray-dot.pulsing { animation: da-pulse 600ms var(--ease-out); }

.da-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 600px) {
  .da-body { grid-template-columns: 1fr; }
  .da-nav { display: none; }
}

.da-nav {
  border-right: 1px solid var(--border);
  background: #131d16; 
  background: color-mix(in oklab, var(--accent) 10%, var(--surface-2));
  padding: 14px 0;
  font-family: var(--font-mono);
  overflow: hidden;
}
.da-nav-label {
  padding: 0 14px 4px;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em;
}
.da-nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 14px;
  font-size: 11px; color: var(--text-muted);
  transition: background 200ms, color 200ms, border-color 200ms;
  border-left: 2px solid transparent;
  cursor: default;
}
.da-nav-item.active {
  color: var(--text);
  background: rgba(125, 255, 178, 0.09); 
  background: color-mix(in oklab, var(--accent) 9%, transparent);
  border-left-color: var(--accent);
}
.da-nav-item.dim { color: var(--text-dim); }
.da-nav-badge {
  font-size: 9px; color: var(--accent); flex-shrink: 0;
}
.da-cohort {
  padding: 4px 14px;
  font-size: 10px; color: var(--accent); line-height: 1.6;
}

.da-main {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0; overflow: hidden; position: relative;
  background: #131c16; 
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
}

.da-main::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(125, 255, 178, 0.04) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
}
.da-main.exiting::after {
  animation: da-scan 300ms var(--ease-out) forwards;
}
@keyframes da-scan {
  from { opacity: 1; transform: translateY(-100%); }
  to   { opacity: 0; transform: translateY(100%); }
}

.anim-item { opacity: 0; }
.da-main.entering .anim-item {
  animation: da-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both; 
  animation-delay: calc(var(--i, 0) * 60ms);
}
.da-main.exiting .anim-item {
  animation: da-exit 180ms cubic-bezier(0.2, 0, 0, 1) both; 
  animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes da-enter {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes da-exit {
  to { opacity: 0; transform: translateY(-7px); }
}

.px-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 10px; margin-bottom: 2px;
}

.px-progress {
  height: 3px; background: var(--border); border-radius: 2px;
  position: relative; margin-bottom: 4px; overflow: hidden;
}
.px-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent); border-radius: 2px;
}
.px-progress-lbl {
  position: absolute; right: 0; top: -16px;
  font-family: var(--font-mono); font-size: 9px; color: var(--text-dim);
}

.px-step {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 12px; color: var(--text-muted);
  background: var(--surface);
}
.px-step.done { color: var(--text-dim); background: var(--ink); }
.px-step.current { border-color: var(--accent); color: var(--text); background: var(--ink); }
.px-step-mark { color: var(--accent); font-size: 11px; width: 18px; flex-shrink: 0; }
.px-step-num {
  width: 18px; height: 18px;
  border: 1px solid var(--border); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); flex-shrink: 0;
}
.px-step.current .px-step-num { border-color: var(--accent); color: var(--accent); }
.px-step-hint {
  margin-left: auto; font-family: var(--font-mono);
  font-size: 9px; color: var(--text-dim);
}

.px-toast {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(125, 255, 178, 0.35); 
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--border));
  border-radius: 3px; background: var(--surface);
}
.px-toast-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 4px;
}
.px-toast-body { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.px-toast-body strong { color: var(--text); font-weight: 500; }
.px-toast-cta { font-size: 11px; color: var(--accent); margin-top: 4px; cursor: pointer; }

.px-skip {
  font-family: var(--font-mono); font-size: 9px; color: var(--text-dim);
  text-align: center; padding: 4px 0;
}

.px-kbd {
  display: inline-flex; gap: 3px; margin-left: auto;
}
.px-kbd kbd, .px-kbd-hint kbd {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1px 5px;
  border: 1px solid var(--border-strong); border-radius: 2px;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-muted); background: var(--surface-2);
}

.px-metrics {
  display: flex; gap: 8px;
}
.px-metric {
  flex: 1; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 2px;
}
.px-metric-lbl { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); text-transform: uppercase; }
.px-metric-val { font-family: var(--font-mono); font-size: 15px; color: var(--text); font-weight: 500; }
.px-metric-delta { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }

.px-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px;
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 12px; color: var(--text-muted); background: var(--surface);
}
.px-row-time { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); }

.px-kbd-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.px-kbd-hint {
  display: flex; align-items: center; gap: 3px;
  font-family: var(--font-mono); font-size: 9px; color: var(--text-dim);
}

.px-divider {
  font-family: var(--font-mono); font-size: 9px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
  margin-top: 2px;
}

.px-change {
  font-size: 12px; color: var(--text-muted);
  padding: 5px 0; border-bottom: 1px solid var(--border);
}

.demo-stream {
  width: 260px;
  flex-shrink: 0;
  padding: 18px;
  display: flex; flex-direction: column; gap: 0;
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--warn) 35%, var(--border));
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  min-height: 0;
}
.stream-hdr {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.stream-evs {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 16px;
  flex: 1;
  overflow-y: auto;
}
.stream-ev {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--surface);
  font-family: var(--font-mono); font-size: 11px;
}
.se-key { color: var(--text-muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-weight { color: var(--accent); font-size: 10px; flex-shrink: 0; }
.se-weight.neg { color: var(--warn); }

.segments {
  display: flex; flex-direction: column; gap: 0;
  margin-top: var(--s-12);
  border-top: 1px solid var(--border);
}
.segment {
  border-bottom: 1px solid var(--border);
  padding: var(--s-8) 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 2.2fr);
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 900px) {
  .segment { grid-template-columns: 1fr; gap: var(--s-6); }
}
.segment-num {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 13px;
  padding-top: 4px;
}
.segment-head h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
  color: var(--text);
}
.segment-hero {
  border: 1px solid var(--border);
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
  overflow: hidden;
}
.segment-hero svg { width: 100%; height: auto; display: block; max-width: 100%; }
.segment-head .persona, .segment-head .wedge {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.5; margin-bottom: var(--s-2);
}
.segment-head .persona strong, .segment-head .wedge strong {
  color: var(--text); font-weight: 500;
}
.use-cases { display: flex; flex-direction: column; gap: var(--s-4); }
.use-case {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-6);
}
.use-case h4 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--text);
}
.use-case p { font-size: 15px; color: var(--text-muted); line-height: 1.55; }
.use-case .uc-art {
  margin-top: var(--s-4);
  border-top: 1px dashed var(--border);
  padding-top: var(--s-4);
  overflow: hidden;
}
.use-case .uc-art svg { width: 100%; height: auto; display: block; max-width: 100%; }

.integrations {
  margin-top: var(--s-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-12) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-8); align-items: center;
  text-align: center;
}
.integration-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-12); flex-wrap: wrap;
}
.integration-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  filter: grayscale(1);
  border: 0;
  transition: color var(--dur-base) var(--ease-standard), filter var(--dur-base) var(--ease-standard);
}
.integration-mark:hover { color: var(--text); filter: none; border: 0; }
.ilogo { width: 28px; height: 28px; }
.integration-note { font-size: 14px; color: var(--text-muted); max-width: 52ch; }

.compare-table {
  margin-top: var(--s-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  border-right: 1px solid var(--border);
}
.compare-row > div:last-child { border-right: 0; }
.compare-row.head > div {
  font-family: var(--font-mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--surface-2);
  padding: 14px 20px;
}
.compare-row.head .accent-col { color: var(--accent); }
.compare-row .label-cell { color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.compare-row .ray-col { color: var(--text); }
.compare-cell { display: flex; flex-direction: column; gap: 10px; }
.cmp-art {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--surface-2);
  flex-shrink: 0;
}
.cmp-art svg { width: 100%; height: auto; display: block; }
.cmp-text { font-size: 15px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.ray-col .cmp-text { color: var(--text); }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .compare-row > div:last-child { border-bottom: 0; }
}

.thesis {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-12);
}
@media (max-width: 900px) { .thesis { grid-template-columns: 1fr; gap: var(--s-8); } }

.thesis-side {
  position: sticky; top: 100px;
  align-self: start;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
}
.thesis-side ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.thesis-side li {
  padding-left: 20px; position: relative; line-height: 1.4;
  color: var(--text-muted);
  cursor: default;
  transition: color var(--dur-fast) var(--ease-standard);
}
.thesis-side li::before {
  content: '·'; position: absolute; left: 6px; top: -2px;
  color: var(--text-dim);
}
.thesis-side li.active { color: var(--text); }
.thesis-side li.active::before {
  content: '→'; color: var(--accent); font-size: 10px; top: 0;
}

.thesis-body article { margin-bottom: var(--s-12); }
.thesis-body article:last-child { margin-bottom: 0; }
.thesis-body h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 var(--s-4);
}
.thesis-body p {
  font-size: 17px; color: var(--text); line-height: 1.6;
  max-width: 64ch;
}
.thesis-body p + p { margin-top: var(--s-4); }
.thesis-body em { color: var(--text); font-style: italic; }

.founders {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--s-12);
  align-items: start;
}
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; } }

.founder-photo {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.founder-photo-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--border);
}
.founder-photo-meta {
  position: absolute; inset: auto 0 0 0;
  padding: 12px; border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex; justify-content: space-between;
}
.founder-photo-silhouette {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder-photo-silhouette svg { width: 70%; height: auto; color: var(--border-strong); }
.founders-body p { font-size: 16px; color: var(--text); line-height: 1.6; }
.founders-body p + p { margin-top: var(--s-4); }
.founders-body .muted { color: var(--text-muted); }
.founders-body .hiring {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}

.faq {
  margin-top: var(--s-12);
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--s-6) 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s-6);
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; letter-spacing: -0.005em;
  line-height: 1.35;
}
.faq-q .chev {
  flex: none;
  margin-top: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 14px;
  transition: color var(--dur-fast) var(--ease-standard);
}
.faq-item[data-open="true"] .chev { color: var(--accent); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-standard);
}
.faq-a-inner {
  padding-bottom: var(--s-6);
  font-size: 17px; color: var(--text-muted);
  line-height: 1.6; max-width: 72ch;
}

.form-wrap {
  max-width: 640px;
  margin: var(--s-12) auto 0;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-8);
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-6); }
.form-row label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim);
}
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-standard);
  appearance: none;
  -webkit-appearance: none;
}
.form-row select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235E636B' stroke-width='1.25' stroke-linecap='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  background-color: var(--ink);
}
.form-row select option { background: var(--surface); }
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--border-strong);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-dim); }
.form-row input[type="tel"]::placeholder { color: var(--text-dim); }

.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--text-muted);
  font-family: var(--font-mono); font-size: 12px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.chip .mark {
  width: 10px; height: 10px;
  display: inline-flex; opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-standard);
}
.chip[aria-pressed="true"] .mark { opacity: 1; }

.form-submit {
  width: 100%;
  height: 48px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter var(--dur-fast) var(--ease-standard);
}
.form-submit:hover { filter: brightness(0.95); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-success {
  padding: var(--s-8);
  text-align: center;
  font-size: 16px; color: var(--text);
  line-height: 1.6;
}
.form-success .ok-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.form-success .fine-print {
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.form-foot {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  margin-top: var(--s-4);
  text-align: center;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--s-8);
  margin-top: var(--s-12);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
}
.footer a { color: var(--text-muted); border: 0; }
.footer a:hover { color: var(--text); border: 0; }
.footer .dot { color: var(--text-dim); }

.grain { display: none !important; }

.step-card .step-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.step-card code {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 0.85em;
  color: var(--text);
}

.hero-loop {
  position: relative;
  width: 100%;
}
.hl-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.6);
}
.hl-head {
  height: 36px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  background: var(--surface-2);
}
.hl-dots { display: flex; gap: 5px; }
.hl-dots span { width: 8px; height: 8px; border: 1px solid var(--border); border-radius: 50%; }
.hl-url { flex: 1; text-align: center; color: var(--text-dim); }
.hl-illus {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 1px 6px;
  text-transform: lowercase; letter-spacing: 0.04em;
}

.hl-body {
  position: relative;
  min-height: 380px;
  padding: 24px;
}
.hl-stage {
  position: absolute;
  inset: 24px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  pointer-events: none;
  display: flex; flex-direction: column; gap: 16px;
}
.hl-stage.on { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hl-lbl {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hl-chart {
  width: 100%;
  height: 96px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  padding: 8px;
}
.hl-chart svg { width: 100%; height: 100%; display: block; }
.hl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 2px;
  padding: 4px 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.hl-pill.warn { color: var(--warn); border-color: rgba(255, 181, 71, 0.4); border-color: color-mix(in oklab, var(--warn) 40%, var(--border)); }
.hl-pill.accent { color: var(--accent); border-color: rgba(125, 255, 178, 0.4); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }

.hl-diff {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  padding: 16px;
}
.hl-col { display: flex; flex-direction: column; gap: 8px; }
.hl-col-lbl {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hl-col-lbl.accent { color: var(--accent); }
.hl-comp {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
  min-height: 120px;
}
.hl-comp.accent { border-color: rgba(125, 255, 178, 0.5); border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); }
.hl-bar {
  display: block;
  height: 8px;
  background: var(--border);
  border-radius: 2px;
}
.hl-bar.accent { background: rgba(125, 255, 178, 0.7); background: color-mix(in oklab, var(--accent) 70%, transparent); }
.hl-bar.w30 { width: 30%; }
.hl-bar.w40 { width: 40%; }
.hl-bar.w50 { width: 50%; }
.hl-bar.w60 { width: 60%; }
.hl-bar.w70 { width: 70%; }
.hl-bar.w80 { width: 80%; }
.hl-bar.w90 { width: 90%; }
.hl-arrow { display: flex; align-items: center; justify-content: center; }
.hl-reason {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.hl-reason .hl-k { color: var(--text-dim); }
.hl-reason .hl-v { color: var(--text); }

.hl-ship {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.hl-ship-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}
.hl-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
}
.hl-dot.accent {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(125, 255, 178, 0.6); 
  box-shadow: 0 0 8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.hl-bar-group { display: flex; gap: 3px; }
.hl-tick {
  width: 4px; height: 14px;
  background: rgba(125, 255, 178, 0.4); 
  background: color-mix(in oklab, var(--accent) 50%, var(--border));
  border-radius: 1px;
  animation: hl-tick 1.2s cubic-bezier(0.16, 1, 0.3, 1) infinite; 
  animation-delay: var(--d, 0ms);
}
@keyframes hl-tick {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
.hl-ship .hl-chart { height: 56px; }

.hl-foot {
  height: 36px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hl-foot-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-strong);
  transition: background 260ms var(--ease-out);
}
.hl-foot-dot.on { background: var(--accent); }
.hl-foot-lbl { margin-left: auto; color: var(--text-dim); }

.loop-timeline {
  margin-top: var(--s-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-8);
  display: flex; flex-direction: column;
  gap: var(--s-12);
}
.lt-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 720px) {
  .lt-row { grid-template-columns: 1fr; gap: 8px; }
}
.lt-rail-lbl {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.lt-rail-lbl.accent { color: var(--accent); }

.lt-rail {
  position: relative;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}
.lt-old .lt-rail {
  background: var(--border);
}
.lt-ray .lt-rail {
  background: color-mix(in oklab, var(--accent) 25%, var(--border));
}
.lt-ray .lt-rail::after {
  content: '';
  position: absolute; top: 0; left: 0; height: 100%;
  width: 60%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lt-fill 2200ms var(--ease-out) 200ms both;
}
@keyframes lt-fill {
  to { transform: scaleX(1); }
}

.lt-pt {
  position: absolute; top: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.lt-pt.accent { background: var(--accent); border-color: var(--accent); }
.lt-pt.warn { background: var(--surface); border-color: var(--warn); }
.lt-pt-lbl {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.lt-pt.accent .lt-pt-lbl { color: var(--accent); }
.lt-pt.warn  .lt-pt-lbl { color: var(--warn); }

.problem-note {
  margin-top: var(--s-12);
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
}

.mech {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
}
@media (max-width: 900px) {
  .mech { grid-template-columns: 1fr; }
}

.mech-browser, .mech-console {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.mech-head {
  height: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.mech-dots { display: flex; gap: 5px; }
.mech-dots span { width: 8px; height: 8px; border: 1px solid var(--border); border-radius: 50%; }
.mech-url { flex: 1; text-align: center; }
.mech-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent);
  border: 1px solid rgba(125, 255, 178, 0.4); 
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border));
  border-radius: 2px; padding: 1px 6px;
}

.mech-stage {
  padding: 16px;
  min-height: 340px;
  position: relative;
  background: var(--ink);
}
.mech-stage-lbl {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.mech-dom {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
  display: flex; flex-direction: column; gap: 4px;
}
.mech-dom-row { padding: 2px 0; }
.mech-dom-row.pad1 { padding-left: 16px; }
.mech-slot {
  position: relative;
  border: 1px dashed rgba(125, 255, 178, 0.4); 
  border: 1px dashed color-mix(in oklab, var(--accent) 40%, var(--border));
  border-radius: 3px;
  padding: 8px;
  margin: 4px 0;
  background: rgba(125, 255, 178, 0.04); 
  background: color-mix(in oklab, var(--accent) 4%, var(--surface));
  transition: border-color 320ms var(--ease-out), background 320ms var(--ease-out);
}
.mech-slot.on {
  border-color: var(--accent);
  background: rgba(125, 255, 178, 0.1); 
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
}
.mech-slot-label {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent);
  margin-bottom: 8px;
}
.mech-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  transition: border-color 320ms var(--ease-out), background 320ms var(--ease-out);
}
.mech-card .mech-bar {
  display: block; height: 6px; background: var(--border);
  border-radius: 2px;
}
.mech-card .mech-bar.w40 { width: 40%; }
.mech-card .mech-bar.w50 { width: 50%; }
.mech-card .mech-bar.w60 { width: 60%; }
.mech-card .mech-bar.w70 { width: 70%; }
.mech-slot.on .mech-card {
  border-color: var(--accent);
  background: rgba(125, 255, 178, 0.1); 
  background: color-mix(in oklab, var(--accent) 10%, var(--surface-2));
}
.mech-slot.on .mech-card .mech-bar { background: rgba(125, 255, 178, 0.55); background: color-mix(in oklab, var(--accent) 55%, transparent); }
.mech-slot-comp {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
  transition: color 320ms var(--ease-out);
}
.mech-slot.on .mech-slot-comp { color: var(--accent); }

.mech-console-head {
  height: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  text-transform: lowercase;
}
.mech-console-tenant { color: var(--text-muted); }
.mech-console-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 268px;
}
.mech-line {
  display: flex; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted);
  opacity: 0.2;
  transform: translateY(2px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), color 260ms var(--ease-out);
}
.mech-line.on { opacity: 1; transform: translateY(0); }
.mech-line-k {
  color: var(--text-dim);
  flex-shrink: 0;
  min-width: 20px;
}
.mech-line-v { color: var(--text); }
.mech-line code {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0 4px;
  font-size: 11px;
  color: var(--text);
}
.mech-hi { color: var(--accent); }
.mech-console-foot {
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
  background: var(--surface-2);
}
.mech-pill {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
}

.mech-notes {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) {
  .mech-notes { grid-template-columns: 1fr; }
}
.mech-note {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-4) var(--s-6);
  display: flex; gap: 12px;
}
.mech-note-k {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent);
}
.mech-note-v {
  font-size: 14px; color: var(--text-muted); line-height: 1.55;
}
.mech-note-v b { color: var(--text); font-weight: 500; }
.mech-note-v em { color: var(--text); font-style: italic; }

.week {
  margin-top: var(--s-12);
  position: relative;
}
.week-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 960px) {
  .week-scenes { grid-template-columns: 1fr; }
}
.week-scene {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  opacity: 0;
  transform-style: preserve-3d;
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(8px);
  transition: opacity 540ms var(--ease-out), transform 150ms var(--ease-out);
  will-change: transform;
}
.week-scene.on { opacity: 1; transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0); }
.week-day {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.week-day-lbl {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.week-day-time { color: var(--text-dim); }
.week-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.week-note {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--border);
}
.week-art {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--ink);
  padding: var(--s-4);
  min-height: 200px;
}

.week-rail {
  margin-top: var(--s-6);
  display: flex;
  justify-content: center;
  gap: 6px;
}
.week-rail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 300ms var(--ease-out);
}
.week-rail-dot.on { background: var(--accent); }

.wk-slack {
  font-family: var(--font-body);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.wk-slack-head {
  display: flex; gap: 10px; align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
}
.wk-slack-hash { color: var(--text); }
.wk-slack-bot {
  color: var(--accent);
  border: 1px solid rgba(125, 255, 178, 0.4); 
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border));
  border-radius: 2px;
  padding: 1px 6px;
  font-size: 10px;
  margin-left: auto;
}
.wk-slack-msg {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}
.wk-slack-msg b { color: var(--text); font-weight: 500; }
.wk-slack-msg code {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 0 4px;
}
.wk-slack-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
.wk-slack-dot.warn { background: var(--warn); }
.wk-link { color: var(--accent); border-bottom: 1px dashed color-mix(in oklab, var(--accent) 50%, transparent); }

.wk-variants {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
}
.wk-variant {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.wk-v-k { color: var(--text); }
.wk-v-dots {
  display: flex; gap: 3px; align-items: center;
}
.wk-v-dots span {
  width: 8px; height: 6px;
  background: rgba(125, 255, 178, 0.4); 
  background: color-mix(in oklab, var(--accent) 50%, var(--border));
  border-radius: 1px;
}
.wk-v-score { text-align: right; color: var(--accent); }
.wk-v-score.dim { color: var(--warn); }

.wk-console {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.wk-console-row {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.wk-console-k {
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 10px;
  width: 52px; flex-shrink: 0;
}
.wk-chip {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface-2);
  padding: 2px 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text);
}
.wk-chip.accent {
  border-color: var(--accent);
  background: rgba(125, 255, 178, 0.15); 
  background: color-mix(in oklab, var(--accent) 15%, var(--surface-2));
  color: var(--accent);
}
.wk-chip.dim { color: var(--text-dim); }
.wk-console-approve {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  justify-content: space-between;
}
.wk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: filter var(--dur-fast) var(--ease-standard);
}
.wk-btn:hover { filter: brightness(0.95); }
.wk-btn-load {
  display: none;
  gap: 3px;
}
.wk-btn-load span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent-ink);
  animation: wk-load 1.2s var(--ease-out) infinite;
}
.wk-btn-load span:nth-child(2) { animation-delay: 120ms; }
.wk-btn-load span:nth-child(3) { animation-delay: 240ms; }
@keyframes wk-load {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}
.wk-btn.loading .wk-btn-lbl { display: none; }
.wk-btn.loading .wk-btn-load { display: inline-flex; }
.wk-shipped {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-mono); font-size: 11px;
}
.wk-shipped.on { display: inline-flex; }

.wk-report {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px;
}
.wk-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 90px;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
}
.wk-report-lbl {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text);
}
.wk-spark {
  height: 28px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 4px;
}
.wk-spark svg { width: 100%; height: 100%; display: block; }
.wk-report-val {
  font-family: var(--font-mono); font-size: 11px;
  text-align: right;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.wk-report-val.accent { color: var(--accent); }
.wk-report-val.dim   { color: var(--text-dim); }
.wk-report-val.warn  { color: var(--warn); }
@media (max-width: 500px) {
  .wk-report-row { grid-template-columns: 1fr 1fr; }
  .wk-spark { grid-column: 1 / -1; border-left: 0; border-right: 0; padding: 0; border-top: 1px dashed var(--border); padding-top: 4px; }
}

.preview-foot {
  margin-top: var(--s-6);
  border-top: 1px dashed var(--border);
  border-radius: 0;
  background: transparent;
  padding: 12px 0 0;
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
}
.preview-foot-k {
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 10px;
}

.compare-slim { margin-top: var(--s-12); }
.compare-foot {
  margin-top: var(--s-8);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 64ch;
}
.compare-foot em { color: var(--text); font-style: italic; }

.sec-grid {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
@media (max-width: 820px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-4) var(--s-6);
}
.sec-k {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent);
  text-transform: lowercase; letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.sec-v { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.pricing-grid {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-8);
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.price-card.price-primary {
  border-color: var(--accent);
  background: rgba(125, 255, 178, 0.03); 
  background: color-mix(in oklab, var(--accent) 3%, var(--surface));
}
.price-tier {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.price-card.price-primary .price-tier { color: var(--accent); }
.price-tier-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1px 6px;
  text-transform: lowercase; letter-spacing: 0.02em;
}
.price-big {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--text);
}
.price-sub {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.price-list {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.price-list li {
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--border-strong);
}
.price-card.price-primary .price-list li::before { background: var(--accent); }
.price-cta {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}
.price-card.price-primary .price-cta {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.state-grid {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 820px) { .state-grid { grid-template-columns: 1fr; } }
.state-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--s-8);
}
.state-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.state-col li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.state-col li em { color: var(--text); font-style: italic; }
.state-col li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 1px;
}
.state-have .state-k { color: var(--accent); }
.state-have li::before { background: var(--accent); }
.state-nothave .state-k { color: var(--warn); }
.state-nothave li::before { background: var(--warn); opacity: 0.6; }
.state-col .state-k {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.state-foot {
  margin-top: var(--s-8);
  color: var(--text-muted);
  font-size: 14px; line-height: 1.55;
  max-width: 64ch;
}

.thesis-slim {
  margin-top: var(--s-12);
  grid-template-columns: 1fr !important;
}
.thesis-slim .thesis-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}
@media (max-width: 820px) {
  .thesis-slim .thesis-body { grid-template-columns: 1fr; }
}
.thesis-slim article {
  border-left: 1px solid var(--border);
  padding-left: var(--s-6);
}
.thesis-slim article h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.thesis-slim article p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 16px;
}
.thesis-slim article p em { color: var(--text); font-style: italic; }

.founder-ctas {
  margin-top: var(--s-6);
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.label-opt {
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.label-req {
  color: var(--warn);
  margin-left: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.price-card,
.sec-card {
  transform-style: preserve-3d;
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 150ms var(--ease-out);
  will-change: transform;
}

.step-card .step-art,
.week-scene .week-art {
  transform: translateZ(20px);
}

@media (prefers-reduced-motion: reduce) {
  .hl-stage, .lt-ray .lt-rail::after, .week-scene, .hl-tick, .wk-btn-load span {
    animation: none !important;
    transition: none !important;
  }
  .hl-stage { opacity: 1; transform: none; }
  .hl-stage#hl-s1 { opacity: 1; }
  .hl-stage#hl-s2, .hl-stage#hl-s3 { display: none; }
  .week-scene { opacity: 1; transform: none; }
  .mech-line { opacity: 1; transform: none; }
  .mech-slot {
    border-color: var(--accent);
    background: rgba(125, 255, 178, 0.1);
    background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  }
}

.hero-loop {
  perspective: 1600px;
  perspective-origin: 46% 44%;
}

.hl-frame.hl3d-floating {
  animation: hl3d-ambient 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes hl3d-ambient {
  0%,  100% { transform: rotateX(13deg) rotateY(-7deg) translateY(0px);   }
  30%        { transform: rotateX(10deg) rotateY(-4deg) translateY(-7px);  }
  65%        { transform: rotateX(15deg) rotateY(-9deg) translateY(4px);   }
}

.hl-frame {
  box-shadow:
    0 48px 120px -24px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(125, 255, 178, 0.06),
    0 0 80px -40px rgba(125, 255, 178, 0.12);
}

.hl-body.hl3d-console {
  padding: 0;
  min-height: 0;
  background: var(--ink);
}

.hl3d-panels {
  display: grid;
  grid-template-columns: 1fr 38px 1.15fr 38px 1fr;
  align-items: stretch;
  gap: 0;
  padding: 16px 14px;
  background: var(--ink);
  min-height: 290px;
}

.hl3d-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.hl3d-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--accent);
  box-shadow: 0 0 32px -4px rgba(125, 255, 178, 0.28);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}

.hl3d-signal::before {
  border-color: var(--warn);
  box-shadow: 0 0 28px -4px rgba(255, 181, 71, 0.28);
}

.hl3d-panel.hl3d-active::before {
  opacity: 1;
}

.hl3d-signal {
  border-color: color-mix(in oklab, var(--warn) 22%, var(--border));
}

.hl3d-panel-center {
  border-color: color-mix(in oklab, var(--accent) 38%, var(--border));
  background: color-mix(in oklab, var(--accent) 3%, var(--surface));
  box-shadow:
    0 8px 40px -8px rgba(0, 0, 0, 0.6),
    0 0 24px -8px rgba(125, 255, 178, 0.12);
}

.hl3d-ship {
  border-color: color-mix(in oklab, var(--accent) 18%, var(--border));
}

.hl3d-p-hdr {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.hl3d-p-num   { color: var(--text-dim); flex-shrink: 0; }
.hl3d-p-title { color: var(--text-muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hl3d-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1px 5px;
  color: var(--text-dim);
  white-space: nowrap;
}
.hl3d-tag.warn   { color: var(--warn);   border-color: color-mix(in oklab, var(--warn)   38%, var(--border)); }
.hl3d-tag.accent { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 38%, var(--border)); }

.hl3d-chart-box {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--ink);
  overflow: hidden;
  height: 68px;
  flex-shrink: 0;
}
.hl3d-chart-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hl3d-warn-fill {
  opacity: 0;
  animation: hl3d-fadein 0.8s var(--ease-out) 2.2s forwards;
}
.hl3d-warn-line {
  opacity: 0;
  animation: hl3d-fadein 0.8s var(--ease-out) 0.4s forwards;
}
.hl3d-warn-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: hl3d-pulse-warn 2.8s ease-in-out 2.5s infinite;
}
@keyframes hl3d-pulse-warn {
  0%, 100% { transform: scale(1);   opacity: 0.85; }
  50%       { transform: scale(1.7); opacity: 1;    }
}

.hl3d-accent-fill {
  opacity: 0;
  animation: hl3d-fadein 0.8s var(--ease-out) 3.2s forwards;
}
.hl3d-accent-line {
  opacity: 0;
  animation: hl3d-fadein 0.8s var(--ease-out) 1s forwards;
}
.hl3d-end-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: hl3d-fadein 0.4s var(--ease-out) 3.1s forwards, hl3d-pulse-end 3s ease-in-out 3.5s infinite;
}
@keyframes hl3d-pulse-end {
  0%, 100% { transform: scale(1);   }
  50%       { transform: scale(1.5); }
}

@keyframes hl3d-fadein  { to { opacity: 1; } }

.hl3d-p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.hl3d-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 6px;
  color: var(--text-dim);
  background: var(--surface-2);
  white-space: nowrap;
}
.hl3d-pill.warn   { color: var(--warn);   border-color: color-mix(in oklab, var(--warn)   32%, var(--border)); }
.hl3d-pill.accent { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 32%, var(--border)); }

.hl3d-flow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hl3d-flow-svg {
  width: 44px;
  height: 60px;
  flex-shrink: 0;
}
.hl3d-flow-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hl3d-flow-line {
  stroke-dasharray: 4 3;
  animation: hl3d-dash 1.4s linear infinite;
}
@keyframes hl3d-dash { to { stroke-dashoffset: -21; } }

.hl3d-flow-dot {
  animation: hl3d-particle 2.2s ease-in-out infinite;
}
.hl3d-flow-dot-2 {
  animation-delay: -1.1s;
}
@keyframes hl3d-particle {
  0%   { transform: translateX(0px);  opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(36px); opacity: 0; }
}

.hl3d-diff {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  gap: 8px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--ink);
  padding: 10px 8px;
  flex: 1;
}
.hl3d-diff-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hl3d-diff-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hl3d-diff-side.accent .hl3d-diff-lbl { color: var(--accent); }
.hl3d-diff-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hl3d-diff-bar {
  height: 5px;
  background: var(--border);
  border-radius: 2px;
  width: var(--w, 50%);
}
.hl3d-diff-bar.accent,
.hl3d-diff-side.accent .hl3d-diff-bar {
  background: color-mix(in oklab, var(--accent) 60%, transparent);
}
.hl3d-diff-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
}
.hl3d-diff-arrow svg { width: 20px; height: 44px; }

.hl3d-reason {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: auto;
}
.hl3d-reason-k { color: var(--text-dim); }
.hl3d-reason-v { color: var(--text); }

.hl3d-live-ind {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  flex-shrink: 0;
}
.hl3d-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
}
.hl3d-live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(125, 255, 178, 0.65);
  transform: scale(0);
  animation: hl3d-live-pulse 2s ease-in-out infinite;
}
@keyframes hl3d-live-pulse {
  0%, 100% { transform: scale(0); opacity: 0.7; }
  50%       { transform: scale(1); opacity: 0; }
}

.hl3d-metabar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10px;
}
.hl3d-meta-k {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.hl3d-meta-v {
  color: var(--text-muted);
  flex-shrink: 0;
}
.hl3d-meta-sep {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 16px;
}

@media (max-width: 1024px) {
  
  .hero-loop { perspective: none; }
  .hl-frame.hl3d-floating {
    animation: none !important;
    transform: none !important;
  }
  .hl-frame { box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7); }
}

@media (max-width: 720px) {
  .hl3d-panels {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hl3d-flow-col { display: none; }
  .hl3d-panel-center { box-shadow: none; }
  .hl3d-metabar { font-size: 9px; }
  .hl3d-meta-sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hl3d-floating               { animation: none !important; transform: none !important; }
  .hl3d-warn-line,
  .hl3d-accent-line            { animation: none; opacity: 1; }
  .hl3d-warn-fill,
  .hl3d-accent-fill,
  .hl3d-end-dot                { animation: none; opacity: 1; }
  .hl3d-warn-dot,
  .hl3d-end-dot,
  .hl3d-live-dot::after        { animation: none; }
  .hl3d-flow-line              { animation: none; }
  .hl3d-flow-dot               { animation: none; opacity: 1; }
}

/* ============================================================
   v3 · Compact + Persona System
   Appended block — overrides section spacing, adds new sections
   ============================================================ */

/* Compact section spacing */
:root {
  --section-y-desktop: 96px;
  --section-y-tablet:  72px;
  --section-y-mobile:  48px;
}

/* ── Nav: Docs link ──────────────────────────────────────── */
.nav-docs {
  color: var(--text-muted);
  font-size: 14px;
  border: 0;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.nav-docs:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero: persona chips ─────────────────────────────────── */
.hero-for {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-for-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: lowercase;
}
.hero-for-chip {
  height: 26px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.hero-for-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, transparent);
}

/* Hero metabar outcome item */
.hl3d-meta-accent { color: var(--accent) !important; }

/* ── How it works: mechanism subsection break ───────────── */
.how-mech-break {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-mech-h {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

/* ── Personas section ────────────────────────────────────── */
.personas-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.ptabs {
  display: flex;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  flex-shrink: 0;
}
.ptab {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}
.ptab:hover { color: var(--text); }
.ptab[aria-selected="true"] {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.ppanel {
  margin-top: 40px;
}
.ppanel[hidden] { display: none; }

/* ── DEFAULT panel ───────────────────────────────────────── */
.p-default-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 840px) {
  .p-default-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.pdf-step {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pdf-step-art {
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  overflow: hidden;
  height: 100px;
}
.pdf-step-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pdf-step-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pdf-step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.pdf-step-tag.warn   { color: var(--warn); }
.pdf-step-tag.accent { color: var(--accent); }
.pdf-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.pdf-step-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pdf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  min-width: 48px;
}
@media (max-width: 840px) {
  .pdf-arrow {
    min-width: unset;
    padding: 12px 24px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }
  .pdf-arrow svg { transform: rotate(90deg); }
}

.pdf-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 640px) {
  .pdf-strip { grid-template-columns: repeat(2, 1fr); }
}
.pdf-strip-item {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdf-strip-item:last-child { border-right: 0; }
.pdf-strip-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.pdf-strip-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ── PM panel ────────────────────────────────────────────── */
.p-pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) {
  .p-pm-grid { grid-template-columns: 1fr; }
}

.p-pm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.p-pm-day {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.p-pm-day-lbl {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.p-pm-day-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.p-pm-card .wk-slack,
.p-pm-card .wk-console {
  padding: 16px;
}

.p-pm-outcome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  flex-wrap: wrap;
}
.p-pm-outcome-k {
  color: var(--text-dim);
  margin-right: 4px;
}
.p-pm-outcome-val { color: var(--text); }
.p-pm-outcome-val.accent { color: var(--accent); }
.p-pm-outcome-sep { color: var(--text-dim); }
.p-pm-illus { margin-left: auto; }

.p-pm-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.p-pm-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Developer panel ─────────────────────────────────────── */
.p-dev-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 860px) {
  .p-dev-grid { grid-template-columns: 1fr; }
}

.p-dev-code-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}
.p-dev-code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.p-dev-code-dots {
  display: flex;
  gap: 5px;
}
.p-dev-code-dots span {
  width: 8px; height: 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.p-dev-code-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.p-dev-code {
  margin: 0;
  padding: 20px 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--surface);
  overflow-x: auto;
}
.p-dc-comment { color: var(--text-dim); }
.p-dc-tag     { color: var(--text-muted); }
.p-dc-attr    { color: var(--accent); }
.p-dc-str     { color: #E8A87C; }
.p-dc-cmd     { color: var(--text); }
.p-dc-pkg     { color: var(--accent); }

.p-dev-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-dev-spec-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.p-dev-spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.p-dev-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .p-dev-spec-grid { grid-template-columns: repeat(2, 1fr); }
}
.p-dev-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.p-dev-spec-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
}
.p-dev-spec-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}
.p-dev-fw-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-dev-fw-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.p-dev-fw-check { color: var(--accent); font-size: 10px; }
.p-dev-fw-lab { color: var(--text-dim); border-style: dashed; }

.p-dev-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-dev-guarantee-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.p-dev-guarantee-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
}

.p-dev-docs-cta {
  width: 100%;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ── Founder panel ───────────────────────────────────────── */
.p-fdr-why {
  margin-bottom: 40px;
}
.p-fdr-why .eyebrow { margin-bottom: 20px; display: block; }

.p-fdr-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
@media (max-width: 860px) {
  .p-fdr-timeline {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 0;
  }
}

.p-fdr-tnode {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px;
}
.p-fdr-tyear {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.p-fdr-tyear-accent { color: var(--accent); }
.p-fdr-tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  flex-shrink: 0;
}
.p-fdr-tdot-accent {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 25%, var(--surface-2));
}
.p-fdr-ttext {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.p-fdr-ttext-accent { color: var(--text); }

.p-fdr-tline {
  width: 1px;
  margin: 20px auto 0;
  height: calc(100% - 20px);
  background: repeating-linear-gradient(to bottom, var(--border) 0 4px, transparent 4px 8px);
  align-self: stretch;
}
.p-fdr-tline-accent {
  background: repeating-linear-gradient(to bottom, var(--accent) 0 4px, transparent 4px 8px);
  opacity: 0.5;
}

/* Mobile: tline horizontal */
@media (max-width: 860px) {
  .p-fdr-tline {
    width: 100%;
    height: 1px;
    margin: 16px 0;
    background: repeating-linear-gradient(to right, var(--border) 0 4px, transparent 4px 8px);
  }
  .p-fdr-tline-accent {
    background: repeating-linear-gradient(to right, var(--accent) 0 4px, transparent 4px 8px);
  }
  .p-fdr-tnode { flex-direction: row; align-items: center; gap: 12px; }
  .p-fdr-tdot  { flex-shrink: 0; }
}

.p-fdr-convictions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 860px) {
  .p-fdr-convictions { grid-template-columns: 1fr; }
}

.p-fdr-conviction {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-fdr-conv-k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.p-fdr-conv-v {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.p-fdr-roadmap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-fdr-rrow {
  display: flex;
  gap: 12px;
  font-size: 13px;
}
.p-fdr-q {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  flex-shrink: 0;
  min-width: 64px;
  padding-top: 1px;
}

.p-fdr-ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ── Proof section ───────────────────────────────────────── */
.arch-flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  gap: 0;
  align-items: center;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
@media (max-width: 900px) {
  .arch-flow {
    grid-template-columns: 1fr;
    padding: 20px 24px;
    gap: 16px;
  }
}

.arch-zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arch-zone-out { align-items: flex-start; }
.arch-zone-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.arch-logo-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
}
@media (max-width: 900px) {
  .arch-connector { flex-direction: row; padding: 0; }
}
.arch-conn-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
}

.arch-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 120px;
}
.arch-core-mark { color: var(--accent); }
.arch-core-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.arch-core-pills {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.arch-core-pills span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ink);
}

.arch-mark-accent { color: var(--accent); }

.proof-compare-hdr {
  margin-top: 56px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof-compare-hdr h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.proof-compare-hdr .eyebrow { margin-bottom: 0; }

/* ── Waitlist: inline FAQ + founder line ─────────────────── */
.inline-faq {
  max-width: 720px;
  margin: 48px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.waitlist-founder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  justify-content: center;
  flex-wrap: wrap;
}
.wf-sep { color: var(--text-dim); }
.wf-note { color: var(--text-dim); }

/* ── hero-for: also add to hero section border */
.hero { border-bottom: 1px solid var(--border); }


/* ══════════════════════════════════════════════════════════
   USE CASES — simplified sector cards
   ══════════════════════════════════════════════════════════ */

#usecases { border-top: 1px solid var(--border); }

.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}

@media (max-width: 860px) { .uc-grid { grid-template-columns: 1fr; } }

/* ── Card ── */
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform, border-color;
}

.uc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--accent) 4%, transparent) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 550ms ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.uc-card.in {
  border-color: color-mix(in oklab, var(--accent) 26%, var(--border));
  box-shadow: 0 1px 20px color-mix(in oklab, var(--accent) 5%, transparent);
}

.uc-card.in::after { opacity: 1; }

/* ── Card top: icon + sector ── */
.uc-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.uc-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 8%, var(--surface-2));
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 400ms ease, border-color 400ms ease;
}

.uc-card.in .uc-icon-wrap {
  background: color-mix(in oklab, var(--accent) 14%, var(--surface-2));
  border-color: color-mix(in oklab, var(--accent) 35%, var(--border));
}

.uc-icon {
  width: 18px;
  height: 18px;
  color: color-mix(in oklab, var(--accent) 70%, var(--text-muted));
}

.uc-sector-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.uc-sector-focus {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
}

/* ── Flow: signal → variant → outcome ── */
.uc-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 22px 18px 18px;
  position: relative;
  z-index: 1;
}

/* All flow children start hidden */
.uc-flow > * {
  opacity: 0;
  transition: opacity 320ms ease, transform 320ms var(--ease-out);
}

/* Steps get a slide-up too */
.uc-flow > .uc-step { transform: translateY(10px); }

/* Stagger on .in */
.uc-card.in .uc-flow > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 120ms; }
.uc-card.in .uc-flow > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 360ms; }
.uc-card.in .uc-flow > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 410ms; }
.uc-card.in .uc-flow > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 650ms; }
.uc-card.in .uc-flow > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 700ms; transition-timing-function: cubic-bezier(0.34,1.56,0.64,1); }

.uc-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  min-width: 0;
}

.uc-arr {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
  padding-bottom: 16px; /* align with chart top */
}

/* ── Step visuals ── */
.uc-step-vis {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.uc-step-vis svg { width: 100%; max-width: 52px; height: auto; overflow: visible; }

/* Bar chart animation */
.uc-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 420ms var(--ease-out);
}

.uc-card.in .uc-bar:nth-child(1) { transform: scaleY(1); transition-delay: 160ms; }
.uc-card.in .uc-bar:nth-child(2) { transform: scaleY(1); transition-delay: 210ms; }
.uc-card.in .uc-bar:nth-child(3) { transform: scaleY(1); transition-delay: 260ms; }
.uc-card.in .uc-bar:nth-child(4) { transform: scaleY(1); transition-delay: 310ms; }
.uc-card.in .uc-bar:nth-child(5) { transform: scaleY(1); transition-delay: 360ms; }

/* Fintech step-dots */
.uc-dot {
  opacity: 0;
  transition: opacity 350ms ease;
}

.uc-card.in .uc-dot:nth-child(2) { opacity: 1; transition-delay: 200ms; }
.uc-card.in .uc-dot:nth-child(3) { opacity: 1; transition-delay: 310ms; }
.uc-card.in .uc-dot:nth-child(4) { opacity: 1; transition-delay: 420ms; }

/* Retention sparkline draw-in */
.uc-sparkline {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 700ms var(--ease-out) 160ms;
}

.uc-card.in .uc-sparkline { stroke-dashoffset: 0; }

/* Variant tag */
.uc-vtag {
  display: inline-block;
  padding: 5px 10px;
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 32%, var(--border));
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

/* Outcome number */
.uc-outcome-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px color-mix(in oklab, var(--accent) 45%, transparent);
}

/* Step labels */
.uc-step-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.uc-step-val {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

.uc-step-val.warn   { color: var(--warn); }
.uc-step-val.accent { color: var(--accent); }

/* ── Tagline ── */
.uc-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ── Company logo marks ── */
.uc-cos {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.uc-co {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 8px;
  white-space: nowrap;
  transition: color 300ms ease, border-color 300ms ease;
}

.uc-card.in .uc-co {
  color: var(--text-muted);
}

