/* ─────────────────────────────────────────────────────────────
   Revnant Digital — Simple Landing Page
   Standalone stylesheet. Same token values as the main site
   (revnant-site/src/styles/tokens.css) so the two feel identical,
   but this file is self-contained on purpose — this page is a
   temporary, separate artifact from the main build.
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink-900: #0A0D12;
  --ink-800: #12161D;
  --ink-700: #1B212A;

  --brand-900: #123C52;
  --brand-800: #155069;
  --brand-700: #1D6E91;
  --brand-600: #27779A;
  --brand-500: #2E86AB;
  --brand-400: #3FA3C9;
  --brand-300: #7EC8E3;
  --brand-200: #B6E0EF;
  --brand-100: #E4F3F9;

  --gunmetal: #2E333B;
  --muted: #666C73; /* WCAG-AA safe on white/tint — see revnant-site README */
  --hairline: #DCE6EC;
  --tint: #EEF6FA;
  --off-white: #F7FBFD;
  --white: #FFFFFF;
  --success: #16A34A;

  --on-dark-body: rgba(255, 255, 255, 0.78);
  --on-dark-strong: rgba(255, 255, 255, 0.85);
  --on-dark-meta: rgba(255, 255, 255, 0.55);
  --border-brand: rgba(46, 134, 171, 0.12);
  --border-brand-strong: rgba(46, 134, 171, 0.26);

  --grad-cta: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 100%);
  --grad-text-light: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
  --grad-text-dark: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-300) 100%);
  --grad-accent: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-300) 100%);

  --shadow-md: 0 4px 16px rgba(46, 134, 171, 0.1);
  --shadow-lg: 0 12px 34px rgba(46, 134, 171, 0.16);
  --shadow-cta: 0 6px 24px rgba(29, 110, 145, 0.34);
  --shadow-cta-hover: 0 10px 32px rgba(29, 110, 145, 0.44);
  --shadow-phone:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(46, 134, 171, 0.3),
    0 80px 120px rgba(126, 200, 227, 0.16);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-phone: 44px;
  --r-pill: 100px;

  --container: 1160px;
  --container-narrow: 760px;
  --gutter: 24px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;

  --t-display: clamp(2.4rem, 4.6vw, 3.6rem);
  --t-h2: clamp(1.9rem, 3.2vw, 2.5rem);
  --t-h3: clamp(1.2rem, 1.8vw, 1.4rem);
  --t-lead: clamp(1rem, 1.3vw, 1.125rem);
  --t-body: 0.9375rem;
  --t-small: 0.8125rem;
  --t-eyebrow: 0.8125rem;
  --t-stat: clamp(1.6rem, 2.6vw, 2.35rem);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Reset ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gunmetal);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-600); }

h1 { font-size: var(--t-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink-900); text-wrap: balance; }
h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-900); text-wrap: balance; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.3; color: var(--ink-900); }

:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 200; padding: 12px 22px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--brand-700); color: var(--white); font-size: var(--t-small);
  font-weight: 700; text-decoration: none; transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.grad-text {
  color: var(--brand-600);
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text;
}
.grad-text--dark {
  color: var(--brand-300);
  background: var(--grad-text-dark);
  -webkit-background-clip: text; background-clip: text;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .grad-text, .grad-text--dark { color: transparent; }
}
.tnum { font-variant-numeric: tabular-nums; }

/* ── Layout ────────────────────────────────────────── */

.section { width: 100%; position: relative; }
.inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.inner.narrow { max-width: var(--container-narrow); }

.tone-light { background: var(--white); }
.tone-tint { background: var(--tint); }
.tone-dark { background: var(--ink-900); color: var(--on-dark-body); }
.tone-dark h1, .tone-dark h2, .tone-dark h3 { color: var(--white); }

.pad-sm { padding-block: 44px; }
.pad-md { padding-block: 72px; }
.pad-lg { padding-block: 96px; }
@media (max-width: 767px) {
  .pad-sm { padding-block: 32px; }
  .pad-md { padding-block: 48px; }
  .pad-lg { padding-block: 60px; }
}

.head { max-width: var(--container-narrow); margin-inline: auto; text-align: center; }
.head h2 { margin-top: 14px; }
.head .intro { margin: 16px auto 0; max-width: 58ch; font-size: var(--t-lead); color: var(--muted); }

