/* ==========================================================================
   BlendBadger marketing site — shared stylesheet
   Brand: navy dark theme (docs/brand). Fully self-contained: no external
   fonts, no external requests. Montserrat/Open Sans are listed first and
   fall back to the system stack when not installed.
   ========================================================================== */

:root {
  --bg: #1a2437; /* page background */
  --surface: #2a3550; /* cards */
  --surface-2: #1b2233; /* deep surface */
  --deep: #0f1728; /* accent well */
  --text: #eaedf3;
  --text-2: #c9cfda;
  --muted: #9aa3b6;
  --muted-2: #6e7891;
  --border: #364462;
  --border-strong: #445171;
  --green: #34c77b;
  --blue: #2e86d6;
  --blue-deep: #16558a;
  --orange: #f2791f;
  --orange-dark: #d96a15;
  --red: #e05252;
  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 40px rgba(6, 10, 20, 0.45);
  --maxw: 72rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--text-2);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 36, 55, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 30px; height: 30px; }
.nav-brand .blend { color: var(--orange); }
.nav-brand .badger { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-inline-start: auto;
}
/* Sign in + Join stay a unit so mobile can keep them on the brand row while
   the section links wrap to their own row underneath. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-start: 1.35rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(60rem 30rem at 70% -10%, rgba(46, 134, 214, 0.14), transparent 60%),
    radial-gradient(40rem 24rem at 10% 10%, rgba(242, 121, 31, 0.10), transparent 60%),
    radial-gradient(rgba(62, 92, 134, 0.35) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
  border-bottom: 1px solid var(--border);
}
.hero-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-word .blend { color: var(--orange); }
.hero-word .badger { color: #fff; }
.hero-tagline {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero h1 {
  margin-top: 2.2rem;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 800;
  max-width: 44rem;
}
.hero .lede {
  margin-top: 1.1rem;
  max-width: 40rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.hero-ctas { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted-2); }

/* -------------------------------------------------------------- sections */

.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--surface-2); }

.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
}
.section h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
}
.section .sub {
  margin-top: 0.8rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------- cards */

.grid { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; }
.card p { margin-top: 0.55rem; color: var(--muted); font-size: 0.95rem; }
.card .tag { margin-bottom: 0.7rem; }

/* --------------------------------------------------------------- badges */

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.tag-live { color: var(--green); border-color: rgba(52, 199, 123, 0.45); background: rgba(52, 199, 123, 0.08); }
.tag-soon { color: var(--blue); border-color: rgba(46, 134, 214, 0.45); background: rgba(46, 134, 214, 0.08); }
.tag-orange { color: var(--orange); border-color: rgba(242, 121, 31, 0.45); background: rgba(242, 121, 31, 0.08); }

/* ---------------------------------------------------------- screenshots */

.shot-frame {
  margin-top: 2.5rem;
  background: var(--deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: var(--shadow);
}
.shot-frame img { border-radius: 10px; }
.shot-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem 0.65rem;
}
.shot-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border-strong);
}
.shot-caption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* -------------------------------------------------------------- ladder */

.ladder {
  margin-top: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  max-width: 34rem;
}
.ladder-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.ladder-row:last-child { border-bottom: none; }
.ladder-row .op { width: 1rem; color: var(--muted-2); font-weight: 700; text-align: center; }
.ladder-row .label { flex: 1; color: var(--text-2); }
.ladder-row .bar-track { flex: 1.2; height: 0.55rem; border-radius: 999px; background: var(--deep); overflow: hidden; }
.ladder-row .bar { height: 100%; border-radius: 999px; background: var(--blue-deep); }
.ladder-row.minus .bar { background: var(--red); opacity: 0.75; }
.ladder-row.total { font-weight: 700; color: var(--text); }
.ladder-row.total .label { color: var(--text); }
.ladder-row.total .bar { background: var(--green); }
.ladder-row .src {
  font-size: 0.62rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}
