/* KAI Bot — Landing */
:root {
  --bg: #08090B;
  --bg-elev: #0D0F12;
  --bg-card: #0F1216;
  --bg-card-hi: #14181D;
  --border: #1C2026;
  --border-hi: #262B32;
  --text: #E7E9EC;
  --text-mid: #9BA1AA;
  --text-dim: #5F6672;
  --text-faint: #3A4049;
  --accent: oklch(0.78 0.19 145);
  --accent-dim: oklch(0.78 0.19 145 / 0.12);
  --accent-mid: oklch(0.78 0.19 145 / 0.35);
  --danger: oklch(0.7 0.19 25);
  --radius: 10px;
  --radius-sm: 6px;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --container: 1200px;
  --density: 1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 50% -100px, oklch(0.78 0.19 145 / 0.06), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 9, 11, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.brand-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 13.5px;
  color: var(--text-mid);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #061308;
  font-weight: 600;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--accent-mid);
}
.btn-ghost {
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hi); background: var(--bg-card); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; border-radius: 9px; }
.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* SECTION KICKER */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.kicker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* TYPE */
.h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
.h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 20px;
}
.h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0;
}
.lede {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.55;
  max-width: 640px;
  margin: 24px 0 0;
  letter-spacing: -0.01em;
}
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* HERO */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-actions {
  display: flex; gap: 12px; margin-top: 32px; align-items: center;
}
.hero-meta {
  display: flex; gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  align-items: center;
  padding-bottom: 8px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.19 145 / 0.6); }
  70% { box-shadow: 0 0 0 8px oklch(0.78 0.19 145 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.19 145 / 0); }
}

.hero-screenshot-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.5),
    0 0 0 1px var(--border) inset;
}
.hero-screenshot-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,9,11,0.6));
  pointer-events: none;
  z-index: 2;
}
.hero-screenshot {
  width: 100%;
  display: block;
}
.hero-screenshot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2f36; }
.chrome-url { margin-left: 12px; }

/* SECTIONS */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head .h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0;
}
.divider {
  height: 1px;
  background: var(--border);
  max-width: var(--container);
  margin: 0 auto;
}

/* HOW IT WORKS */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.pipe-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: border-color 0.15s;
}
.pipe-card:hover { border-color: var(--border-hi); }
.pipe-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}
.pipe-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.pipe-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0 0 20px;
}
.pipe-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.pipe-tag {
  padding: 3px 8px;
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  color: var(--text-mid);
}
.pipe-tag.accent { border-color: var(--accent-mid); color: var(--accent); }
.pipe-arrow {
  position: absolute;
  right: -12px; top: 40px;
  width: 24px; height: 1px;
  background: var(--border-hi);
  z-index: 1;
}
.pipe-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border-left: 5px solid var(--border-hi);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* LLM SWAP */
.llm-swap {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.llm-swap h4 {
  font-size: 16px; margin: 0 0 6px; font-weight: 500;
  letter-spacing: -0.015em;
}
.llm-swap p {
  margin: 0; color: var(--text-mid); font-size: 13.5px;
}
.llm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.llm-chip {
  padding: 6px 12px;
  border: 1px solid var(--border-hi);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-mid);
  background: var(--bg-elev);
}
.llm-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* FEATURES GRID */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feat {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.feat:hover { border-color: var(--border-hi); }
.feat-a { grid-column: span 7; }
.feat-b { grid-column: span 5; }
.feat-c { grid-column: span 4; }
.feat-d { grid-column: span 4; }
.feat-e { grid-column: span 4; }
.feat-title {
  font-size: 18px; font-weight: 500; margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.feat-desc { color: var(--text-mid); font-size: 14px; margin: 0; line-height: 1.5; }
.feat-visual { flex: 1; margin-top: 24px; position: relative; }

/* TINY CHARTS & VISUALS INSIDE FEATS */
.mini-chart { width: 100%; height: 100%; min-height: 120px; }
.pairs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pair-chip {
  padding: 8px 6px; border: 1px solid var(--border-hi); border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; text-align: center;
  color: var(--text-mid); background: var(--bg-elev);
}
.pair-chip.active { border-color: var(--accent-mid); color: var(--accent); background: var(--accent-dim); }

.sliders-mock { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.slider-row { font-family: var(--font-mono); font-size: 11px; color: var(--text-mid); }
.slider-row .label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.slider-row .label .val { color: var(--accent); }
.slider-track {
  height: 4px; background: var(--bg-elev); border-radius: 2px; position: relative;
  border: 1px solid var(--border);
}
.slider-fill {
  position: absolute; left: 0; top: -1px; bottom: -1px;
  background: var(--accent);
  border-radius: 2px;
}

/* TERMINAL DEMO */
.terminal-demo {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.term-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
}
.term-body {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  min-height: 420px;
}
.term-col { padding: 18px; }
.term-col + .term-col { border-left: 1px solid var(--border); }
.term-section-title {
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--text-dim);
  margin-bottom: 14px;
}
.term-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  color: var(--text-mid);
  font-size: 12px;
}
.term-row .v { color: var(--text); }
.term-row .v.up { color: var(--accent); }
.term-row .v.down { color: var(--danger); }
.term-big {
  font-size: 34px;
  color: var(--accent);
  margin: 6px 0 12px;
  letter-spacing: -0.02em;
}
.term-position {
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--bg-elev);
  margin-bottom: 8px; font-size: 11.5px;
  display: flex; justify-content: space-between;
  align-items: center;
}
.term-tag {
  padding: 1px 6px; border-radius: 3px; font-size: 10px;
  background: var(--accent-dim); color: var(--accent);
  margin-left: 6px;
}
.term-tag.short { background: oklch(0.7 0.19 25 / 0.15); color: var(--danger); }