/* ── Eyebrow ───────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: var(--r-pill); font-size: var(--t-eyebrow); font-weight: 600;
  background: linear-gradient(135deg, rgba(46,134,171,.07), rgba(126,200,227,.1));
  border: 1px solid var(--border-brand); color: var(--brand-700);
}
.eyebrow.dark { background: rgba(126,200,227,.1); border-color: rgba(126,200,227,.22); color: var(--brand-300); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ── Buttons ───────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--r-sm); font-size: 0.9375rem; font-weight: 700;
  line-height: 1.2; text-decoration: none; white-space: nowrap; padding: 15px 30px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.btn svg { flex: none; }
.btn.lg { padding: 17px 36px; }
.btn-cta { background: var(--grad-cta); color: var(--white); box-shadow: var(--shadow-cta); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-cta-dark { background: var(--brand-300); color: var(--ink-900); box-shadow: 0 6px 24px rgba(126,200,227,.25); }
.btn-cta-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(126,200,227,.34); }
.btn-outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--border-brand-strong); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-500); }
.btn-outline-dark { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.32); }
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }
.btn-cta-dark:focus-visible, .btn-outline-dark:focus-visible { outline-color: var(--brand-300); }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ── Nav / contact bar ─────────────────────────────── */

.topbar {
  background: var(--ink-900); color: var(--on-dark-body); font-size: var(--t-small);
}
.topbar .inner {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding-block: 9px; flex-wrap: wrap;
}
.topbar a {
  display: inline-flex; align-items: center; gap: 7px; color: var(--white);
  font-weight: 600; text-decoration: none;
}
.topbar a:hover { color: var(--brand-300); }
.topbar svg { color: var(--brand-300); flex: none; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-brand);
}
.nav .inner {
  display: flex; align-items: center; justify-content: space-between; height: var(--nav-h);
}
.logo { display: inline-block; white-space: nowrap; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.logo .rev { color: var(--brand-500); }
.logo .dig { color: var(--ink-900); }
.nav .btn { padding: 11px 22px; font-size: 0.875rem; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: var(--t-small); font-weight: 600; color: var(--gunmetal); text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-700); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-burger { display: none; width: 40px; height: 40px; padding: 0; border: none; background: transparent; border-radius: var(--r-sm); flex: none; }
.burger-bars { display: grid; gap: 4px; justify-items: center; }
.burger-bars span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink-900);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav.is-open .burger-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .burger-bars span:nth-child(2) { opacity: 0; }
.nav.is-open .burger-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-panel { background: var(--white); border-top: 1px solid var(--border-brand); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.nav-mobile-panel a {
  display: block; padding: 16px var(--gutter); border-bottom: 1px solid var(--hairline);
  font-size: 1rem; font-weight: 600; color: var(--ink-900); text-decoration: none;
}
.nav-mobile-panel a[aria-current="page"] { color: var(--brand-700); }
.nav-mobile-cta { padding: 20px var(--gutter) 24px; }

@media (max-width: 767px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: grid; place-items: center; }
}
@media (min-width: 768px) {
  .nav-mobile-panel { display: none !important; }
}

/* ── Hero ──────────────────────────────────────────── */

.hero { overflow-x: clip; padding-top: 56px; }
.hero::before {
  content: ''; position: absolute; top: -80px; right: -120px; width: 900px; height: 900px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 60% 40%, rgba(46,134,171,.16) 0%, rgba(126,200,227,.12) 45%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero-grid > * { min-width: 0; }
.hero-copy h1 { margin-top: 20px; }
.hero-copy .lead { margin-top: 20px; max-width: 56ch; font-size: var(--t-lead); line-height: 1.7; color: var(--gunmetal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: var(--t-small); color: var(--muted); }
.hero-note svg { flex: none; color: var(--success); }
.hero-media { padding: 20px 30px; }
.hero-kicker { margin-top: 12px; font-size: var(--t-small); font-weight: 600; font-style: italic; color: var(--muted); }

@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: 2; padding-top: 0; }
}

/* ── Phone mock (kept, per spec) ───────────────────── */