.src-m { color: var(--green); background: rgba(52, 199, 123, 0.1); border: 1px solid rgba(52, 199, 123, 0.35); }
.src-e { color: #d9a04b; background: rgba(217, 160, 75, 0.1); border: 1px solid rgba(217, 160, 75, 0.35); }

/* ------------------------------------------------------------- pricing */

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.25rem; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); position: relative; }
.plan .plan-flag {
  position: absolute;
  top: -0.75rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.plan .price { margin-top: 0.8rem; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; }
.plan .price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.plan .annual { margin-top: 0.2rem; font-size: 0.8rem; color: var(--green); }
.plan ul { margin: 1.1rem 0 1.4rem; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 0.34rem 0; font-size: 0.88rem; color: var(--text-2); border-bottom: 1px solid rgba(54, 68, 98, 0.5); }
.plan li:last-child { border-bottom: none; }
.plan li .no { color: var(--muted-2); }
.plan .btn { text-align: center; }

/* --------------------------------------------------------------- tables */

.table-scroll { overflow-x: auto; margin-top: 2rem; }
table.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.matrix th, table.matrix td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: start;
}
table.matrix th { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
table.matrix td { color: var(--text-2); }
table.matrix td:first-child { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ faq */

.faq { margin-top: 2rem; max-width: 50rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.8rem;
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 1rem 0;
  list-style: none;
  position: relative;
  padding-inline-end: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.faq details p + p { margin-top: 0.5rem; }

/* ------------------------------------------------------------ legal text */

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.05rem; margin-top: 1.8rem; color: var(--text); }
.prose p, .prose li { color: var(--text-2); font-size: 0.97rem; }
.prose p { margin-top: 0.9rem; }
.prose ul, .prose ol { margin: 0.9rem 0 0 1.4rem; }
.prose li { margin-top: 0.45rem; }
.prose strong { color: var(--text); }
.prose .updated { color: var(--muted-2); font-size: 0.88rem; margin-top: 0.4rem; }
.prose .callout {
  margin-top: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--orange);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- CTA band */

.cta-band {
  text-align: center;
  padding: 4.5rem 0;
  background:
    radial-gradient(40rem 20rem at 50% 120%, rgba(242, 121, 31, 0.12), transparent 65%),
    var(--surface-2);
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; }
.cta-band p { margin-top: 0.8rem; color: var(--muted); }
.cta-band .hero-ctas { justify-content: center; }

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--border);
  background: var(--deep);
  padding: 3rem 0 2.5rem;
  font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.8rem;
}
.footer a { display: block; color: var(--muted); padding: 0.22rem 0; }
.footer a:hover { color: var(--text); }
.footer .fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.footer-brand img { width: 26px; height: 26px; }
.footer-brand .blend { color: var(--orange); }
.footer-brand .badger { color: #fff; }
.footer .blurb { margin-top: 0.8rem; color: var(--muted-2); max-width: 20rem; }

/* ==================================================================== v2 */
/* Components for the council-approved creative direction (2026-07-19).   */

.kicker-green { color: var(--green); }

.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- hero waterfall visual */

.wf {
  margin-top: 2.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.1rem;
  max-width: 46rem;
  box-shadow: var(--shadow);
}
.wf-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.wf-row {
  display: grid;
  grid-template-columns: 10.5rem 1fr 5.6rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
}
.wf-label { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-label .leak-flag { color: var(--orange); font-weight: 700; font-size: 0.78rem; }
.wf-amt {
  text-align: end;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wf-track { position: relative; height: 0.95rem; background: var(--deep); border-radius: 4px; }
.wf-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: var(--blue-deep);
  width: 0;
  transition: width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.in-view .wf-bar { width: var(--w); }
.wf-row.rev .wf-bar { background: var(--blue); }
.wf-row.leak .wf-bar { background: var(--orange); animation: leakPulse 2.2s ease-in-out infinite; }
.wf-row.leak .wf-amt { color: var(--orange); }
.wf-row.profit { font-weight: 700; }
.wf-row.profit .wf-label { color: var(--text); }
.wf-row.profit .wf-bar { background: var(--green); }
.wf-row.profit .wf-amt { color: var(--green); }
@keyframes leakPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.4); }
}
.wf-foot { margin-top: 0.7rem; font-size: 0.78rem; color: var(--muted-2); }

