/* ============================================================================
 * Sonde — marketing homepage styles.
 * Cobalt × Lime: cool neutral gray, heavy Space Grotesk display, lime accent.
 * Lime is a highlighter/fill carrying near-black text — NEVER lime text on light.
 * Deep green (--up) is reserved for positive data. Tokens mirror web/static/css/sonde.css.
 * ========================================================================== */

:root {
  --bg:        #f3f3f3;
  --bg2:       #e8e8e6;
  --panel:     #fbfcf7;
  --paper:     #ffffff;
  --ink:       #0d1410;
  --ink2:      #2a322c;
  --dim:       #6a746a;
  --faint:     #a0a89e;
  --line:      rgba(13, 20, 16, 0.08);
  --line-strong: rgba(13, 20, 16, 0.16);
  --accent:    #7ee03c;
  --accent-ink:#0d1410;
  --accent-soft: rgba(126, 224, 60, 0.16);
  --accent-line: rgba(126, 224, 60, 0.45);
  --up:        #1f7d4e;
  --up-soft:   rgba(31, 125, 78, 0.14);
  --down:      #c8473a;
  --down-soft: rgba(200, 71, 58, 0.14);
  --caution:   #a06a1c;
  --caution-soft: rgba(160, 106, 28, 0.08);
  --caution-line: rgba(160, 106, 28, 0.30);

  --display: 'Space Grotesk', 'Inter Tight', -apple-system, sans-serif;
  --sans:    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --pad: 56px;

  --mark-tile: var(--ink);
  --mark-fg: var(--accent);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Shared eyebrow — mono, deep-green (never lime text) */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--up);
  font-weight: 700;
  margin: 0 0 14px;
}
.eyebrow .idx { color: var(--faint); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  border-radius: 10px; cursor: pointer; border: 1.5px solid transparent;
  padding: 13px 22px; line-height: 1; white-space: nowrap;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent:hover { background: #6dd02d; border-color: #6dd02d; }
.btn-ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ink:hover { background: #000; border-color: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }

/* ——— Brand mark ——— */
.mark { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.mark rect { fill: var(--mark-tile); }
.mark path { fill: var(--mark-fg); }
.mark circle { stroke: var(--mark-fg); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.9px; line-height: 1; }

/* ============================================================================
 * NAV
 * ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 243, 243, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
.nav-links { display: flex; gap: 30px; font-size: 13px; color: var(--ink2); font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px;
  background: var(--accent); border-radius: 2px; transition: right .18s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .signin { font-size: 13px; color: var(--ink2); font-weight: 500; cursor: pointer; }
.nav-cta .signin:hover { color: var(--ink); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ============================================================================
 * HERO
 * ========================================================================== */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
[data-hero="editorial"] .hero-grid,
[data-hero="centered"]  .hero-grid { grid-template-columns: 1fr; }
[data-hero="split"]     .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
[data-hero="centered"]  .hero-copy { text-align: center; margin: 0 auto; }
[data-hero="centered"]  .hero-cta { justify-content: center; }
[data-hero="centered"]  .hero-eyebrow-chip { margin-left: auto; margin-right: auto; }

.hero-copy { max-width: 720px; }
[data-hero="split"] .hero-copy { max-width: 600px; }

.hero-eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 0.96; letter-spacing: -0.045em;
  margin: 0 0 24px; text-wrap: balance;
}
.hero h1 .hl {
  display: inline; padding: 0 2px;
  background-image: linear-gradient(180deg, transparent 0 58%, var(--accent) 58% 94%, transparent 94%);
  background-repeat: no-repeat;
}
[data-hl="off"] .hero h1 .hl { background-image: none; }

body[data-roadmap="off"] #roadmap { display: none; }

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.5; color: var(--ink2); max-width: 600px; margin: 0 0 34px;
  text-wrap: pretty;
}
[data-hero="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 26px; font-family: var(--mono); font-size: 11px; color: var(--faint);
  letter-spacing: 0.3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-trust b { color: var(--ink2); font-weight: 600; }
.hero-trust .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); display: inline-block; }

/* ——— Product mock (company view) ——— */
.mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 32px 80px rgba(13, 20, 16, 0.10); padding: 14px;
}
[data-hero="editorial"] .mock-shell,
[data-hero="centered"]  .mock-shell { margin-top: clamp(40px, 5vw, 64px); }
.mock-chrome { display: flex; align-items: center; gap: 6px; padding: 4px 8px 12px; }
.mock-chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: #d6dad0; }
.mock-chrome .url {
  flex: 1; text-align: center; font-family: var(--mono); font-size: 10.5px;
  color: var(--faint); letter-spacing: 0.6px;
}
.mock-screen { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.mock-name { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -1px; }
.mock-meta { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 4px; letter-spacing: 0.3px; }
.mock-tags { display: flex; gap: 8px; flex-shrink: 0; }
.tag-mono {
  font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.tag-up { background: var(--up-soft); color: var(--up); }
.tag-lime { background: var(--accent); color: var(--accent-ink); }
.mock-glance {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid var(--line); padding-top: 15px;
}
.mock-glance .lbl {
  font-size: 9.5px; color: var(--dim); margin-bottom: 5px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.mock-glance .val { font-family: var(--display); font-size: clamp(18px, 1.7vw, 26px); font-weight: 700; letter-spacing: -1px; }
.mock-tabs { margin-top: 18px; display: flex; gap: 4px; flex-wrap: wrap; }
.mock-tabs span {
  font-size: 11.5px; padding: 6px 12px; border-radius: 8px; color: var(--dim); font-weight: 500; white-space: nowrap;
}
.mock-tabs span.on { background: var(--ink); color: var(--bg); font-weight: 600; }
.mock-captable { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.mock-captable .cap-h {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--faint); display: grid; grid-template-columns: 1fr 86px 64px; gap: 12px; margin-bottom: 8px;
}
.cap-row {
  display: grid; grid-template-columns: 1fr 86px 64px; gap: 12px; align-items: center;
  padding: 7px 0; border-top: 1px solid var(--line);
}
.cap-row:first-of-type { border-top: none; }
.cap-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cap-ini {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; background: var(--bg2);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 10px; font-weight: 700; color: var(--ink);
}
.cap-nm { font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-nm small { color: var(--dim); font-weight: 400; font-family: var(--mono); font-size: 10px; }
.cap-bar { height: 6px; border-radius: 3px; background: var(--bg2); overflow: hidden; }
.cap-bar > i { display: block; height: 100%; background: var(--up); border-radius: 3px; }
.cap-pct { font-family: var(--mono); font-size: 12px; font-weight: 600; text-align: right; }

/* rolling-card indicator dots */
.mock-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.md-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong);
  border: 0; padding: 0; cursor: pointer; transition: width .2s ease, background .2s ease, border-radius .2s ease;
}
.md-dot.on { background: var(--up); width: 20px; border-radius: 4px; }

/* ============================================================================
 * FACTUAL STAT STRIP
 * ========================================================================== */
.strip { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip .cell { padding: 26px 8px 24px; border-right: 1px solid var(--line); }
.strip .cell:last-child { border-right: none; }
.strip .num { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -1.4px; line-height: 1; }
.strip .cap { font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 8px; letter-spacing: 0.6px; line-height: 1.5; }

/* ============================================================================
 * SECTION SCAFFOLD
 * ========================================================================== */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--bg); }
.sec-head { max-width: 820px; margin-bottom: clamp(36px, 4vw, 52px); }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.sec-head h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
.sec-head .aside { font-size: 14px; color: var(--dim); max-width: 300px; line-height: 1.55; }
.section.dark .eyebrow { color: var(--accent); }
.section.dark .sec-head .aside { color: rgba(239, 241, 235, 0.6); }

/* ——— How it works: capability steps ——— */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px;
  display: flex; flex-direction: column;
}
.step .lead {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--faint); display: flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.step .n {
  width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.step .st { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 9px; }
.step .sd { font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.step.hl { background: var(--ink); color: var(--bg); }
.step.hl .st { color: var(--bg); }
.step.hl .sd { color: #c7ccc7; }
.step.hl .lead { color: #8e978e; }
.step.hl .n { background: var(--accent); color: var(--accent-ink); }
.step .connector { display: none; }

/* ——— Featured before → after ——— */
.transform {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: center;
  margin-bottom: 40px;
}
.tf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.tf-card .tf-lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between;
}
.tf-arrow {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(126, 224, 60, 0.35);
}
/* scanned-PDF placeholder */
.pdf-scan {
  position: relative; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(13,20,16,0.035) 0 9px, transparent 9px 20px),
    var(--bg);
  padding: 18px 16px; min-height: 188px;
}
.pdf-scan .pg-lines { display: flex; flex-direction: column; gap: 7px; }
.pdf-scan .pg-lines i { display: block; height: 7px; border-radius: 2px; background: rgba(13,20,16,0.14); }
.pdf-scan .pg-lines i:nth-child(1) { width: 62%; } .pdf-scan .pg-lines i:nth-child(2) { width: 90%; }
.pdf-scan .pg-lines i:nth-child(3) { width: 78%; } .pdf-scan .pg-lines i:nth-child(4) { width: 84%; }
.pdf-scan .pg-lines i:nth-child(5) { width: 48%; } .pdf-scan .pg-lines i:nth-child(6) { width: 70%; }
.pdf-scan .stamp {
  position: absolute; right: 12px; bottom: 12px; transform: rotate(-7deg);
  font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--caution); border: 1.5px solid var(--caution-line); border-radius: 4px; padding: 4px 8px; font-weight: 700;
  background: var(--paper);
}
.tf-cap { display: grid; gap: 8px; }
.tf-cap .r { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.tf-cap .r .nm { font-weight: 500; }
.tf-cap .r .pc { font-family: var(--mono); font-weight: 600; }
.tf-cap .r .b { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--bg2); overflow: hidden; }
.tf-cap .r .b > i { display: block; height: 100%; background: var(--up); }

/* ——— Feature grid ——— */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.feature .ftop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.feature .fk { font-family: var(--mono); font-size: 11px; color: var(--dim); font-weight: 700; letter-spacing: 0.5px; }
.feature .fi {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature .fi svg { width: 16px; height: 16px; stroke: var(--up); fill: none; stroke-width: 1.7; }
.feature .ft { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.12; }
.feature .fd { font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.feature.beta { grid-column: span 2; background: var(--panel); border-color: var(--accent-line); }
.feature.beta .ft, .feature.beta .fd { max-width: 62ch; }
.beta-pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--up); background: var(--up-soft); padding: 3px 10px; border-radius: 999px;
}

/* ============================================================================
 * PROVENANCE / DATA
 * ========================================================================== */
.prov-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.prov-list { display: grid; gap: 16px; margin-top: 26px; }
.prov-list .pr { display: grid; grid-template-columns: 18px 1fr; gap: 13px; align-items: start; }
.prov-list .pr .tick {
  width: 18px; height: 18px; border-radius: 4px; background: var(--accent); margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prov-list .pr .tick svg { width: 11px; height: 11px; stroke: var(--accent-ink); stroke-width: 2.4; fill: none; }
.prov-list .pr .ph { font-weight: 600; font-size: 14.5px; }
.prov-list .pr .pb { font-size: 13px; color: rgba(239, 241, 235, 0.62); line-height: 1.5; }
.prov-panel { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 22px; }
.prov-panel .pp-h {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(239,241,235,0.5); margin-bottom: 16px;
}
.prov-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.09);
}
.prov-row:first-of-type { border-top: none; }
.prov-row .pl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prov-row .pl .v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--bg); }
.prov-row .pl .k { font-size: 11px; color: rgba(239,241,235,0.5); }
.src {
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); color: rgba(239,241,235,0.75); white-space: nowrap;
}
.src .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.src.digital { color: var(--accent); border-color: var(--accent-line); }
.src.image { color: #e0a850; border-color: rgba(224,168,80,0.4); }
.prov-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.09);
  font-size: 11.5px; color: rgba(239,241,235,0.55); line-height: 1.5; display: flex; gap: 9px;
}
.prov-note .lab { font-family: var(--mono); font-weight: 700; color: #e0a850; letter-spacing: 1px; font-size: 10px; flex-shrink: 0; }
.prov-caveat {
  margin-top: 22px; font-size: 12px; line-height: 1.55; max-width: 440px;
  color: rgba(239, 241, 235, 0.5); border-left: 2px solid var(--accent-line); padding-left: 13px;
}

/* ============================================================================
 * USE CASES
 * ========================================================================== */
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.uc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.uc.lead { background: var(--ink); color: var(--bg); }
.uc .uc-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--up); font-weight: 700; margin-bottom: 4px;
}
.uc.lead .uc-tag { color: var(--accent); }
.uc h3 { font-size: 24px; letter-spacing: -0.8px; }
/* The global `h1,h2,h3,h4 { color: var(--ink) }` is a direct rule, so it beats
   the light colour `.uc.lead` only passes down by inheritance — leaving this
   heading dark-on-dark. Set it explicitly. */
