/* ──────────────────────────────────────────────────────────────
   Platypus Engine — v2
   warm cinematic dark · motion-forward · luxury developer brand
   ────────────────────────────────────────────────────────────── */

:root {
  /* DARK · canonical · portfolio palette */
  --bg:          #0A0A0B;
  --bg-elev:     #111114;
  --bg-panel:    #15151A;
  --bg-card:     #1C1C22;
  --bg-glass:    rgba(28, 28, 34, 0.6);
  --bg-deep:     #050506;

  --ink:         #FAFAFA;
  --ink-2:       #B3B3BA;
  --ink-3:       #6A6A73;
  --ink-4:       #3F3F47;

  --rule:        #1A1A1F;
  --rule-2:      #26262D;
  --rule-3:      #3F3F47;

  /* signature chartreuse #b5fa67 */
  --accent:      #B5FA67;
  --accent-2:    #C8FF8B;
  --accent-soft: #8FCD4F;
  --accent-deep: #6A9B2F;
  --accent-ink:  #0A0A0B;
  --accent-glow: rgba(181, 250, 103, 0.32);
  --accent-dim:  rgba(181, 250, 103, 0.12);
  --accent-line: rgba(181, 250, 103, 0.30);

  --warm:        #FF9F4A;
  --warm-2:      #FFC18A;
  --warm-deep:   #A55224;
  --warm-glow:   rgba(255, 159, 74, 0.30);

  --cool:        #7DA3DC;
  --cool-soft:   #4A7AB2;

  --ok:          #B5FA67;
  --warn:        #FFB224;

  --f-display: "Geist", -apple-system, "Segoe UI", sans-serif;
  --f-body:    "Geist", -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, monospace;

  --gutter:    clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 11vw, 168px);
  --content-w: 1240px;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 20px;

  --ease:   cubic-bezier(.2,.7,.2,1);
  --ease-2: cubic-bezier(.65,0,.35,1);
  --t-fast: 180ms;
  --t-med:  360ms;
  --t-slow: 720ms;

  color-scheme: dark;
}

html[data-theme="light"] {
  --bg:          #FAFAFA;
  --bg-elev:     #FFFFFF;
  --bg-panel:    #F3F3F5;
  --bg-card:     #EDEDF0;
  --bg-glass:    rgba(255, 255, 255, 0.65);
  --bg-deep:     #0A0A0B;

  --ink:         #0A0A0B;
  --ink-2:       #4B4B52;
  --ink-3:       #8A8A92;
  --ink-4:       #BFBFC5;

  --rule:        #EFEFF2;
  --rule-2:      #E4E4E9;
  --rule-3:      #C7C7CD;

  /* darker chartreuse for AA contrast on light surfaces */
  --accent:      #4D7C0F;
  --accent-2:    #6BA31A;
  --accent-soft: #8FCD4F;
  --accent-deep: #355615;
  --accent-ink:  #FAFAFA;
  --accent-glow: rgba(77, 124, 15, 0.22);
  --accent-dim:  rgba(77, 124, 15, 0.08);
  --accent-line: rgba(77, 124, 15, 0.30);

  --warm:        #C2570A;
  --warm-2:      #E07820;
  --warm-deep:   #6A3015;
  --warm-glow:   rgba(194, 87, 10, 0.22);

  --cool:        #3E5A7A;
  --cool-soft:   #5C7E9C;

  --ok:          #4D7C0F;

  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* custom cursor — desktop only · chartreuse dot + lagging ring */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 240ms var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-on { opacity: 1; }
.cursor__dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1.2px solid var(--accent);
  transform: translate3d(-50%, -50%, 0);
  transition: width 240ms var(--ease), height 240ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
  will-change: transform, width, height;
}
.cursor.is-hover .cursor__ring {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-color: var(--accent);
}
.cursor.is-press .cursor__ring {
  width: 22px; height: 22px;
  background: var(--accent);
  opacity: 0.6;
}
@media (pointer: fine) {
  html.has-cursor,
  html.has-cursor body,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor [role="button"],
  html.has-cursor summary,
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor select,
  html.has-cursor label {
    cursor: none;
  }
}

/* ambient cursor spotlight — light follows pointer in hero */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 55%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 800ms var(--ease);
  filter: blur(28px);
  will-change: transform, opacity;
}
.spotlight.is-on { opacity: 1; }
html[data-theme="light"] .spotlight { mix-blend-mode: multiply; opacity: 0; }
html[data-theme="light"] .spotlight.is-on { opacity: 0.6; }

::selection { background: var(--accent); color: #0A0907; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 99; }

.mono { font-family: var(--f-mono); font-size: 0.84em; letter-spacing: 0.01em; }

main, header.chrome, footer.foot { position: relative; z-index: 2; }

/* universal content centering — every section's inner content caps at --content-w */
.chrome__inner,
.hero__grid,
.marquee__label,
.section__head,
.section__body,
.section > .h-display,
.section > .cap-bento,
.section > .arch,
.section > .stack-table,
.section > .code-grid,
.section > .bench,
.section > .story,
.section > .pricing,
.section > .pricing__note,
.section > .roadmap,
.section > .invest,
.section > .team,
.section > .faq,
.section--quote > .pull-quote,
.preview__intro,
.preview__frame,
.cta,
.foot__inner {
  max-width: var(--content-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ─────────── TOP CHROME ─────────── */
.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.chrome__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.012em;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink, #0A0A0B);
  transition: transform 280ms var(--ease);
}
.brand__mark svg {
  display: block;
  width: 18px;
  height: 18px;
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 6px 20px -4px var(--accent-glow);
}
.brand__word { white-space: nowrap; }
.brand__tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  padding-left: 10px;
  border-left: 1px solid var(--rule-2);
  margin-left: 4px;
  font-weight: 600;
}

.chrome__nav {
  display: flex;
  gap: 2px;
  padding: 4px;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(250,250,250,0.04);
}
.chrome__nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  letter-spacing: -0.005em;
}
.chrome__nav a:hover {
  color: var(--ink);
  background: var(--bg-card);
}
.chrome__nav a.is-active {
  color: var(--accent);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--accent-dim);
}

.chrome__actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }

/* single-icon theme toggle · clean square w/ rounded corners */
.theme-toggle {
  appearance: none;
  position: relative;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-2);
  padding: 0;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  overflow: hidden;
}
.theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--ink-2);
  color: var(--ink);
}
.theme-toggle svg {
  position: absolute;
  width: 16px; height: 16px;
  transition: transform 360ms var(--ease-2), opacity 240ms var(--ease);
}
/* dark mode (default): show moon, hide sun */
.theme-toggle .tt-sun  { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.theme-toggle .tt-moon { opacity: 1; transform: rotate(0deg)  scale(1); }
/* light mode: show sun, hide moon */
html[data-theme="light"] .theme-toggle .tt-sun  { opacity: 1; transform: rotate(0deg)  scale(1); }
html[data-theme="light"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 250ms var(--ease),
              border-color 200ms var(--ease), color 200ms var(--ease),
              filter 250ms var(--ease);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--rule-2);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink-2);
  background: var(--bg-card);
  transform: translateY(-1px);
}
.btn--solid,
.btn--mint {
  background: var(--accent);
  color: var(--accent-ink, var(--bg));
  border-color: var(--accent);
}
.btn--solid:hover,
.btn--mint:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn--solid:active,
.btn--mint:active { transform: translateY(0); filter: brightness(1); }
.btn--lg { padding: 14px 28px; font-size: 12px; }
.btn--block { display: flex; width: 100%; padding: 15px 22px; }

/* marquee ticker */
.chrome__ticker {
  border-top: 1px solid var(--rule);
  background: var(--bg-elev);
  overflow: hidden;
  height: 28px;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--ink-3);
  animation: ticker 60s linear infinite;
}
.ticker__track span { flex: 0 0 auto; padding-right: 40px; }
.tick-dot {
  color: var(--accent);
  font-weight: normal;
  font-size: 8px;
  vertical-align: middle;
  letter-spacing: 0;
  text-shadow: 0 0 6px var(--accent-glow);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(96px, 11vw, 160px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
}
.hero > .hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, var(--accent-glow) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, color-mix(in oklab, var(--cool) 30%, transparent) 0%, transparent 60%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--rule-2) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 30%, transparent 100%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.hero > .hero__grid { position: relative; z-index: 2; }

.hero__grid {
  display: grid;
  grid-template-columns: 200px 1.1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.meta-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.4;
  border-bottom: 1px dashed var(--rule);
  position: relative;
  transition: padding-left 240ms var(--ease);
}
.meta-block:last-child { border-bottom: none; }
.meta-block:hover { padding-left: 4px; }
.meta-block:hover .meta-block__k { color: var(--accent); }
.meta-block__k {
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 200ms var(--ease);
}
.meta-block__v {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__lede { grid-column: span 1; max-width: 56ch; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 24px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.eyebrow__num {
  color: var(--accent);
  font-weight: 500;
  background: none;
  padding: 0;
  box-shadow: none;
}

.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.h-display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
  color: var(--ink);
}
.h-display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.narrow { max-width: 26ch; }

.hero__sub {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* hero chips — replace the bullets list */
.hero__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--bg-elev);
  border: 1px solid var(--rule-2);
  border-radius: 999px;
}
.chip__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: chip-pulse 1.8s ease-in-out infinite;
}
.chip:nth-child(2) .chip__dot { animation-delay: 0.4s; }
.chip:nth-child(3) .chip__dot { animation-delay: 0.8s; }
@keyframes chip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* ─────────── PROBLEM · before/after comparison ─────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 32px;
}
.compare__col {
  background: var(--bg-card);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.compare__col--bad {
  background:
    linear-gradient(180deg, rgba(222,120,24,0.04) 0%, var(--bg-card) 100%);
}
.compare__col--good {
  background:
    linear-gradient(180deg, rgba(51,193,158,0.05) 0%, var(--bg-card) 100%);
  border-color: var(--accent-glow);
}
.compare__col header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.compare__tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--warm);
  text-transform: uppercase;
}
.compare__tag.good { color: var(--accent); }
.compare__time {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
  color: var(--warm);
  letter-spacing: -0.02em;
}
.compare__time.good { color: var(--accent); }
.compare__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare__steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.compare__t {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.02em;
}
.compare__bar {
  grid-column: 2;
  height: 10px;
  width: var(--w, 30%);
  background: var(--bg-card);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* base fill colour layer */
.compare__bar.bad  { background: linear-gradient(90deg, var(--warm-deep) 0%, var(--warm) 100%); }
.compare__bar.good { background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent) 100%); }

/* travelling sheen — blends with bar color via overlay */
.compare__bar::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -50%;
  width: 50%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.55) 50%,
    transparent 100%);
  border-radius: inherit;
  mix-blend-mode: overlay;
  animation: bar-sweep 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes bar-sweep {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* a leading pulse pip at the right edge of each bar */
.compare__bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translate(50%, -50%);
  animation: bar-tip 1.6s ease-in-out infinite;
  pointer-events: none;
}
.compare__bar.bad::after  { background: var(--warm-2); box-shadow: 0 0 10px rgba(255,159,74,0.7); }
.compare__bar.good::after { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-glow); }
@keyframes bar-tip {
  0%, 100% { transform: translate(50%, -50%) scale(0.5); opacity: 0.5; }
  50%      { transform: translate(50%, -50%) scale(1.1); opacity: 1; }
}

/* stagger each row so the bars feel asynchronous */
.compare__steps li:nth-child(1) .compare__bar::before,
.compare__steps li:nth-child(1) .compare__bar::after { animation-delay: 0s; }
.compare__steps li:nth-child(2) .compare__bar::before { animation-delay: 0.25s; }
.compare__steps li:nth-child(2) .compare__bar::after  { animation-delay: 0.15s; }
.compare__steps li:nth-child(3) .compare__bar::before { animation-delay: 0.50s; }
.compare__steps li:nth-child(3) .compare__bar::after  { animation-delay: 0.30s; }
.compare__steps li:nth-child(4) .compare__bar::before { animation-delay: 0.75s; }
.compare__steps li:nth-child(4) .compare__bar::after  { animation-delay: 0.45s; }
.compare__steps li:nth-child(5) .compare__bar::before { animation-delay: 1.00s; }
.compare__steps li:nth-child(5) .compare__bar::after  { animation-delay: 0.60s; }
.compare__steps li:nth-child(6) .compare__bar::before { animation-delay: 1.25s; }
.compare__steps li:nth-child(6) .compare__bar::after  { animation-delay: 0.75s; }
.compare__col--bad  .compare__bar:nth-child(2) { animation-delay: 0.0s; }
.compare__col--bad  .compare__bar:nth-child(3) { animation-delay: 0.1s; }
.compare__col--bad  .compare__bar:nth-child(4) { animation-delay: 0.2s; }
.compare__col--bad  .compare__bar:nth-child(5) { animation-delay: 0.3s; }
.compare__col--bad  .compare__bar:nth-child(6) { animation-delay: 0.4s; }
.compare__col--bad  .compare__bar:nth-child(7) { animation-delay: 0.5s; }
.compare__col--good .compare__bar:nth-child(2) { animation-delay: 0.0s; }
.compare__col--good .compare__bar:nth-child(3) { animation-delay: 0.1s; }
.compare__col--good .compare__bar:nth-child(4) { animation-delay: 0.2s; }
.compare__col--good .compare__bar:nth-child(5) { animation-delay: 0.3s; }
.compare__steps li {
  position: relative;
}
.compare__steps li::after {
  content: "";
  display: block;
}
.compare__lbl {
  grid-column: 2;
  margin-top: -8px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.compare__steps li { grid-template-columns: 50px 1fr; grid-template-rows: auto auto; align-items: start; }
.compare__t { grid-row: span 2; align-self: center; }
@keyframes bar-grow {
  from { transform: scaleX(0); transform-origin: left; opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.compare__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent-glow));
  animation: arrow-pulse 1.8s ease-in-out infinite;
}
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0);    opacity: 0.7; }
  50%      { transform: translateX(6px);  opacity: 1; }
}