.phone-wrap { position: relative; width: 280px; margin-inline: auto; }
.phone-shell { background: #0F0F0F; border-radius: var(--r-phone); padding: 13px; box-shadow: var(--shadow-phone); position: relative; }
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 24px;
  background: #0F0F0F; border-radius: 0 0 16px 16px; display: grid; place-items: center; z-index: 2;
}
.phone-notch span { width: 9px; height: 9px; border-radius: 50%; background: #1A1A1A; border: 2px solid #2A2A2A; }
.phone-screen { background: var(--white); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-height: 480px; }
.phone-topbar { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-bottom: 1px solid var(--hairline); color: var(--muted); }
.phone-avatar {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-accent); color: var(--white); font-size: 10px; font-weight: 700;
}
.phone-name { flex: 1; font-size: 12px; font-weight: 700; color: var(--ink-900); }
.phone-thread {
  flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 13px 11px; background: var(--off-white);
}
.phone-row { display: flex; max-width: 80%; }
.phone-row.in { align-self: flex-start; }
.phone-row.out { align-self: flex-end; }
.phone-bubble { padding: 8px 12px; font-size: 12.5px; line-height: 1.42; }
.phone-row.in .phone-bubble { background: #ECEEF1; color: var(--ink-900); border-radius: 15px 15px 15px 4px; }
.phone-row.out .phone-bubble { background: var(--grad-cta); color: var(--white); border-radius: 15px 15px 4px 15px; }
.phone-inputbar { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-top: 1px solid var(--hairline); }
.phone-field { flex: 1; background: #ECEEF1; border-radius: var(--r-pill); padding: 8px 13px; font-size: 12px; color: var(--muted); }
.phone-send { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-cta); color: var(--white); flex: none; }

.phone-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 13px;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.phone-float.top-left { top: 4%; left: -54px; }
.phone-float.bottom-right { bottom: 3%; right: -54px; }
.phone-fchip { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-sm); flex: none; }
.phone-fchip.success { background: rgba(22,163,74,.1); color: var(--success); }
.phone-fchip.brand { background: rgba(46,134,171,.1); color: var(--brand-500); }
.phone-fvalue { font-size: 15px; font-weight: 700; color: var(--ink-900); white-space: nowrap; }
.phone-flabel { font-size: 11px; color: var(--muted); white-space: nowrap; }

@media (max-width: 519px) {
  .phone-float { display: none; }
}
@media (max-width: 399px) {
  .phone-wrap { width: 244px; }
  .phone-screen { min-height: 440px; }
}

/* ── Pain points ───────────────────────────────────── */

.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pains > * { min-width: 0; }
.pain-card {
  background: var(--white); border: 1px solid var(--border-brand); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.pain-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(46,134,171,.1), rgba(126,200,227,.14));
  border: 1px solid var(--border-brand); color: var(--brand-600); flex: none;
}
.pain-card p { font-size: var(--t-small); color: var(--muted); line-height: 1.6; }
@media (max-width: 1023px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .pains { grid-template-columns: 1fr; } }

/* ── The math ──────────────────────────────────────── */

.math-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.math-grid > * { min-width: 0; }
.math-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1px solid var(--border-brand); border-radius: var(--r-lg);
  padding: 28px;
}
.math-leads { font-size: var(--t-h3); font-weight: 800; color: var(--ink-900); }
.math-leads-label { margin-top: 4px; font-size: var(--t-small); color: var(--muted); }
.math-divider { width: 32px; height: 2px; background: var(--hairline); margin: 18px 0; }
.math-value { font-size: var(--t-stat); font-weight: 800; line-height: 1; }
.math-label { margin-top: 8px; font-size: var(--t-small); color: var(--muted); }
.math-note {
  margin: 28px auto 0; max-width: var(--container-narrow); text-align: center;
  font-size: var(--t-small); color: var(--muted); line-height: 1.6;
}
@media (max-width: 859px) { .math-grid { grid-template-columns: 1fr; } }

/* ── Case study ────────────────────────────────────── */

.case-study-card {
  max-width: var(--container-narrow); margin: 40px auto 0; background: var(--white);
  border: 1px solid var(--border-brand); border-radius: var(--r-xl); padding: 36px;
  box-shadow: var(--shadow-md);
}
.case-study-card > p { font-size: var(--t-lead); line-height: 1.7; color: var(--gunmetal); }
.case-study-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline);
}
.case-study-stats > div { display: grid; gap: 4px; text-align: center; min-width: 100px; }
.cs-value { font-size: var(--t-h3); font-weight: 800; }
.cs-label { font-size: var(--t-small); color: var(--muted); }

/* ── Guarantee line (inside "free test run" card) ───── */

.guarantee { margin-top: 10px; font-size: var(--t-small); font-weight: 700; color: var(--brand-700); }

/* ── Lost revenue calculator ─────────────────────────── */

.calc-card {
  max-width: 640px; margin: 44px auto 0; background: var(--white); border: 1px solid var(--border-brand);
  border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-md);
}
.calc-field { margin-top: 28px; }
.calc-field:first-child { margin-top: 0; }
.calc-field label, .calc-field-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: var(--t-small); font-weight: 700; color: var(--gunmetal);
}
.calc-live { font-size: var(--t-h3); font-weight: 800; color: var(--brand-600); }

