/* ============================================================
   1stPage — marketing site
   VBL v1.0 · data couture: swiss hairlines, editorial type,
   mono numerals, blue-you / gray-market
   ============================================================ */

:root {
  /* color — VBL §3 */
  --blue: #597EE3;
  --blue-deep: #3749A6;
  --blue-wash: #E3E9FC;
  --blue-alpha: rgba(89, 126, 227, 0.12);
  --blue-glow: rgba(89, 126, 227, 0.18);
  --ink: #1A1B1E;
  --ink-raised: #25262b;
  --ink-elevated: #2C2E33;
  --paper: #ffffff;
  --canvas: #F4F6F9;
  --text-bright: #1a202c;
  --text-body: #4a5568;
  --text-dim: #7B8794;
  --hairline: #E2E6ED;
  --hairline-ink: #373A40;
  --gain: #10B981;
  --loss: #EF4444;
  --market: #94A3B8;

  /* type */
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', monospace;

  /* motion — VBL §7 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-btn: cubic-bezier(0.32, 0.72, 0, 1);

  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); position: relative; z-index: 2; }

/* ---------- editorial column grid overlay ---------- */
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
}
.grid-overlay span { border-left: 1px solid rgba(26, 32, 44, 0.045); }
.grid-overlay span:last-child { border-right: 1px solid rgba(26, 32, 44, 0.045); }

