/* ─── RESET & ROOT ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --black:   #0c0c0b;
  --surface: #1a1917;
  --surface2: #232220;
  --mid:     #6b6860;
  --chalk:   #f2efe8;
  --chalk2:  #dedad0;
  --signal:  #e05c1a;
  --green:   #2ecc71;
  --red:     #e74c3c;
  --amber:   #f0a500;
  --rule:    #2a2926;
  --blue:    #74b9ff;
  --purple:  #a29bfe;
  --teal:    #55efc4;
}

/* typography
   body uses IBM Plex Mono (monospace)
   all headings and display text use CharmanSerif (local variable font in /fonts)
*/

/* load variable CharmanSerif from local files */
@font-face {
  font-family: 'CharmanSerif';
  src: url('fonts/CharmanSerif Variable-VF.woff2') format('woff2'),
       url('fonts/CharmanSerif Variable-VF.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  background: var(--black);
  color: var(--chalk);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── TICKER ──────────────────────────────────────────── */
.ticker-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  position: relative;
}
.ticker-bar::before, .ticker-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(to left, var(--surface), transparent); }

.ticker-track {
  display: inline-block;
  animation: tickerScroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mid);
  padding: 0 32px;
}
.ticker-item .agent { color: var(--chalk2); font-weight: 500; }
.ticker-item .status-live  { color: var(--green); }
.ticker-item .status-cited { color: var(--teal); }
.ticker-item .status-block { color: var(--red); }
.ticker-item .sep { color: var(--rule); margin: 0 8px; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  height: 60px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--chalk);
}
.nav-logo span { color: var(--signal); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--chalk); }

.btn-nav {
  background: var(--signal);
  color: var(--chalk);
  border: none;
  padding: 10px 22px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-nav:hover { background: #c4501a; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 60fr 40fr;
  height: calc(100vh - 97px);
  max-height: calc(100vh - 97px);
  overflow: hidden;
}

.hero-left {
  padding: 56px 56px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.1s;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--signal);
}

.hero-h1 {
  font-family: 'Charman Serif', serif;
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.25s;
}
.hero-h1 .accent {
  display: block;
  font-style: italic;
  color: var(--signal);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 44px;
  border-left: 2px solid var(--rule);
  padding-left: 20px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.55s;
}

.btn-primary {
  background: var(--chalk);
  color: var(--black);
  border: none;
  padding: 14px 30px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--chalk2); }

.btn-ghost {
  background: transparent;
  color: var(--mid);
  border: 1px solid var(--rule);
  padding: 14px 30px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--chalk); border-color: var(--mid); }

.hero-meta {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 36px;
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}

/* ─── HERO FEED ───────────────────────────────────────── */
.hero-right {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.feed-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.feed-head-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--green);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.8); }
}

.feed-cols {
  display: grid;
  grid-template-columns: 76px 1fr 52px;
  gap: 0;
  padding: 8px 24px 4px;
  border-bottom: 1px solid var(--rule);
}
.feed-col-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3d3b38;
}

.feed-scroll-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.feed-scroll-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
  z-index: 2;
}

.feed-list {
  animation: feedScroll 22s linear infinite;
}
.feed-list:hover { animation-play-state: paused; }

@keyframes feedScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.feed-row {
  display: grid;
  grid-template-columns: 76px 1fr 52px;
  align-items: center;
  padding: 9px 24px;
  border-bottom: 1px solid #1e1d1b;
  transition: background 0.15s;
}
.feed-row:hover { background: rgba(255,255,255,0.025); }