/* ------------------------------------------------- disagreement section */

.dis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.dis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.dis-src {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dis-num {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}
.dis-metric { font-size: 0.8rem; color: var(--muted); }
.dis-delta { margin-top: 0.5rem; font-size: 0.78rem; color: var(--orange); font-weight: 700; animation: leakPulse 2.6s ease-in-out infinite; }
.dis-bank {
  margin-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px solid rgba(52, 199, 123, 0.5);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}
.dis-bank .dis-num { color: var(--green); margin-top: 0.15rem; }

/* --------------------------------------------------- profit leak estimator */

.est { margin-top: 2.5rem; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.5rem; align-items: start; }
.est-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.est-field + .est-field { margin-top: 1.5rem; }
.est-q {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.est-rev-row { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.est-slider { flex: 1; min-width: 10rem; accent-color: var(--orange); }
.est-rev-input {
  width: 8rem;
  background: var(--deep);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill span {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.pill input:checked + span { color: #fff; border-color: var(--orange); background: rgba(242, 121, 31, 0.18); }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-inline-end: 1px solid var(--border);
}
.seg label:last-child span { border-inline-end: none; }
.seg input:checked + span { background: var(--blue-deep); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -2px; }
.est-result-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.est-range {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.est-day { margin-top: 0.35rem; color: var(--text-2); font-weight: 600; }
.est-buckets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.b-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; font-size: 0.84rem; color: var(--text-2); }
.b-amt { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-track { margin-top: 0.3rem; height: 0.5rem; background: var(--deep); border-radius: 999px; overflow: hidden; }
.b-bar { height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.5s ease; }
.b-note { margin-top: 0.25rem; font-size: 0.76rem; color: var(--muted-2); }
.est-details { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 0 1.1rem; }
.est-details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.8rem 0;
  list-style: none;
  position: relative;
  padding-inline-end: 1.8rem;
}
.est-details summary::-webkit-details-marker { display: none; }
.est-details summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 400;
}
.est-details[open] summary::after { content: "\2212"; }
.est-details p { padding-bottom: 0.9rem; color: var(--muted); font-size: 0.86rem; }
.est-details pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-2);
}
.est-details pre code { background: none; border: none; padding: 0; font-size: inherit; }
.est-close { margin-top: 1.2rem; font-size: 0.86rem; color: var(--muted); font-style: italic; }
.est-cta { margin-top: 1.2rem; }

/* ------------------------------------------------------- signup CTA */
.join { max-width: 34rem; margin-top: 1.6rem; }
.join-field + .join-field { margin-top: 1.1rem; }
.join-input {
  width: 100%;
  background: var(--deep);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}
.join-input::placeholder { color: var(--muted-2); }
.join-input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
select.join-input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.join-cta { margin-top: 1.3rem; }
.join-cta .btn { width: 100%; text-align: center; }
.join-micro { margin-top: 0.7rem; font-size: 0.82rem; color: var(--muted-2); text-align: center; }
.join-error { margin-top: 0.9rem; font-size: 0.85rem; color: var(--red); font-weight: 600; }
.join-done { text-align: center; }
.join-done-title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--green); }

/* ------------------------------------------------------- benefit stories */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.4rem 0;
}
.story + .story { border-top: 1px solid var(--border); }
.story-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.story h3 { font-size: clamp(1.25rem, 2.7vw, 1.65rem); font-weight: 800; }
.story .story-copy p { margin-top: 0.85rem; color: var(--muted); font-size: 0.98rem; }
.story .story-copy p strong { color: var(--text-2); }
.story.flip .story-visual { order: -1; }
.story-visual > :first-child { margin-top: 0; }
.story-visual .shot-frame { margin-top: 1.25rem; }
.viz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.viz-caption { margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted-2); }

