/* DLMM Bot marketing site — dashboard tokens + cinematic scroll scenes.
   Brand: near-black terminal, IBM Plex Sans display, JetBrains Mono data voice.
   Signal colors mirror the dashboard: green = SOL in/win, blue = deployed,
   red only for losses. Motion is scroll-driven and fully disabled under
   prefers-reduced-motion (every scene renders complete when static). */
:root {
  --bg: #0D0D0D;
  --panel: #141414;
  --panel-2: #101010;
  --grid: #2A2A2A;
  --fg: #FFFFFF;
  --muted: #A3A3A3;
  --dim: #6B6B6B;
  --accent: #1E90FF;
  --sol: #B56BFF;
  --ok: #00FF85;
  --hover: #FF0099;
  --warn: #FFB020;
  --danger: #FF4D6A;
  --cta: #F4F4F5;
  --cta-fg: #0D0D0D;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
  --nav-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .font-display {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: var(--ok); text-decoration: none; }
a:hover { color: var(--hover); }

code, pre { font-family: var(--mono); font-size: 0.9em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.muted { color: var(--muted); }

/* Section eyebrow: mono, uppercase — the terminal labels its own output. */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.eyebrow b { color: var(--ok); font-weight: 500; }

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--grid);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--fg); }
.brand span { color: var(--ok); }
.brand img, .brand svg { display: block; }
.nav-links {
  display: flex;
  gap: 1.15rem;
  margin: 0 auto;
  font-size: 13px;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-actions a.ghost { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav-actions a.ghost:hover { color: var(--fg); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--grid);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}
.btn .arrow { transition: transform 140ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--cta);
  color: var(--cta-fg);
  border-color: var(--cta);
}
.btn-primary:hover { background: var(--ok); border-color: var(--ok); color: var(--cta-fg); }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 12.5px; }
.linkish {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--grid);
  padding-bottom: 2px;
}
.linkish:hover { color: var(--fg); border-color: var(--dim); }

/* —— Reveal system —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 6.5rem 1.25rem 4rem;
  text-align: center;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--grid);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.hero .pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  margin: 1.4rem auto 1rem;
  max-width: 17ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 650;
}
.hero h1 em { font-style: normal; color: var(--ok); }
.hero .lede {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14.5px;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.hero-cta a.ghost { color: var(--muted); font-size: 13px; text-decoration: none; }
.hero-cta a.ghost:hover { color: var(--fg); }

/* Ambient bin-field behind the hero: a faint DLMM ladder skyline. Pure CSS,
   no motion beyond a slow shimmer; sits under everything. */
.binfield {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 4vw;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 85%);
}
.binfield i {
  flex: 1;
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 26%, transparent), transparent);
  border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  height: calc(12% + var(--h) * 1%);
  animation: shimmer 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.45s);
}
@keyframes shimmer { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* —— Dashboard mock (hero) — mirrors Overview: rail + KPIs + equity + activity —— */
.mock-stage { margin: 3.25rem auto 0; max-width: 64rem; }
.mock {
  border: 1px solid var(--grid);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 100px -50px color-mix(in srgb, var(--sol) 22%, transparent),
    0 0 80px -40px color-mix(in srgb, var(--accent) 18%, transparent);
  text-align: left;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid var(--grid);
  background: var(--bg);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--grid); }
.mock-bar i:first-child { background: var(--danger); opacity: 0.7; }
.mock-bar i:nth-child(2) { background: var(--warn); opacity: 0.7; }
.mock-bar i:nth-child(3) { background: var(--ok); opacity: 0.7; }
.mock-chrome { display: grid; grid-template-columns: 9.5rem 1fr; min-height: 22rem; }
.mock-col { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.mock-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--grid);
}
.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--grid);
  padding: 0.12rem 0.4rem;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-pill b { font-weight: 600; color: inherit; }