.feed-time { font-size: 9px; color: #3d3b38; }
.feed-agent-info { display: flex; flex-direction: column; gap: 2px; }
.feed-agent-name { font-size: 10px; color: var(--chalk); font-weight: 500; }
.feed-agent-path { font-size: 9px; color: var(--mid); }

.badge {
  font-size: 8px;
  letter-spacing: 0.08em;
  padding: 2px 5px;
  border: 1px solid;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  font-weight: 500;
}
.badge-gpt   { color: var(--blue);   border-color: rgba(116,185,255,0.25); }
.badge-gem   { color: var(--purple); border-color: rgba(162,155,254,0.25); }
.badge-perp  { color: var(--teal);   border-color: rgba(85,239,196,0.25); }
.badge-clt   { color: var(--amber);  border-color: rgba(240,165,0,0.25); }
.badge-bot   { color: var(--mid);    border-color: rgba(107,104,96,0.2); }

.feed-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #3d3b38;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.feed-foot b { color: var(--signal); }

/* ─── SECTION LABEL ───────────────────────────────────── */
.sec-label {
  padding: 14px 48px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
}
.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ─── STATS ───────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.stat-cell {
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.stat-cell:last-child { border-right: none; }

.stat-ghost {
  position: absolute;
  top: -10px; right: -10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px;
  color: rgba(255,255,255,0.018);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 7vw, 100px);
  line-height: 1;
  color: var(--chalk);
  display: block;
  letter-spacing: 0.02em;
}
.stat-num .sig { color: var(--signal); }

.stat-desc {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--mid);
  max-width: 270px;
}

/* ─── PRODUCT DEMO ────────────────────────────────────── */
.demo-section {
  border-bottom: 1px solid var(--rule);
  background: #f5f2eb;
  color: var(--black);
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.demo-copy {
  padding: 64px 56px;
  border-right: 1px solid #dedad0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--signal);
}

.demo-h2 {
  font-family: 'Charman Serif', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--black);
}
.demo-h2 em { font-style: italic; color: var(--signal); }

.demo-sub {
  font-size: 12px;
  line-height: 1.9;
  color: #5a5650;
  max-width: 380px;
  margin-bottom: 36px;
}

.demo-panel {
  padding: 36px;
  background: var(--black);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Dashboard mockup */
.dash-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--rule);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-logo-sm {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--chalk);
}
.dash-logo-sm span { color: var(--signal); }
.dash-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
}
.dash-tab {
  padding: 5px 12px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  border-right: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dash-tab:last-child { border-right: none; }
.dash-tab.active { background: var(--signal); color: var(--chalk); }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}
.dash-metric {
  padding: 16px 20px;
  border-right: 1px solid var(--rule);
}
.dash-metric:last-child { border-right: none; }
.dash-metric-label {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}
.dash-metric-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--chalk);
  line-height: 1;
}
.dash-metric-delta {
  font-size: 9px;
  color: var(--green);
  margin-top: 2px;
}
.dash-metric-delta.down { color: var(--red); }

/* Mini chart */
.dash-chart-wrap {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.dash-chart-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}
.mini-chart {
  height: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.mini-bar {
  flex: 1;
  background: var(--signal);
  opacity: 0.7;
  border-radius: 0;
  transition: opacity 0.2s;
}
.mini-bar:hover { opacity: 1; }
.mini-bar.green { background: var(--green); }

/* Agent table */
.dash-table {
  flex: 1;
  overflow: hidden;
}
.dash-table-head {
  display: grid;
  grid-template-columns: 1fr 60px 80px 60px;
  padding: 8px 20px;
  background: #161513;
  gap: 8px;
}
.dash-th {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3d3b38;
}
.dash-tr {
  display: grid;
  grid-template-columns: 1fr 60px 80px 60px;
  padding: 9px 20px;
  border-bottom: 1px solid #1e1d1b;
  gap: 8px;
  align-items: center;
  transition: background 0.15s;
}
.dash-tr:hover { background: rgba(255,255,255,0.02); }
.dash-td { font-size: 10px; color: var(--chalk); }
.dash-td.mid { color: var(--mid); font-size: 9px; }
.status-pill {
  font-size: 8px;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
}
.status-pill.cited  { background: rgba(46,204,113,0.15); color: var(--green); }
.status-pill.crawl  { background: rgba(116,185,255,0.12); color: var(--blue); }
.status-pill.block  { background: rgba(231,76,60,0.12); color: var(--red); }
.score { color: var(--signal); font-size: 11px; font-weight: 500; }

/* ─── HOW IT WORKS ────────────────────────────────────── */
.how-section {
  border-bottom: 1px solid var(--rule);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.how-step {
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.how-step:last-child { border-right: none; }

.how-step-num {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--mid);
  margin-bottom: 4px;
}
.how-step-ghost {
  font-family: 'Charman Serif', serif;
  font-size: 120px;
  font-style: italic;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}
.how-step-title {
  font-family: 'Charman Serif', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--chalk);
  margin-bottom: 16px;
  line-height: 1.1;
}
.how-step-body {
  font-size: 12px;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 20px;
}
.how-step-cta {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--signal);
  padding: 0;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.how-step-cta::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.how-step-cta:hover::after { transform: scaleX(1); }

/* ─── FEATURES ────────────────────────────────────────── */
.features-section {
  border-bottom: 1px solid var(--rule);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 4px solid transparent;
  transition: border-left-color 0.2s, background 0.2s;
  position: relative;
}
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(n+4) { border-bottom: none; }
.feature-card:hover {
  border-left-color: var(--signal);
  background: rgba(255,255,255,0.015);
}

.feature-icon {
  font-size: 20px;
  margin-bottom: 20px;
  display: block;
  color: var(--signal);
  opacity: 0.7;
}

.feature-title {
  font-family: 'Charman Serif', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--chalk);
  margin-bottom: 12px;
  line-height: 1.15;
}