/* ─────────── TIMELINE (use case) ─────────── */
.timeline {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 76px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-3) 8%, var(--rule-3) 92%, transparent);
  z-index: 0;
}
.timeline::after {
  content: "";
  position: absolute;
  top: 73px;
  left: 5%;
  width: 80px;
  height: 7px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: tl-flow 6.4s infinite;
  z-index: 1;
}
/* slow-fast-slow-fast wave across the timeline */
@keyframes tl-flow {
  0%   { transform: translateX(0);                            animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  22%  { transform: translateX(calc((100vw - 200px) * 0.15)); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  45%  { transform: translateX(calc((100vw - 200px) * 0.42)); animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  70%  { transform: translateX(calc((100vw - 200px) * 0.68)); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { transform: translateX(calc(100vw - 200px)); }
}
.tl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  position: relative;
  z-index: 2;
}
.tl__time {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-align: center;
}
.tl__icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid var(--rule-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 6px;
  color: var(--accent);
  transition: all var(--t-med) var(--ease);
  position: relative;
}
.tl__icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: tl-pulse 2.5s ease-out infinite;
}
.tl:nth-child(1) .tl__icon::before { animation-delay: 0s; }
.tl:nth-child(2) .tl__icon::before { animation-delay: 0.6s; }
.tl:nth-child(3) .tl__icon::before { animation-delay: 1.2s; }
.tl:nth-child(4) .tl__icon::before { animation-delay: 1.8s; }
@keyframes tl-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.6); }
}
.tl__icon svg { width: 22px; height: 22px; }
.tl:hover .tl__icon {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.tl h4 {
  margin: 4px 0 4px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.012em;
  text-align: center;
  color: var(--ink);
}
.tl p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.5;
  max-width: 28ch;
  margin-inline: auto;
}

.hero__terminal { position: relative; }
.terminal {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(244,236,216,0.05),
    0 1px 0 var(--rule),
    0 40px 80px -32px rgba(0,0,0,0.55),
    0 12px 32px -12px rgba(0,0,0,0.35),
    0 0 0 1px var(--rule);
  position: relative;
  transition: transform var(--t-slow) var(--ease);
}
.terminal::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--rule-3) 0%, transparent 40%, transparent 60%, var(--accent-glow) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: rgba(244,236,216,0.03);
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.terminal__dot {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 999px;
  background: var(--rule-3);
}
.terminal__dot[data-color="r"] { background: #E5484D; box-shadow: 0 0 8px rgba(229,72,77,0.4); }
.terminal__dot[data-color="y"] { background: #FFB224; box-shadow: 0 0 8px rgba(255,178,36,0.4); }
.terminal__dot[data-color="g"] { background: #46A758; box-shadow: 0 0 8px rgba(70,167,88,0.4); }
.terminal__title { margin-left: 12px; }
.terminal__body {
  margin: 0;
  padding: 20px 20px 24px;
  min-height: 300px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal__body .tw-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: cursor 0.9s steps(1) infinite;
  margin-left: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}
@keyframes cursor { 50% { opacity: 0; } }
.tw-prompt { color: var(--accent); font-weight: 600; }
.tw-ok     { color: var(--ok); }
.tw-dim    { color: var(--ink-3); }

.hero__numerals {
  position: absolute;
  right: -16px;
  top: -64px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(96px, 11vw, 180px);
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-3);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  opacity: 0.5;
}

/* ─────────── MARQUEE OF INTEGRATIONS · slim full-bleed strip ─────────── */
.marquee {
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, color-mix(in oklab, var(--accent) 6%, var(--bg-elev)) 0%, var(--bg-elev) 70%),
    var(--bg-elev);
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rule-2), transparent);
  pointer-events: none;
}
.marquee__label {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

/* status dot — pulse-ring from portfolio */
.status-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.status-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes pulse-ring {
  0%        { transform: scale(0.6); opacity: 0.55; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

.marquee__row {
  display: flex;
  overflow: hidden;
  width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 0;
  align-items: center;
  flex-shrink: 0;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee__item {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  white-space: nowrap;
  padding: 0 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  transition: color 200ms var(--ease), opacity 200ms var(--ease);
  opacity: 0.85;
  line-height: 1;
  cursor: default;
}
.marquee__item:hover {
  opacity: 1;
  color: var(--ink);
}
/* small chartreuse dot separator BEFORE each item · pulsing */
.marquee__item::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  flex-shrink: 0;
  animation: marquee-dot 2.4s ease-in-out infinite;
  transform-origin: center;
}
.marquee__item:nth-child(2n)::before { animation-delay: 0.3s; }
.marquee__item:nth-child(3n)::before { animation-delay: 0.6s; }
.marquee__item:nth-child(4n)::before { animation-delay: 0.9s; }
.marquee__item:nth-child(5n)::before { animation-delay: 1.2s; }
.marquee__item:nth-child(7n)::before { animation-delay: 1.5s; }
@keyframes marquee-dot {
  0%, 100% { transform: scale(1);   opacity: 1; box-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent); }
  50%      { transform: scale(0.5); opacity: 0.45; box-shadow: 0 0 4px var(--accent-glow); }
}
.marquee__item:hover::before {
  transform: scale(1.4);
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-glow), 0 0 6px var(--accent-2);
  animation-play-state: paused;
}

/* ─────────── SECTIONS ─────────── */
.section {
  padding: var(--section-y) var(--gutter);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.section__num {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: var(--accent);
}
.section__kicker {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.section__kicker::before {
  content: "/ ";
  color: var(--ink-3);
  margin-right: 4px;
}
.section__rule {
  flex: 1;
  height: 1px;
  background: var(--rule-2);
  min-width: 40px;
  margin-left: 8px;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 80px); }
.prose p { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--accent); font-style: italic; }

/* ─────────── PULL QUOTE ─────────── */
.section--quote {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  position: relative;
  overflow: hidden;
}
.section--quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.25;
  pointer-events: none;
}
.section--quote > * { position: relative; }
.pull-quote {
  margin: 0;
  text-align: center;
  max-width: 68ch;
  margin-inline: auto;
  padding: 24px 0 0;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.014em;
}
.pull-quote blockquote::before {
  content: "“";
  display: block;
  font-size: 112px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 0 32px var(--accent-glow);
}
.pull-quote figcaption { margin-top: 28px; color: var(--ink-3); }