.mock-pill-ok { border-color: color-mix(in srgb, var(--ok) 55%, var(--grid)); color: var(--ok); }
.mock-side {
  border-right: 1px solid var(--grid);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.7rem 0.65rem;
  border-bottom: 1px solid var(--grid);
}
.mock-brand img { display: block; }
.mock-brand-name {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--fg);
}
.mock-brand-sub {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-top: 0.1rem;
}
.mock-side nav { padding: 0.35rem 0; flex: 1; }
.mock-side button {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.42rem 0.7rem;
  border-left: 2px solid transparent;
  cursor: default;
}
.mock-side button.on {
  color: var(--ok);
  border-left-color: var(--ok);
  background: color-mix(in srgb, var(--ok) 6%, transparent);
}
.mock-main { padding: 0.65rem 0.7rem 0.75rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.mock-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  border: 1px solid var(--grid);
  background: var(--panel);
  padding: 0.7rem 0.85rem;
}
.mock-kpi { min-width: 0; }
.mock-kpi .lab {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.mock-kpi .val {
  font-size: 1.15rem;
  font-family: var(--font);
  font-weight: 600;
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.mock-kpi .sub { font-size: 10px; color: var(--dim); margin-top: 0.25rem; line-height: 1.3; }
.mock-kpi .val.flash-up { animation: mockFlashUp 600ms ease; }
.mock-kpi .val.flash-down { animation: mockFlashDown 600ms ease; }
@keyframes mockFlashUp {
  0% { text-shadow: 0 0 12px color-mix(in srgb, var(--ok) 50%, transparent); }
  100% { text-shadow: none; }
}
@keyframes mockFlashDown {
  0% { text-shadow: 0 0 12px color-mix(in srgb, var(--danger) 45%, transparent); }
  100% { text-shadow: none; }
}
.mock-panel {
  border: 1px solid var(--grid);
  background: var(--panel);
}
.mock-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid var(--grid);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.mock-range-tabs { display: flex; gap: 0.2rem; }
.mock-range-tabs b {
  font-weight: 500;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--grid);
  color: var(--muted);
}
.mock-range-tabs b.on { background: var(--ok); color: var(--bg); border-color: var(--ok); }
.mock-equity { display: block; width: 100%; height: 7.5rem; padding: 0.35rem 0.4rem 0.2rem; }
.mock-activity { flex: 1; min-height: 0; }
.mock-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px color-mix(in srgb, var(--ok) 60%, transparent);
  animation: mockPulse 2s ease-in-out infinite;
}
@keyframes mockPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.val.ok, .ok { color: var(--ok); }
.val.bad, .bad { color: var(--danger); }
.warn { color: var(--warn); }
.acc { color: var(--accent); }
.mock-feed {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  padding: 0.2rem 0.3rem 0.35rem;
  max-height: 6.25rem;
  overflow: hidden;
}
.mock-row {
  display: flex;
  gap: 0.65rem;
  padding: 0.32rem 0.4rem;
  border-bottom: 1px solid var(--grid);
}
.mock-row:last-child { border-bottom: 0; }
.mock-row .t { color: var(--dim); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mock-row span:nth-child(2) { flex: 1; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row span:last-child { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mock-row.enter-row { animation: rowIn 420ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* —— Generic section spacing —— */
.section { padding: 6rem 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.75rem; }
.section-head p { color: var(--muted); }

/* —— Scene scaffolding (scroll-driven, sticky viewport) —— */
.scene { position: relative; }
.scene-sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
/* Flex children with `margin: 0 auto` shrink-wrap instead of stretching,
   which collapses the pipe grid's 1fr track to 0 — force full width. */
.scene-sticky > .wrap,
.scene-sticky > .ladder-stage,
.scene-sticky > .ladder-head { width: 100%; }

/* —— Pipeline scene —— */
#pipeline .scene { height: 420vh; }
.pipe-grid {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 3.5rem;
  align-items: start;
}
.pipe-rail { display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
.pipe-rail::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: var(--grid);
}
.pipe-stop {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.55rem 0 0.55rem 1.6rem;
  font-size: 13px;
  color: var(--dim);
  transition: color 300ms ease;
}
.pipe-stop::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.95rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grid);
  transition: background 300ms ease, box-shadow 300ms ease;
}
.pipe-stop .k { font-size: 11px; letter-spacing: 0.12em; }
.pipe-stop .n { font-family: var(--font); font-weight: 600; color: inherit; }
.pipe-stop.on { color: var(--fg); }
.pipe-stop.on::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pipe-stop.done { color: var(--muted); }
.pipe-stop.done::before { background: var(--dim); }

.pipe-panels { position: relative; min-height: 24rem; }
.pipe-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pipe-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.pipe-panel h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 0.75rem; }
.pipe-panel > p { max-width: 34rem; color: var(--muted); margin-bottom: 1.5rem; }
.term {
  border: 1px solid var(--grid);
  border-radius: 10px;
  background: var(--panel);
  padding: 1rem 1.15rem;
  font-size: 12.5px;
  line-height: 1.9;
  max-width: 34rem;
  overflow-x: auto;
}
.term .c { color: var(--dim); }
.term .g { color: var(--ok); }
.term .b { color: var(--accent); }
.term .r { color: var(--danger); }
.term .y { color: var(--warn); }

/* —— Ladder scene (signature) —— */
#ladder .scene { height: 380vh; }
.ladder-head { text-align: center; margin-bottom: 2.5rem; }
.ladder-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.ladder-stage {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem;
}
.ladder-viz {
  position: relative;
  height: 15rem;
  border-bottom: 1px solid var(--grid);
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.bin {
  flex: 1;
  height: calc(var(--h) * 1%);
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  border-top: 1px solid var(--accent);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: scaleY(var(--grow, 1));
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
.bin.hit {
  background: linear-gradient(to top, color-mix(in srgb, var(--ok) 55%, transparent), color-mix(in srgb, var(--ok) 16%, transparent));
  border-top-color: var(--ok);
  box-shadow: 0 -6px 24px -10px var(--ok);
}
.price-line {
  position: absolute;
  top: -1.5rem;
  bottom: 0;
  left: calc(var(--x, 100) * 1%);
  width: 1px;
  background: var(--fg);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
  transition: left 120ms linear;
}
.price-line::after {
  content: "price";
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}
.ladder-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.8rem;
  font-size: 12px;
  color: var(--dim);
}
.fee-counter { font-size: 14px; }
.fee-counter b { color: var(--ok); font-weight: 500; font-size: 1.35rem; font-family: var(--font); }
.ladder-beats { position: relative; height: 4.5rem; margin-top: 2rem; text-align: center; }
.beat {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 380ms ease, transform 380ms ease;
  color: var(--muted);
  font-size: 14px;
  max-width: 38rem;
  margin: 0 auto;
}
.beat.on { opacity: 1; transform: none; }
.beat b { color: var(--fg); font-weight: 500; }

/* —— Exit ladder (P0–P5) —— */
.exit-list { display: flex; flex-direction: column; border-top: 1px solid var(--grid); max-width: 56rem; }
.exit-row {
  display: grid;
  grid-template-columns: 5.5rem 11rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--grid);
}
.exit-row .p {
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.08em;
}
.exit-row.danger .p { color: var(--danger); }
.exit-row.warn .p { color: var(--warn); }
.exit-row.win .p { color: var(--ok); }
.exit-row h3 { font-size: 1rem; font-weight: 600; }
.exit-row p { color: var(--muted); font-size: 13px; }
.exit-row .act {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .exit-row { grid-template-columns: 4rem 1fr; }
  .exit-row p { grid-column: 1 / -1; }
  .exit-row .act { display: none; }
}

/* —— Risk grid —— */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
  border-radius: 12px;
  overflow: hidden;
}
.risk {
  background: var(--panel);
  padding: 1.5rem 1.4rem 1.6rem;
}
.risk .tag {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.7rem;
}
.risk h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.risk p { color: var(--muted); font-size: 13px; }
.risk .meter {
  margin-top: 1rem;
  height: 3px;
  border-radius: 2px;
  background: var(--grid);
  overflow: hidden;
}
.risk .meter i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  background: var(--accent);
}
.risk.stop .meter i { background: var(--danger); }
.risk.go .meter i { background: var(--ok); }
@media (max-width: 880px) { .risk-grid { grid-template-columns: 1fr; } }