.feature-body {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--mid);
  min-height: 96px;
}

/* ─── SOCIAL PROOF ────────────────────────────────────── */
.proof-section {
  border-bottom: 1px solid var(--rule);
}

.proof-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
}

.proof-left {
  padding: 72px 56px;
  border-right: 1px solid var(--rule);
}

.proof-rule {
  width: 48px;
  height: 2px;
  background: var(--signal);
  margin-bottom: 28px;
}

.proof-quote {
  font-family: 'Charman Serif', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--chalk);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.proof-attr {
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.08em;
}
.proof-attr b { color: var(--chalk2); font-weight: 500; }

.proof-right {
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-metric {
  margin-bottom: 48px;
}

.proof-metric-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--chalk);
}
.proof-metric-num .sig { color: var(--signal); }

.proof-metric-label {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.7;
  margin-top: 8px;
  max-width: 240px;
}

.proof-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proof-mini-card {
  border: 1px solid var(--rule);
  padding: 20px;
}

.proof-mini-text {
  font-size: 11.5px;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
}
.proof-mini-attr {
  font-size: 10px;
  color: #3d3b38;
  letter-spacing: 0.06em;
}
.proof-mini-attr b { color: var(--chalk2); }

/* ─── PRICING ─────────────────────────────────────────── */
.pricing-section {
  background: #f5f2eb;
  color: var(--black);
  border-bottom: 1px solid #dedad0;
}

.pricing-section .sec-label {
  color: #9a9690;
  border-bottom-color: #dedad0;
  padding: 14px 48px;
}
.pricing-section .sec-label::after { background: #dedad0; }

.pricing-header {
  padding: 56px 48px 40px;
  text-align: left;
}

.pricing-title {
  font-family: 'Charman Serif', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 12px;
  color: var(--black);
}
.pricing-title em { font-style: italic; color: var(--signal); }

.pricing-sub {
  font-size: 12px;
  color: #6b6860;
  line-height: 1.7;
  max-width: 480px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #dedad0;
}

.pricing-card {
  padding: 48px 40px;
  border-right: 1px solid #dedad0;
  position: relative;
}
.pricing-card:last-child { border-right: none; }
.pricing-card.featured {
  border-top: 3px solid var(--signal);
  margin-top: -1px;
}

.pricing-tier {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 4px;
}

.pricing-price {
  font-family: 'Charman Serif', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin: 16px 0 4px;
}
.pricing-price sup {
  font-size: 24px;
  vertical-align: top;
  margin-top: 8px;
  color: var(--signal);
}
.pricing-price .period {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #9a9690;
  font-weight: 400;
}

.pricing-desc {
  font-size: 11px;
  color: #9a9690;
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: #dedad0;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
}
.pricing-features li {
  font-size: 11.5px;
  color: #5a5650;
  padding: 8px 0;
  border-bottom: 1px solid #ece8e0;
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '—'; color: var(--signal); flex-shrink: 0; }

.btn-pricing {
  width: 100%;
  padding: 13px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid #c4c0b6;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-pricing:hover { background: var(--black); color: var(--chalk); border-color: var(--black); }
.btn-pricing.featured {
  background: var(--signal);
  color: var(--chalk);
  border-color: var(--signal);
}
.btn-pricing.featured:hover { background: #c4501a; border-color: #c4501a; }

/* ─── FINAL CTA ───────────────────────────────────────── */
.cta-section {
  background: var(--signal);
  border-bottom: 1px solid var(--rule);
}

.cta-left {
  padding: 88px 56px;
  border-right: 1px solid rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-h2 {
  font-family: 'Charman Serif', serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.0;
  color: var(--chalk);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.cta-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-bottom: 16px;
}

.cta-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  border-right: none;
  color: var(--chalk);
  padding: 14px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  border-radius: 0;
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}
.cta-input::placeholder { color: rgba(242,239,232,0.45); }
.cta-input:focus { background: rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.65); }

.cta-submit {
  background: var(--black);
  color: var(--chalk);
  border: 1px solid var(--black);
  padding: 14px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cta-submit:hover { background: #1a1917; }

.cta-note {
  font-size: 10px;
  color: rgba(242,239,232,0.5);
  letter-spacing: 0.1em;
}

/* ─── LIVE COUNTERS ───────────────────────────────────── */
.cta-right {
  background: rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  gap: 0;
}

/* Subtle grid texture */
.cta-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.counter-eyebrow {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242,239,232,0.45);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.counter-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(242,239,232,0.3);
}

.counter-block {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  position: relative;
}
.counter-block:first-of-type { border-top: 1px solid rgba(255,255,255,0.12); }

.counter-left {}

.counter-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,239,232,0.5);
  margin-bottom: 8px;
  display: block;
}

.counter-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 5vw, 76px);
  color: var(--chalk);
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-block;
  min-width: 4ch;
}