/* ─────────── PRODUCT PREVIEW (NEW) ─────────── */
.preview {
  padding: var(--section-y) var(--gutter);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  position: relative;
  overflow: hidden;
}
.preview__intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 56px;
}
.preview__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 18px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  background: var(--bg-glass);
}
.preview__lede {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.preview__sub { color: var(--ink-2); font-size: 16px; }
.preview__frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  background: var(--bg-panel);
  border: 1px solid var(--rule-2);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(244,236,216,0.05),
    0 60px 120px -40px rgba(0,0,0,0.6),
    0 20px 48px -20px rgba(0,0,0,0.4),
    0 0 0 1px var(--rule);
  position: relative;
}
.preview__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 80%, color-mix(in oklab, var(--bg) 85%, transparent) 100%);
}
.preview__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.preview__bar .terminal__dot { width: 10px; height: 10px; }
.preview__bar .url {
  flex: 1;
  text-align: center;
  background: var(--bg);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  max-width: 320px;
  margin: 0 auto;
}
.preview__app {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: 480px;
}
.preview__sidebar {
  border-right: 1px solid var(--rule);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 12px;
}
.preview__sidebar h5 {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 16px 0 8px;
}
.preview__sidebar h5:first-child { margin-top: 0; }
.preview__sidebar a {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t-fast) var(--ease);
}
.preview__sidebar a:hover { background: var(--bg); color: var(--ink); }
.preview__sidebar a.is-active {
  background: linear-gradient(90deg, var(--accent-glow) 0%, transparent 100%);
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 8px;
}
.preview__sidebar .ind {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(123,198,138,0.5);
}
.preview__sidebar .ind.warn { background: var(--warn); box-shadow: 0 0 8px rgba(255,178,36,0.5); }

.preview__canvas {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(244,236,216,0.02) 0%, transparent 70%),
    var(--bg);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}
.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 15px;
  background: var(--bg-panel);
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 11px;
  min-width: 144px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.55), inset 0 1px 0 rgba(250,250,250,0.03);
  animation: float 6s ease-in-out infinite;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  cursor: default;
}
.node:hover {
  border-color: var(--accent);
  z-index: 5;
  transform: scale(1.04);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.node__type { color: var(--ink-3); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.node__name { color: var(--ink); font-weight: 500; }
.node__time { color: var(--accent); font-size: 10px; font-weight: 500; }
.node--accent {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-panel) 0%, color-mix(in oklab, var(--accent) 8%, var(--bg-panel)) 100%);
  box-shadow:
    0 0 0 1px var(--accent-glow),
    0 0 24px var(--accent-glow),
    0 8px 24px -4px rgba(0,0,0,0.5);
}
/* pulsing ring on the active span */
.node--accent::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r) + 2px);
  border: 1px solid var(--accent);
  opacity: 0.6;
  animation: node-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes node-pulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 0; }
}
.node--cool { border-color: var(--cool); }
.node--cool .node__time { color: var(--cool); }

.node-1 { left: 8%;  top: 14%; animation-delay: 0s; }
.node-2 { left: 36%; top: 8%;  animation-delay: 1s; }
.node-3 { left: 64%; top: 20%; animation-delay: 2s; }
.node-4 { left: 16%; top: 56%; animation-delay: 1.5s; }
.node-5 { left: 44%; top: 60%; animation-delay: 0.5s; }
.node-6 { left: 68%; top: 70%; animation-delay: 2.5s; }

.edges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;            /* BEHIND nodes — paths slip behind the boxes */
}
.edges path {
  stroke: var(--rule-3);
  stroke-width: 1.4;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.1 3;
  opacity: 0.55;
}
.edges path.pulse {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 3 4;
  opacity: 1;
  animation: dash 1.2s linear infinite;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
@keyframes dash { to { stroke-dashoffset: -14; } }
.node { z-index: 2; }     /* explicit above the SVG */

/* live status badge atop the canvas */
.preview__canvas::before {
  content: "● LIVE · STREAMING";
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  z-index: 2;
  padding: 5px 10px;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-glow);
  border-radius: 999px;
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}
.preview__canvas::after {
  content: "p99 412ms · 23 nodes · 1,847 spans";
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 5px 10px;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  z-index: 2;
}

.preview__detail {
  border-left: 1px solid var(--rule);
  padding: 20px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg-elev);
  overflow: auto;
}
.preview__detail h5 {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.preview__detail .kv { display: grid; grid-template-columns: 80px 1fr; gap: 4px 12px; margin-bottom: 16px; }
.preview__detail .kv span:first-child { color: var(--ink-3); }
.preview__detail .kv span:last-child { color: var(--ink); }
.preview__detail .json {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: pre;
  overflow-x: auto;
}
.preview__detail .json .k { color: var(--cool); }
.preview__detail .json .s { color: var(--ok); }
.preview__detail .json .n { color: var(--accent); }

/* ─────────── CAPABILITIES — BENTO ─────────── */
.cap-bento {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}
.cap {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    background var(--t-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
/* mouse-tracking radial glow */
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    var(--accent-glow) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
  z-index: -1;
}
/* animated mint border that traces the perimeter on hover */
.cap::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity var(--t-fast) var(--ease);
  pointer-events: none;
}
.cap:hover {
  transform: translateY(-6px);
  border-color: var(--rule-3);
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in oklab, var(--accent) 4%, var(--bg-card)) 100%);
}
.cap:hover::before { opacity: 0.7; }
.cap:hover::after { opacity: 1; animation: cap-sweep 1.4s var(--ease-2) infinite; }
@keyframes cap-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.cap:hover h3 { color: var(--accent); }
.cap:hover .cap__num { transform: rotate(-4deg) scale(1.05); color: var(--accent); }

/* ─── ALWAYS-ON visualizations inside cap cards ─── */
.cap__viz {
  position: relative;
  height: 96px;
  margin: -8px -8px 14px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(51,193,158,0.04) 0%, transparent 100%),
    var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}