.uc.lead h3 { color: var(--bg); }
.uc p { font-size: 14px; color: var(--dim); line-height: 1.6; }
.uc.lead p { color: #c7ccc7; }
.uc .uc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.uc .uc-chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--dim); padding: 4px 9px; border-radius: 4px; font-weight: 600;
}
.uc.lead .uc-chip { border-color: rgba(255,255,255,0.2); color: rgba(239,241,235,0.7); }

/* ============================================================================
 * ROADMAP
 * ========================================================================== */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rm {
  border: 1px dashed var(--caution-line); border-radius: 14px; padding: 24px; background: var(--caution-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.rm .rm-top { display: flex; align-items: center; justify-content: space-between; }
.rm .rm-status {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
  color: var(--caution); border: 1px solid var(--caution-line); padding: 3px 9px; border-radius: 999px;
}
.rm .rm-ic { font-family: var(--mono); font-size: 11px; color: var(--faint); font-weight: 700; }
.rm h3 { font-size: 19px; letter-spacing: -0.5px; }
.rm p { font-size: 13px; color: var(--dim); line-height: 1.55; }

/* ============================================================================
 * PRICING
 * ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; align-items: start; }
.pricing.pricing-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.price {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; position: relative;
}
.price.featured { background: var(--ink); color: var(--bg); transform: translateY(-10px); box-shadow: 0 28px 70px rgba(13,20,16,0.22); }
.price .pname { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 16px; }
.price .pamt { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.price .pamt .v { font-family: var(--display); font-size: 56px; font-weight: 700; letter-spacing: -2.4px; line-height: 1; }
.price .pamt .s { font-size: 12px; color: var(--dim); font-weight: 500; }
.price.featured .pamt .s { color: rgba(239,241,235,0.6); }
.price .pblurb { font-size: 13px; color: var(--dim); line-height: 1.5; margin-bottom: 22px; min-height: 38px; }
.price.featured .pblurb { color: rgba(239,241,235,0.6); }
.price .pcta { width: 100%; justify-content: center; margin-bottom: 22px; }
.price.featured .pcta.btn-ink { background: rgba(239,241,235,0.1); border-color: rgba(239,241,235,0.15); color: var(--bg); }
.price .pfeat { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 11px; }
.price.featured .pfeat { border-top-color: rgba(239,241,235,0.12); }
.price .pf { display: grid; grid-template-columns: 16px 1fr; gap: 11px; font-size: 13px; align-items: start; }
.price .pf .tk { width: 15px; height: 15px; border-radius: 3px; background: var(--accent); margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.price .pf .tk svg { width: 9px; height: 9px; stroke: var(--accent-ink); stroke-width: 2.4; fill: none; }
.price-note { text-align: center; margin-top: 30px; font-size: 13px; color: var(--dim); }
.price-note .lk { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); cursor: pointer; }
.price-foot { text-align: center; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.3px; }

/* ============================================================================
 * FINAL CTA
 * ========================================================================== */
.final { text-align: center; padding: clamp(72px, 9vw, 120px) 0; }
.final h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 0.98; margin: 0 auto 34px; max-width: 980px; text-wrap: balance; }
.searchbox {
  max-width: 600px; margin: 0 auto; background: var(--panel); border: 1.5px solid var(--ink); border-radius: 12px;
  padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 12px; position: relative;
}
.searchbox svg.mag { width: 17px; height: 17px; stroke: var(--dim); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.searchbox input {
  flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: 15px; color: var(--ink); min-width: 0;
}
.searchbox input::placeholder { color: var(--faint); }
.searchbox .go { flex-shrink: 0; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 24px 60px rgba(13,20,16,0.16);
  overflow: hidden; text-align: left; z-index: 5; display: none;
}
.suggest.show { display: block; }
.suggest .sg {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--line); cursor: pointer;
}
.suggest .sg:first-child { border-top: none; }
.suggest .sg:hover { background: var(--bg2); }
.suggest .sg .sgn { font-size: 13.5px; font-weight: 500; }
.suggest .sg .sgk { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.3px; }
.suggest .sg .kind {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--up);
  background: var(--up-soft); padding: 2px 7px; border-radius: 3px; font-weight: 700;
}