/* —— Sleeves —— */
.sleeve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sleeve {
  border: 1px solid var(--grid);
  border-radius: 12px;
  background: var(--panel);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.sleeve .name { font-family: var(--font); font-weight: 600; font-size: 1.1rem; }
.sleeve .band-lab {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.sleeve ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.45rem; font-size: 12.5px; color: var(--muted); }
.sleeve li::before { content: "· "; color: var(--dim); }
.sleeve.main { border-color: color-mix(in srgb, var(--ok) 45%, var(--grid)); }
.sleeve.main .name { color: var(--ok); }
@media (max-width: 880px) { .sleeve-grid { grid-template-columns: 1fr; } }

/* —— Features —— */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat {
  border: 1px solid var(--grid);
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
  background: var(--panel);
  transition: border-color 160ms ease, transform 160ms ease;
}
.feat:hover { border-color: var(--dim); transform: translateY(-2px); }
.feat h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feat p { color: var(--muted); font-size: 13px; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }

/* —— Honesty section —— */
.honest {
  border-top: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  background: var(--panel-2);
  text-align: center;
  padding: 5.5rem 1.25rem;
}
.honest h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  max-width: 22ch;
  margin: 0 auto 1.25rem;
}
.honest h2 em { font-style: normal; color: var(--danger); }
.honest p { max-width: 44rem; margin: 0 auto; color: var(--muted); }
.honest .rules {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim);
}
.honest .rules span::before { content: "— "; color: var(--grid); }