.cap__stat {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.cap__stat-big {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.cap__stat-big span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* viz · reset bars (continuously animating) */
.cap__bars { display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.cap__bars span {
  flex: 1;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.85;
  animation: bar-bounce 1.6s ease-in-out infinite;
  transform-origin: bottom;
}
.cap__bars span:nth-child(1)  { animation-delay: 0s;    height: 50%; }
.cap__bars span:nth-child(2)  { animation-delay: .08s;  height: 70%; }
.cap__bars span:nth-child(3)  { animation-delay: .16s;  height: 40%; }
.cap__bars span:nth-child(4)  { animation-delay: .24s;  height: 85%; }
.cap__bars span:nth-child(5)  { animation-delay: .32s;  height: 60%; }
.cap__bars span:nth-child(6)  { animation-delay: .40s;  height: 95%; }
.cap__bars span:nth-child(7)  { animation-delay: .48s;  height: 55%; }
.cap__bars span:nth-child(8)  { animation-delay: .56s;  height: 78%; }
.cap__bars span:nth-child(9)  { animation-delay: .64s;  height: 45%; }
.cap__bars span:nth-child(10) { animation-delay: .72s;  height: 90%; }
.cap__bars span:nth-child(11) { animation-delay: .80s;  height: 65%; }
.cap__bars span:nth-child(12) { animation-delay: .88s;  height: 50%; }
@keyframes bar-bounce {
  0%, 100% { transform: scaleY(0.4); opacity: 0.45; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* viz · before/after code */
.cap__viz--code { padding: 10px 14px; height: 96px; flex-direction: row; gap: 10px; }
.cap__codeline {
  flex: 1;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--ink-3);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.cap__codeline--after { border-color: var(--accent-glow); }
.cap__codeline--after::before {
  content: "after";
  position: absolute;
  top: 4px; right: 6px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.cap__codeline:not(.cap__codeline--after)::before {
  content: "before";
  position: absolute;
  top: 4px; right: 6px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.ct-c { color: var(--ink-4); font-style: italic; }
.ct-k { color: var(--accent); }
.ct-s { color: var(--ok); }
.ct-f { color: var(--ink); }
.ct-d { color: var(--accent-2); }
.ct-x { color: var(--warm); font-weight: 700; }

/* viz · trace tree — preserveAspectRatio keeps circles circular */
.cap__viz--tree {
  padding: 6px 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.treeviz {
  width: 100%;
  height: 100%;
  display: block;
}
.treeviz path {
  stroke: var(--rule-3);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
}
.treeviz circle {
  fill: var(--bg-card);
  stroke: var(--ink-3);
  stroke-width: 1.2;
  transition: all 200ms ease;
}
.treeviz circle.t-on {
  fill: var(--accent);
  stroke: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent-glow));
  animation: tree-pulse 2.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.treeviz circle.t-on:nth-of-type(2) { animation-delay: 0.4s; }
@keyframes tree-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}

/* viz · sine wave */
.cap__viz--wave { padding: 0; height: 96px; align-items: flex-end; }
.waveviz { width: 100%; height: 60%; }
.waveviz path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.wv1 { stroke: var(--accent); opacity: 0.9; stroke-dasharray: 4 4; animation: wave 3s linear infinite; }
.wv2 { stroke: var(--accent); opacity: 0.4; stroke-dasharray: 4 4; animation: wave 3s linear infinite reverse; }
@keyframes wave { to { stroke-dashoffset: -32; } }
.cap__viz--wave .cap__stat { padding: 12px 14px 0; color: var(--accent); }

/* viz · OTLP routes (HTML labels + CSS dot animation, no stretched SVG text) */
.cap__viz--otlp {
  padding: 14px 18px;
  height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.otlp-row {
  display: grid;
  grid-template-columns: 50px 1fr 60px;
  align-items: center;
  gap: 10px;
}
.otlp-end {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.otlp-row .otlp-to {
  color: var(--accent);
  text-align: right;
}
.otlp-track {
  position: relative;
  display: block;
  height: 1px;
  background-image: linear-gradient(90deg, var(--rule-3) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  overflow: visible;
}
.otlp-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow), 0 0 2px var(--accent);
  transform: translate(-50%, -50%);
  animation: otlp-travel 2.4s linear infinite;
}
@keyframes otlp-travel {
  0%   { left: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* viz · memory meter */
.cap__viz--mem { padding: 14px 18px; height: 96px; justify-content: center; gap: 10px; }
.cap__meter {
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.cap__meter-fill {
  display: block;
  height: 100%;
  width: 58%;
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent) 50%, var(--accent-2) 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent-glow);
  position: relative;
  animation: mem-shimmer 3s ease-in-out infinite;
}
.cap__meter-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  animation: mem-sheen 2.4s linear infinite;
}
@keyframes mem-shimmer {
  0%, 100% { width: 55%; }
  50%      { width: 62%; }
}
@keyframes mem-sheen {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.cap__meter-lbl { font-size: 11px; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.cap__meter-lbl b { color: var(--accent); font-weight: 600; font-size: 14px; }
.cap__meter-lbl .dim { color: var(--ink-3); }
.cap--wide .cap__viz { height: 110px; }
.cap:nth-child(1) { grid-column: span 3; }
.cap:nth-child(2) { grid-column: span 3; }
.cap:nth-child(3) { grid-column: span 2; }
.cap:nth-child(4) { grid-column: span 2; }
.cap:nth-child(5) { grid-column: span 2; }
.cap:nth-child(6) { grid-column: span 6; min-height: 200px; }

.cap__head { display: flex; align-items: baseline; gap: 14px; }
.cap__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}
.cap h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.cap__num {
  transition: transform var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.cap p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}
.cap__foot {
  margin-top: auto;
  color: var(--ink-3);
  font-size: 11px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-2);
}
.hl {
  background: var(--hl, var(--accent-glow));
  padding: 1px 5px;
  color: var(--ink);
  font-weight: 500;
  border-radius: 2px;
}

/* ─────────── ARCHITECTURE ─────────── */
.arch {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.layers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-panel);
  position: relative;
  isolation: isolate;
}

/* steady rail BEHIND the badges */
.layers::before {
  content: "";
  position: absolute;
  left: 50px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--rule-3) 8%,
    var(--rule-3) 92%,
    transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* mint comet — travels the full rail with organic speed variation */
.layers::after {
  content: "";
  position: absolute;
  left: 49px;
  top: 0;
  width: 3px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%);
  box-shadow: 0 0 18px var(--accent-glow), 0 0 6px var(--accent);
  z-index: 0;
  animation: rail-flow 6s infinite;
  pointer-events: none;
}
/* slow-fast-slow-fast wave through the rail */
@keyframes rail-flow {
  0%   { top: -72px;  opacity: 0; animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  8%   { top: 4%;     opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  30%  { top: 18%;                animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  50%  { top: 50%;                animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  72%  { top: 70%;                animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  92%  { top: 92%;    opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.8); }
  100% { top: 100%;   opacity: 0; }
}

.layer {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 28px;
  border-bottom: 1px solid var(--rule);
  transition: background var(--t-med) var(--ease), padding-left var(--t-med) var(--ease);
  position: relative;
  z-index: 1;
}
.layer:last-child { border-bottom: none; }
.layer::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--t-med) var(--ease);
}
.layer:hover { background: var(--bg-card); padding-left: 36px; }
.layer:hover::after { transform: scaleY(1); }
.layer:hover .layer__idx {
  border-color: var(--accent);
  color: #050505;
  background: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-dim),
    0 0 24px var(--accent-glow);
}

.layer__idx {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--bg);
  width: 44px; height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;          /* anchors badge consistently */
  border: 1.5px solid var(--rule-3);
  position: relative;
  z-index: 3;
  transition: all var(--t-med) var(--ease);
}
/* idle pulse ring on each badge */
.layer__idx::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: idx-pulse 3s ease-out infinite;
}
.layer:nth-child(1) .layer__idx::before { animation-delay: 0s; }
.layer:nth-child(2) .layer__idx::before { animation-delay: 0.6s; }
.layer:nth-child(3) .layer__idx::before { animation-delay: 1.2s; }
.layer:nth-child(4) .layer__idx::before { animation-delay: 1.8s; }
@keyframes idx-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.layer__body h3 {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.012em;
}
.layer__body p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 46ch; }
.layer__tag {
  font-size: 10.5px;
  color: var(--ink-3);
  border: 1px solid var(--rule-2);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--bg);
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.layer:hover .layer__tag { color: var(--accent); border-color: var(--accent-glow); }

/* ─────────── STACK TABLE ─────────── */
.stack-table {
  border-top: 1px solid var(--rule-3);
  border-bottom: 1px solid var(--rule-3);
  display: flex;
  flex-direction: column;
}
.stack-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 3fr;
  gap: 24px;
  padding: 24px 12px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background var(--t-fast) var(--ease);
}
.stack-row:hover { background: var(--bg-elev); }
.stack-row:last-child { border-bottom: none; }
.stack-row--head {
  background: transparent !important;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 12px;
}
.stack-row strong {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.stack-row span[role="cell"]:nth-child(3) { color: var(--ink-2); font-size: 14.5px; }

/* ─────────── CODE ─────────── */
.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.code-copy { grid-column: span 2; max-width: 64ch; }
.code-block {
  background: var(--bg-panel);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px -32px rgba(0,0,0,0.5), 0 0 0 1px var(--rule);
  position: relative;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
/* steady gradient sweep along the top border */
.code-block::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 30%,
    var(--accent-2) 50%,
    var(--accent) 70%,
    transparent 100%);
  background-size: 200% 100%;
  opacity: 0.85;
  animation: code-sweep 4s linear infinite;
  pointer-events: none;
}
@keyframes code-sweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
/* live "REC" dot in the bar — beats slowly */
.code-block::after {
  content: "";
  position: absolute;
  top: 17px; right: 22px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: rec-pulse 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
.code-block:hover {
  border-color: var(--rule-3);
  transform: translateY(-2px);
}
.code-block__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
}
.code-block__tag {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0A0907;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  font-weight: 600;
}
.code-block__body {
  margin: 0;
  padding: 22px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  overflow-x: auto;
}
.t-c { color: var(--ink-3); font-style: italic; }
.t-k { color: var(--accent); font-weight: 500; }
.t-s { color: var(--ok); }
.t-f { color: var(--ink); }
.t-t { color: var(--cool); }
.t-d { color: var(--accent-2); }
.t-p { color: var(--accent); font-weight: 700; }
.t-g { color: var(--ok); font-weight: 600; }

/* ─────────── BENCHMARKS ─────────── */
.section--dark {
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, color-mix(in oklab, var(--accent) 20%, transparent) 0%, transparent 70%),
    var(--bg-deep);
  color: var(--ink);
  border-bottom: 1px solid var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,236,216,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.section--dark > * { position: relative; z-index: 1; }
.section--dark .section__kicker { color: var(--ink-3); }

.bench {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bench__item {
  padding: 36px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.bench__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.bench__item:hover {
  transform: translateY(-4px);
  border-color: var(--rule-3);
  background: var(--bg-card);
}
.bench__item:hover::before { opacity: 1; }
.bench__big {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.032em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.bench__unit {
  font-family: var(--f-mono);
  font-size: 0.32em;
  color: var(--accent);
  margin-left: 6px;
  vertical-align: middle;
  font-style: normal;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.bench__lbl {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 28ch;
  line-height: 1.55;
}

/* ─────────── STORY ─────────── */
.story {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 72px);
}
.story__head { position: sticky; top: 130px; align-self: start; }
.story__head .mono { display: block; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0.14em; }
.story__steps { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule-2); }
.story__steps li { padding: 6px 0 28px 32px; position: relative; }
.story__steps li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 13px;
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 12px var(--accent-glow);
}
.story__time { display: block; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.story__steps p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 60ch; line-height: 1.6; }

/* ─────────── PRICING ─────────── */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 32px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--rule-3);
}
.plan--feature {
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep) 100%);
  border-color: var(--rule-3);
  color: var(--ink);
}
.plan--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,236,216,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.plan--feature > * { position: relative; z-index: 1; }
.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.018em;
}
.plan h3 .mono { color: var(--ink-3); font-size: 15px; }
.plan__badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.plan__badge--feature {
  color: var(--accent-2);
  display: inline-block;
  padding: 4px 10px;
  background: rgba(232,155,94,0.12);
  border: 1px solid var(--accent-glow);
  border-radius: 999px;
  width: fit-content;
}
.plan__price {
  margin: 0;
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.plan--feature .plan__price {
  color: transparent;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 60%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.plan__price small {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  font-weight: 600;
  -webkit-text-fill-color: var(--ink-3);
}
.plan__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.plan__list li { padding-left: 22px; position: relative; color: var(--ink-2); }
.plan__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 1px;
}
.plan__foot { color: var(--ink-3); font-size: 11px; text-align: center; font-family: var(--f-mono); letter-spacing: 0.06em; }
.pricing__note {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-3);
  max-width: 64ch;
  margin-inline: auto;
  font-size: 12px;
  line-height: 1.7;
  font-family: var(--f-mono);
}