/* ============================================================================
 * FOOTER
 * ========================================================================== */
.footer { background: var(--ink); color: rgba(239, 241, 235, 0.62); padding: 56px 0 32px; font-size: 13px; }
.footer .fgrid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer .fcol .fh { color: var(--bg); font-weight: 700; margin-bottom: 14px; font-size: 13px; }
.footer .fcol a { display: block; margin-bottom: 9px; color: rgba(239,241,235,0.62); }
.footer .fcol a:hover { color: var(--bg); }
/* The link-list rule above is a stacked `display:block` and outspecifies
   `.brand` (0,2,1 vs 0,1,0), which broke the footer lockup — the mark sat on
   top of the wordmark instead of beside it. Match its specificity to opt the
   brand back out; needs the `a` to stay ahead of the list rule. */
.footer .fcol a.brand { display: inline-flex; margin-bottom: 0; }
.footer .brand .word { color: var(--bg); font-size: 23px; }
.footer .ftag { max-width: 250px; line-height: 1.55; margin-top: 14px; }
.footer .legal {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(239,241,235,0.42); line-height: 1.55;
}
.footer .legal .reg { max-width: 720px; }

/* ============================================================================
 * TWEAKS PANEL
 * ========================================================================== */
#tweaks {
  position: fixed; right: 18px; bottom: 18px; z-index: 999; width: 268px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 24px 70px rgba(13,20,16,0.28); font-family: var(--sans); display: none;
  overflow: hidden;
}
#tweaks.on { display: block; }
#tweaks .tk-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg); cursor: grab;
}
#tweaks .tk-head .tt { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.3px; }
#tweaks .tk-head .tx { cursor: pointer; color: var(--dim); border: 0; background: none; font-size: 17px; line-height: 1; padding: 2px; }
#tweaks .tk-body { padding: 14px 16px 16px; max-height: 70vh; overflow-y: auto; }
#tweaks .tk-grp { margin-bottom: 16px; }
#tweaks .tk-grp:last-child { margin-bottom: 0; }
#tweaks .tk-lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; font-weight: 700; }
#tweaks .seg { display: flex; gap: 5px; flex-wrap: wrap; }
#tweaks .seg button {
  flex: 1; min-width: 0; font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--panel);
  color: var(--ink2); cursor: pointer; white-space: nowrap;
}
#tweaks .seg button.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
#tweaks select {
  width: 100%; font-family: var(--sans); font-size: 12.5px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); cursor: pointer;
}
#tweaks .tog { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#tweaks .tog .tn { font-size: 13px; font-weight: 500; }
#tweaks .sw { width: 40px; height: 23px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .15s; flex-shrink: 0; border: 0; }
#tweaks .sw.on { background: var(--up); }
#tweaks .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .15s; }
#tweaks .sw.on::after { transform: translateX(17px); }