/* —— Fee —— */
.fee-section { padding: 3.5rem 0 4.5rem; }
.fee-block {
  margin: 0 auto;
  max-width: 28rem;
  text-align: center;
  border: 1px solid var(--grid);
  background: var(--panel);
  padding: 1.15rem 1.35rem 1.25rem;
}
.fee-block .eyebrow { margin-bottom: 0.55rem; }
.fee-block h2 { font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.3; }
.fee-block p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* —— Agents —— */
.agents-section { padding: 4rem 0 3.5rem; border-top: 1px solid var(--grid); }
.agents-section .section-head { margin-bottom: 1.5rem; }
.agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.agent-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--fg);
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.agent-links a:hover {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--bg);
}
.agent-links a.ghost {
  background: transparent;
  border-color: var(--grid);
  color: var(--fg);
}
.agent-links a.ghost:hover {
  border-color: var(--ok);
  color: var(--ok);
  background: transparent;
}
.agent-prompt {
  margin: 0;
  max-width: 40rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--grid);
  background: var(--panel);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* —— CTA band —— */
.band {
  text-align: center;
  padding: 6.5rem 1.25rem;
}
.band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.band > p { color: var(--muted); margin-bottom: 1.6rem; }

/* —— Footer —— */
.site-footer { border-top: 1px solid var(--grid); padding: 2rem 0 2.5rem; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--fg); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--grid);
  border-radius: 6px;
  color: var(--muted);
  transition: color 140ms ease, border-color 140ms ease;
}
.footer-social a:hover { color: var(--fg); border-color: var(--dim); }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 1rem; }
}

/* —— Small screens: scenes shorten, grids stack —— */
@media (max-width: 720px) {
  .mock-chrome { grid-template-columns: 1fr; }
  .mock-side { border-right: 0; border-bottom: 1px solid var(--grid); }
  .mock-brand { display: none; }
  .mock-side nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 0.25rem 0.35rem;
  }
  .mock-side button { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; width: auto; }
  .mock-side button.on { border-bottom-color: var(--ok); border-left-color: transparent; }
  .mock-hero { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .mock-kpi .val { font-size: 1rem; }
  .mock-equity { height: 5.5rem; }
  #pipeline .scene { height: 340vh; }
  #ladder .scene { height: 300vh; }
  .pipe-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pipe-rail { flex-direction: row; flex-wrap: wrap; gap: 0.15rem 1rem; }
  .pipe-rail::before { display: none; }
  .pipe-stop { padding-left: 1rem; }
  .pipe-stop::before { top: 0.9rem; left: 0; }
  .pipe-stop .n { display: none; }
  .pipe-panels { min-height: 22rem; }
  .section { padding: 4rem 0; }
}

/* —— Reduced motion: everything lands rendered, nothing moves —— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .binfield i, .hero .pill .dot { animation: none; }
  .scene { height: auto !important; }
  .scene-sticky { position: static; height: auto; }
  .pipe-panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 2.5rem;
  }
  .pipe-stop { color: var(--muted); }
  .beat { position: static; opacity: 1; transform: none; margin-bottom: 0.75rem; }
  .ladder-beats { height: auto; }
  .bin { transform: none; }
  .mock-row.enter-row { animation: none; }
}

/* Visible keyboard focus, brand-colored. */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ok);
  outline-offset: 3px;
  border-radius: 4px;
}