/* ─────────── ROADMAP ─────────── */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rm {
  padding: 28px 24px 32px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), background 360ms var(--ease);
}
.rm:hover {
  transform: translateY(-6px);
  border-color: var(--rule-3);
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in oklab, var(--accent) 4%, var(--bg-card)) 100%);
}
.rm:hover h3 { color: var(--accent); }
.rm__q {
  color: var(--ink-3);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* status dot before the quarter label */
.rm__q::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--ink-4);
  flex-shrink: 0;
}
.rm--done .rm__q::before { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.rm--now  .rm__q::before {
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: rm-pulse 2s ease-out infinite;
}
@keyframes rm-pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow), 0 0 6px var(--accent-glow); }
  100% { box-shadow: 0 0 0 10px rgba(181,250,103,0), 0 0 6px var(--accent-glow); }
}
.rm h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.012em;
  transition: color 200ms var(--ease);
}
.rm p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.rm__status {
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink-3);
  font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}
.rm--done .rm__status { color: var(--ok); }
.rm--now .rm__status { color: var(--accent); }
.rm--now {
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in oklab, var(--accent) 6%, var(--bg-card)) 100%);
  border-color: var(--accent-line);
}
/* moving gradient bar on the "now" card */
.rm--now::before {
  content: "";
  position: absolute;
  left: -30%; top: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: rm-flow 2.6s linear infinite;
}
@keyframes rm-flow {
  0%   { left: -60%; }
  100% { left: 100%; }
}