/* ---------- typography ---------- */
.display {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--text-bright);
  text-wrap: balance;
}
.display-2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text-bright);
  text-wrap: balance;
  margin-bottom: 24px;
}
.on-ink { color: #f4f6f9; }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  max-width: 58ch;
  text-wrap: pretty;
  margin-bottom: 28px;
}
.lede.on-ink { color: #b6bcc8; }
.body { max-width: 58ch; text-wrap: pretty; margin-bottom: 24px; }
.mono-inline { font-family: var(--mono); font-feature-settings: 'tnum'; }
.strike { text-decoration: line-through; text-decoration-color: var(--loss); color: var(--text-dim); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.eyebrow-ink { background: var(--ink-raised); border-color: var(--hairline-ink); color: #9aa1ad; }

.index {
  font-size: 12px; color: var(--blue); letter-spacing: 0.2em;
}
.section-head {
  display: flex; align-items: center; gap: 20px; margin-bottom: 28px;
}
.section-head::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.section-ink .section-head::after { background: var(--hairline-ink); }

/* ---------- reveal choreography ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    transform 0.9s var(--ease) var(--d, 0ms),
    filter 0.9s var(--ease) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  border-radius: 999px; padding: 12px 8px 12px 24px;
  text-decoration: none; border: 1px solid transparent;
  transition: all 0.7s var(--ease-btn);
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px var(--blue-glow); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-chip {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.7s var(--ease-btn);
}
.btn:hover .btn-chip { transform: translateX(3px) translateY(-1px) scale(1.05); }
.btn-ghost {
  border-color: var(--hairline); color: var(--text-bright);
  background: var(--paper); padding: 12px 24px;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-sm { font-size: 13px; padding: 8px 6px 8px 18px; gap: 8px; }
.btn-sm .btn-chip { width: 24px; height: 24px; }
.btn-lg { font-size: 17px; padding: 16px 10px 16px 30px; }

.text-link {
  display: inline-block; font-weight: 600; color: var(--blue-deep);
  text-decoration: none; border-bottom: 1px solid var(--blue-wash);
  transition: border-color 0.4s var(--ease);
}
.text-link:hover { border-color: var(--blue); }
.section-ink .text-link { color: #8aa4ec; border-bottom-color: rgba(89, 126, 227, 0.35); }
.section-ink .text-link:hover { border-color: var(--blue); }

/* ---------- nav ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 20px clamp(16px, 3vw, 32px) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 30px -12px rgba(55, 73, 166, 0.18);
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
  transition: box-shadow 0.5s var(--ease);
}
.wordmark {
  font-weight: 700; font-size: 19px; letter-spacing: -0.03em;
  color: var(--text-bright); text-decoration: none;
  display: inline-flex; align-items: center;
}
.wordmark em { font-style: normal; color: var(--blue); }
.wordmark img { height: 26px; width: auto; display: block; }
.footer-brand .wordmark img { height: 34px; }
.nav-links { display: flex; gap: clamp(12px, 2vw, 26px); }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--text-body);
  text-decoration: none; transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text-bright); }
.nav-links a.is-here { color: var(--blue); }
.nav-burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(26, 27, 30, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  color: #f4f6f9; text-decoration: none;
  font-size: 34px; font-weight: 650; letter-spacing: -0.03em;
  transform: translateY(24px); opacity: 0;
  transition: all 0.6s var(--ease);
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu.open a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.open a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu.open a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu.open a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu.open a:nth-child(5) { transition-delay: 260ms; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 12vh, 140px)) 0 clamp(64px, 9vh, 120px);
  min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-one {
  position: absolute; z-index: 1;
  right: -4vw; top: -12vh;
  font-family: var(--mono);
  font-size: clamp(30rem, 62vh, 56rem);
  font-weight: 700; line-height: 0.75;
  color: var(--blue);
  opacity: 0.055;
  pointer-events: none; user-select: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero-copy .display { margin: 22px 0 24px; }
.display .est { color: var(--text-dim); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--loss); }
.display .knows em { font-style: normal; color: var(--blue); }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-note { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.cta-note-ink { color: #8b919d; }

.hero-kpis { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- KPI card (VBL §5.2 — lifted from product) ---------- */
.kpi-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 16px 10px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 128px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.kpi-card.is-active {
  border-color: var(--blue);
  border-top: 2.5px solid var(--blue);
  background: linear-gradient(var(--blue-alpha), var(--blue-alpha)), var(--paper);
  box-shadow: 0 0 12px var(--blue-glow);
}
.kpi-label {
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-dim);
}
.kpi-value {
  font-family: var(--mono); font-feature-settings: 'tnum';
  font-size: 22px; font-weight: 700; color: var(--text-bright);
  line-height: 1.2;
}
.delta {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}
.delta.up { color: var(--gain); }
.delta.dn { color: var(--loss); }

/* ---------- double bezel (VBL §6) ---------- */
.bezel {
  background: rgba(26, 32, 44, 0.045);
  border: 1px solid rgba(26, 32, 44, 0.06);
  border-radius: 2rem;
  padding: 8px;
}
.bezel-core {
  background: var(--ink);
  border-radius: calc(2rem - 8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
}
.section-ink .bezel { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); }

.chart-caption {
  display: block; margin-top: 14px;
  font-size: 10px; letter-spacing: 0.18em; color: var(--text-dim);
}
.section-ink .chart-caption { color: #6d737e; }

/* ---------- hero chart ---------- */
.chart-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.chart-title { font-size: 10px; letter-spacing: 0.14em; color: #9aa1ad; }
.chart-range { font-size: 10px; letter-spacing: 0.14em; color: #6d737e; }
#climb { width: 100%; height: auto; display: block; }
.chart-grid line { stroke: var(--hairline-ink); stroke-width: 1; }
.line-market {
  fill: none; stroke: var(--market); stroke-width: 2;
  stroke-dasharray: 5 6; opacity: 0.85;
}
.line-you {
  fill: none; stroke: var(--blue); stroke-width: 3;
  stroke-linecap: round;
}
.area-you { fill: url(#youFill); fill: rgba(89, 126, 227, 0.14); opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
.dot-you { fill: var(--blue); opacity: 0; }
.chart-core.drawn .area-you { opacity: 1; }
.chart-core.drawn .dot-you { opacity: 1; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { r: 5; }
  50% { r: 7; }
}
.chart-legend { display: flex; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.lg { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #9aa1ad; }
.lg b { color: #f4f6f9; font-weight: 700; }
.lg i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.lg-you i { background: var(--blue); }
.lg-market i { background: var(--market); height: 2px; }
.chart-delta { margin-left: auto; opacity: 0; transform: scale(0.9); transition: all 0.6s var(--ease) 1.6s; }
.chart-core.drawn .chart-delta { opacity: 1; transform: scale(1); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  border-top: 1px solid var(--hairline-ink);
  border-bottom: 1px solid var(--hairline-ink);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  position: relative; z-index: 2;
}
.ticker-track { display: inline-flex; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: inline-flex; align-items: baseline; }
.ticker-set b {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  color: #c9cdd6; margin: 0 14px 0 36px;
}
.ticker-set i { font-family: var(--mono); font-style: normal; font-size: 12px; font-weight: 700; }
.ticker-set i.up { color: var(--gain); }
.ticker-set i.dn { color: var(--loss); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section-tight { padding: clamp(80px, 10vw, 128px) 0; }
.section-ink { background: var(--ink); color: #b6bcc8; z-index: 2; }
.section-ink .index { color: var(--blue); }

/* ---------- proof ---------- */
.proof-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}
.proof-card {
  border-radius: 16px; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 12px;
}
.proof-them {
  background: var(--ink-raised);
  border: 1px solid var(--hairline-ink);
}
.proof-us {
  background: var(--ink-raised);
  border: 1px solid var(--blue);
  border-top: 2.5px solid var(--blue);
  box-shadow: 0 0 32px rgba(89, 126, 227, 0.14);
}
.proof-tag { font-size: 10px; letter-spacing: 0.2em; color: #8b919d; }
.proof-tag-blue { color: var(--blue); }
.proof-value {
  font-family: var(--mono); font-feature-settings: 'tnum';
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700;
  color: #f4f6f9; line-height: 1;
}
.blur-value { filter: blur(5px); color: var(--market); user-select: none; }
.proof-unit { font-size: 0.4em; font-weight: 500; color: #8b919d; margin-left: 4px; }
.proof-sub { font-size: 11px; letter-spacing: 0.08em; color: #8b919d; }
.proof-list { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.proof-list li {
  font-size: 14.5px; padding-left: 20px; position: relative; color: #b6bcc8;
}
.proof-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 1px; background: var(--market);
}
.proof-us .proof-list li::before { background: var(--blue); }
.proof-us .proof-list em { font-style: normal; color: #f4f6f9; }
.proof-vs {
  align-self: center; font-size: 12px; letter-spacing: 0.2em; color: #6d737e;
}
.proof-footnote {
  margin-top: 32px; font-size: 10px; letter-spacing: 0.2em; color: #6d737e;
}

/* ---------- splits ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 40px);
}
.split-rev .split-visual { order: -1; }

.anchor-list { list-style: none; margin: 8px 0 28px; max-width: 480px; }
.anchor-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 4px; border-bottom: 1px solid var(--hairline);
}
.anchor-list li:first-child { border-top: 1px solid var(--hairline); }
.anchor-name { font-weight: 500; color: var(--text-dim); }
.anchor-price { font-size: 14px; color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, 0.55); }
.anchor-us .anchor-name { color: var(--text-bright); font-weight: 650; }
.anchor-us .anchor-name em { font-style: normal; color: var(--blue); }
.anchor-us .anchor-price { color: var(--blue-deep); font-weight: 700; text-decoration: none; font-size: 16px; }

/* share bars visual */
.share-visual { display: flex; flex-direction: column; gap: 16px; }
.share-row { display: grid; grid-template-columns: 150px 1fr 52px; align-items: center; gap: 14px; }
.share-kw { font-size: 11px; color: #9aa1ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-bar { position: relative; height: 10px; background: var(--ink-elevated); border-radius: 3px; overflow: hidden; }
.share-bar i, .share-bar em {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px;
  width: 0; transition: width 1.1s var(--ease);
}
.share-bar i { background: var(--market); opacity: 0.45; }
.share-bar em { background: var(--blue); }
.in-view .share-bar i { width: var(--w); }
.in-view .share-bar em { width: var(--w); transition-delay: 0.15s; }
.share-pct { font-size: 12px; font-weight: 700; color: #f4f6f9; text-align: right; }
.share-legend { display: flex; gap: 20px; margin-top: 6px; font-size: 9px; letter-spacing: 0.16em; color: #8b919d; }
.share-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.sw-blue { background: var(--blue); }
.sw-gray { background: var(--market); opacity: 0.45; }

/* ---------- serp / page one ---------- */
.serp-head { font-size: 10px; letter-spacing: 0.14em; color: #6d737e; margin-bottom: 18px; text-transform: uppercase; }
.serp-body { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.serp-rail { display: flex; flex-direction: column; }
.serp-rail span {
  height: 47px; display: flex; align-items: center;
  font-size: 11px; color: #6d737e;
}
.serp-items { display: flex; flex-direction: column; }
.serp-item {
  display: flex; align-items: center; gap: 12px;
  height: 47px; box-sizing: border-box;
  border-bottom: 1px solid var(--hairline-ink);
  transition: transform 1.1s var(--ease);
}
.serp-item:last-child { border-bottom: none; }
.serp-bar { height: 8px; background: var(--ink-elevated); border-radius: 3px; width: var(--w); }
.serp-you {
  background: linear-gradient(var(--blue-alpha), var(--blue-alpha)), var(--ink-raised);
  border: 1px solid var(--blue) !important; border-radius: 8px;
  padding: 0 14px;
  box-shadow: 0 0 16px rgba(89, 126, 227, 0.22);
  position: relative; z-index: 2;
}
.serp-you-pos { font-size: 11px; font-weight: 700; color: var(--blue); min-width: 30px; }
.serp-you-label { font-size: 12px; font-weight: 600; color: #f4f6f9; letter-spacing: 0.04em; }
.serp-you-label b { color: #9aa1ad; font-weight: 500; margin-left: 6px; font-size: 11px; }
.serp-you .delta { margin-left: auto; }
/* climb: YOU starts in slot 8, rises five slots to slot 3;
   the five items it passes (slots 3-7) each shift down one */
.serp.climbed .serp-you { transform: translateY(-235px); }
.serp.climbed .serp-shifts { transform: translateY(47px); }

.suite-note {
  display: block; font-size: 10px; letter-spacing: 0.18em;
  color: #6d737e; margin-top: 16px;
}

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.bento-card {
  grid-column: span 2;
  background: var(--ink-raised);
  border: 1px solid var(--hairline-ink);
  border-radius: 16px;
  padding: clamp(22px, 2.5vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.bento-card:hover { border-color: var(--blue); transform: translateY(-3px); }
a.bento-card { text-decoration: none; }
.bento-explore {
  margin-top: auto; padding-top: 16px; font-size: 10px; letter-spacing: 0.18em;
  color: var(--blue); display: inline-flex; align-items: center; gap: 7px;
}
.bento-explore span { transition: transform 0.4s var(--ease); }
a.bento-card:hover .bento-explore span { transform: translateX(4px); }
.bento-lg { grid-column: span 4; grid-row: span 1; }
.bento-tag { font-size: 9px; letter-spacing: 0.2em; color: var(--blue); }
.bento-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 650;
  letter-spacing: -0.02em; color: #f4f6f9; text-wrap: balance;
}
.bento-card p { font-size: 14.5px; color: #9aa1ad; text-wrap: pretty; }
.bento-mini-chart { margin-top: auto; padding-top: 16px; }
.bento-mini-chart svg { width: 100%; height: 64px; display: block; }
.mini-market { fill: none; stroke: var(--market); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.7; }
.mini-you { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }

/* ---------- agencies ---------- */
.quote {
  border-left: 2px solid var(--blue);
  padding-left: 24px; margin-top: 36px;
}
.quote p { font-size: 17px; color: var(--text-bright); font-weight: 500; text-wrap: pretty; margin-bottom: 14px; }
.quote footer { display: flex; flex-direction: column; gap: 3px; }
.quote-name { font-weight: 650; color: var(--text-bright); font-size: 14px; }
.quote-role { font-size: 10px; letter-spacing: 0.16em; color: var(--text-dim); }
.quote .delta { margin-top: 6px; }

.clients { display: flex; flex-direction: column; }
.client-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--hairline-ink);
}
.client-name { font-weight: 550; color: #f4f6f9; font-size: 14.5px; flex: 1; }
.client-kws { font-size: 11px; color: #6d737e; }
.client-foot { padding-top: 16px; font-size: 9px; letter-spacing: 0.2em; color: #6d737e; }

/* ---------- pricing ---------- */
.billing-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px; padding: 4px;
  margin-top: 8px;
  box-shadow: 0 4px 10px rgba(55, 73, 166, 0.06);
}
.billing-switch button {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: var(--text-body);
  background: transparent; border: none; cursor: pointer;
  border-radius: 999px; padding: 9px 20px;
  transition: all 0.5s var(--ease);
}
.billing-switch button.on { background: var(--blue); color: #fff; }
.billing-switch button:active { transform: scale(0.98); }
.save-tag { font-size: 11px; opacity: 0.85; margin-left: 6px; font-weight: 500; }

.plan-desc {
  font-size: 13.5px; color: var(--text-dim); text-wrap: pretty;
  min-height: 40px; margin-bottom: 10px;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: clamp(40px, 5vw, 64px);
  align-items: stretch;
}
.plan { padding: clamp(24px, 2.5vw, 36px); gap: 8px; }
.plan .kpi-label { font-size: 11px; }
.plan-flag {
  position: absolute; top: -1px; right: 20px;
  background: var(--blue); color: #fff;
  font-size: 9px; letter-spacing: 0.16em; font-weight: 700;
  padding: 5px 12px; border-radius: 0 0 8px 8px;
}
.plan-price {
  font-family: var(--mono); font-feature-settings: 'tnum';
  font-size: clamp(2.6rem, 3.5vw, 3.4rem); font-weight: 700;
  color: var(--text-bright); line-height: 1;
  margin: 6px 0 2px;
}
.plan-cur { font-size: 0.5em; vertical-align: 0.7em; color: var(--text-dim); font-weight: 500; }
.plan-per { font-size: 0.32em; color: var(--text-dim); font-weight: 500; }
.plan-sub { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-list li { font-size: 14.5px; padding-left: 22px; position: relative; text-wrap: pretty; }
.plan-list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 12px; height: 1.5px; background: var(--blue);
}
.plan-list b { color: var(--text-bright); }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-anchor {
  display: block; margin-top: 36px;
  font-size: 10px; letter-spacing: 0.2em; color: var(--text-dim);
}

/* ---------- final CTA ---------- */
.cta-final { overflow: hidden; text-align: left; }
.cta-one {
  position: absolute; left: -6vw; bottom: -22vh;
  font-family: var(--mono);
  font-size: clamp(24rem, 55vh, 48rem);
  font-weight: 700; line-height: 0.75;
  color: var(--blue); opacity: 0.07;
  pointer-events: none; user-select: none;
}
.cta-final .display { margin: 20px 0 20px; }
.cta-final .lede { margin-bottom: 36px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--hairline-ink); padding: 72px 0 40px; position: relative; z-index: 2; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px;
}
.footer-brand .wordmark { color: #f4f6f9; }
.footer-tag { font-size: 10px; letter-spacing: 0.24em; color: #6d737e; margin-top: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font-size: 9px; letter-spacing: 0.2em; color: #6d737e; margin-bottom: 6px; }
.footer-col a { color: #9aa1ad; text-decoration: none; font-size: 14px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: #f4f6f9; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline-ink); padding-top: 28px;
  font-size: 9px; letter-spacing: 0.18em; color: #6d737e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-lg { grid-column: span 1; }
  .bento-lg { grid-column: span 2; }
}

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split-rev .split-visual { order: 0; }
  .hero { min-height: auto; }
  .hero-one { font-size: 22rem; right: -18vw; top: -6vh; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-vs { justify-self: center; padding: 4px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav .btn { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 6px; cursor: pointer;
  }
  .nav-burger span {
    width: 20px; height: 2px; background: var(--text-bright);
    border-radius: 2px; transition: transform 0.4s var(--ease);
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .grid-overlay { grid-template-columns: repeat(2, 1fr); }
  .serp.climbed .serp-you { transform: translateY(-235px); }
}

@media (max-width: 560px) {
  .hero-kpis { gap: 8px; }
  .kpi-card { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .hero-kpis .kpi-card:last-child { flex-basis: 100%; }
  .share-row { grid-template-columns: 110px 1fr 46px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PILLAR PAGES — chapter deep-dives
   editorial figures over real product captures
   ============================================================ */
.chapter-hero {
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 116px)) 0 clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.chapter-hero .chapter-mark {
  position: absolute; top: 50%; right: -4vw; transform: translateY(-42%);
  font-size: clamp(16rem, 40vw, 40rem); font-weight: 700;
  color: var(--blue); opacity: 0.05; letter-spacing: -0.06em;
  line-height: 0.7; pointer-events: none; z-index: 0; user-select: none;
}
.chapter-kicker {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.chapter-kicker .index { font-size: 13px; }
.chapter-kicker .divider { flex: 0 0 40px; height: 1px; background: var(--hairline); }
.chapter-title {
  font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 700;
  letter-spacing: -0.045em; line-height: 0.99; color: var(--text-bright);
  text-wrap: balance; max-width: 16ch; margin-bottom: 24px;
}
.chapter-title em { font-style: normal; color: var(--blue); }
.chapter-lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; max-width: 60ch; text-wrap: pretty; }
.chapter-metrics {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px;
}
.chapter-metrics .kpi-card { flex: 1 1 0; min-width: 150px; }

/* ---------- editorial figure ---------- */
.figure-section { padding: clamp(20px, 4vw, 44px) 0 clamp(72px, 10vw, 120px); }
.figure {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--hairline-ink);
  border-radius: 18px;
  padding: clamp(10px, 1.4vw, 16px);
  box-shadow: 0 40px 90px -50px rgba(26, 27, 30, 0.6), 0 2px 0 rgba(255,255,255,0.03) inset;
}
.figure-bar {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px 12px;
}
.figure-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline-ink); }
.figure-bar .dot.live { background: var(--blue); box-shadow: 0 0 0 0 var(--blue-glow); animation: figpulse 2.4s var(--ease) infinite; }
.figure-bar .figure-url {
  margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: #6d737e;
}
@keyframes figpulse {
  0% { box-shadow: 0 0 0 0 var(--blue-glow); }
  70% { box-shadow: 0 0 0 7px rgba(89,126,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(89,126,227,0); }
}
.figure-shot { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--hairline-ink); }
.figure-shot img { width: 100%; display: block; }
.figure-cap {
  margin-top: 16px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  display: flex; align-items: center; gap: 12px;
}
.figure-cap::before { content: ''; width: 22px; height: 1px; background: var(--blue); flex: 0 0 auto; }

/* annotation callouts overlaid on the shot */
.annote {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  transform: translateY(6px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.figure.in .annote { transform: translateY(0); opacity: 1; }
.figure.in .annote:nth-of-type(2) { transition-delay: 0.14s; }
.figure.in .annote:nth-of-type(3) { transition-delay: 0.28s; }
.figure.in .annote:nth-of-type(4) { transition-delay: 0.42s; }
.annote-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 2px 8px -1px rgba(55,73,166,0.5); flex: 0 0 auto;
}
.annote-label {
  font-family: var(--mono); font-size: 11px; line-height: 1.3;
  letter-spacing: 0.02em; color: #f4f6f9;
  background: rgba(26, 27, 30, 0.86); backdrop-filter: blur(6px);
  border: 1px solid var(--hairline-ink); border-radius: 8px;
  padding: 7px 11px; max-width: 210px;
}
.annote-label b { color: var(--blue); font-weight: 500; }
.annote.right { flex-direction: row-reverse; text-align: right; }

/* ---------- alternating feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--hairline);
}
.feature-row.rev .feature-visual { order: -1; }
.feature-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 650;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--text-bright);
  text-wrap: balance; margin-bottom: 18px;
}
.feature-copy .body { margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text-body); line-height: 1.5;
}
.feature-list li::before {
  content: ''; margin-top: 7px; width: 7px; height: 7px; border-radius: 2px;
  background: var(--blue); flex: 0 0 auto; transform: rotate(45deg);
}
.feature-visual {
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
  background: var(--ink); box-shadow: 0 30px 70px -50px rgba(26,27,30,0.5);
}
.feature-visual img { width: 100%; display: block; }
.feature-visual .fv-cap {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6d737e; padding: 12px 16px;
  border-top: 1px solid var(--hairline-ink);
}

/* ---------- chapter footer nav ---------- */
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(40px,6vw,72px) 0; }
.chapter-nav a {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 14px; padding: 22px 24px;
  background: var(--paper); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.chapter-nav a:hover { border-color: var(--blue); transform: translateY(-2px); }
.chapter-nav a.next { text-align: right; align-items: flex-end; }
.chapter-nav .cn-dir { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }
.chapter-nav .cn-name { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; color: var(--text-bright); }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.rev .feature-visual { order: 0; }
  .chapter-metrics .kpi-card { flex: 1 1 calc(50% - 6px); }
  /* annotations get noisy on small screens — hide, caption carries the story */
  .annote { display: none; }
}
@media (max-width: 560px) {
  .chapter-nav { grid-template-columns: 1fr; }
  .chapter-nav a.next { text-align: left; align-items: flex-start; }
}

/* ============================================================
   AI ANALYST — the example-exchange "receipt"
   A stylized transcript (NOT a screenshot) proving the answer.
   ============================================================ */
.ax-section { padding: clamp(48px, 7vw, 104px) 0; }
.ax-head { text-align: center; max-width: 46ch; margin: 0 auto clamp(36px, 5vw, 56px); }
.ax-head .index { font-size: 12px; color: var(--text-dim); }
.ax-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.02; color: var(--text-bright); text-wrap: balance; margin: 14px 0 12px;
}
.ax-head h2 em { font-style: normal; color: var(--blue); }
.ax-head p { color: var(--text-body); font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }

.ax-thread {
  max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(20px, 3vw, 34px); border: 1px solid var(--hairline); border-radius: 20px;
  background: var(--paper); box-shadow: 0 40px 90px -60px rgba(26,27,30,0.4);
}
.ax-row { display: flex; gap: 14px; align-items: flex-start; }
.ax-row.ax-user { flex-direction: row-reverse; }
.ax-av {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
}
.ax-av.ai { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 6px 16px -6px rgba(55,73,166,0.6); }
.ax-av.you { background: var(--canvas); color: var(--text-dim); border: 1px solid var(--hairline); }
.ax-bubble { max-width: 82%; }
.ax-user .ax-bubble {
  background: var(--blue-wash); border: 1px solid #cdd8f6; color: #223;
  padding: 12px 16px; border-radius: 14px 14px 4px 14px; font-size: 15px; line-height: 1.45;
}
.ax-ai .ax-bubble {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 14px 14px 14px 4px; padding: 14px 16px; width: 100%;
  box-shadow: 0 1px 0 rgba(26,27,30,0.02);
}
.ax-ai .ax-bubble p { font-size: 15px; line-height: 1.55; color: var(--text-body); }
.ax-ai .ax-bubble p + p { margin-top: 12px; }
.ax-ai .ax-bubble b { color: var(--text-bright); font-weight: 600; }
.ax-tool {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--text-dim);
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 11px;
}
.ax-tool .ax-tool-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.ax-tool b { color: var(--blue-deep); font-weight: 600; }
/* mini data readout inside the answer */
.ax-data { margin: 14px 0 4px; border-top: 1px solid var(--hairline); }
.ax-data-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--hairline);
}
.ax-kw { font-size: 13.5px; color: var(--text-bright); font-weight: 500; }
.ax-share { font-family: var(--mono); font-size: 12.5px; color: var(--text-body); letter-spacing: 0.01em; }
.ax-share .now { color: var(--text-bright); }
.ax-delta { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--loss); text-align: right; min-width: 56px; }
.ax-delta.up { color: var(--gain); }
.ax-cap {
  text-align: center; margin-top: 22px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}

@media (max-width: 640px) {
  .ax-bubble { max-width: 100%; }
  .ax-data-row { grid-template-columns: 1fr auto; }
  .ax-data-row .ax-share { display: none; }
}

/* ---------- Vela homepage section: principle trio ---------- */
.vela-lede { max-width: 62ch; margin-top: 18px; }
.vela-name { color: var(--blue); font-weight: 700; }
.vela-principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(40px, 5vw, 60px);
}
.vela-principle { border-top: 2.5px solid var(--blue); padding-top: 18px; }
.vela-principle .vp-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue);
}
.vela-principle h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 650; letter-spacing: -0.02em;
  color: var(--text-bright); margin: 11px 0 9px; text-wrap: balance;
}
.vela-principle p { font-size: 14.5px; color: var(--text-body); line-height: 1.55; text-wrap: pretty; }
.vela-cta { margin-top: clamp(36px, 5vw, 52px); }
@media (max-width: 820px) {
  .vela-principles { grid-template-columns: 1fr; gap: 8px; }
  .vela-principle { padding: 18px 0 6px; }
}
