/* ──────────────────────────────────────────────────────────────
   VitalDial: site styles
   Dark performance-lab aesthetic. Teal as data highlight,
   amber as fatigue/strain counterweight.
   ────────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg: #0A0A0F;
  --bg-elevated: #11131A;
  --bg-card: #14171F;
  --edge: #1F232D;
  --edge-strong: #2A2F3B;

  /* Ink */
  --ink: #F2F4F7;
  --ink-2: #C7CCD3;
  --dim: #7A828F;
  --dim-2: #4F5663;

  /* Accents: site palette (separate from brand-mark green) */
  --teal: #33CC66;
  --teal-deep: #1F8A45;
  --teal-glow: rgba(51,204,102,0.18);
  --amber: #FF6B35;
  --amber-deep: #CC4A1E;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: 'ss01' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,204,102,0.10) 0%, rgba(51,204,102,0) 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s;
  will-change: transform;
  mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ── Type ────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}
.eyebrow .accent { color: var(--teal); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; font-weight: 300; }
h1 strong { font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 400; }
h2 strong { font-weight: 600; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 500; }

p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.lede { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 580px; }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }

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

/* ── Layout ──────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .title { max-width: 640px; }
.section-head .meta  { color: var(--dim); font-size: 13.5px; max-width: 360px; text-align: right; line-height: 1.55; }

/* Soft divider rule */
.rule { height: 1px; max-width: var(--max); background: linear-gradient(90deg, transparent, var(--edge-strong) 30%, var(--edge-strong) 70%, transparent); margin: 0 auto; }

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.1s; }
.reveal.d3 { transition-delay: 0.15s; }
.reveal.d4 { transition-delay: 0.2s; }
.reveal.d5 { transition-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(10,10,15,0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav.scrolled { background: rgba(10,10,15,0.85); border-bottom-color: var(--edge); }
.nav .brand { display: flex; align-items: center; gap: 14px; }
.nav .brand .wm { font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.nav .brand .wm .l { font-weight: 300; }
.nav .brand .wm .b { font-weight: 600; }
.nav .links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav .links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .links { display: none; } }
.nav .cta {
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: #062E14;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav .cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -4px var(--teal-glow); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--teal);
  color: #062E14;
  box-shadow: 0 8px 28px -8px rgba(51,204,102,0.45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -8px rgba(51,204,102,0.65); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--edge-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--dim-2); }
.btn .arrow { font-size: 16px; }

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  transition: transform 0.25s cubic-bezier(.16,1,.3,1), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.card.hoverable:hover {
  transform: translateY(-3px);
  border-color: var(--edge-strong);
  box-shadow: 0 22px 60px -28px rgba(51,204,102,0.3);
}
.card-pad { padding: 28px; }

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(51,204,102,0.06);
  border: 1px solid rgba(51,204,102,0.18);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: vd-pulse 2s ease-in-out infinite; }
@keyframes vd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(51,204,102,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51,204,102,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at 65% 50%, rgba(0,0,0,0.9), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 50%, rgba(0,0,0,0.9), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  position: relative; z-index: 2;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin: 18px 0 22px; }
.hero h1 strong { color: var(--ink); }
.hero .ctas { display: flex; gap: 14px; margin-top: 32px; align-items: center; flex-wrap: wrap; }
.hero .verdict {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--edge);
  max-width: 520px;
}
.hero .verdict .vdot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal-glow); }
.hero .verdict .vtxt { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em; }
.hero .verdict .vtxt .accent { color: var(--teal); }