/* PERFORMANCE */
.perf-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.perf-chart-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
  min-height: 360px;
  display: flex; flex-direction: column;
}
.perf-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.perf-head h3 { font-size: 14px; font-weight: 500; margin: 0; color: var(--text-mid); }
.perf-big {
  font-family: var(--font-mono);
  font-size: 42px;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.perf-sub {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim);
}
.perf-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.perf-stat {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 22px;
}
.perf-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.perf-stat .big {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.perf-stat .big.accent { color: var(--accent); }
.perf-stat .sub {
  font-size: 11.5px; color: var(--text-dim); margin-top: 4px;
}
.perf-note {
  margin-top: 20px; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
}

/* EXCHANGES */
.exch-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.exch-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column;
}
.exch-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.exch-logo {
  height: 84px; background: var(--bg-card);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.03em; color: var(--text-mid);
}
.exch-logo:hover { background: var(--bg-card-hi); color: var(--text); }
.exch-assets-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
}
.asset-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 4px 12px;
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-mid);
}
.asset-list span { padding: 4px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; }
.asset-list span::after { content: attr(data-pct); color: var(--text-dim); font-size: 10.5px; }

/* PRICING */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 14px;
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.popular {
  border-color: var(--accent-mid);
  background: linear-gradient(180deg, var(--accent-dim), transparent 40%), var(--bg-card);
}
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid var(--accent-mid);
  border-radius: 4px;
}
.plan-name { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.08em; }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 16px 0 4px;
  letter-spacing: -0.025em;
}
.plan-price .amt { font-size: 44px; font-weight: 500; }
.plan-price .per { color: var(--text-dim); font-size: 14px; }
.plan-tag { color: var(--text-mid); font-size: 13.5px; margin-bottom: 24px; }
.plan-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px;
  color: var(--text-mid);
  flex: 1;
}
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features li::before {
  content: '+';
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 2px;
}
.plan-features li.muted { color: var(--text-dim); }
.plan-features li.muted::before { content: '–'; color: var(--text-faint); }
.topup-note {
  margin-top: 32px;
  padding: 18px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topup-note .mono {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.topup-note strong {
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  cursor: pointer;
}
.faq-q .icon {
  width: 18px; height: 18px; position: relative;
  flex-shrink: 0;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute; background: var(--text-mid);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-q .icon::before { width: 12px; height: 1.5px; }
.faq-q .icon::after { width: 1.5px; height: 12px; transition: transform 0.2s; }
.faq-item.open .faq-q .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
}
.faq-item.open .faq-a { max-height: 300px; margin-top: 14px; }

/* FOOTER CTA */
.cta-card {
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 50% 0%, oklch(0.78 0.19 145 / 0.08), transparent 60%),
    var(--bg-card);
  border-radius: 20px;
  padding: 80px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-card .h2 { font-size: clamp(32px, 4vw, 52px); }
.cta-card p {
  color: var(--text-mid); font-size: 16.5px;
  max-width: 520px; margin: 16px auto 32px;
}
.cta-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
}
.cta-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s;
}
.cta-form input:focus { border-color: var(--accent-mid); }
.cta-form input::placeholder { color: var(--text-dim); }
.cta-form .btn { height: 48px; }
.cta-note {
  margin-top: 18px; font-family: var(--font-mono); font-size: 11.5px;
  color: var(--text-dim);
}
.cta-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 480px;
  margin: 16px auto 0;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mid);
  cursor: pointer;
}
.cta-consent input[type="checkbox"] {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.cta-consent a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-mid);
}
.cta-consent a:hover { border-bottom-style: solid; }

