/* ============================================================
   Ventriloc — GEO Visibility Tracker · marketing site
   Light, analytics-console aesthetic. Monochrome + one orange
   accent reserved strictly for data viz / logo swoosh.
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  /* Colors */
  --signal-orange: #ff682c;
  --sienna-bronze: #816729;
  --carbon: #202020;
  --graphite: #4d4d4d;
  --slate: #828282;
  --fog: #f5f5f5;
  --mist: #efefef;
  --chalk: #e8e8e8;
  --paper: #ffffff;

  /* Type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Radii */
  --r-card: 8px;
  --r-pill: 20px;
  --r-nav: 200px;

  /* Layout */
  --maxw: 1200px;
  --section-gap: 80px;

  /* Soft elevation — contrast first, shadow barely-there */
  --shadow-card: 0 1px 3px rgba(32, 32, 32, 0.04), 0 4px 12px rgba(32, 32, 32, 0.03);

  /* ----------------------------------------------------------
     BRAND WORDMARK — single point of substitution.
     Replace the placeholder below with the chosen product name.
     Rendered everywhere via .wordmark__name::after { content }.
     ---------------------------------------------------------- */
  --brand: "Mentio";
}

/* ---- Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--carbon);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgba(255, 104, 44, 0.18); }

/* ---- Type helpers ----------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(31px, 6.8vw, 66px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--carbon);
  overflow-wrap: break-word;
}
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.subheading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.19;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.lead {
  font-size: 18px;
  line-height: 1.45;
  color: var(--graphite);
}
.muted { color: var(--slate); }

/* ---- Layout ----------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(56px, 8vw, var(--section-gap)); }

/* ---- Logo / wordmark -------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo__swoosh { flex: none; }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--carbon);
  line-height: 1;
}
.wordmark__name::after { content: var(--brand); }

/* ---- Buttons (pills) -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--carbon);
  color: var(--paper);
}
.btn--primary:hover { background: #000; }
.btn--outline {
  background: transparent;
  color: var(--carbon);
  border-color: var(--carbon);
}
.btn--outline:hover { background: var(--carbon); color: var(--paper); }
.btn--ghost {
  background: transparent;
  color: var(--carbon);
  border-color: transparent;
  font-weight: 500;
}
.btn--ghost:hover { background: var(--fog); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* Visible focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: 2px;
  border-radius: var(--r-pill);
}

/* ---- Navigation (floating capsule, non-sticky) ------------ */
.nav-outer { padding-top: 24px; }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  max-width: 940px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-nav);
  padding: 10px 12px 10px 22px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--graphite);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background-color .16s ease, color .16s ease;
}
.nav__links a:hover { color: var(--carbon); background: var(--fog); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__lang {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 4px;
}
.nav__lang:hover { color: var(--carbon); }
.nav__menu-btn { display: none; }
.nav__mobile {
  list-style: none;
  margin: 10px auto 0;
  padding: 8px;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  display: grid; gap: 2px;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 15px; font-weight: 500;
  color: var(--graphite);
}
.nav__mobile a:hover { background: var(--fog); color: var(--carbon); }

/* ---- Hero ------------------------------------------------- */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-pill);
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal-orange);
}
.hero h1 { margin-bottom: 22px; }
.hero__sub { max-width: 30ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--slate);
  display: flex; align-items: center; gap: 8px;
}
.hero__note svg { flex: none; }

/* Hero dashboard preview — overlapping white cards */
.preview {
  position: relative;
  min-height: 380px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.preview__main {
  padding: 22px 24px 16px;
  position: relative;
  z-index: 1;
}
.preview__float {
  position: absolute;
  right: -14px;
  bottom: -30px;
  width: 226px;
  padding: 18px;
  z-index: 2;
}
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
}
.card-sub { font-size: 12px; color: var(--slate); }

/* KPI tile */
.kpi__label { font-size: 12px; color: var(--slate); margin-bottom: 8px; }
.kpi__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--carbon);
}
.kpi__delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500;
  margin-top: 8px;
  color: #2e7d4f;
}
.kpi__delta--flat { color: var(--slate); }

/* legend rows */
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.legend li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--graphite);
}
.legend .swatch { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.legend b { margin-left: auto; font-weight: 600; color: var(--carbon); font-variant-numeric: tabular-nums; }

/* ---- Social proof strip ----------------------------------- */
.proof { text-align: center; }
.proof__label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 26px;
}
.proof__row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 64px);
}
.proof__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--slate);
  opacity: .85;
}

/* ---- How it works ----------------------------------------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head p { margin-top: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  padding: 28px 26px 30px;
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--slate);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.step__num::before {
  content: "0" counter(step);
  font-size: 13px;
  color: var(--carbon);
}
.step__num::after {
  content: "";
  height: 1px; flex: 1; background: var(--chalk);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: var(--graphite); line-height: 1.45; }
.step__engines {
  display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap;
}
.chip {
  font-size: 12px; font-weight: 500;
  color: var(--graphite);
  background: var(--fog);
  border: 1px solid var(--chalk);
  border-radius: var(--r-pill);
  padding: 4px 11px;
}

/* ---- How it works — animated step visuals ----------------- */
.step__viz { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--chalk); }