/* Hero dial container */
.dial-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.dial-stage .satellites {
  position: absolute; inset: 0;
  pointer-events: none;
}
.satellite {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(20,23,31,0.75);
  border: 1px solid var(--edge);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: vd-sat-in 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.satellite .sat-label { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.satellite .sat-val   { font-family: var(--mono); font-size: 14.5px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.satellite .sat-val .unit { color: var(--dim); font-size: 11px; margin-left: 2px; }
.satellite.s-hrv   { top: 8%;   right: -4%; animation-delay: 1.2s; }
.satellite.s-rhr   { top: 38%;  right: -8%; animation-delay: 1.4s; }
.satellite.s-sleep { bottom: 22%; right: -2%; animation-delay: 1.6s; }
.satellite.s-ctl   { bottom: 4%;  left: 8%;  animation-delay: 1.8s; }
@keyframes vd-sat-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) { .satellite { display: none; } }

/* ── Tabs section ────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 36px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--edge);
  color: var(--dim);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tab .num { font-family: var(--mono); font-size: 10.5px; color: var(--dim-2); margin-right: 8px; letter-spacing: 0.1em; }
.tab:hover { color: var(--ink-2); border-color: var(--edge-strong); }
.tab.active { color: #062E14; background: var(--teal); border-color: var(--teal); }
.tab.active .num { color: rgba(0,24,21,0.55); }

.panel-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 620px;
}
@media (max-width: 900px) { .panel-stage { grid-template-columns: 1fr; min-height: 0; } }

.panel-stage .copy h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.15; }
.panel-stage .copy h3 strong { color: var(--teal); font-weight: 500; }
.panel-stage .copy .callouts { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.callout {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--edge);
}
.callout:first-child { border-top: none; padding-top: 0; }
.callout .tag { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.06em; padding-top: 2px; }
.callout .body { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.callout .body strong { color: var(--ink); font-weight: 500; }

.panel-stage .panel-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 580px;
}

/* Phone frame */
.phone {
  position: relative;
  width: 320px; height: 660px;
  border-radius: 44px;
  background: #050608;
  border: 8px solid #1A1D24;
  box-shadow: 0 30px 80px -24px rgba(0,0,0,0.7), inset 0 0 0 1.5px #25282E, 0 0 0 1px rgba(51,204,102,0.05);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone::before {
  content: '';
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; border-radius: 999px; background: #050608;
  z-index: 3;
}
.phone-screen {
  flex: 1;
  background: var(--bg);
  position: relative;
  padding: 56px 18px 22px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ph-status {
  position: absolute; top: 14px; left: 24px; right: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  z-index: 2;
}
.ph-status .right { display: flex; gap: 6px; align-items: center; }
.ph-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph-header .day { font-family: var(--mono); font-size: 10.5px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.ph-header .title { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }

/* Tab crossfade */
.panel { animation: vd-panel-in 0.4s ease-out; }
@keyframes vd-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Pipeline ────────────────────────────────────────────────── */
.pipeline {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  gap: 16px;
  align-items: stretch;
}
/* Desktop: horizontal SVG visible, vertical hidden */
.flow-h { display: block; width: 100%; height: 24px; }
.flow-v { display: none; }

@media (max-width: 980px) {
  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipe-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    padding: 0;
  }
  .flow-h { display: none; }
  .flow-v { display: block; width: 24px; height: 48px; }
}
.pipe-step {
  background: var(--bg-card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
}
.pipe-step .step-num {
  font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.14em; text-transform: uppercase;
}
.pipe-step .step-title { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.pipe-step .step-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.pipe-step .step-content { margin-top: auto; }

.pipe-link {
  position: relative;
  display: flex; align-items: center;
}
.pipe-link svg { width: 100%; height: 24px; }

.device-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.device-pill { padding: 5px 11px; background: rgba(255,255,255,0.03); border: 1px solid var(--edge); border-radius: 999px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); letter-spacing: 0.06em; }

.model-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; }
.model-list .m { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid var(--edge); }
.model-list .m:first-child { border-top: none; padding-top: 4px; }
.model-list .m .ref { color: var(--dim-2); font-size: 9.5px; letter-spacing: 0.08em; }
.model-list .m .name { color: var(--ink-2); white-space: nowrap; }
.model-list .m .ts { color: var(--teal); font-size: 9.5px; letter-spacing: 0.04em; white-space: nowrap; }

.verdict-card {
  background: var(--bg);
  border: 1px solid var(--teal-deep);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  box-shadow: 0 0 0 1px var(--bg), 0 0 24px -8px var(--teal-glow);
}
.verdict-card .vc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.verdict-card .vc-label { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.verdict-card .vc-score { font-family: var(--mono); font-size: 18px; color: var(--teal); font-weight: 500; }
.verdict-card .vc-rec { font-size: 14px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.verdict-card .vc-focus { font-size: 12px; color: var(--dim); margin-top: 6px; font-family: var(--mono); letter-spacing: 0.02em; }

/* ── Ticker ──────────────────────────────────────────────────── */
.ticker-section {
  padding: 24px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  overflow: hidden;
  position: relative;
}
.ticker-section::before, .ticker-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-section::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker-section::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex; gap: 48px;
  animation: vd-ticker-scroll 60s linear infinite;
  will-change: transform;
  white-space: nowrap;
  width: max-content;
}
.ticker-section:hover .ticker-track { animation-play-state: paused; }
@keyframes vd-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
}
.tick .k { color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.tick .v { color: var(--teal); text-shadow: 0 0 12px rgba(51,204,102,0.35); letter-spacing: -0.005em; font-weight: 500; }
.tick .u { color: var(--dim); font-size: 11px; }
.tick.warm .v { color: var(--amber); text-shadow: 0 0 12px rgba(255,107,53,0.35); }

/* ── Race intelligence ───────────────────────────────────────── */
.race-card {
  background: var(--bg-card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.race-card .head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 6px;
  border-bottom: 1px solid var(--edge);
}
.race-card .head-title { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.18em; text-transform: uppercase; }
.race-card .head-meta  { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.06em; }
.race-row {
  display: grid;
  grid-template-columns: 80px 1fr 130px 90px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
}
.race-row:last-child { border-bottom: none; }
.race-row .distance { font-family: var(--mono); font-size: 15px; color: var(--ink); letter-spacing: 0.06em; }
.race-row .bar-wrap { position: relative; height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.race-row .bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--teal-deep), var(--teal)); border-radius: 3px; width: 0; transition: width 1.4s cubic-bezier(.16,1,.3,1); }
.race-row .bar.warm { background: linear-gradient(90deg, var(--amber-deep), var(--amber)); }
.race-row .bar-meta { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.race-row .time { font-family: var(--mono); font-size: 22px; color: var(--ink); letter-spacing: -0.01em; font-weight: 500; text-align: right; }
.race-row .conf {
  text-align: right;
  font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid;
  justify-self: end;
}
.conf.high { color: var(--teal); border-color: var(--teal-deep); background: rgba(51,204,102,0.06); }
.conf.med  { color: #FFC857; border-color: #B58B30; background: rgba(255,200,87,0.05); }
.conf.low  { color: var(--amber); border-color: var(--amber-deep); background: rgba(255,107,53,0.05); }
.race-foot { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--edge); font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.04em; line-height: 1.6; }
@media (max-width: 720px) {
  .race-row { grid-template-columns: 60px 1fr 80px; }
  .race-row .conf { display: none; }
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.price-card.featured {
  border-color: var(--teal-deep);
  background: linear-gradient(180deg, rgba(51,204,102,0.04), var(--bg-card) 40%);
  box-shadow: 0 22px 80px -36px rgba(51,204,102,0.4);
  transform: translateY(-8px);
}
.price-card.elite {
  position: relative;
  background: var(--bg-card);
  border: none;
}
.price-card.elite::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-deep), var(--amber-deep));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.price-card .tag-row { display: flex; align-items: center; justify-content: space-between; }
.price-card .tier { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.price-card .badge { font-family: var(--mono); font-size: 10px; color: var(--teal); border: 1px solid var(--teal-deep); padding: 4px 8px; border-radius: 999px; letter-spacing: 0.1em; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; }
.price-card .price .amount { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; }
.price-card .price .per { font-size: 14px; color: var(--dim); font-family: var(--mono); }
.price-card .desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; min-height: 42px; }
.feat-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.feat-table td { padding: 11px 0; border-top: 1px solid var(--edge); color: var(--ink-2); }
.feat-table tr:first-child td { border-top: none; }
.feat-table td:first-child { white-space: nowrap; }
.feat-table td:last-child { text-align: right; width: 28px; }
.feat-table .yes { color: var(--teal); font-family: var(--mono); }
.feat-table .no  { color: var(--dim-2); font-family: var(--mono); }
.feat-table .val { color: var(--teal); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; width: auto; white-space: nowrap; }
.price-card .cta { margin-top: auto; }
.price-card .cta .btn { width: 100%; justify-content: center; }
.price-foot { margin-top: 24px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }

/* ── Terminal (Ask VitalDial) ────────────────────────────────── */
.terminal {
  background: #06070A;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
}
.term-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #0D0F13;
  border-bottom: 1px solid var(--edge);
}
.term-bar .dots { display: flex; gap: 6px; }
.term-bar .dots span { width: 11px; height: 11px; border-radius: 50%; background: #25282E; }
.term-bar .title { color: var(--dim); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.term-bar .right { margin-left: auto; color: var(--dim-2); font-size: 11px; }
.term-body { padding: 28px 30px; min-height: 380px; }
.term-line { display: flex; gap: 14px; margin-bottom: 14px; }
.term-line .gut { color: var(--dim-2); flex-shrink: 0; user-select: none; }
.term-line.user .text { color: var(--ink); }
.term-line.bot  .text { color: var(--ink-2); }
.term-line.bot .text .accent { color: var(--teal); }
.term-line.bot .text .warm   { color: var(--amber); }
.term-line.bot .text .ref    { color: var(--dim); font-size: 12px; }
.cursor-blink {
  display: inline-block;
  width: 9px; height: 16px;
  background: var(--teal);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: vd-blink 1s steps(1) infinite;
}
@keyframes vd-blink { 50% { opacity: 0; } }
.term-note { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 0.04em; }

/* ── Stats strip ─────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat .n { font-size: 64px; font-weight: 300; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-family: var(--sans); }
.stat .n .accent { color: var(--teal); }
.stat .l { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 14px; }
.stat .s { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; max-width: 280px; line-height: 1.5; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  position: relative;
  padding: 72px 0 48px;
  border-top: 1px solid var(--edge);
}
.footer::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
}
.footer-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr; text-align: left; gap: 18px; }
  .footer-row .links { justify-content: flex-start !important; }
  .footer-row .tag { text-align: left !important; }
}
.footer .links { display: flex; gap: 24px; justify-content: center; font-size: 13.5px; color: var(--ink-2); }
.footer .links a:hover { color: var(--ink); }
.footer .tag { font-size: 13.5px; color: var(--dim); text-align: right; max-width: 280px; margin-left: auto; line-height: 1.5; }

/* Brand mark image: Full Instrument from brand/mark/. Size via CSS. */
.brand-mark { display: block; flex-shrink: 0; }
.nav-mark   { width: 48px; height: 48px; }
.foot-mark  { width: 36px; height: 36px; }

/* ── Mobile responsive ───────────────────────────────────────── */

/* Tighten gutter and section rhythm on small screens */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .section       { padding: 80px 0; }
  .section.tight { padding: 56px 0; }

  /* Section head: stack and left-align */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
  }
  .section-head .meta {
    text-align: left;
    max-width: 100%;
  }

  /* Hero */
  .hero { padding-top: 100px; padding-bottom: 56px; min-height: 0; }
  .hero .ctas { flex-direction: column; align-items: stretch; }
  .hero .ctas .btn { justify-content: center; width: 100%; }
  .hero .verdict { margin-top: 28px; padding-top: 20px; }

  /* Nav CTA — shrink text on very narrow screens */
  .nav .cta { font-size: 12px; padding: 9px 13px; }

  /* Phone mockup — scale down to fit narrow screens */
  .phone {
    width: 270px;
    height: 557px;
    border-radius: 38px;
    border-width: 7px;
  }
  .phone::before {
    width: 92px;
    height: 24px;
    top: 10px;
  }
  .phone-screen { padding: 48px 15px 18px; }
  .panel-wrap { min-height: 0 !important; padding: 24px 0; }

  /* Pipeline steps */
  .pipe-step { min-height: 0; padding: 22px 20px; }

  /* Pricing — remove vertical offset from featured card in single column */
  .price-card.featured { transform: none; }

  /* Terminal */
  .term-body { padding: 20px 20px; min-height: 0; }
  .terminal  { font-size: 12.5px; }
  .term-bar  { padding: 11px 14px; }
  .term-note { font-size: 11px; }

  /* Race card */
  .race-card { padding: 24px 20px; }

  /* Stats */
  .stat .n { font-size: 48px; }

  /* Footer */
  .footer { padding: 48px 0 36px; }
  .footer .links { gap: 16px; flex-wrap: wrap; }
}

/* Tablet: keep most layouts but tighten spacing */
@media (max-width: 980px) and (min-width: 641px) {
  .section       { padding: 96px 0; }
  .section.tight { padding: 64px 0; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section-head .meta { text-align: left; max-width: 100%; }
}