/* ─────────── INVESTORS ─────────── */
.section--invest {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  position: relative;
}
.invest { display: flex; flex-direction: column; gap: 48px; }
.invest__lede { max-width: 72ch; }
.invest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.invest__card {
  padding: 32px 28px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), background 360ms var(--ease);
  position: relative;
  overflow: hidden;
}
/* persistent corner crosshair */
.invest__card::before {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--ink-4);
  border-right: 1px solid var(--ink-4);
  transition: border-color 240ms var(--ease);
}
/* radial hover glow */
.invest__card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 360ms var(--ease);
  pointer-events: none;
}
.invest__card:hover {
  transform: translateY(-6px);
  border-color: var(--rule-3);
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in oklab, var(--accent) 4%, var(--bg-card)) 100%);
}
.invest__card:hover::before { border-color: var(--accent); }
.invest__card:hover::after { opacity: 0.14; }
.invest__card > * { position: relative; z-index: 1; }

/* highlight the ASK card (5th = the $2.0M) with a slow border pulse */
.invest__card:nth-child(5) {
  border-color: var(--accent-line);
}
.invest__card:nth-child(5)::before {
  border-color: var(--accent);
  animation: ask-pulse 2.6s ease-in-out infinite;
}
@keyframes ask-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.invest__card .invest__big {
  transition: letter-spacing 320ms var(--ease);
}
.invest__card:hover .invest__big { letter-spacing: -0.025em; }
.invest__card .mono { color: var(--ink-3); letter-spacing: 0.14em; font-size: 11px; }
.invest__big {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1;
  margin: 8px 0;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.035em;
}
.invest__card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.invest__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule-2);
}
.invest__cta .mono { color: var(--ink-3); }

/* ─────────── TEAM ─────────── */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.member {
  padding: 28px 24px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), background 360ms var(--ease);
  position: relative;
  overflow: hidden;
}
.member header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* status dot on filled / hiring */
.member header::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}
/* hollow pulsing for hiring */
.member--hiring header::after,
.member:nth-child(n+2) header::after {
  background: transparent;
  border: 1.5px solid var(--accent);
  box-shadow: none;
  animation: member-pulse 2.4s ease-in-out infinite;
}
@keyframes member-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.78); }
}
/* dashed border on hiring cards */
.member:nth-child(n+2) {
  border-style: dashed;
  border-color: var(--rule-3);
}
/* animated corner accent that rotates on hover */
.member::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}
.member:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  border-style: solid;
  background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in oklab, var(--accent) 4%, var(--bg-card)) 100%);
}
.member:hover::before { opacity: 0.18; }
.member:hover h3 { color: var(--accent); }
.member h3 { transition: color 200ms var(--ease); }
.member header .mono { color: var(--ink-3); letter-spacing: 0.12em; font-size: 10.5px; }
.member h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.012em;
}
.member p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

/* ─────────── FAQ ─────────── */
.faq {
  border-top: 1px solid var(--rule-2);
  max-width: 90ch;
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 12px 26px;
  transition: background var(--t-fast) var(--ease);
}
.faq details:hover { background: var(--bg-elev); }
.faq details[open] { background: var(--bg-elev); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  position: relative;
  padding-right: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 0;
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; max-width: 72ch; line-height: 1.6; }