/* viz 1 — connect: domain field + prompt chips */
.vc__field {
  display: flex; align-items: center; gap: 8px;
  background: var(--fog); border: 1px solid var(--chalk); border-radius: 8px;
  padding: 9px 12px;
}
.vc__label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.vc__dom { font-size: 13px; font-weight: 600; color: var(--carbon); }
.vc__caret { width: 1.5px; height: 14px; background: var(--signal-orange); margin-left: auto; }
.step.is-visible .vc__caret { animation: vcCaret 1.1s steps(1) infinite; }
@keyframes vcCaret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.vc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vc__chips span {
  font-size: 11.5px; color: var(--graphite);
  background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-pill); padding: 4px 10px;
}
.step.is-visible .vc__chips span { animation: vcChip 4.8s ease infinite backwards; }
.step.is-visible .vc__chips span:nth-child(1) { animation-delay: .2s; }
.step.is-visible .vc__chips span:nth-child(2) { animation-delay: .75s; }
.step.is-visible .vc__chips span:nth-child(3) { animation-delay: 1.3s; }
@keyframes vcChip { 0% { opacity: 0; transform: translateY(5px); } 7% { opacity: 1; transform: none; } 82% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* viz 2 — probe fan-out to engines */
.vp svg { width: 100%; height: auto; }
.vp__wire { stroke: var(--chalk); stroke-width: 1.5; }
.vp__src { fill: var(--signal-orange); }
.vp__node circle { fill: var(--paper); stroke: var(--slate); stroke-width: 1.5; }
.vp__node text { font-family: var(--font-ui); font-size: 11px; fill: var(--graphite); }
.vp__pulse { fill: var(--signal-orange); opacity: 0; }
.vp__p1 { offset-path: path('M40 58 L190 20'); }
.vp__p2 { offset-path: path('M40 58 L190 58'); }
.vp__p3 { offset-path: path('M40 58 L190 96'); }
.step.is-visible .vp__pulse { animation: vpFlow 1.9s cubic-bezier(.4,0,.4,1) infinite; }
.step.is-visible .vp__p2 { animation-delay: .28s; }
.step.is-visible .vp__p3 { animation-delay: .56s; }
@keyframes vpFlow { 0% { offset-distance: 0%; opacity: 0; } 14% { opacity: 1; } 82% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.step.is-visible .vp__node circle { animation: vpRecv 1.9s ease-in-out infinite; }
.step.is-visible .vp__node:nth-of-type(2) circle { animation-delay: .28s; }
.step.is-visible .vp__node:nth-of-type(3) circle { animation-delay: .56s; }
@keyframes vpRecv { 0%, 82% { fill: var(--paper); stroke: var(--slate); } 90% { fill: var(--signal-orange); stroke: var(--signal-orange); } 100% { fill: var(--paper); stroke: var(--slate); } }

/* viz 3 — recommendation card slides in once */
.vrec__card {
  border: 1px solid var(--chalk); border-radius: var(--r-card); padding: 14px 16px; background: var(--paper);
}
.step.is-visible .vrec__card { animation: recIn .55s cubic-bezier(.22,.61,.36,1) both; animation-delay: .15s; }
.vrec__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vrec__gap { font-size: 13.5px; font-weight: 500; color: var(--carbon); }
.vrec__eng { font-size: 11px; font-weight: 600; color: var(--graphite); background: var(--fog); border: 1px solid var(--chalk); border-radius: var(--r-pill); padding: 3px 10px; flex: none; }
.vrec__cited { font-size: 12.5px; color: var(--slate); margin-bottom: 12px; }
.vrec__cited b { color: var(--graphite); font-weight: 600; }
.vrec__pill { display: inline-flex; font-size: 12px; font-weight: 600; color: var(--carbon); border: 1px solid var(--carbon); border-radius: var(--r-pill); padding: 6px 13px; transition: background-color .18s ease, color .18s ease; }
.step .vrec:hover .vrec__pill, .vrec__card:hover .vrec__pill { background: var(--carbon); color: var(--paper); }

/* ---- Value cards ------------------------------------------ */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  padding: 30px 30px 32px;
  display: flex; flex-direction: column;
}
.value__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--chalk);
  border-radius: 9px;
  background: var(--fog);
  margin-bottom: 20px;
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.value p { font-size: 14.5px; color: var(--graphite); line-height: 1.5; }
.value__meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--chalk);
  font-size: 12.5px; color: var(--slate);
  font-family: var(--font-ui);
}
.value__meta code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--graphite);
}

/* value card — icon life + command cycle */
.value__icon { position: relative; transition: transform .25s ease, border-color .25s ease; }
.value__icon::after {
  content: ""; position: absolute; inset: -1px; border-radius: 9px;
  border: 1px solid var(--signal-orange); opacity: 0;
}
.value:hover .value__icon { transform: translateY(-2px) scale(1.06); border-color: var(--slate); }
.value.is-visible .value__icon::after { animation: vIconPulse 3.6s ease-in-out infinite; }
.value:nth-child(2).is-visible .value__icon::after { animation-delay: .5s; }
.value:nth-child(3).is-visible .value__icon::after { animation-delay: 1s; }
.value:nth-child(4).is-visible .value__icon::after { animation-delay: 1.5s; }
@keyframes vIconPulse { 0%, 68%, 100% { opacity: 0; transform: scale(1); } 80% { opacity: .4; transform: scale(1.14); } }

.value__meta--cmds code { border-radius: 4px; padding: 1px 4px; color: var(--slate); }
.value.is-visible .value__meta--cmds code { animation: cmdCycle 4.8s ease infinite; }
.value.is-visible .value__meta--cmds code:nth-of-type(2) { animation-delay: 1.6s; }
.value.is-visible .value__meta--cmds code:nth-of-type(3) { animation-delay: 3.2s; }
@keyframes cmdCycle {
  0%, 100% { color: var(--slate); background: transparent; }
  6%, 22% { color: var(--carbon); background: var(--fog); }
  30% { color: var(--slate); background: transparent; }
}