.calc-field input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 14px;
  background: var(--hairline); border-radius: var(--r-pill); outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-cta); border: 3px solid var(--white); box-shadow: var(--shadow-md); cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad-cta);
  border: 3px solid var(--white); box-shadow: var(--shadow-md); cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-track { background: var(--hairline); height: 6px; border-radius: var(--r-pill); }
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }

.calc-toggle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.calc-toggle-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px;
  background: var(--white); border: 1.5px solid var(--border-brand-strong); border-radius: var(--r-sm);
  color: var(--ink-900); font: inherit; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.calc-toggle-word { font-size: var(--t-small); font-weight: 700; }
.calc-toggle-pct { font-size: 1.0625rem; font-weight: 800; }
.calc-toggle-btn.active { background: var(--grad-cta); border-color: transparent; color: var(--white); }
.calc-toggle-btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

.calc-result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--hairline); text-align: center; }
.calc-result-label { display: block; font-size: var(--t-small); color: var(--muted); }
.calc-result-value { display: block; margin-top: 8px; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; }
.calc-result-caption { display: block; margin: 10px auto 0; max-width: 44ch; font-size: 12px; color: var(--muted); }
.calc-card .btn { margin-top: 26px; }

/* ── FAQ ──────────────────────────────────────────────*/

.faq-list { max-width: var(--container-narrow); margin: 40px auto 0; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border-brand); border-radius: var(--r-md); padding: 4px 20px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: var(--t-body); color: var(--ink-900);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-chevron { flex: none; color: var(--brand-500); transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding-bottom: 18px; margin-top: -4px; font-size: var(--t-body); color: var(--muted); line-height: 1.65; }

/* ── How it works ──────────────────────────────────── */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.steps > * { min-width: 0; }
.steps::before {
  content: ''; position: absolute; top: 22px; left: 22px; right: calc(25% - 22px);
  height: 2px; background: var(--hairline);
}
.step { position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border-brand); color: var(--brand-700);
  font-weight: 800; font-size: 15px; position: relative; z-index: 1;
}
.step h3 { margin-top: 16px; font-size: 1.0625rem; }
.step p { margin-top: 6px; font-size: var(--t-small); color: var(--muted); line-height: 1.6; }
@media (max-width: 859px) {
  /* Same treatment as "How this works financially" below: a single column
     of centered, bordered cards, rather than a left-aligned icon+text row. */
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps::before { display: none; }
  .step {
    display: block; text-align: center;
    background: var(--white); border: 1px solid var(--border-brand);
    border-radius: var(--r-lg); padding: 28px;
  }
  .step-num { margin-inline: auto; background: var(--brand-100); border-color: transparent; }
  .step h3 { margin-top: 16px; padding-top: 0; }
  .step p { margin-top: 10px; }
}

/* ── Video ─────────────────────────────────────────── */

.video-wrap {
  max-width: 760px; margin: 44px auto 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--ink-900); box-shadow: var(--shadow-lg); position: relative;
  aspect-ratio: 16/9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-cover {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  /* A light scrim over the real thumbnail, dark enough to keep the play
     button legible against any part of the image underneath it. */
  background:
    linear-gradient(to bottom, rgba(10,13,18,.25), rgba(10,13,18,.4)),
    url('assets/revnant-digital-case-study-thumbnail.png') center / cover no-repeat;
  border: none; padding: 0; width: 100%;
}
.video-play {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad-accent); color: var(--ink-900); padding-left: 5px;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  transition: transform var(--dur) var(--ease);
}
.video-cover:hover .video-play { transform: scale(1.06); }
.video-caption { margin: 16px auto 0; max-width: 60ch; text-align: center; font-size: var(--t-small); color: var(--muted); }

/* ── Results (illustrative) ────────────────────────── */

.results-note {
  max-width: var(--container-narrow); margin: 0 auto 32px; text-align: center;
  font-size: var(--t-small); color: var(--on-dark-meta); line-height: 1.6;
}
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result-card { min-width: 0; }
.result-stats { min-width: 0; }
.result-card {
  background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-lg);
  padding: 26px;
}
.result-card .industry {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(126,200,227,.1); border: 1px solid rgba(126,200,227,.22);
  color: var(--brand-300); font-size: 11px; font-weight: 700; letter-spacing: .01em;
}
.result-stats { display: flex; gap: 22px; margin-top: 18px; }
.result-stats div { display: grid; gap: 4px; min-width: 0; }
.result-value { font-size: var(--t-stat); font-weight: 800; line-height: 1; white-space: nowrap; }
.result-label { font-size: 11px; color: var(--on-dark-meta); line-height: 1.4; }
.result-card p.desc { margin-top: 16px; font-size: var(--t-small); line-height: 1.6; color: var(--on-dark-body); }
@media (max-width: 859px) { .result-grid { grid-template-columns: 1fr; } }