.counter-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: rgba(242,239,232,0.45);
  letter-spacing: 0.1em;
  padding-bottom: 6px;
}

.counter-right {
  text-align: right;
  padding-bottom: 4px;
}

.counter-delta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(242,239,232,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
  white-space: nowrap;
}
.counter-delta .arrow { font-size: 14px; }
.counter-delta.up   .arrow { color: #7affc0; }
.counter-delta.down .arrow { color: #ff8a7a; }

.counter-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
  margin-top: 6px;
}
.spark-bar {
  width: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 0;
  flex-shrink: 0;
}
.spark-bar.lit { background: rgba(255,255,255,0.55); }

/* Pulse ring on live dot */
.live-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(242,239,232,0.5);
  margin-top: 36px;
}
.live-ring-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7affc0;
  position: relative;
}
.live-ring-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #7affc0;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0%   { opacity: 0.8; transform: scale(0.6); }
  100% { opacity: 0;   transform: scale(2); }
}

/* Responsive */
@media (max-width: 1024px) {
  .cta-section { grid-template-columns: 1fr; }
  .cta-left { padding: 64px 40px; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.2); }
  .cta-right { min-height: 340px; }
}
@media (max-width: 768px) {
  .cta-left { padding: 56px 24px; }
  .cta-form { flex-direction: column; }
  .cta-input { border-right: 1px solid rgba(255,255,255,0.3); border-bottom: none; }
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}

.footer-main {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 0;
  padding: 56px 0 56px 48px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand {
  padding-right: 48px;
  border-right: 1px solid var(--rule);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--signal); }
.footer-tagline {
  font-size: 11px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 160px;
}

.footer-col {
  padding: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
}
.footer-col:last-child { border-right: none; }

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
  padding: 16px 40px;
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.footer-links { list-style: none; padding-left: 40px; }
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 11.5px;
  color: var(--mid);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--chalk); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}
.footer-copy {
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.06em;
}
.footer-legal {
  display: flex;
  gap: 28px;
}
.footer-legal a {
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--chalk); }