/* ---- Dashboard showcase (full-bleed Mist) ----------------- */
.showcase { background: var(--mist); }
.dash {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.dash__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--chalk);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--chalk); }
.dash__path { font-size: 12.5px; color: var(--slate); font-variant-numeric: tabular-nums; }
.dash__range {
  margin-left: auto;
  font-size: 12px; font-weight: 500; color: var(--graphite);
  background: var(--fog); border: 1px solid var(--chalk);
  border-radius: var(--r-pill); padding: 5px 12px;
}
.dash__body { display: grid; grid-template-columns: 208px 1fr; }
.dash__side {
  border-right: 1px solid var(--chalk);
  padding: 20px 16px;
  background: var(--paper);
}
.dash__group { margin-bottom: 22px; }
.dash__group h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 10px;
}
.dash__filter {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--graphite);
  padding: 7px 8px; border-radius: 6px;
}
.dash__filter--active {
  background: var(--fog);
  color: var(--carbon);
  font-weight: 600;
}
.dash__filter .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); flex: none; }
.dash__filter--active .tick { background: var(--signal-orange); }
.dash__main { padding: 22px 24px 26px; }

.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 22px;
}
.kpi-cell {
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  padding: 16px 16px 18px;
  background: var(--paper);
}
.kpi-cell .kpi__label { margin-bottom: 10px; }
.kpi-cell .kpi__value { font-size: 28px; }
.kpi-cell .kpi__delta { margin-top: 7px; }

.dash__charts {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px;
}
.panel {
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  padding: 18px 20px 16px;
  background: var(--paper);
}
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.panel__title { font-size: 13px; font-weight: 600; color: var(--graphite); }
.panel--chart { display: flex; flex-direction: column; }
.chart-plot { position: relative; flex: 1 1 auto; min-height: 180px; }
.chart-plot svg { width: 100%; height: 100%; display: block; }

/* chart hover tooltip overlay */
.chart-ov { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .18s ease; }
.chart-ov.show { opacity: 1; }
.chart-ov__line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--slate); opacity: .45; }
.chart-ov__dot {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal-orange); border: 2px solid var(--paper);
  transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255,104,44,.18);
}
.chart-ov__tip {
  position: absolute; transform: translate(-50%, calc(-100% - 13px));
  background: var(--carbon); color: #fff; border-radius: 8px; padding: 7px 11px;
  white-space: nowrap; text-align: center; box-shadow: 0 6px 16px rgba(32,32,32,.18);
}
.chart-ov__tip b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -.01em; line-height: 1.1; }
.chart-ov__tip span { font-size: 11px; color: #bdbdbd; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-center { text-align: center; }
.donut-center .v {
  font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; color: var(--carbon);
}
.donut-center .l { font-size: 11px; color: var(--slate); }

.funnel-row {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px;
}

/* axis labels */
.axis { display: flex; justify-content: space-between; margin-top: 8px; }
.axis span { font-size: 11px; color: var(--slate); }

/* funnel — trapezoid stages */
.funnel { display: grid; gap: 9px; }
.fn { display: flex; align-items: center; gap: 12px; }
.fn-name { width: 86px; flex: none; font-size: 12px; color: var(--graphite); }
.fn-bar {
  height: 30px;
  display: flex; align-items: center;
  padding-left: 14px;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---- Pricing ---------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.price {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column;
}
.price--feature { border-color: var(--carbon); }
.price__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--carbon); background: var(--fog);
  border: 1px solid var(--chalk);
  border-radius: var(--r-pill); padding: 4px 11px; margin-bottom: 18px;
}
.price h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.price__desc { font-size: 13.5px; color: var(--slate); min-height: 40px; }
.price__amount {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; letter-spacing: -0.02em; line-height: 1;
  margin: 18px 0 4px;
}
.price__amount span { font-family: var(--font-ui); font-size: 14px; color: var(--slate); letter-spacing: 0; }
.price__period { font-size: 13px; color: var(--slate); margin-bottom: 22px; }
.price ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.price li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--graphite);
}
.price li svg { flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---- Secondary plan row (Free / Community / Customize / Enterprise) ---- */
.pricing-grid--secondary { grid-template-columns: repeat(4, 1fr); margin-top: 4px; }
.price--compact { padding: 22px 22px 24px; }
.price--compact .price__desc { min-height: 60px; font-size: 13px; }
.price--compact .price__amount { font-size: 30px; margin: 12px 0 18px; }
@media (max-width: 900px) {
  .pricing-grid--secondary { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Final CTA -------------------------------------------- */
.cta {
  background: var(--paper);
  border: 1px solid var(--chalk);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 28px;
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 46ch; margin: 0 auto 30px; color: var(--graphite); font-size: 17px; }
.cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__form {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 460px; margin: 0 auto 14px;
}
.cta__input {
  flex: 1; min-width: 230px;
  font-family: var(--font-ui); font-size: 15px; color: var(--carbon);
  background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-pill);
  padding: 13px 20px; transition: border-color .18s ease;
}
.cta__input::placeholder { color: var(--slate); }
.cta__input:focus { outline: none; border-color: var(--carbon); }
.cta__note { font-size: 13px; color: var(--slate); }
.cta__note.ok { color: #2e7d4f; font-weight: 500; }

/* ---- Developer block -------------------------------------- */
.dev { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: center; }
.dev__copy .eyebrow { display: block; margin-bottom: 14px; }
.dev__copy h2 { margin-bottom: 16px; }
.dev__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.dev__list li { font-size: 14.5px; color: var(--graphite); line-height: 1.45; }
.dev__list b { font-weight: 600; color: var(--carbon); }

.codecard {
  background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.codecard__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid var(--chalk); background: var(--fog);
}
.codetabs { display: flex; gap: 4px; }
.codetab {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--slate);
  background: transparent; border: 0; padding: 7px 15px; border-radius: var(--r-pill);
  cursor: pointer; transition: background-color .18s ease, color .18s ease;
}
.codetab:hover { color: var(--carbon); }
.codetab.is-active { background: var(--paper); color: var(--carbon); box-shadow: 0 1px 2px rgba(32,32,32,.07); }
.codecopy {
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--slate);
  background: transparent; border: 1px solid var(--chalk); border-radius: var(--r-pill);
  padding: 6px 13px; cursor: pointer; transition: color .18s ease, border-color .18s ease;
}
.codecopy:hover { color: var(--carbon); border-color: var(--slate); }
.codepane {
  display: none; margin: 0; padding: 20px 22px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; line-height: 1.65; color: var(--carbon);
  overflow-x: auto; white-space: pre; tab-size: 2;
}
.codepane.is-active { display: block; animation: codeFade .28s ease; }
@keyframes codeFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.codepane .c-com { color: var(--slate); }

/* ---- Comparison ------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__card {
  background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card);
  padding: 30px 30px 32px;
}
.compare__card--feature { border-color: var(--carbon); }
.compare__card h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -.01em;
  margin-bottom: 22px; display: flex; align-items: baseline; gap: 8px;
}
.compare__card--feature h3 .wordmark__name { font-size: 21px; }
.compare__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__card li {
  font-size: 14.5px; color: var(--graphite); line-height: 1.45;
  position: relative; padding-left: 28px;
}
.compare__card--muted li { color: var(--slate); }
.compare__card li::before { position: absolute; left: 2px; top: 0; font-size: 15px; }
.compare__card--muted li::before { content: "—"; color: var(--slate); }
.compare__card--feature li::before { content: "✓"; color: var(--carbon); font-weight: 700; }

/* comparison list stagger on reveal */
.compare__card li { opacity: 0; transform: translateX(8px); transition: opacity .5s ease, transform .5s ease; }
.compare__card.is-visible li { opacity: 1; transform: none; }
.compare__card.is-visible li:nth-child(1) { transition-delay: .05s; }
.compare__card.is-visible li:nth-child(2) { transition-delay: .13s; }
.compare__card.is-visible li:nth-child(3) { transition-delay: .21s; }
.compare__card.is-visible li:nth-child(4) { transition-delay: .29s; }

/* ---- Methodology / transparency --------------------------- */
.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.method__intro .eyebrow { display: block; margin-bottom: 14px; }
.method__intro h2 { margin-bottom: 16px; }
.method__list { list-style: none; margin: 0; padding: 0; }
.method__list li { font-size: 15px; color: var(--graphite); line-height: 1.55; padding: 20px 2px; border-top: 1px solid var(--chalk); }
.method__list li:last-child { border-bottom: 1px solid var(--chalk); }
.method__list b { color: var(--carbon); font-weight: 600; }

/* ---- FAQ -------------------------------------------------- */
.faq { max-width: 820px; }
.faq__item { border-top: 1px solid var(--chalk); }
.faq__item:last-child { border-bottom: 1px solid var(--chalk); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-ui); font-weight: 500; font-size: 17px; color: var(--carbon);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #000; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--slate); border-radius: 1px;
  transition: transform .25s ease;
}
.faq__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq__icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item[open] summary { color: #000; }
.faq__item p { margin: 0 4px; padding: 0 0 24px; font-size: 15px; line-height: 1.55; color: var(--graphite); max-width: 70ch; }

/* ---- Footer ----------------------------------------------- */
.footer { border-top: 1px solid var(--chalk); margin-top: 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-block: 56px 40px;
}
.footer__brand p {
  margin-top: 16px; font-size: 13.5px; color: var(--slate);
  max-width: 30ch; line-height: 1.5;
}
.footer h5 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--carbon); margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { font-size: 14px; color: var(--graphite); }
.footer a:hover { color: var(--carbon); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-block: 22px 40px;
  border-top: 1px solid var(--chalk);
  font-size: 13px; color: var(--slate);
}