/* ── Value / pricing ───────────────────────────────── */

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.value-grid > * { min-width: 0; }
.value-card {
  background: var(--white); border: 1px solid var(--border-brand); border-radius: var(--r-lg);
  padding: 28px; text-align: center;
}
.value-card.featured { border-color: var(--border-brand-strong); box-shadow: var(--shadow-md); position: relative; }
.value-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.value-step {
  display: grid; place-items: center; width: 40px; height: 40px; margin-inline: auto;
  border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 800;
}
.value-card h3 { margin-top: 16px; }
.value-card p { margin-top: 10px; font-size: var(--t-small); color: var(--muted); line-height: 1.6; }
.value-flex {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px;
}
.value-flex span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  background: var(--tint); border: 1px solid var(--border-brand); border-radius: var(--r-pill);
  font-size: var(--t-small); font-weight: 600; color: var(--gunmetal);
}
.value-flex svg { color: var(--brand-500); flex: none; }
@media (max-width: 859px) { .value-grid { grid-template-columns: 1fr; } }

/* ── Form section ──────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.form-grid > * { min-width: 0; }
.form-card {
  background: var(--white); border: 1px solid var(--border-brand); border-radius: var(--r-xl);
  padding: 36px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: var(--t-h3); }
.form-sub { margin-top: 6px; font-size: var(--t-small); color: var(--muted); }

.fields { display: grid; gap: 16px; margin-top: 24px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.two-up { grid-template-columns: 1fr; }
.field label { font-size: var(--t-small); font-weight: 600; color: var(--gunmetal); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); font-size: 0.9375rem; transition: border-color var(--dur-fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-brand-strong); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--brand-400); outline: 2px solid var(--brand-500); outline-offset: 1px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.grid-2 > .field { min-width: 0; }
@media (max-width: 539px) { .grid-2 { grid-template-columns: 1fr; } }

.form-submit { margin-top: 22px; }
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: var(--t-small);
  font-weight: 600; display: none;
}
.form-status.show { display: flex; align-items: flex-start; gap: 8px; }
.form-status.ok { background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.2); color: #0f5c2c; }
.form-status.err { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.2); color: #a02222; }

.calendar-card {
  background: var(--ink-900); color: var(--white); border-radius: var(--r-xl); padding: 30px;
  display: flex; flex-direction: column; min-height: 640px;
}
.calendar-card h3 { color: var(--white); }
.calendar-card .form-sub { color: var(--on-dark-meta); }
/* Month-view calendars (Google's and Cal.com's alike) need more vertical
   room than a generic iframe would — this was 380px, which was tight enough
   to force awkward internal scrolling even once the embed worked. */
.calendar-embed { flex: 1; margin-top: 20px; border-radius: var(--r-md); overflow: hidden; min-height: 540px; background: var(--white); }
.calendar-embed iframe { width: 100%; height: 100%; min-height: 540px; border: 0; }
/* Cal.com's own embed inserts an iframe into this div and sizes it to
   fill — `overflow: auto` (not `hidden`) lets the booking flow scroll
   internally if its content ever exceeds the card's height. */
.cal-embed-target { width: 100%; height: 100%; min-height: 540px; overflow: auto; }
.calendar-placeholder {
  flex: 1; margin-top: 20px; min-height: 380px; border-radius: var(--r-md);
  border: 2px dashed rgba(255,255,255,.18); display: grid; place-items: center; gap: 14px;
  text-align: center; padding: 24px;
}
.calendar-placeholder svg { color: var(--brand-300); }
.calendar-placeholder p { font-size: var(--t-small); color: var(--on-dark-meta); max-width: 32ch; }
.calendar-placeholder a { color: var(--brand-300); font-weight: 700; text-decoration: none; }
.calendar-placeholder a:hover { text-decoration: underline; }

@media (max-width: 959px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .calendar-card { padding: 26px; }
}

/* ── CTA band ──────────────────────────────────────── */

