:root {
  --bg: #0a0b14;
  --bg-soft: #0f111c;
  --surface: #141726;
  --surface-2: #1a1e30;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --fg: #eaecf5;
  --fg-muted: #9aa1b8;
  --fg-dim: #6b718f;
  --indigo: #4aa6e6;
  --indigo-deep: #118ad5;
  --violet: #6cb8ef;
  --teal: #2dd4bf;
  --amber: #fbbf24;
  --green: #34d399;
  --red: #f87171;
  /* brand blues sampled from the logo */
  --brand: #118ad5;
  --brand-deep: #0c72bf;
  --brand-light: #4aa6e6;
  --radius: 16px;
  --maxw: 1180px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  font-synthesis: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(17,138,213,0.35); }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Ambient background glows */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 75% -10%, rgba(17,138,213,0.16), transparent 60%),
    radial-gradient(50rem 40rem at 10% 10%, rgba(45,212,191,0.10), transparent 55%),
    radial-gradient(60rem 50rem at 50% 110%, rgba(74,166,230,0.10), transparent 60%);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,11,20,0.66);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand .logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--fg-muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-light));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(17,138,213,0.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(17,138,213,0.85); }
.btn-ghost { background: rgba(255,255,255,0.05); border-color: var(--border); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-strong); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(17,138,213,0.10); border: 1px solid rgba(17,138,213,0.25);
  color: var(--indigo); font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
h1 {
  font-size: clamp(38px, 6vw, 72px); line-height: 1.04; font-weight: 900;
  letter-spacing: -0.035em; margin: 0 auto 15px; max-width: 14ch;
  /* padding-bottom: with background-clip:text the gradient only paints inside
     the box, so descenders (the g in "agents") get clipped without it */
  padding-bottom: 0.1em;
  background: linear-gradient(180deg, #fff 30%, #b9bfdd);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h1 .accent {
  background: linear-gradient(120deg, var(--indigo), var(--teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--fg-muted); max-width: 60ch; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.micro { font-size: 13.5px; color: var(--fg-dim); }
.micro strong { color: var(--fg-muted); font-weight: 600; }

/* ---------- Board ---------- */
.board-section { padding: 28px 0 30px; }
.board-frame {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.board-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.board-topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.traffic { display: flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.traffic i:nth-child(1){ background:#ff5f57; } .traffic i:nth-child(2){ background:#febc2e; } .traffic i:nth-child(3){ background:#28c840; }
.board-title { font-size: 13.5px; color: var(--fg-muted); font-weight: 500; display: flex; align-items: center; }
.board-title b { color: var(--fg); font-weight: 600; }
.board-logo { width: 14px; height: 14px; margin-right: 7px; opacity: 0.9; }
.board-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--teal); font-weight: 600; }
.board-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse 1.8s infinite; }

.columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; height: 480px; }
.col { border-right: 1px solid var(--border); padding: 14px 12px; display: flex; flex-direction: column; }
.col:last-child { border-right: none; }
.col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); }
.col-head .ico { width: 8px; height: 8px; border-radius: 2px; }
.col[data-col="todo"]    .ico { background: #6b7280; }
.col[data-col="progress"].col .ico, .col[data-col="progress"] .ico { background: var(--indigo); }
.col[data-col="review"]  .ico { background: var(--teal); }
.col[data-col="qa"]      .ico { background: var(--amber); }
.col[data-col="merged"]  .ico { background: var(--green); }
.col-count { margin-left: auto; color: var(--fg-dim); font-weight: 600; font-size: 11px; }
.col-body { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 11px; padding: 11px 12px; cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); will-change: transform;
  position: relative; z-index: 1; /* so an in-transit card rides above the column dividers */
}
.card .key { font-size: 11px; color: var(--indigo); font-weight: 600; letter-spacing: 0.02em; }
.card .title { font-size: 13px; font-weight: 500; color: var(--fg); margin: 4px 0 9px; line-height: 1.35; }
.card .meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px; letter-spacing: 0.02em; }
.tag.pr-High { background: rgba(248,113,113,0.14); color: #fca5a5; }
.tag.pr-Med  { background: rgba(251,191,36,0.14); color: #fcd34d; }
.tag.pr-Low  { background: rgba(148,163,184,0.14); color: #cbd5e1; }
.tag.cx { background: rgba(255,255,255,0.06); color: var(--fg-muted); }
.tag.ui { background: rgba(45,212,191,0.14); color: #5eead4; }

.agent-row { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--border); }
.agent-row .spin { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(17,138,213,0.3); border-top-color: var(--indigo); animation: spin .8s linear infinite; }
.agent-row .role { font-size: 10.5px; font-weight: 600; color: var(--fg-muted); }
.agent-row .check { color: var(--green); font-weight: 700; font-size: 12px; }
.budget { margin-top: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.07); overflow: hidden; }
.budget i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--indigo)); border-radius: 3px; transition: width .6s ease; }