/* ============================================================
   Inner pages — blog, article, pricing, use cases
   ============================================================ */
.page-intro { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(18px, 3vw, 30px); }
.page-intro .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.page-intro .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--slate); opacity: .5; }
.page-intro h1 { margin-bottom: 18px; max-width: 20ch; }
.page-intro p { max-width: 62ch; }
.crumb { font-size: 13px; color: var(--slate); margin-bottom: 20px; }
.crumb a { color: var(--graphite); }
.crumb a:hover { color: var(--carbon); }

/* blog grid + cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .3s cubic-bezier(.22,.61,.36,1), border-color .25s; }
.bcard:hover { transform: translateY(-5px); border-color: #d8d8d8; }
.bcard__cover { height: 152px; position: relative; display: grid; place-items: center; background: var(--fog); border-bottom: 1px solid var(--chalk); overflow: hidden; }
.bcard__cover svg { width: 72%; height: auto; }
.bcard__badge { position: absolute; left: 14px; top: 14px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--carbon); background: rgba(255,255,255,.82); border: 1px solid var(--chalk); border-radius: var(--r-pill); padding: 4px 10px; }
.bcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.bcard__body h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 9px; color: var(--carbon); }
.bcard__excerpt { font-size: 14px; color: var(--graphite); line-height: 1.5; flex: 1; }
.bcard__meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--chalk); font-size: 12px; color: var(--slate); }
.bcard__meta .arr { margin-left: auto; transition: transform .25s; }
.bcard:hover .bcard__meta .arr { transform: translate(2px, -2px); }
.bcard--feature { grid-column: span 3; flex-direction: row; }
.bcard--feature .bcard__cover { width: 46%; height: auto; min-height: 248px; border-bottom: 0; border-right: 1px solid var(--chalk); }
.bcard--feature .bcard__body { justify-content: center; padding: 36px 40px; }
.bcard--feature h2 { font-size: 30px; line-height: 1.12; }
.bcard--feature .bcard__excerpt { font-size: 15.5px; flex: none; margin-bottom: 4px; }

/* cover art motifs */
.cover-art { stroke-linecap: round; stroke-linejoin: round; }
.cover-art .ca-line { stroke: var(--carbon); stroke-width: 2.2; fill: none; }
.cover-art .ca-fill { fill: var(--signal-orange); fill-opacity: .16; }
.cover-art .ca-soft { stroke: var(--chalk); stroke-width: 1.4; }
.cover-art .ca-accent { fill: var(--signal-orange); }
.cover-art .ca-ring { stroke: var(--chalk); stroke-width: 9; fill: none; }
.cover-art .ca-arc { stroke: var(--signal-orange); stroke-width: 9; fill: none; stroke-linecap: round; }
.cover-art .ca-dot { fill: var(--slate); }