/* ─────────── CTA ─────────── */
.section--cta {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, color-mix(in oklab, var(--accent) 40%, transparent) 0%, transparent 60%),
    var(--bg-deep);
  color: var(--ink);
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,236,216,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask: linear-gradient(180deg, transparent, #000 30%, #000);
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000);
}
.section--cta > * { position: relative; z-index: 1; }
.cta { max-width: 72ch; margin: 0 auto; }
.section--cta .eyebrow { color: var(--ink-3); justify-content: center; display: inline-flex; }
.cta__h { color: var(--ink); margin-bottom: 36px; }
.cta__h .mono { color: var(--accent-2); font-size: 0.55em; }
.cta__cmd {
  display: inline-block;
  text-align: left;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  margin: 0 auto 32px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(244,236,216,0.04), 0 20px 48px -16px rgba(0,0,0,0.4);
}
.cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CTA panel stays dark in light mode → re-pin inner text to light tones */
html[data-theme="light"] .section--cta {
  color: #FAFAFA;
}
html[data-theme="light"] .section--cta .cta__h,
html[data-theme="light"] .section--cta .cta__cmd {
  color: #FAFAFA;
}
html[data-theme="light"] .section--cta .cta__h .mono { color: #C8FF8B; }
html[data-theme="light"] .section--cta .eyebrow,
html[data-theme="light"] .section--cta .eyebrow__num { color: #B3B3BA; }
html[data-theme="light"] .section--cta .cta__cmd {
  background: rgba(28, 28, 34, 0.6);
  border-color: rgba(250, 250, 250, 0.12);
}
html[data-theme="light"] .section--cta .cta__cmd .t-p { color: #B5FA67; }
html[data-theme="light"] .section--cta .btn--ghost {
  color: #FAFAFA;
  border-color: rgba(250, 250, 250, 0.2);
}
html[data-theme="light"] .section--cta .btn--ghost:hover {
  border-color: rgba(250, 250, 250, 0.5);
  background: rgba(250, 250, 250, 0.06);
}

/* ─────────── FOOTER ─────────── */
.foot {
  background: var(--bg-elev);
  border-top: 1px solid var(--rule);
  padding: 64px var(--gutter) 36px;
}
.foot__inner { display: grid; grid-template-columns: 1.2fr 3fr; gap: 64px; }
.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
}
.foot__brand .brand__mark { width: 26px; height: 26px; }
.foot__tag { margin: 0; font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--ink-3); max-width: 32ch; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot__cols h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot__cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.foot__cols a:hover { color: var(--accent); transform: translateX(2px); }
.foot__bottom {
  grid-column: span 2;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-3);
  font-size: 11px;
  font-family: var(--f-mono);
}

/* ─────────── REVEAL ANIMATIONS ─────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker__track, .marquee__track { animation: none !important; }
}

/* ─────────── RESPONSIVE — mobile-first hardening ─────────── */

/* large desktop: 1440px+ — content stays readable, no overstretching */
@media (min-width: 1440px) {
  .hero__grid { max-width: 1400px; }
  .preview__frame { max-width: 1200px; }
}

/* tablet landscape · 1140px and below */
@media (max-width: 1140px) {
  :root { --section-y: clamp(64px, 9vw, 120px); }
  .chrome__nav { gap: 1px; padding: 3px; font-size: 12px; }
  .chrome__nav a { padding: 6px 10px; }

  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__meta {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-3);
    padding-top: 12px;
  }
  .hero__meta .meta-block { border-bottom: 1px solid var(--rule); padding: 10px 14px 10px 0; }
  .hero__numerals { font-size: 110px; top: -50px; }

  .cap-bento { grid-template-columns: repeat(4, 1fr); }
  .cap:nth-child(1), .cap:nth-child(2) { grid-column: span 2; }
  .cap:nth-child(3), .cap:nth-child(4), .cap:nth-child(5) { grid-column: span 2; }
  .cap:nth-child(6), .cap--wide { grid-column: span 4; }

  .arch { grid-template-columns: 1fr; }
  .invest__grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .bench { grid-template-columns: repeat(2, 1fr); }

  .preview__app { grid-template-columns: 200px 1fr; }
  .preview__detail { display: none; }
}

@media (max-width: 1140px) {
  .compare { grid-template-columns: 1fr; gap: 16px; }
  .compare__arrow { transform: rotate(90deg); margin: -8px auto; width: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .timeline::before, .timeline::after { display: none; }
}

/* tablet portrait · 960px */
@media (max-width: 960px) {
  .chrome__nav { display: none; }
  .brand__tag { display: none; }
  .section__head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 36px; }
  .section__rule { display: none; }
  .section__num { font-size: clamp(56px, 12vw, 88px); }

  .hero { padding: 56px var(--gutter) 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
    grid-column: 1;
    order: -1;
    margin-bottom: 8px;
  }
  .hero__numerals { display: none; }
  .hero__terminal { order: 3; }

  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .code-grid { grid-template-columns: 1fr; }
  .code-copy { grid-column: 1; }
  .pricing { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__head { position: static; }

  .preview__app { grid-template-columns: 1fr; min-height: auto; }
  .preview__sidebar { display: none; }
  .preview__canvas { min-height: 380px; }

  .stack-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 12px; }
  .stack-row--head { display: none; }

  .foot__inner { grid-template-columns: 1fr; gap: 36px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .foot__bottom { grid-column: 1; }

  .spotlight { display: none; }
}

/* mobile · 640px */
@media (max-width: 640px) {
  :root {
    --gutter: clamp(16px, 5vw, 24px);
    --section-y: clamp(48px, 10vw, 88px);
  }
  .chrome__inner { grid-template-columns: 1fr auto; padding: 12px var(--gutter); }
  .chrome__actions .btn--ghost { display: none; }
  .brand { font-size: 17px; }
  .brand__mark { width: 26px; height: 26px; }
  .chrome__ticker { display: none; }

  .hero { padding: 40px var(--gutter) 72px; }
  .display { font-size: clamp(36px, 9vw, 50px); line-height: 1.02; }
  .h-display { font-size: clamp(24px, 6vw, 32px); }
  .hero__sub { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; width: 100%; }
  .hero__meta { grid-template-columns: 1fr; }
  .meta-block { padding: 8px 0; }
  .terminal__body { font-size: 12px; min-height: 240px; padding: 16px; }

  .marquee { padding: 18px 0 22px; }
  .marquee__label { font-size: 9.5px; margin-bottom: 12px; }
  .marquee__item { font-size: 13px; gap: 14px; padding-right: 14px; }
  .marquee__item::before { width: 3px; height: 3px; }
  .marquee__track { animation-duration: 38s; }

  .preview { padding: 56px var(--gutter); }
  .preview__lede { font-size: 26px; }
  .preview__canvas { min-height: 320px; background-size: 24px 24px; }
  .node { min-width: 110px; font-size: 10px; padding: 8px 11px; }
  .node-1 { left: 4%; top: 8%; }
  .node-2 { left: 38%; top: 4%; }
  .node-3 { left: 64%; top: 12%; }
  .node-4 { left: 8%; top: 52%; }
  .node-5 { left: 40%; top: 60%; }
  .node-6 { left: 68%; top: 72%; }

  .cap-bento { grid-template-columns: 1fr; }
  .cap, .cap--wide { grid-column: span 1 !important; }
  .cap { padding: 24px; }
  .cap__viz { height: 88px; }
  .cap__viz--code { flex-direction: column; height: auto; }
  .cap__viz--code .cap__codeline { font-size: 9px; }

  .layer { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 20px; }
  .layer__tag { display: none; }
  .layers::before, .layers::after { left: 44px; }

  .bench { grid-template-columns: 1fr; gap: 12px; }
  .bench__big { font-size: 36px; }

  .invest__grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .plan__price { font-size: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .compare__col { padding: 20px; }

  .pull-quote blockquote { font-size: 22px; }
  .pull-quote blockquote::before { font-size: 80px; margin-bottom: 12px; }

  .foot__cols { grid-template-columns: 1fr; }
  .foot { padding: 40px var(--gutter) 28px; }

  .faq summary { font-size: 17px; padding-right: 28px; }
  .section--cta .cta__cmd { font-size: 12px; padding: 16px 18px; }
}

/* very small · 380px */
@media (max-width: 380px) {
  .display { font-size: 32px; }
  .hero__terminal .terminal__title { display: none; }
  .preview__bar .url { max-width: 200px; font-size: 10px; }
}