/* toggle buttons (ROAS + rank scramble) */
.toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.tbtn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
}
.tbtn + .tbtn { border-inline-start: 1px solid var(--border); }
.tbtn.active { background: var(--blue-deep); color: #fff; }
.tbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ROAS claimed-vs-real */
.roas-panel { margin-top: 1.2rem; }
.roas-bars { display: flex; gap: 1.1rem; align-items: stretch; height: 10.5rem; }
/* height:100% gives the fill a definite parent to size against; without it the
   %-height bars collapsed to nothing and only the numbers/labels showed. The
   number and label sit outside the bar TRACK so a 100% bar still fits. */
.rbar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; min-width: 0; height: 100%; }
.rb-x { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; margin-bottom: 0.3rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.rb-track { flex: 1 1 auto; min-height: 0; display: flex; align-items: flex-end; }
.rb-fill { width: 100%; border-radius: 6px 6px 0 0; background: var(--blue); }
.rb-fill.green { background: var(--green); }
.rb-fill.ghost { background: transparent; border: 1.5px dashed var(--border-strong); border-bottom: none; }
.rb-label { margin-top: 0.5rem; font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* rank scramble */
.rank-list { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.rk {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.87rem;
}
.rk-pos { width: 1.6rem; font-family: var(--font-display); font-weight: 800; color: var(--muted-2); }
.rk-name { flex: 1; color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-val { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.rk.good { border-color: rgba(52, 199, 123, 0.45); }
.rk.good .rk-val { color: var(--green); }
.rk.bad { border-color: rgba(242, 121, 31, 0.6); background: rgba(242, 121, 31, 0.06); }
.rk.bad .rk-val { color: var(--orange); }

/* reconciliation card */
.recon-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-2);
}
.recon-row strong { font-variant-numeric: tabular-nums; color: var(--text); }
.recon-row.recon-total { font-weight: 700; color: var(--text); }
.recon-gap { border-bottom: none; padding-top: 0.9rem; align-items: center; }
.recon-gap .gap-num { color: var(--orange); font-family: var(--font-display); font-weight: 800; }
.recon-ok { color: var(--green); font-weight: 800; display: none; }
.recon-done .recon-ok { display: inline; }
.recon-done .gap-num { color: var(--green); }

/* stockout timeline */
.tl-bars { display: flex; align-items: flex-end; gap: 2px; height: 7rem; margin-top: 1.2rem; }
.tl-bar { flex: 1; background: var(--green); border-radius: 2px 2px 0 0; opacity: 0.85; min-width: 2px; }
.tl-bar.out { background: transparent; border: 1.5px dashed var(--orange); border-bottom: none; opacity: 1; }
.tl-bar.rec { opacity: 0.45; }
.tl-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted); }
.tl-legend .lg { display: inline-flex; align-items: center; gap: 0.4rem; }
.tl-legend .sw { width: 0.8rem; height: 0.8rem; border-radius: 3px; }
.sw-green { background: var(--green); }
.sw-out { border: 1.5px dashed var(--orange); }
.sw-rec { background: var(--green); opacity: 0.45; }

/* data health checklist */
.dh-item {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.dh-item:last-child { border-bottom: none; }
.in-view .dh-item { opacity: 1; transform: none; }
.dh-ico {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  align-self: center;
}
.dh-ok .dh-ico { background: rgba(52, 199, 123, 0.14); color: var(--green); border: 1px solid rgba(52, 199, 123, 0.4); }
.dh-warn .dh-ico { background: rgba(242, 121, 31, 0.14); color: var(--orange); border: 1px solid rgba(242, 121, 31, 0.45); }
.dh-warn { color: var(--text); }
.dh-fix { margin-inline-start: auto; font-size: 0.74rem; color: var(--orange); font-weight: 700; white-space: nowrap; }

/* proof strip */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.25rem; }
.proof-item .shot-frame { margin-top: 0; }
.anno { margin-top: 0.85rem; display: flex; gap: 0.55rem; align-items: baseline; font-size: 0.86rem; color: var(--text-2); }
.anno-mark { color: var(--orange); font-weight: 800; flex: none; }

/* positioning strip */
.pos-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; text-align: center; }
.pos-cell {
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--muted);
}
.pos-cell.us { color: var(--text); border-color: rgba(52, 199, 123, 0.5); background: rgba(52, 199, 123, 0.05); }
.pos-line { margin-top: 1.4rem; text-align: center; color: var(--muted-2); font-size: 0.92rem; }