/* animated covers (blog cards + article hero) */
.bcard__cover, .article__cover { position: relative; }
.bcard__cover::after, .article__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: coverSheen 5.5s ease-in-out infinite;
}
@keyframes coverSheen { 0% { transform: translateX(-130%); } 58%, 100% { transform: translateX(130%); } }

.ca-accent { transform-box: fill-box; transform-origin: center; animation: caPulse 2.6s ease-in-out infinite; }
@keyframes caPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.5); } }

.ca-arc { animation: caArc 3.6s ease-in-out infinite; }
@keyframes caArc { 0% { stroke-dashoffset: 96; } 45%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }

.ca-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ca-line.is-anim { animation: caLine 3.6s ease-in-out infinite; }
@keyframes caLine { 0% { stroke-dashoffset: 1; } 45%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.ca-fill { animation: caFill 3.6s ease-in-out infinite; }
@keyframes caFill { 0%, 12% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 1; } }

.ca-dot { transform-box: fill-box; transform-origin: center; animation: caDot 2.6s ease-in-out infinite; }
.ca-dot:nth-of-type(2) { animation-delay: .18s; }
.ca-dot:nth-of-type(3) { animation-delay: .36s; }
.ca-dot:nth-of-type(4) { animation-delay: .54s; }
.ca-dot:nth-of-type(5) { animation-delay: .72s; }
.ca-dot:nth-of-type(6) { animation-delay: .9s; }
@keyframes caDot { 0%, 70%, 100% { opacity: .85; transform: scale(1); } 82% { opacity: 1; transform: scale(1.45); } }

/* hero cover motifs: growing bars, large donut */
.ca-bar { transform-box: fill-box; transform-origin: left center; animation: caBar 3.6s cubic-bezier(.4,0,.2,1) infinite; }
.ca-bar:nth-of-type(2) { animation-delay: .12s; }
.ca-bar:nth-of-type(3) { animation-delay: .24s; }
.ca-bar:nth-of-type(4) { animation-delay: .36s; }
@keyframes caBar { 0% { transform: scaleX(0); } 42%, 86% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
.ca-ring-lg { stroke: var(--chalk); stroke-width: 18; fill: none; }
.ca-arc-lg { stroke: var(--signal-orange); stroke-width: 18; fill: none; stroke-linecap: round; stroke-dasharray: 210 600; animation: caArcLg 3.8s ease-in-out infinite; }
@keyframes caArcLg { 0% { stroke-dashoffset: 210; } 46%, 84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }

/* article */
.article__hero { max-width: 1120px; margin: 0 auto; padding: clamp(18px,3vw,26px) 24px 0; }
.article__cover { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--chalk); display: flex; flex-direction: column; justify-content: flex-end; background: var(--fog); }
.article__cover .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.article__cover-inner { position: relative; padding: clamp(22px,4vw,36px); }
.article__cover h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; color: var(--carbon); margin-top: 14px; }
.a-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--graphite); align-items: center; }
.a-badge { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--carbon); background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-pill); padding: 4px 10px; }
.article__body { max-width: 740px; margin: 0 auto; padding: clamp(30px,5vw,46px) 24px; }
.article__lead { font-size: 19px; line-height: 1.5; color: var(--graphite); margin-bottom: 26px; }

.takeaways { background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card); padding: 22px 24px; margin-bottom: 24px; box-shadow: var(--shadow-card); }
.takeaways .eyebrow { display: block; margin-bottom: 12px; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.takeaways li { position: relative; padding-left: 24px; font-size: 15px; color: var(--graphite); line-height: 1.5; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--signal-orange); }

.toc { border: 1px solid var(--chalk); background: var(--fog); border-radius: var(--r-card); padding: 20px 22px; margin-bottom: 30px; }
.toc .eyebrow { display: block; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: toc; }
.toc li { display: flex; gap: 12px; font-size: 15px; }
.toc li::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 13px; color: var(--slate); }
.toc a { color: var(--graphite); }
.toc a:hover { color: var(--carbon); }

.prose { font-size: 16.5px; line-height: 1.68; color: var(--graphite); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: -.02em; line-height: 1.18; color: var(--carbon); margin-top: 42px; scroll-margin-top: 24px; }
.prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -.01em; color: var(--carbon); margin-top: 28px; }
.prose strong { color: var(--carbon); font-weight: 600; }
.prose a { color: var(--carbon); text-decoration: underline; text-decoration-color: var(--chalk); text-underline-offset: 2px; }
.prose a:hover { text-decoration-color: var(--signal-orange); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose blockquote { border-left: 2px solid var(--signal-orange); padding-left: 18px; margin-left: 0; color: var(--graphite); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; background: var(--fog); border: 1px solid var(--chalk); border-radius: 5px; padding: 1px 6px; color: var(--carbon); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--chalk); }
.prose th { font-weight: 600; color: var(--carbon); background: var(--fog); }
.prose .weave { height: 1px; background: var(--chalk); margin: 34px 0; border: 0; }