@media (max-width: 860px) {
  .columns { grid-template-columns: repeat(5, minmax(158px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .col { scroll-snap-align: start; }
}

/* ---------- Generic section ---------- */
section.block { padding: 84px 0; }
.section-tag { color: var(--indigo); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.lead { color: var(--fg-muted); font-size: clamp(16px, 2vw, 19px); max-width: 64ch; }
.center { text-align: center; } .center .lead { margin: 0 auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step .n { font-size: 12px; font-weight: 700; color: var(--indigo); font-family: 'JetBrains Mono', monospace; }
.step .step-ic { width: 62px; height: 62px; object-fit: contain; display: block; margin: 6px 0 14px; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.38)); }
[data-theme="light"] .step .step-ic { filter: drop-shadow(0 10px 18px rgba(40,44,80,0.20)); }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--fg-muted); }
.step .arrow { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--border-strong); font-size: 18px; z-index: 2; }
.step:last-child .arrow { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step .arrow { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Insight */
.insight { background: linear-gradient(135deg, rgba(17,138,213,0.10), rgba(45,212,191,0.06)); border: 1px solid var(--border); border-radius: 24px; padding: 56px clamp(24px,5vw,64px); text-align: center; }
.insight .big { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.22; max-width: 22ch; margin: 0 auto 22px; }
.insight .big em { font-style: normal; background: linear-gradient(120deg, var(--indigo), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; max-width: 720px; margin: 36px auto 0; }
.vs .card-vs { background: rgba(10,11,20,0.5); border: 1px solid var(--border); border-radius: 14px; padding: 22px; text-align: left; }
.vs .card-vs .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); font-weight: 700; margin-bottom: 10px; }
.vs .card-vs .unit { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.vs .card-vs.old .unit { color: var(--fg-muted); }
.vs .card-vs.new .unit { color: var(--teal); }
.vs .card-vs p { font-size: 13.5px; color: var(--fg-muted); }
.vs .midarrow { font-size: 26px; color: var(--indigo); }
@media (max-width: 620px){ .vs { grid-template-columns: 1fr; } .vs .midarrow { transform: rotate(90deg); } }

/* ---------- Combined demo: chat morphs into the board ---------- */
.demo-stage { position: relative; height: 480px; }
.stage { position: absolute; inset: 0; transition: opacity .55s ease; }
.stage-chat {
  padding: 20px clamp(16px,3vw,30px);
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
  overflow: hidden;
}
.stage-board { opacity: 0; pointer-events: none; }
.stage-board .columns { height: 100%; }
.demo-stage.to-board .stage-chat { opacity: 0; pointer-events: none; }
.demo-stage.to-board .stage-board { opacity: 1; pointer-events: auto; }

.msg { max-width: 76%; width: fit-content; padding: 7px 13px 8px; border-radius: 13px; font-size: 14px; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.msg.show { opacity: 1; transform: none; }
.msg .who { font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; margin: 0 0 1px; opacity: .55; }
.msg.user { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--fg); border-bottom-right-radius: 4px; }
.msg.user .who { color: var(--indigo); }
.msg.pm { align-self: flex-start; background: rgba(17,138,213,0.09); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
[data-theme="light"] .msg.pm { background: rgba(17,138,213,0.07); }
.msg.pm .who { color: var(--teal); }
.msg code { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: rgba(255,255,255,0.07); padding: 1px 5px; border-radius: 4px; }
[data-theme="light"] .msg code { background: rgba(17,20,38,0.06); }
.plan-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.plan-chip { display: flex; align-items: center; gap: 8px; background: rgba(10,11,20,0.35); border: 1px solid var(--border); border-radius: 8px; padding: 6px 9px; }
[data-theme="light"] .plan-chip { background: rgba(255,255,255,0.6); }
.plan-chip .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--indigo); font-weight: 600; white-space: nowrap; }
.plan-chip .ti { font-size: 11.5px; color: var(--fg-muted); line-height: 1.3; }
@media (max-width: 760px){
  .demo-stage { height: 520px; }
}
@media (max-width: 600px){
  .demo-stage { height: 560px; }
  .stage-chat { justify-content: flex-start; gap: 8px; }
  .msg { max-width: 92%; font-size: 13.5px; }
  .plan-chip .ti { font-size: 11px; }
  /* Topbar: title truncates instead of wrapping into the live badge */
  .board-topbar { gap: 10px; padding: 12px 14px; }
  .board-title {
    display: block; flex: 1; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: 12.5px;
  }
  .board-title .board-logo { display: inline-block; vertical-align: -2px; }
  .board-live { flex-shrink: 0; white-space: nowrap; }
}

/* Proof stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stat .num { font-size: clamp(34px, 4.5vw, 50px); font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(120deg,#fff,var(--indigo)); -webkit-background-clip: text; background-clip:text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: 13.5px; color: var(--fg-muted); margin-top: 6px; }
@media (max-width: 820px){ .stats { grid-template-columns: repeat(2,1fr); } }

.proof-quote { margin-top: 46px; text-align: center; }
.proof-quote blockquote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.02em; max-width: 24ch; margin: 0 auto; line-height: 1.3; }
.proof-quote blockquote span { background: linear-gradient(120deg, var(--indigo), var(--teal)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.proof-quote .cite { margin-top: 14px; font-size: 14px; color: var(--fg-dim); }

/* ---------- Economics / analytics panel ---------- */
.ana-frame {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; position: relative; margin-top: 48px;
}
.ana-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.ana-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.ana-left { padding: 26px clamp(20px,3vw,34px); border-right: 1px solid var(--border); }
.ana-right { padding: 26px clamp(20px,3vw,34px); }

/* top stat tiles */
.ana-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.ana-tile { background: rgba(10,11,20,0.4); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; }
[data-theme="light"] .ana-tile { background: rgba(255,255,255,0.6); }
.ana-tile .v { font-size: clamp(22px,3vw,30px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  background: linear-gradient(120deg,#fff,var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="light"] .ana-tile .v { background: linear-gradient(120deg,#161a2b,var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ana-tile .k { font-size: 11.5px; color: var(--fg-muted); margin-top: 7px; line-height: 1.35; }

/* spend-by-stage bars */
.ana-sub { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 16px; }
.spend-bar { margin-bottom: 15px; }
.spend-bar .row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.spend-bar .role { font-size: 13px; font-weight: 600; color: var(--fg); }
.spend-bar .amt { font-size: 12.5px; color: var(--fg-muted); font-family: 'JetBrains Mono', monospace; }
.spend-bar .track { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
[data-theme="light"] .spend-bar .track { background: rgba(17,20,38,0.06); }
.spend-bar .track i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.1s cubic-bezier(.22,.61,.36,1); }
.reveal.in .spend-bar .track i { width: var(--w); }
.spend-bar.impl  .track i { background: linear-gradient(90deg, var(--indigo-deep), var(--indigo)); }
.spend-bar.rev   .track i { background: linear-gradient(90deg, var(--teal), var(--indigo)); }
.spend-bar.qa-b  .track i { background: linear-gradient(90deg, var(--amber), #f59e0b); }

/* daily-spend sparkline */
.spark { display: flex; align-items: flex-end; gap: 5px; height: 96px; margin-top: 6px; }
.spark b { flex: 1; border-radius: 4px 4px 2px 2px; height: 0; min-height: 3px;
  background: linear-gradient(180deg, var(--teal), rgba(45,212,191,0.25));
  transition: height .9s cubic-bezier(.22,.61,.36,1); }
.reveal.in .spark b { height: var(--h); }
.spark-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--fg-dim); margin-top: 9px; }
.ana-foot { font-size: 11.5px; color: var(--fg-dim); margin-top: 22px; }
.ana-foot strong { color: var(--fg-muted); font-weight: 600; }
@media (max-width: 760px) {
  .ana-grid { grid-template-columns: 1fr; }
  .ana-left { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 460px) {
  .ana-tiles { grid-template-columns: 1fr; }
}

/* Trust grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feat .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(17,138,213,0.12); border: 1px solid rgba(17,138,213,0.2); }
.feat .ic svg { width: 22px; height: 22px; stroke: var(--indigo); fill: none; }
.feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.feat p { font-size: 14px; color: var(--fg-muted); }
@media (max-width: 820px){ .grid3 { grid-template-columns: 1fr; } }

/* ---------- Comparison strip ---------- */
.cmp-wrap { margin-top: 44px; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 540px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp tr:last-child td { border-bottom: none; }
.cmp thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--fg-dim); background: rgba(255,255,255,0.02); }
[data-theme="light"] .cmp thead th { background: rgba(17,20,38,0.02); }
.cmp thead th.c { text-align: center; }
.cmp thead th.az { color: var(--fg); }
.cmp thead th.az .azmark { color: var(--teal); }
.cmp td.feat-name { font-size: 14.5px; color: var(--fg); font-weight: 500; }
.cmp td.c { text-align: center; width: 24%; font-size: 18px; }
.cmp .az { background: rgba(45,212,191,0.06); }
[data-theme="light"] .cmp .az { background: rgba(13,148,136,0.07); }
.cmp .yes { color: var(--teal); font-weight: 800; }
.cmp .no { color: var(--fg-dim); font-weight: 700; opacity: .7; }
.cmp-note { margin-top: 16px; font-size: 13px; color: var(--fg-dim); text-align: center; }
.cmp-note strong { color: var(--fg-muted); font-weight: 600; }
@media (max-width: 600px) {
  .cmp { min-width: 460px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .cmp td.feat-name { font-size: 13px; }
  .cmp td.c { font-size: 16px; width: 21%; }
  .cmp thead th { font-size: 11.5px; }
}

/* Who */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.who .card-w { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.who .card-w.is { border-color: rgba(45,212,191,0.25); }
.who .card-w h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.who .card-w li { list-style: none; font-size: 14.5px; color: var(--fg-muted); padding: 7px 0 7px 26px; position: relative; }
.who .card-w.is li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.who .card-w.later li::before { content: '→'; position: absolute; left: 0; color: var(--fg-dim); }
@media (max-width: 700px){ .who { grid-template-columns: 1fr; } }

/* Shipped marquee (inline changelog) */
.ship { padding: 76px 0 8px; }
.ship .head { margin-bottom: 32px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll-x 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.ship-card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; white-space: nowrap; }
.ship-card .k { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--indigo); font-weight: 600; }
.ship-card .ti { font-size: 13.5px; color: var(--fg-muted); }
.ship-card .ok { color: var(--green); font-weight: 800; font-size: 13px; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, rgba(17,138,213,0.16), rgba(74,166,230,0.08)); border: 1px solid var(--border-strong); border-radius: 28px; padding: 64px clamp(24px,6vw,72px); }
.cta h2 { max-width: 18ch; margin: 0 auto 16px; }
.cta .lead { margin: 0 auto 30px; }

/* Post-submit success card (replaces the form in place) */
.form-success { display: flex; flex-direction: column; align-items: center; gap: 5px; animation: success-in .5s cubic-bezier(.22,.61,.36,1) both; }
.form-success .ic {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--teal), var(--brand-light));
  box-shadow: 0 12px 32px -10px rgba(45,212,191,0.55);
  animation: success-pop .55s cubic-bezier(.34,1.56,.64,1) both .12s;
}
.form-success .t { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.form-success .d { font-size: 14.5px; color: var(--fg-muted); }
.form-success .d strong { color: var(--fg); font-weight: 600; }
@keyframes success-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes success-pop { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-dim); font-size: 13.5px; }
.foot .brand { font-size: 16px; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 9px; }
.foot-logo { height: 24px; width: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Small-screen polish ---------- */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 32px; letter-spacing: -0.02em; max-width: 100%; }
  .hero { padding: 58px 0 30px; }
  .sub { font-size: 16px; }
  .brand { font-size: 17px; }
  .brand .logo { width: 26px; height: 26px; }
  .nav .btn-primary { padding: 9px 13px; font-size: 13.5px; }
  section.block { padding: 60px 0; }
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
  --bg: #f6f7fb; --bg-soft: #eceef6; --surface: #ffffff; --surface-2: #f3f5fb;
  --border: rgba(17,20,38,0.10); --border-strong: rgba(17,20,38,0.16);
  --fg: #161a2b; --fg-muted: #4d5570; --fg-dim: #878da6;
  --indigo: #1184d4; --indigo-deep: #0c72bf; --violet: #2f93d6; --teal: #0d9488;
  --amber: #b45309; --green: #059669; --red: #dc2626;
  --shadow: 0 24px 60px -28px rgba(40,44,80,0.30);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(60rem 40rem at 75% -10%, rgba(17,138,213,0.10), transparent 60%),
    radial-gradient(50rem 40rem at 10% 10%, rgba(13,148,136,0.08), transparent 55%),
    radial-gradient(60rem 50rem at 50% 110%, rgba(17,138,213,0.07), transparent 60%);
}
[data-theme="light"] header { background: rgba(246,247,251,0.72); }
[data-theme="light"] h1 { background: linear-gradient(180deg, #161a2b 30%, #4a5072); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="light"] .stat .num { background: linear-gradient(120deg, #161a2b, var(--indigo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="light"] .btn-ghost { background: rgba(17,20,38,0.04); color: var(--fg); }
[data-theme="light"] .btn-ghost:hover { background: rgba(17,20,38,0.08); }
[data-theme="light"] .board-topbar { background: rgba(17,20,38,0.02); }
[data-theme="light"] .vs .card-vs { background: rgba(255,255,255,0.7); }
[data-theme="light"] .tag.pr-High { background: rgba(220,38,38,0.12); color: #b91c1c; }
[data-theme="light"] .tag.pr-Med  { background: rgba(180,83,9,0.14); color: #b45309; }
[data-theme="light"] .tag.pr-Low  { background: rgba(71,85,105,0.14); color: #475569; }
[data-theme="light"] .tag.ui      { background: rgba(13,148,136,0.13); color: #0f766e; }
[data-theme="light"] ::selection { background: rgba(17,138,213,0.20); }

@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%,80%,100%{ opacity:.25; transform: translateY(0); } 40%{ opacity:1; transform: translateY(-3px); } }
@keyframes float-orb { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}