/* ============================================================================
 * RESPONSIVE
 * ========================================================================== */
@media (max-width: 1080px) {
  :root { --pad: 32px; }
  [data-hero="split"] .hero-grid { grid-template-columns: 1fr; }
  [data-hero="split"] .mock-shell { margin-top: 8px; }
  .prov-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .footer .fgrid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .signin { display: none; }
  .nav-burger { display: block; }
  .sec-head.split { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .pricing, .pricing.pricing-2 { grid-template-columns: 1fr; max-width: 460px; }
  .price.featured { transform: none; }
  .transform { grid-template-columns: 1fr; }
  .tf-arrow { transform: rotate(90deg); margin: 0 auto; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip .cell:nth-child(2) { border-right: none; }
  .strip .cell:nth-child(1), .strip .cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  :root { --pad: 20px; }
  .features { grid-template-columns: 1fr; }
  .feature.beta { grid-column: auto; }
  .mock-glance { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .footer .fgrid { grid-template-columns: 1fr 1fr; }
  .mock-captable .cap-h, .cap-row { grid-template-columns: 1fr 56px 50px; }
  #tweaks { left: 14px; right: 14px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  * { animation: none !important; }
}

/* ============================================================================
 * DEFINITION BAND + MOTION  (ported from the design handoff's v2 pass)
 *
 * Every animation here is gated on `body.anim`, which marketing.js adds only
 * when the visitor has NOT asked for reduced motion. So the no-JS and
 * reduced-motion renders are the plain, fully-visible page — nothing is
 * hidden by a reveal that might never fire.
 * ========================================================================== */

/* The sonar rings extend past the mock at full scale; clip rather than scroll. */
html { overflow-x: clip; }

/* h1–h4 carry an explicit `color: var(--ink)` (see the top of this file), which
   beats the inherited light text on the dark provenance section. */
.section.dark h2 { color: var(--bg); }

/* `.hero`/`.final` set `padding` shorthand after `.wrap`'s side padding, which
   would otherwise zero out the gutters at equal specificity. */
.hero.wrap, .final.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* ——— "what is a sonde" definition band ——— */
.define { padding: clamp(72px, 9vw, 124px) 0; text-align: center; }
.define .df-entry {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  letter-spacing: -0.025em; line-height: 1.32;
  max-width: 880px; margin: 0 auto; text-wrap: balance; color: var(--ink2);
}
.define .df-word { font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.define .df-ipa {
  font-family: var(--mono); font-size: 0.48em; font-weight: 500; color: var(--dim);
  letter-spacing: 0.5px; margin: 0 0.7em 0 0.5em; vertical-align: 0.2em;
}
.define .df-pos {
  font-family: var(--mono); font-size: 0.44em; font-weight: 700; color: var(--faint);
  letter-spacing: 1.6px; text-transform: uppercase; vertical-align: 0.28em; margin-right: 0.9em;
}

/* ——— scroll reveals ——— */
body.anim[data-reveals="on"] [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.anim[data-reveals="on"] [data-reveal].in { opacity: 1; transform: none; }
body.anim[data-reveals="on"] [data-reveal-group] > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
              transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
body.anim[data-reveals="on"] [data-reveal-group].in > * { opacity: 1; transform: none; }

/* before → after bars draw in when the transform block reveals */
body.anim[data-reveals="on"] .tf-cap .r .b > i {
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.anim[data-reveals="on"] .transform.in .tf-cap .r .b > i { transform: scaleX(1); }
body.anim[data-reveals="on"] .transform.in .tf-cap .r:nth-child(1) .b > i { transition-delay: 0.30s; }
body.anim[data-reveals="on"] .transform.in .tf-cap .r:nth-child(2) .b > i { transition-delay: 0.42s; }
body.anim[data-reveals="on"] .transform.in .tf-cap .r:nth-child(3) .b > i { transition-delay: 0.54s; }
body.anim[data-reveals="on"] .transform.in .tf-cap .r:nth-child(4) .b > i { transition-delay: 0.66s; }

/* ——— hero entrance ——— */
@keyframes sondeRise  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes sondeMock  { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes sondeSweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
body.anim[data-intro="on"] .hero-copy > * { animation: sondeRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
body.anim[data-intro="on"] .hero-eyebrow-chip { animation-delay: 0.05s; }
body.anim[data-intro="on"] .hero h1 { animation-delay: 0.16s; }
body.anim[data-intro="on"] .hero-sub { animation-delay: 0.30s; }
body.anim[data-intro="on"] .hero-cta { animation-delay: 0.42s; }
body.anim[data-intro="on"] .hero-trust { animation-delay: 0.54s; }
body.anim[data-intro="on"] .mock { animation: sondeMock 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
body.anim[data-intro="on"] .mock-dots,
body.anim[data-intro="on"] .mock-note { animation: sondeRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both; }
body.anim[data-intro="on"][data-hl="on"] .hero h1 .hl {
  background-size: 100% 100%;
  animation: sondeSweep 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.85s backwards;
}

/* ——— sonar pulse behind the hero mock (the sonde, taking a reading) ——— */
.mock-shell { position: relative; }
.mock-shell .mock, .mock-dots, .mock-note { position: relative; z-index: 1; }
.sonar { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sonar i {
  position: absolute; left: 50%; top: 46%;
  width: min(540px, 76vw); aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1.5px solid rgba(13, 20, 16, 0.13);
  opacity: 0; transform: translate(-50%, -50%) scale(0.42);
}
.sonar i.lime { border-color: rgba(126, 224, 60, 0.55); }
@keyframes sondePing {
  0%   { transform: translate(-50%, -50%) scale(0.42); opacity: 0; }
  12%  { opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.42); opacity: 0; }
}
body.anim[data-sonar="on"] .sonar i { animation: sondePing 5.4s cubic-bezier(0.2, 0.5, 0.6, 1) infinite; }
body.anim[data-sonar="on"] .sonar i:nth-child(2) { animation-delay: 1.8s; }
body.anim[data-sonar="on"] .sonar i:nth-child(3) { animation-delay: 3.6s; }

/* hero mock cap-table bars grow on each rotation (widths set by marketing.js) */
.mock-captable .cap-bar > i { transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