.article-cta { background: var(--carbon); color: #fff; border-radius: var(--r-card); padding: clamp(28px,4vw,40px); margin-top: 44px; }
.article-cta h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -.01em; color: #fff; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 48ch; margin-bottom: 22px; }
.article-cta .btn--primary { background: #fff; color: var(--carbon); }
.article-cta .btn--primary:hover { background: var(--mist); }

.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--signal-orange); z-index: 60; transition: width .1s linear; }

/* use cases */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.uc { background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card); padding: 30px 30px 32px; transition: transform .25s, border-color .25s; }
.uc:hover { transform: translateY(-3px); border-color: #d8d8d8; }
.uc__tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.uc h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; letter-spacing: -.01em; margin: 10px 0; }
.uc p { font-size: 14.5px; color: var(--graphite); line-height: 1.5; }
.uc__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.uc__list li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--graphite); }
.uc__list li::before { content: "✓"; position: absolute; left: 0; color: var(--carbon); font-weight: 700; }

/* pricing comparison table */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--chalk); border-radius: var(--r-card); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--paper); min-width: 600px; }
.ptable th, .ptable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--chalk); }
.ptable thead th { font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--carbon); background: var(--fog); }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: center; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .yes { color: var(--carbon); font-weight: 600; }
.ptable .no { color: var(--slate); }
.ptable tbody th { font-weight: 500; color: var(--graphite); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .bcard--feature { grid-column: span 2; flex-direction: column; }
  .bcard--feature .bcard__cover { width: 100%; min-height: 170px; border-right: 0; border-bottom: 1px solid var(--chalk); }
  .uc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .bcard--feature { grid-column: span 1; }
}

