/* ================================================================
   RepFlow — Theme (v2)
   Stack: Space Grotesk (display) + DM Mono (mono)
   Palette: near-black base, #00E87B accent, #0d0d14 card
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --bg:          #080810;
  --bg-2:        #0d0d18;
  --bg-card:     #111120;
  --bg-glass:    rgba(17, 17, 32, 0.7);
  --border:      rgba(255, 255, 255, 0.06);
  --border-hi:   rgba(0, 232, 123, 0.25);

  --fg:          #f0f0f5;
  --fg-mid:      rgba(240, 240, 245, 0.55);
  --fg-low:      rgba(240, 240, 245, 0.28);

  --accent:      #00E87B;
  --accent-dark: #00b85f;
  --accent-glow: rgba(0, 232, 123, 0.18);
  --accent-faint:rgba(0, 232, 123, 0.07);

  --red:         #ff4d4d;
  --amber:       #ffb830;

  --font-sans:   'Space Grotesk', system-ui, sans-serif;
  --font-mono:   'DM Mono', 'Fira Code', monospace;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease);
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 5% 6rem;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero text */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,232,123,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid var(--border-hi);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
  text-transform: uppercase;
}

.hero-eyebrow .dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotpulse 2s ease-in-out infinite;
}

@keyframes dotpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 820px;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--fg-mid);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-mid);
  font-size: 0.9rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  background: transparent;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--border-hi);
  background: var(--accent-faint);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.proof-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 0.78rem;
  color: var(--fg-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Section commons ── */
.section-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6rem 5%;
}

.section-wrap.narrow {
  max-width: 860px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-head {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-mid);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Problem strip ── */
.problem-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.problem-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 5rem 5%;
  text-align: center;
}

.problem-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.65;
  color: var(--fg-mid);
  font-weight: 400;
}

.problem-text strong {
  color: var(--fg);
  font-weight: 600;
}

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s var(--ease);
}

.step-card:hover {
  border-color: var(--border-hi);
}

.step-card:hover::before {
  background: var(--accent);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--bg);
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--fg-mid);
  line-height: 1.7;
}

.step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid var(--border-hi);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  text-transform: uppercase;
}

/* ── Comparison ── */
.comparison-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 5%;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.cmp-col {
  border-radius: var(--radius);
  padding: 2rem;
}

.cmp-col.old {
  background: rgba(255, 77, 77, 0.03);
  border: 1px solid rgba(255, 77, 77, 0.12);
}

.cmp-col.new {
  background: var(--accent-faint);
  border: 1px solid var(--border-hi);
}

.cmp-header {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cmp-col.old .cmp-header { color: var(--fg-mid); }
.cmp-col.new .cmp-header { color: var(--accent); }

.cmp-col ul {
  list-style: none;
}

.cmp-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--fg-mid);
  line-height: 1.5;
}

.cmp-col li .mark {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.1rem;
  font-weight: 700;
}

.cmp-col.old .mark { color: var(--red); }
.cmp-col.new .mark { color: var(--accent); }

/* ── Pricing ── */
.pricing-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 6rem 5%;
  text-align: center;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%;
  height: 100px;
  background: radial-gradient(ellipse at top, rgba(0,232,123,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 1.25rem 0 0.25rem;
}

.price-period {
  font-size: 0.85rem;
  color: var(--fg-mid);
  margin-bottom: 0.5rem;
}

.price-compare {
  font-size: 0.85rem;
  color: var(--fg-low);
  margin-bottom: 2rem;
  font-style: italic;
}

.price-compare s {
  color: var(--red);
  text-decoration-color: var(--red);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--fg-mid);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.trust-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--fg-low);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

/* ── Closing CTA ── */
.cta-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 7rem 5%;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 680px;
  margin: 0 auto 1.25rem;
}

.cta-band p {
  font-size: 1.05rem;
  color: var(--fg-mid);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.footer-brand span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--fg-low);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg-mid); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-low);
}

/* ── Social Proof ── */
.social-proof-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 5rem 5%;
}

.sp-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.sp-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.sp-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.sp-label {
  font-size: 0.75rem;
  color: var(--fg-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.sp-divider {
  width: 1px;
  height: 42px;
  background: var(--border);
}

.sp-logos-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.sp-logos-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--fg-low);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.sp-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sp-logo-pill {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-low);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: color 0.2s, border-color 0.2s;
}

.sp-logo-pill:hover {
  color: var(--fg-mid);
  border-color: rgba(255,255,255,0.12);
}

.sp-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.sp-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.2s;
}

.sp-testimonial:hover {
  border-color: rgba(255,255,255,0.1);
}

.sp-quote {
  font-size: 0.95rem;
  color: var(--fg-mid);
  line-height: 1.75;
  flex: 1;
  position: relative;
}

.sp-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
}

.sp-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.sp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-faint);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  flex-shrink: 0;
}

.sp-author-info {
  flex: 1;
}

.sp-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

.sp-title {
  font-size: 0.75rem;
  color: var(--fg-low);
  margin-top: 0.1rem;
}

.sp-stars {
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ── Dashboard (app-shell) ── */
.dash-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 5% 6rem;
}

.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.dash-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.dash-sub {
  font-size: 0.9rem;
  color: var(--fg-mid);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}

.stat-card.highlight::before { opacity: 1; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card.highlight .stat-value { color: var(--accent); }

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-faint);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

.table-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.table-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-low);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.data-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--fg-mid);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.015); }

/* Reply classification badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-hot {
  background: rgba(255, 77, 77, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 77, 77, 0.25);
}

.badge-warm {
  background: rgba(255, 184, 48, 0.1);
  color: var(--amber);
  border: 1px solid rgba(255, 184, 48, 0.25);
}

.badge-cold {
  background: rgba(255,255,255,0.04);
  color: var(--fg-low);
  border: 1px solid var(--border);
}

.badge-win {
  background: var(--accent-faint);
  color: var(--accent);
  border: 1px solid var(--border-hi);
}

.badge-test {
  background: rgba(100, 130, 255, 0.1);
  color: #8899ff;
  border: 1px solid rgba(100, 130, 255, 0.25);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-mid);
  margin-bottom: 0.5rem;
}

.empty-body {
  font-size: 0.85rem;
  color: var(--fg-low);
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto 1.5rem;
}

/* Inner-nav tabs */
.inner-nav {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem;
  margin-bottom: 2rem;
  width: fit-content;
}

.inner-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-low);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.inner-nav a.active,
.inner-nav a:hover {
  background: var(--bg-2);
  color: var(--fg);
}

.inner-nav a.active {
  color: var(--accent);
}

/* A/B test progress bar */
.ab-bar-wrap {
  height: 6px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.ab-bar {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.ab-bar.variant { background: #8899ff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.5rem; }
  .proof-divider { display: none; }
  .sp-testimonials { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-metrics { gap: 1.75rem; }
  .sp-divider { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 1rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .data-table td, .data-table th { padding: 0.75rem 1rem; }
}