.cta-panel {
  position: relative; overflow: hidden; background: var(--grad-cta); border-radius: var(--r-xl);
  padding: 56px 40px; text-align: center;
}
.cta-panel::after {
  content: ''; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(126,200,227,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: var(--white); margin-top: 16px; }
.cta-panel .sub { margin: 14px auto 0; max-width: 48ch; color: rgba(255,255,255,.85); font-size: var(--t-lead); }
.cta-panel .hero-actions { justify-content: center; }

/* ── Footer ────────────────────────────────────────── */

.foot { background: var(--ink-900); color: var(--on-dark-body); padding: 40px 0; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .contacts { display: flex; flex-wrap: wrap; gap: 20px; }
.foot .contacts a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-body); text-decoration: none; font-size: var(--t-small); font-weight: 600; }
.foot .contacts a:hover { color: var(--brand-300); }
.foot .contacts svg { color: var(--brand-300); flex: none; }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ink-700);
}
.foot .copy { font-size: 12px; color: var(--on-dark-meta); }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.legal-links a { font-size: 12px; color: var(--on-dark-meta); text-decoration: none; }
.legal-links a:hover { color: var(--brand-300); }
.legal-links span { color: var(--ink-700); font-size: 12px; }

/* ── Services page hero ──────────────────────────────
   WIP: hero only, for visual review before the rest of the page
   is built. Matches the approved reference layout, recolored to
   brand tokens instead of the reference's purple/pink. */

.services-hero { position: relative; overflow: hidden; padding-top: 100px; padding-bottom: 100px; }
.services-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 900px 560px at 50% 10%, rgba(46,134,171,.4) 0%, rgba(126,200,227,.16) 45%, transparent 75%);
}
.services-hero .inner { position: relative; text-align: center; }

.services-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px;
  border-radius: var(--r-pill); background: rgba(126,200,227,.1); border: 1px solid rgba(126,200,227,.24);
  color: var(--brand-300); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.services-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent); animation: pulse 2s infinite; flex: none; }

.services-hero h1 {
  margin-top: 24px; color: var(--white); font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.15; letter-spacing: -0.02em;
}
.services-hero .lead {
  margin: 24px auto 0; max-width: 62ch; font-size: var(--t-lead); line-height: 1.7; color: var(--on-dark-body);
}

.services-bots { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.services-bot-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink-800); border: 1px solid var(--ink-700); color: var(--on-dark-strong);
  font-size: var(--t-small); font-weight: 600; text-decoration: none; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.services-bot-pill:hover { background: var(--ink-700); border-color: var(--border-brand-strong); }
.services-bot-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); flex: none; }

.services-hero .btn { margin-top: 40px; box-shadow: var(--shadow-cta), 0 0 40px rgba(126,200,227,.2); }

/* ── Service block (per-system section on Services page) ── */

.service-block { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.service-block > * { min-width: 0; }

.service-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill); background: var(--brand-100); border: 1px solid var(--border-brand-strong);
  color: var(--brand-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.service-eyebrow-icon {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--grad-cta); color: var(--white);
}
.service-eyebrow-icon svg { width: 12px; height: 12px; }

.service-copy h2 { margin-top: 18px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.service-desc { margin-top: 18px; font-size: var(--t-lead); line-height: 1.7; color: var(--muted); }

.service-steps { display: grid; gap: 20px; margin-top: 28px; padding: 0; list-style: none; }
.service-steps li { display: flex; gap: 14px; }
.service-step-num {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--grad-cta); color: var(--white); font-weight: 800; font-size: 14px;
}
.service-steps h3 { font-size: 1.0625rem; }
.service-steps p { margin-top: 4px; font-size: var(--t-small); color: var(--muted); line-height: 1.6; }

.service-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.service-stats > div {
  background: var(--tint); border: 1px solid var(--border-brand); border-radius: var(--r-md);
  padding: 16px 10px; text-align: center;
}
.service-stat-value { display: block; font-size: 1.375rem; font-weight: 800; color: var(--brand-700); }
.service-stat-label { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

.service-copy .btn { margin-top: 28px; }

/* Chat card media — a messaging widget, not the phone-frame mock used
   elsewhere on the site. Deliberately different chrome since this is a
   distinct visual (matches the reference layout being replicated here). */
.chat-card {
  position: relative; background: var(--ink-900); border-radius: var(--r-xl); padding: 24px;
  box-shadow: 0 30px 80px rgba(46,134,171,.22), inset 0 0 0 1px var(--ink-700);
}
.chat-card-header { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-700); }
.chat-card-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); flex: none;
  background: var(--grad-cta); color: var(--white);
}
.chat-card-title { display: block; font-weight: 700; color: var(--white); font-size: var(--t-body); }
.chat-card-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--on-dark-meta); }