/* ---- Auth pages (signup / login / reset / app) ----------- */
.auth-top { padding: 24px; }
.auth-top--bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--chalk); }
.auth-top__right { display: flex; align-items: center; gap: 14px; }
.auth-top__user { font-size: 13.5px; color: var(--slate); }
.auth-wrap { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 32px 24px 64px; }
.auth-card {
  width: 100%; max-width: 412px;
  background: var(--paper); border: 1px solid var(--chalk); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 38px 34px 30px;
}
.auth-card--wide { max-width: 560px; }
.auth__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 8px; color: var(--carbon); }
.auth__sub { font-size: 15px; color: var(--graphite); margin-bottom: 24px; line-height: 1.45; }
.auth__form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--graphite); }
.field input {
  font-family: var(--font-ui); font-size: 15px; color: var(--carbon);
  background: var(--fog); border: 1px solid var(--chalk); border-radius: 8px; padding: 12px 14px;
  transition: border-color .18s ease, background-color .18s ease;
}
.field input::placeholder { color: var(--slate); }
.field input:focus { outline: none; border-color: var(--carbon); background: var(--paper); }
.auth__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth__forgot { font-size: 12.5px; font-weight: 400; color: var(--graphite); }
.auth__forgot:hover { color: var(--carbon); }
.auth__form .btn { width: 100%; margin-top: 4px; }
.auth__msg { font-size: 13.5px; border-radius: 8px; padding: 10px 12px; margin: 0; line-height: 1.4; }
.auth__msg--err { color: var(--carbon); background: rgba(255,104,44,.08); border: 1px solid rgba(255,104,44,.32); }
.auth__msg--ok  { color: #2e7d4f; background: #e9f6ee; border: 1px solid #bfe3cd; }
.auth__notice { font-size: 13px; color: var(--graphite); background: var(--fog); border: 1px solid var(--chalk); border-radius: 8px; padding: 11px 13px; margin-bottom: 20px; line-height: 1.45; }
.auth__notice code, .auth__fine code { font-family: ui-monospace,"SF Mono",Menlo,monospace; font-size: 12px; color: var(--carbon); }
.auth__fine { font-size: 12.5px; color: var(--slate); margin-top: 18px; line-height: 1.45; }
.auth__alt { font-size: 14px; color: var(--slate); margin-top: 18px; text-align: center; }
.auth__alt a { color: var(--carbon); font-weight: 500; }
.auth__alt a:hover { color: #000; }
.app-next { display: grid; gap: 12px; margin-top: 22px; }
.app-tile { display: grid; gap: 4px; border: 1px solid var(--chalk); border-radius: var(--r-card); padding: 16px 18px; background: var(--paper); transition: transform .2s ease, border-color .2s ease; }
.app-tile:hover { transform: translateY(-2px); border-color: #d8d8d8; }
.app-tile__k { font-family: var(--font-display); font-weight: 400; font-size: 17px; letter-spacing: -.01em; color: var(--carbon); }
.app-tile__d { font-size: 13.5px; color: var(--graphite); line-height: 1.45; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__sub { max-width: 46ch; }
  .preview { margin-top: 8px; }
  .dash__charts { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes { min-height: 0; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
  .nav__right .btn--primary { display: none; }
  .nav { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dev { grid-template-columns: 1fr; gap: 32px; }
  .compare { grid-template-columns: 1fr; }
  .sov { grid-template-columns: 1fr; }
  .sov__side { flex-direction: row; justify-content: flex-start; gap: 20px; padding-top: 8px; }
  .sov__cap { text-align: left; }
  .method { grid-template-columns: 1fr; gap: 28px; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .preview__float { right: 0; bottom: -20px; width: 200px; }
}

/* ============================================================
   Motion layer — quiet but alive. All gated behind
   prefers-reduced-motion (see block at the very end).
   ============================================================ */

/* Scroll / load reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Card hover lift — interactive feedback */
.step, .value, .price, .kpi-cell, .panel {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.step:hover, .value:hover, .price:hover {
  transform: translateY(-3px);
  border-color: #dadada;
  box-shadow: 0 2px 4px rgba(32,32,32,.04), 0 10px 24px rgba(32,32,32,.05);
}
.kpi-cell:hover { border-color: #d6d6d6; }
.proof__logo { transition: opacity .25s ease, color .25s ease; }
.proof__logo:hover { opacity: 1; color: var(--graphite); }
.preview__main, .preview__float { transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.preview:hover .preview__float { transform: translateY(-4px); }

/* "Live" indicator — pulsing dot */
.hero__badge .dot { position: relative; }
.hero__badge .dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  animation: livePulse 2.4s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,104,44,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(255,104,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,104,44,0); }
}

/* Area chart — line draws itself, fill fades in after */
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.is-visible .chart-line { animation: drawLine 1.5s cubic-bezier(.45,.05,.3,1) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.chart-area { opacity: 0; }
.is-visible .chart-area { animation: fadeArea .7s ease .9s forwards; }
@keyframes fadeArea { from { opacity: 0; } to { opacity: 1; } }

.chart-dot { opacity: 0; }
.is-visible .chart-dot { animation: popDot .4s ease 1.35s forwards; }
@keyframes popDot { from { opacity: 0; } to { opacity: 1; } }

/* Donut — arc sweeps from empty to its value */
.donut-arc { transition: stroke-dashoffset 1.15s cubic-bezier(.45,.05,.3,1) .25s; }
.is-visible .donut-arc { stroke-dashoffset: 0 !important; }

/* Funnel — bars grow, numbers fade in at the end */
.fn-bar {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.is-visible .fn-bar { transform: scaleX(1); }
.fn-bar span { opacity: 0; transition: opacity .3s ease; transition-delay: calc(.55s + var(--i, 0) * 90ms); }
.is-visible .fn-bar span { opacity: 1; }

/* ---- Hero ambient dot-grid (depth, monochrome) ----------- */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__bg {
  position: absolute; inset: -40px 0 0 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(32,32,32,.07) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 32%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 60% at 72% 32%, #000 0%, transparent 72%);
  animation: gridDrift 26s linear infinite;
  opacity: .8;
}
@keyframes gridDrift { to { background-position: 26px 26px; } }

/* ---- Rotating headline word ------------------------------- */
.rotator {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  vertical-align: bottom;
}
.rotator__word {
  display: inline-block;
  color: var(--carbon);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .42s ease;
}
.rotator::after {
  content: "";
  position: absolute; left: 0; right: -2px; bottom: .08em; height: 3px;
  background: var(--signal-orange);
  transform: scaleX(0); transform-origin: left;
  animation: underlineSweep 3.2s ease-in-out infinite;
}
@keyframes underlineSweep {
  0%, 12%   { transform: scaleX(0); transform-origin: left; }
  40%, 60%  { transform: scaleX(1); transform-origin: left; }
  88%, 100% { transform: scaleX(0); transform-origin: right; }
}

/* ---- Marquee engine strip --------------------------------- */
.marquee { overflow: hidden; }
.marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Live chart ping -------------------------------------- */
.live-ping { animation: ping 2.2s ease-out infinite; }
@keyframes ping {
  0%        { r: 3; opacity: .5; }
  80%, 100% { r: 14; opacity: 0; }
}

/* ---- Pointer parallax tilt -------------------------------- */
.preview { perspective: 1100px; }
.preview__main, .preview__float { transform-style: preserve-3d; }

/* ---- Auto-playing dashboard demo -------------------------- */
.dash { position: relative; }

/* reactive transitions on the data so engine switches animate */
.dash__filter { transition: background-color .3s ease, color .3s ease; }
.donut-arc { transition: stroke-dashoffset 1.15s cubic-bezier(.45,.05,.3,1) .25s, stroke-dasharray .6s ease; }
.fn-bar { transition: transform .55s cubic-bezier(.4,0,.2,1), width .55s cubic-bezier(.4,0,.2,1); transition-delay: calc(var(--i,0) * 45ms); }
.kpi__value, .kpi__delta { transition: color .3s ease; }

.demo-cursor {
  position: absolute; top: 0; left: 0; z-index: 25;
  pointer-events: none;
  transform: translate(70px, 92px);
  transition: transform .68s cubic-bezier(.5,.05,.2,1);
  will-change: transform;
  opacity: 0;
}
.demo-cursor.is-on { opacity: 1; transition: transform .68s cubic-bezier(.5,.05,.2,1), opacity .4s ease; }
.demo-cursor.scrub, .demo-cursor.is-on.scrub { transition: transform .34s linear, opacity .4s ease; }
.demo-cursor__inner {
  transform-origin: 4px 4px;
  transition: transform .16s ease;
  filter: drop-shadow(0 3px 5px rgba(32,32,32,.3));
}
.demo-cursor.is-click .demo-cursor__inner { transform: scale(.78); }

.demo-ripple {
  position: absolute; top: 0; left: 0; z-index: 24; pointer-events: none;
  width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1.5px solid var(--signal-orange);
  opacity: 0;
}
.demo-ripple.go { animation: demoRipple .6s ease-out; }
@keyframes demoRipple {
  0%   { transform: scale(.3); opacity: .75; }
  100% { transform: scale(1.7); opacity: 0; }
}

.demo-toast {
  position: absolute; top: 54px; left: 50%; z-index: 26;
  transform: translate(-50%, -8px);
  background: var(--carbon); color: #fff;
  font-size: 12.5px; font-weight: 500; letter-spacing: .01em;
  padding: 7px 14px; border-radius: var(--r-pill);
  opacity: 0; pointer-events: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .28s ease, transform .28s ease;
  box-shadow: 0 6px 18px rgba(32,32,32,.16);
}
.demo-toast::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal-orange);
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Multi-scene product tour ----------------------------- */
.scenes { position: relative; min-height: 534px; }
.scene { display: none; }
.scene.is-active { display: block; animation: sceneIn .46s cubic-bezier(.22,.61,.36,1) both; }
.scene[data-scene="sov"].is-active,
.scene[data-scene="sources"].is-active,
.scene[data-scene="recs"].is-active { display: flex; flex-direction: column; justify-content: center; }
@keyframes sceneIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.scene__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }

/* share-of-voice scene */
.sov { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.sov__rank { display: flex; flex-direction: column; gap: 17px; justify-content: center; }
.rankrow { display: flex; align-items: center; gap: 12px; }
.rankname { width: 96px; flex: none; font-size: 13px; color: var(--graphite); }
.rankbar { flex: 1; height: 10px; background: var(--fog); border-radius: 6px; overflow: hidden; }
.rankfill { display: block; height: 100%; width: 0; background: #cfcfcf; border-radius: 6px; transition: width .8s cubic-bezier(.4,0,.2,1); }
.rankfill--you { background: var(--signal-orange); }
.rankval { width: 38px; text-align: right; font-size: 13px; font-weight: 600; color: var(--carbon); font-variant-numeric: tabular-nums; }
.sov__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.cdonut {
  --p: 34;
  width: 128px; height: 128px; border-radius: 50%;
  background: conic-gradient(var(--signal-orange) calc(var(--p) * 1%), var(--chalk) 0);
  display: grid; place-items: center; position: relative;
}
.cdonut::before { content: ""; position: absolute; inset: 16px; background: var(--paper); border-radius: 50%; }
.cdonut span { position: relative; font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; color: var(--carbon); }
.sov__cap { font-size: 12.5px; color: var(--slate); line-height: 1.45; max-width: 24ch; }

/* recommendations scene */
.recs { display: grid; gap: 12px; }
.rec { border: 1px solid var(--chalk); border-radius: var(--r-card); padding: 16px 18px; background: var(--paper); }
.scene[data-scene="recs"].is-active .rec { animation: recIn .5s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(.12s + var(--i,0) * .13s); }
@keyframes recIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rec__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rec__prompt { font-size: 14.5px; font-weight: 500; color: var(--carbon); }
.rec__engine { font-size: 11px; font-weight: 600; color: var(--graphite); background: var(--fog); border: 1px solid var(--chalk); border-radius: var(--r-pill); padding: 3px 10px; flex: none; }
.rec__mid { font-size: 13px; color: var(--slate); margin-bottom: 12px; }
.rec__mid b { color: var(--graphite); font-weight: 600; }
.rec__pill { display: inline-flex; font-size: 12.5px; font-weight: 600; color: var(--carbon); border: 1px solid var(--carbon); border-radius: var(--r-pill); padding: 6px 14px; transition: background-color .18s, color .18s; }
.rec:hover .rec__pill { background: var(--carbon); color: var(--paper); }

/* sources scene */
.srcs { padding: 6px 20px; }
.srcrow {
  display: grid; grid-template-columns: 1.7fr .6fr 1.3fr; align-items: center; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--chalk);
  font-size: 13.5px; color: var(--graphite);
}
.srcrow:last-child { border-bottom: 0; }
.srcrow--head, .srcsharehead {
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--slate);
}
.scene[data-scene="sources"].is-active .srcrow { animation: recIn .45s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(var(--i,0) * .09s); }
.srcname { display: flex; align-items: center; gap: 10px; color: var(--carbon); font-weight: 500; }
.srcname em {
  font-style: normal; font-size: 11px; font-weight: 600; color: var(--signal-orange);
  background: rgba(255,104,44,.1); border-radius: var(--r-pill); padding: 2px 8px;
}
.srcdot { width: 8px; height: 8px; border-radius: 2px; background: #cfcfcf; flex: none; }
.srcdot--you { background: var(--signal-orange); }
.srccount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--carbon); }
.srcshare { display: grid; grid-template-columns: 1fr 34px; align-items: center; gap: 10px; }
.srcbar { height: 8px; border-radius: 5px; background: #d3d3d3; width: 0; transition: width .8s cubic-bezier(.4,0,.2,1); }
.srcrow--you .srcbar { background: var(--signal-orange); }
.srcshare b { font-size: 12.5px; font-weight: 600; color: var(--carbon); text-align: right; font-variant-numeric: tabular-nums; }

/* scene dots */
.dash-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.dash-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--chalk); cursor: pointer; transition: background-color .25s ease, width .25s ease; }
.dash-dots button:hover { background: var(--slate); }
.dash-dots button.is-active { background: var(--carbon); width: 22px; border-radius: 5px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__bg { opacity: .5 !important; }
  .rotator::after { transform: scaleX(1) !important; }
  .live-ping { display: none !important; }
  .demo-cursor, .demo-ripple, .demo-toast { display: none !important; }
  .compare__card li { opacity: 1 !important; transform: none !important; }
  .rankfill, .srcbar { transition: none !important; }
  .chart-line { stroke-dashoffset: 0 !important; }
  .chart-area, .chart-dot { opacity: 1 !important; }
  .donut-arc { stroke-dashoffset: 0 !important; }
  .fn-bar { transform: scaleX(1) !important; }
  .fn-bar span { opacity: 1 !important; }
}