/* ─── REVEAL ANIMATION ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat-cell:last-child { border-bottom: none; }
  .demo-inner { grid-template-columns: 1fr; }
  .demo-panel { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .feature-card:nth-child(2n) { border-right: none; }
  .proof-inner { grid-template-columns: 1fr; }
  .proof-left { border-right: none; border-bottom: 1px solid var(--rule); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid #dedad0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { border-right: none; padding-right: 0; }
  .footer-col { padding: 0; border-right: none; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-left { padding: 40px 24px; }
  .sec-label { padding: 12px 24px; }
  .stat-cell { padding: 40px 24px; }
  .demo-copy { padding: 40px 24px; }
  .how-step { padding: 40px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
  .proof-left { padding: 48px 24px; }
  .proof-right { padding: 40px 24px; }
  .pricing-header { padding: 40px 24px 28px; }
  .pricing-card { padding: 36px 24px; }

  .footer-main { padding: 40px 24px; grid-template-columns: 1fr; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 12px; }
}

/* ─── PRELOADER ───────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: #0c0c0b;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.013) 2px, rgba(255,255,255,0.013) 4px
  );
  pointer-events: none;
}
.pre-slot-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pre-slot-wrap::before,
.pre-slot-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  z-index: 3;
  pointer-events: none;
}
.pre-slot-wrap::before {
  top: 0;
  background: linear-gradient(#0c0c0b, transparent);
}
.pre-slot-wrap::after {
  bottom: 0;
  background: linear-gradient(transparent, #0c0c0b);
}
.pre-slot {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 9vw, 104px);
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.pre-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6b6860;
  margin-top: 22px;
  min-height: 16px;
  text-align: center;
}
.pre-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #e05c1a;
  width: 0%;
  transition: width 0.12s linear;
}
#preloader.exiting {
  animation: preExit 0.6s cubic-bezier(0.77, 0, 1, 1) forwards;
}
@keyframes preExit {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
body.pre-lock {
  overflow: hidden;
}
body.pre-lock > *:not(#preloader) {
  opacity: 0;
}
body.pre-done > *:not(#preloader) {
  opacity: 1;
  transition: opacity 0.55s ease 0.05s;
}
/* ═══════════════════════════════════════════════════════════
   CONTAINER & BOX GRID SYSTEM
   ─────────────────────────────────────────────────────────
   Pattern:
   • Section backgrounds + horizontal rules = full viewport width
   • .box = max-width container, centered, with left+right borders
   • All inner grids (stats, how, features, etc.) live inside .box
   ═══════════════════════════════════════════════════════════ */

:root {
  --max-w: 1400px;
}