.chat-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.chat-bubble { max-width: 82%; padding: 11px 15px; border-radius: var(--r-md); font-size: var(--t-small); line-height: 1.5; }
.chat-bubble.in { align-self: flex-start; background: var(--ink-800); color: var(--on-dark-strong); border-bottom-left-radius: 4px; }
.chat-bubble.out { align-self: flex-end; background: var(--grad-cta); color: var(--white); border-bottom-right-radius: 4px; }

.chat-outcome {
  display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 14px;
  background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.28); border-radius: var(--r-sm);
  color: #6ee7a0; font-size: 12px; font-weight: 600;
}
.chat-outcome svg { color: #22c55e; flex: none; }

/* Alternates the media/copy proportions for a second service block sitting
   media-first — the columns swap in the markup itself (no shared component
   to reorder via CSS here), this just mirrors the width ratio to match. */
.service-block--alt { grid-template-columns: 0.95fr 1.05fr; }

/* Extra chat-card elements used from Service 02 onward. */
.chat-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; font-size: 12px; color: var(--on-dark-meta);
}
.chat-meta-accent { color: var(--brand-300); font-weight: 600; }
.chat-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.chat-meta svg { flex: none; }

.chat-lead-card {
  display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 14px 16px;
  background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-md);
}
.chat-lead-name { font-weight: 700; color: var(--white); font-size: var(--t-small); }
.chat-lead-detail { font-size: 12px; color: var(--on-dark-meta); }

.chat-response-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px; padding: 12px 14px; background: rgba(126,200,227,.1);
  border: 1px solid rgba(126,200,227,.22); border-radius: var(--r-sm);
}
.chat-response-banner > span:first-child {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--brand-300);
}
.chat-response-banner svg { flex: none; }
.chat-response-value { font-size: 1.0625rem; font-weight: 800; color: var(--white); }

/* Dark-toned service section (Service 03 onward alternates onto tone-dark).
   .service-desc / .service-steps p / .service-stat-* all set an explicit
   light-mode color, which is more specific than the inherited tone-dark
   text color, so they need their own override rather than inheriting it. */
.service-eyebrow--dark {
  background: rgba(126,200,227,.1); border-color: rgba(126,200,227,.24); color: var(--brand-300);
}
.service-desc--dark { color: var(--on-dark-body); }
.service-steps--dark p { color: var(--on-dark-meta); }
.service-stats--dark > div { background: var(--ink-800); border-color: var(--ink-700); }
.service-stats--dark .service-stat-value { color: var(--brand-300); }
.service-stats--dark .service-stat-label { color: var(--on-dark-meta); }

/* The chat card is near-black by default, which reads fine floating on a
   light or tint section but disappears into a tone-dark section's own
   ink-900 background — lighten it one step so it still reads as a
   distinct, elevated surface. */
.tone-dark .chat-card { background: var(--ink-800); box-shadow: 0 30px 90px rgba(126,200,227,.16), inset 0 0 0 1px var(--ink-700); }

.chat-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.chat-stats-row > div {
  background: var(--ink-900); border: 1px solid var(--ink-700); border-radius: var(--r-md);
  padding: 14px 8px; text-align: center;
}
.chat-stat-value { display: block; font-size: 1.375rem; font-weight: 800; color: var(--white); }
.chat-stat-value.accent { color: var(--brand-300); }
.chat-stat-value.success { color: #4ade80; }
.chat-stat-label { display: block; margin-top: 4px; font-size: 11px; color: var(--on-dark-meta); }

/* Review cards — stacked inside the chat card, used by the Google Reviews
   section instead of a message thread. */
.review-card {
  margin-top: 14px; padding: 16px; background: var(--ink-900);
  border: 1px solid var(--ink-700); border-radius: var(--r-md);
}
.review-card:first-child { margin-top: 0; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-name { font-weight: 700; color: var(--white); font-size: var(--t-small); }
.review-stars { display: inline-flex; gap: 1px; }
.review-stars svg { width: 14px; height: 14px; }
.review-stars .on { color: #fbbf24; }
.review-stars .off { color: var(--ink-700); }
.review-quote { margin-top: 10px; font-size: var(--t-small); color: var(--on-dark-strong); line-height: 1.55; }
.review-reply {
  margin-top: 12px; padding: 12px 14px; background: rgba(126,200,227,.08);
  border: 1px solid rgba(126,200,227,.18); border-radius: var(--r-sm);
}
.review-reply-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--brand-300); }
.review-reply-meta svg { color: #4ade80; flex: none; }
.review-reply p { margin-top: 6px; font-size: var(--t-small); color: var(--on-dark-body); line-height: 1.55; }

/* Alert card — a distinct "needs attention" tone (Abandoned Cart section),
   the one place on the site that steps outside blue/green semantics. */
.chat-alert-card {
  display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 14px 16px;
  background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); border-radius: var(--r-md);
}
.chat-alert-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #f59e0b; }
.chat-alert-label svg { flex: none; }
.chat-alert-name { font-weight: 700; color: var(--white); font-size: var(--t-small); }
.chat-alert-detail { font-size: 12px; color: var(--on-dark-meta); }

@media (max-width: 959px) {
  .service-block, .service-block--alt { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .service-stats { gap: 8px; }
  .service-stat-value { font-size: 1.1rem; }
}

/* ── Comparison table (Services page, "Why Revnant Digital") ── */

.compare-note {
  max-width: var(--container-narrow); margin: 16px auto 0; text-align: center;
  font-size: var(--t-lead); line-height: 1.7; color: var(--on-dark-body);
}
.compare-scroller { margin-top: 44px; overflow-x: auto; }
.compare-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; vertical-align: middle; }

.compare-table thead th {
  font-size: var(--t-small); font-weight: 700; color: var(--white);
  border-bottom: 1px solid var(--ink-700);
}
.compare-colname { display: block; }
.compare-pill {
  display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--grad-accent); color: var(--ink-900); font-size: 11px; font-weight: 700;
}