/* integrations ribbon + chips */
.ribbon { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}
.chip .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: none; }
.chip-live { border-color: rgba(52, 199, 123, 0.5); }
.chip-live .dot { background: var(--green); }
.chip-build .dot { background: var(--blue); }
.chip-next .dot { background: var(--orange); }

/* roadmap lanes */
.lane { margin-top: 3.25rem; }
.lane:first-of-type { margin-top: 2.25rem; }
.lane-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.lane-head h2 { margin-top: 0; font-size: 1.25rem; }
.lane-sub { margin-top: 0.4rem; color: var(--muted); font-size: 0.94rem; max-width: 46rem; }
.lane-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.4rem; }
.lane-card { position: relative; overflow: hidden; }
.lane-card .pair { font-family: var(--font-display); font-weight: 700; color: var(--text); margin-top: 0.7rem; font-size: 0.95rem; }
.lane-card ul { margin: 0.8rem 0 0 1.1rem; padding: 0; color: var(--muted); font-size: 0.9rem; }
.lane-card li { margin-top: 0.35rem; }
.lane-card .vote { margin-top: 1.1rem; display: inline-block; }
.card-build::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: buildSlide 2.8s linear infinite;
}
@keyframes buildSlide {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.shipped { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* pull quote */
.pull {
  margin-top: 2.5rem;
  border-inline-start: 3px solid var(--green);
  background: var(--surface);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  max-width: 46rem;
}
.pull .pull-sub { margin-top: 0.5rem; font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); }

/* landing pricing band */
.plan .whofor { margin-top: 0.6rem; font-size: 0.86rem; color: var(--muted); }
.plan .whofor strong { color: var(--text-2); }

/* features page chapters */
.chapter-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.decision {
  margin-top: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--green);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-2);
}
.decision strong { color: var(--text); }
.replaces { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted-2); font-style: italic; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .est { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.8rem 0; }
  .story.flip .story-visual { order: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .pos-strip { grid-template-columns: 1fr; }
  .lane-cards { grid-template-columns: 1fr; }
  .dis-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile header: brand + actions on row 1, section links on their own row —
   the old single wrapping row stacked five items into a ragged block. */
@media (max-width: 760px) {
  .nav-inner { gap: 0.5rem; padding: 0.65rem 1rem; flex-wrap: wrap; }
  .nav-brand { font-size: 1.08rem; }
  .nav-brand img { width: 26px; height: 26px; }
  .nav-actions { margin-inline-start: auto; gap: 0.45rem; }
  .nav-links {
    order: 3; /* pushes the link row below brand + actions */
    width: 100%;
    margin-inline-start: 0;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border);
  }
  .nav-links a { font-size: 0.88rem; }
  .nav .btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .nav-brand span:last-child { font-size: 0.98rem; }
  .nav .btn-sm { padding: 0.36rem 0.7rem; font-size: 0.78rem; }
  .nav-actions { gap: 0.35rem; }
}

@media (max-width: 600px) {
  .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .hero { padding: 3.5rem 0 2.75rem; }
  .wf { padding: 1.1rem 1rem 0.9rem; }
  .wf-row { grid-template-columns: 7.6rem 1fr 4.9rem; font-size: 0.78rem; gap: 0.5rem; }
  .roas-bars { gap: 0.6rem; }
  .dis-num { font-size: 1.2rem; }
}