/* ─── NAV CONTAINER ───────────────────────────────────────── */
nav {
  /* override: remove flex/padding from nav itself */
  display: block;
  padding: 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

/* ─── HERO CONTAINER ──────────────────────────────────────── */
.hero-outer {
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero {
  /* override: remove border-bottom (now on outer) */
  border-bottom: none;
  max-width: var(--max-w);
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

/* ─── BOX — universal inner container ────────────────────── */
.box {
  max-width: var(--max-w);
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

/* Light-bg sections (demo, pricing) use lighter border color */
.box--light {
  border-left-color: #dedad0;
  border-right-color: #dedad0;
}

/* ─── SEC-LABEL inside .box ───────────────────────────────── */
/* sec-label is now inside .box, so no need for its own
   max-width — just remove left/right padding conflicts */
.box .sec-label {
  border-left: none;
  border-right: none;
}

/* Light variant for demo + pricing */
.sec-label--light {
  color: #9a9690 !important;
  border-bottom-color: #dedad0 !important;
}
.sec-label--light::after {
  background: #dedad0 !important;
}

/* ─── STATS ───────────────────────────────────────────────── */
.stats-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Remove old border-bottom from stats-row (section handles it) */
.stats-row {
  border-bottom: none;
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */
/* how-grid last step: restore right border visually closed by box */
.box .how-step:last-child {
  border-right: none;
}

/* ─── FEATURES ────────────────────────────────────────────── */
/* Rightmost feature cards: border handled by .box right edge */
.box .feature-card:nth-child(3n) {
  border-right: none;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  /* override: remove grid from section, move to inner box */
  display: block;
}

.cta-box {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-left: 1px solid rgba(0,0,0,0.2);
  border-right: 1px solid rgba(0,0,0,0.2);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer .box {
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.footer-main {
  /* max-width now handled by .box wrapper */
  border-left: none;
  border-right: none;
}

.footer-bottom {
  max-width: 100%;
  border-left: none;
  border-right: none;
}

/* ─── RESPONSIVE OVERRIDES ────────────────────────────────── */
@media (max-width: 1024px) {
  /* CTA box stacks */
  .cta-box { grid-template-columns: 1fr; }
  .cta-left { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.2); }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  /* On mobile, hide box side borders — full width feels better */
  .box,
  .box--light,
  .nav-inner,
  .hero,
  .cta-box,
  footer .box {
    border-left: none;
    border-right: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   LOGOS SECTION
   ═══════════════════════════════════════════════════════════ */
.logos-section {
  border-bottom: 1px solid var(--rule);
}

.logos-headline {
  padding: 22px 48px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.logo-cell:nth-child(4n) { border-right: none; }
.logo-cell:nth-child(n+5) { border-bottom: none; }
.logo-cell:hover { background: rgba(255,255,255,0.025); }

.logo-svg {
  width: 140px;
  height: 44px;
  color: var(--chalk2);
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
}
.logo-cell:hover .logo-svg {
  opacity: 0.9;
  color: var(--chalk);
}

/* ═══════════════════════════════════════════════════════════
   FEATURE SVG ICONS
   ═══════════════════════════════════════════════════════════ */
.feature-svg-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.feature-svg-wrap svg {
  width: 100%;
  height: 100%;
}

/* Remove old unicode icon style */
.feature-icon { display: none; }

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════ */
.faq-section {
  border-bottom: 1px solid var(--rule);
}

.faq-inner {
  display: grid;
  grid-template-columns: 40fr 50fr;
  border-top: 1px solid var(--rule);
  align-items: start;
}

/* ── Left: heading panel ── */
.faq-left {
  padding: 72px 56px;
  position: sticky;
  top: 60px; /* below sticky nav */
}

.faq-heading {
  font-family: 'CharmanSerif', serif;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--chalk);
  margin-bottom: 32px;
}

.faq-contact {
  font-size: 11px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 300px;
}
.faq-contact a {
  color: var(--signal);
  border-bottom: 1px solid rgba(224,92,26,0.3);
  transition: border-color 0.2s;
}
.faq-contact a:hover { border-bottom-color: var(--signal); }

/* ── Right: accordions ── */
.faq-right {
    border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--chalk);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.5;
}
.faq-q:hover {
  background: rgba(255,255,255,0.025);
}
.faq-q[aria-expanded="true"] {
  color: var(--signal);
  background: rgba(224,92,26,0.04);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--mid);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s;
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--signal);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a.open {
  max-height: 320px;
}
.faq-a p {
  padding: 20px 48px 32px;
  font-size: 12px;
  line-height: 1.95;
  color: var(--mid);
  border-top: 1px solid var(--rule);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(4n) { border-right: 1px solid var(--rule); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .logo-cell:nth-child(n+5) { border-bottom: 1px solid var(--rule); }
  .logo-cell:nth-child(n+7) { border-bottom: none; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-left {
    position: static;
    padding: 56px 40px 40px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 768px) {
  .logos-headline { padding: 18px 24px; }
  .logo-cell { padding: 28px 24px; }
  .logo-svg { width: 110px; }
  .faq-left { padding: 48px 24px 36px; }
  .faq-q { padding: 22px 24px; font-size: 11.5px; }
  .faq-a p { padding: 16px 24px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   CAPABILITIES — TERMINAL READOUT (Option B)
   ═══════════════════════════════════════════════════════════ */

.terminal-block {
  background: #0a0a09;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--signal);
  padding: 14px 16px;
  font-size: 10px;
  line-height: 1.75;
  margin-top: 4px;
}

.terminal-block::before {
  content: '● ● ●';
  display: block;
  font-size: 7px;
  letter-spacing: 5px;
  color: #3d3b38;
  margin-bottom: 10px;
}

.t-line {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

.t-key {
  color: var(--mid);
  min-width: 72px;
  flex-shrink: 0;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.t-val         { color: var(--chalk2); }
.t-val.t-green  { color: #2ecc71; }
.t-val.t-signal { color: var(--signal); }
.t-val.t-blue   { color: #74b9ff; }
.t-val.t-amber  { color: #f0a500; }

.t-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 7px 0;
}

.t-cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  background: var(--signal);
  vertical-align: middle;
  margin-left: 2px;
  animation: tBlink 1s step-end infinite;
}

@keyframes tBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATION SYSTEM — fires AFTER preloader
   ═══════════════════════════════════════════════════════════ */

/* Hero elements: start invisible, NO animation until .hero-animate */
.hero-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}
.hero-h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}
.hero-sub {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}
.hero-btns {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}
.hero-meta {
  opacity: 0;
  transform: translateY(16px);
  animation: none;
}

/* Fire hero animations once preloader is done */
body.hero-animate .hero-eyebrow {
  animation: fadeUp 0.6s ease forwards 0.05s;
}
body.hero-animate .hero-h1 {
  animation: fadeUp 0.7s ease forwards 0.2s;
}
body.hero-animate .hero-sub {
  animation: fadeUp 0.7s ease forwards 0.35s;
}
body.hero-animate .hero-btns {
  animation: fadeUp 0.7s ease forwards 0.48s;
}
body.hero-animate .hero-meta {
  animation: fadeUp 0.6s ease forwards 0.62s;
}

/* ── Ensure .reveal starts hidden ── */
.reveal {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.6s ease, transform 0.6s ease !important;
}
.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── FAQ section spacing ── */
.faq-section {
  padding-top: 0;
}
.faq-left {
  padding: 80px 56px 80px;
}
.faq-right {
  padding-top: 0;
}
.faq-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger faq items */
.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.10s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.20s; }
.faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-item:nth-child(6) { transition-delay: 0.30s; }
.faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-item:nth-child(8) { transition-delay: 0.40s; }

.faq-heading {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.0;
}

/* ── Logo cells reveal stagger ── */
.logo-cell {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
.logo-cell:nth-child(1) { transition-delay: 0.00s; }
.logo-cell:nth-child(2) { transition-delay: 0.06s; }
.logo-cell:nth-child(3) { transition-delay: 0.12s; }
.logo-cell:nth-child(4) { transition-delay: 0.18s; }
.logo-cell:nth-child(5) { transition-delay: 0.24s; }
.logo-cell:nth-child(6) { transition-delay: 0.30s; }
.logo-cell:nth-child(7) { transition-delay: 0.36s; }
.logo-cell:nth-child(8) { transition-delay: 0.42s; }
.logo-cell.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label reveal ── */
.sec-label {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sec-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer col stagger ── */
.footer-col {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.footer-col.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Shared page hero ── */
.page-hero {
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 380px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.page-hero-left {
  padding: 72px 56px 64px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-right {
  padding: 56px 48px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.page-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--signal);
}
.page-h1 {
  font-family: 'CharmanSerif', serif;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--chalk);
  margin-bottom: 28px;
}
.page-h1 em {
  font-style: italic;
  color: var(--signal);
}
.page-sub {
  font-size: 14px;
  line-height: 1.9;
  color: var(--mid);
  max-width: 500px;
  border-left: 2px solid var(--rule);
  padding-left: 20px;
  margin-bottom: 40px;
}
.page-hero-stat {
  border: 1px solid var(--rule);
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
}
.page-hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--signal);
  line-height: 1;
  letter-spacing: 0.04em;
}
.page-hero-stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

/* ── Two-column content grid ── */
.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.page-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.page-col {
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.page-col:last-child,
.page-grid-2 .page-col:nth-child(2n),
.page-grid-3 .page-col:nth-child(3n) { border-right: none; }
.page-col-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--chalk);
  margin-bottom: 16px;
}
.page-col-body {
  font-size: 12px;
  line-height: 1.9;
  color: var(--mid);
}

/* ── Wide text section ── */
.page-wide {
  padding: 72px 56px;
  border-bottom: 1px solid var(--rule);
  max-width: 760px;
}
.page-wide-title {
  font-family: 'CharmanSerif', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--chalk);
  margin-bottom: 20px;
}
.page-wide-title em { font-style: italic; color: var(--signal); }
.page-wide-body {
  font-size: 13px;
  line-height: 2;
  color: var(--mid);
}

/* ── Numbered list ── */
.page-numbered-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.page-num-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  border-bottom: 1px solid var(--rule);
  padding: 40px 48px 40px 0;
}
.page-num-item:last-child { border-bottom: none; }
.page-num-ghost {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  padding-left: 48px;
  user-select: none;
}
.page-num-content {}
.page-num-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--chalk);
  margin-bottom: 10px;
}
.page-num-body {
  font-size: 12px;
  line-height: 1.9;
  color: var(--mid);
}

/* ── Tag list ── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  color: var(--mid);
}
.tag.active {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(224,92,26,0.06);
}

/* ── Changelog entry ── */
.changelog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.changelog-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--rule);
}
.changelog-entry:last-child { border-bottom: none; }
.changelog-date-col {
  padding: 40px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.changelog-version {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--chalk);
  letter-spacing: 0.05em;
  line-height: 1;
}
.changelog-date {
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.1em;
}
.changelog-type {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid;
}
.changelog-type.major { color: var(--signal); border-color: var(--signal); }
.changelog-type.minor { color: var(--blue); border-color: var(--blue); }
.changelog-type.patch { color: var(--mid); border-color: var(--rule); }
.changelog-content-col {
  padding: 40px 48px;
}
.changelog-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--chalk);
  margin-bottom: 14px;
}
.changelog-item {
  font-size: 12px;
  line-height: 1.9;
  color: var(--mid);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: flex;
  gap: 12px;
}
.changelog-item::before {
  content: '→';
  color: var(--signal);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Roadmap card ── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.roadmap-col {
  border-right: 1px solid var(--rule);
}
.roadmap-col:last-child { border-right: none; }
.roadmap-col-head {
  padding: 24px 40px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
}
.roadmap-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.roadmap-status-dot.done     { background: var(--green); }
.roadmap-status-dot.progress { background: var(--amber); }
.roadmap-status-dot.planned  { background: var(--mid); }
.roadmap-col-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
.roadmap-item {
  padding: 24px 40px;
  border-bottom: 1px solid var(--rule);
}
.roadmap-item:last-child { border-bottom: none; }
.roadmap-item-title {
  font-size: 12px;
  color: var(--chalk);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.roadmap-item-desc {
  font-size: 11px;
  color: var(--mid);
  line-height: 1.7;
}
.roadmap-item.in-progress .roadmap-item-title { color: var(--amber); }
.roadmap-item.done .roadmap-item-title { color: var(--chalk2); opacity: 0.7; }

/* ── API code block ── */
.api-block {
  background: #0a0a09;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--signal);
  padding: 24px 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.8;
  overflow-x: auto;
}
.api-block::before {
  content: attr(data-label);
  display: block;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}
.code-line { display: block; }
.c-key     { color: var(--blue); }
.c-str     { color: var(--teal); }
.c-num     { color: var(--amber); }
.c-cmt     { color: #3d3b38; }
.c-fn      { color: var(--purple); }
.c-sig     { color: var(--signal); }

/* ── Integration card ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.integration-card {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.integration-card:nth-child(4n) { border-right: none; }
.integration-card:hover { background: rgba(255,255,255,0.025); }
.integration-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 14px;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--mid);
  letter-spacing: 0.05em;
}
.integration-name {
  font-size: 12px;
  color: var(--chalk);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.integration-desc {
  font-size: 10px;
  color: var(--mid);
  line-height: 1.7;
}
.integration-status {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.integration-status.live    { color: var(--green); }
.integration-status.beta    { color: var(--amber); }
.integration-status.soon    { color: var(--mid); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-right { display: none; }
  .page-grid-2,
  .page-grid-3,
  .roadmap-grid,
  .integration-grid { grid-template-columns: 1fr; }
  .page-col,
  .integration-card,
  .roadmap-col { border-right: none; }
  .changelog-entry { grid-template-columns: 1fr; }
  .changelog-date-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 40px; }
}
@media (max-width: 768px) {
  .page-hero-left { padding: 48px 24px; }
  .page-wide { padding: 48px 24px; }
  .page-col { padding: 40px 24px; }
  .page-num-item { grid-template-columns: 1fr; }
  .page-num-ghost { display: none; }
  .changelog-date-col,
  .changelog-content-col { padding: 28px 24px; }
  .roadmap-item,
  .roadmap-col-head { padding: 20px 24px; }
}