/* FOOTER */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}
.foot-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.foot-links a { color: var(--text-mid); }
.foot-links a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}
.foot-socials { display: flex; gap: 16px; }
.foot-disclosure {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.55;
}
.foot-disclosure a {
  color: var(--text-mid);
  border-bottom: 1px dashed var(--text-faint);
}
.foot-disclosure a:hover { color: var(--text); }

/* Cookie consent banner */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: 0 auto;
  max-width: var(--container);
  width: calc(100% - 32px);
  z-index: 100;
  background: rgba(13, 15, 18, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: consent-in 0.32s ease-out;
}
@keyframes consent-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.consent-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  flex-wrap: wrap;
}
.consent-text {
  flex: 1 1 320px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}
.consent-text a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-mid);
}
.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}
/* Consent buttons — equal visual prominence (CNIL/ICO compliance).
   Same size, border, background; difference is text only. */
.btn-consent {
  height: 34px;
  font-size: 12px;
  min-width: 96px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}
.btn-consent:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-faint);
}
@media (max-width: 600px) {
  .consent-inner { padding: 14px 16px; gap: 12px; }
  .consent-actions { width: 100%; justify-content: flex-end; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .section { padding: 72px 0; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-arrow { display: none; }
  .features { grid-template-columns: 1fr; }
  .feat-a, .feat-b, .feat-c, .feat-d, .feat-e { grid-column: span 1; }
  .term-body { grid-template-columns: 1fr; }
  .term-col + .term-col { border-left: 0; border-top: 1px solid var(--border); }
  .perf-grid { grid-template-columns: 1fr; }
  .exch-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav-links { display: none; }
  .cta-form { flex-direction: column; }
}

/* Density tweak */
[data-density="compact"] .section { padding: 80px 0; }
[data-density="compact"] .hero { padding: 64px 0 40px; }
[data-density="compact"] .feat { padding: 22px; min-height: 220px; }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* The HTML `hidden` attribute is overridden by `display: flex` / `display: grid`
   on classed elements (equal specificity, source order). Force it. */
[hidden] { display: none !important; }

/* Honeypot: visually hidden but available to bots. Don't use display:none — some
   bots skip those. */
.cta-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Waitlist feedback */
.waitlist-success {
  padding: 16px 24px;
  border: 1px solid var(--accent-mid);
  border-radius: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  max-width: 480px;
  margin: 16px auto 0;
}
.waitlist-error {
  padding: 14px 22px;
  border: 1px solid oklch(0.7 0.19 25 / 0.5);
  border-radius: 10px;
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 12.5px;
  max-width: 480px;
  margin: 12px auto 0;
}
.cta-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