.compare-table tbody th {
  text-align: left; font-size: var(--t-body); font-weight: 500; color: var(--on-dark-body);
  border-bottom: 1px solid var(--ink-700);
}
.compare-table tbody td { border-bottom: 1px solid var(--ink-700); }

.compare-table thead th.compare-featured,
.compare-table tbody td.compare-featured {
  background: rgba(126,200,227,.06); border-inline: 1px solid var(--border-brand-strong);
}
.compare-table thead th.compare-featured { border-top: 1px solid var(--border-brand-strong); border-radius: var(--r-md) var(--r-md) 0 0; }
.compare-table tbody tr:last-child td.compare-featured { border-bottom: 1px solid var(--border-brand-strong); border-radius: 0 0 var(--r-md) var(--r-md); }

.compare-yes { color: var(--success); }
.compare-no { color: rgba(255,255,255,.35); }

.compare-stat { font-size: var(--t-body); font-weight: 700; }
.compare-table td.compare-featured.compare-stat { color: var(--brand-300); }
.compare-stat--muted { font-weight: 500; color: var(--on-dark-meta); }

@media (max-width: 759px) {
  .compare-scroller { overflow-x: visible; }
  .compare-table, .compare-table thead, .compare-table tbody,
  .compare-table tr, .compare-table th, .compare-table td, .compare-table caption { display: block; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }

  .compare-table tbody tr {
    margin-bottom: 14px; padding: 18px 20px;
    background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-lg);
  }
  .compare-table tbody th {
    padding: 0 0 12px; font-size: var(--t-h3); font-weight: 700; color: var(--white);
    border-bottom: 1px solid var(--ink-700);
  }
  .compare-table tbody td {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 10px 0 0; border: none; text-align: left;
  }
  .compare-table tbody td::before { content: attr(data-label); font-size: var(--t-small); color: var(--on-dark-meta); }
  .compare-table tbody td.compare-featured { background: none; border: none; border-radius: 0; }
  .compare-table tbody td.compare-featured::before { color: var(--brand-300); font-weight: 600; }
  .compare-table tbody tr:last-child td.compare-featured { border: none; border-radius: 0; }
}

/* ── Legal pages (Privacy / Terms) ─────────────────── */

.legal-hero { padding-top: 88px; }
.legal-hero .updated { margin-top: 14px; font-size: var(--t-small); color: var(--muted); }
.legal-prose { margin: 32px auto 0; max-width: 72ch; }
.legal-prose h2 { margin-top: 40px; font-size: var(--t-h3); }
.legal-prose h3 { margin-top: 26px; font-size: 1.0625rem; }
.legal-prose p { margin-top: 14px; font-size: var(--t-body); line-height: 1.75; }
.legal-prose ul { margin-top: 14px; padding-left: 1.25rem; }
.legal-prose li { margin-top: 8px; font-size: var(--t-body); line-height: 1.7; list-style: disc; }
.legal-prose address {
  margin-top: 14px; padding: 18px 20px; background: var(--tint);
  border-left: 4px solid var(--brand-300); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: normal; font-size: var(--t-body); line-height: 1.9;
}
.legal-prose address a { color: var(--brand-600); font-weight: 600; }

/* ── Utility ───────────────────────────────────────── */

.contain { contain: layout style; }
