/* =============================================================
   BetteRankings — premium SaaS-grade design system
   Single stylesheet, no preprocessor needed.
   ============================================================= */

/* === Design tokens === */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #fafaf9;
  --color-bg-soft: #f5f5f4;
  --color-bg-dark: #0a0a0a;
  --color-bg-deeper: #050505;
  --color-text: #0a0a0a;
  --color-text-muted: #525252;
  --color-text-soft: #737373;
  --color-text-light: #ffffff;
  --color-text-light-muted: rgba(255,255,255,0.75);
  --color-accent: #0ea5e9;
  --color-accent-hover: #0284c7;
  --color-accent-2: #7c3aed;
  --color-grad: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
  --color-grad-soft: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(124,58,237,0.08) 100%);
  --color-border: #e7e5e4;
  --color-border-strong: #d6d3d1;
  --color-border-dark: #262626;
  --color-success: #10b981;
  --color-amber: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-glow: 0 12px 40px rgba(14,165,233,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1180px;
  --container-narrow: 760px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Accessibility === */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
:target { scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* === Layout === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-light); position: relative; }
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(14,165,233,0.18), transparent 60%);
  pointer-events: none;
}
.section-dark > * { position: relative; }
.centered { text-align: center; }

/* === Typography === */
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.section-eyebrow.centered { display: block; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title.light { color: var(--color-text-light); }
.section-title.centered { text-align: center; }
.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 auto 56px;
  max-width: 680px;
  line-height: 1.55;
}
.section-sub.light { color: var(--color-text-light-muted); }
.section-sub.centered { text-align: center; }
.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}
.lead.centered { text-align: center; }
.grad-text {
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* === Announcement bar === */
.announce-bar {
  background: var(--color-bg-dark);
  color: white;
  text-align: center;
  font-size: 14px;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announce-bar a {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231,229,228,0.7);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header:hover { background: rgba(255,255,255,0.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--color-grad);
  color: white;
  border-radius: 9px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(14,165,233,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.logo:hover .logo-mark { transform: rotate(-4deg); box-shadow: 0 6px 18px rgba(14,165,233,0.35); }
.logo-mark.small { width: 24px; height: 24px; font-size: 13px; box-shadow: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-grad);
  transition: width 0.25s var(--ease);
  border-radius: 2px;
}
.nav a:not(.btn):hover { color: var(--color-text); }
.nav a:not(.btn):hover::after { width: 100%; }

/* Hamburger toggle — animated to X when open */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  position: relative;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--color-bg-soft); }
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.15s, top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: translateX(-50%) rotate(-45deg); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--color-grad);
  color: white !important;
  box-shadow: 0 4px 16px rgba(14,165,233,0.28);
  border: none;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,165,233,0.4); color: white !important; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(14,165,233,0.3); }
.btn-primary:focus-visible { outline: 3px solid rgba(14,165,233,0.4); outline-offset: 2px; }
.btn-secondary {
  background: var(--color-text);
  color: white !important;
  border: none;
  text-decoration: none;
}
.btn-secondary:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: var(--shadow-md); color: white !important; }
.btn-secondary:active { transform: translateY(0); }
.btn-secondary:focus-visible { outline: 3px solid rgba(0,0,0,0.4); outline-offset: 2px; }
.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-ghost:hover { background: white; border-color: var(--color-text); transform: translateY(-1px); }

/* === HERO === */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 400px at 30% 0%, rgba(14,165,233,0.10), transparent 50%),
    radial-gradient(ellipse 800px 400px at 90% 30%, rgba(124,58,237,0.10), transparent 50%),
    linear-gradient(180deg, #fafaf9 0%, #ffffff 60%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.0); }
}
.hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta-item .check {
  color: var(--color-success);
  font-weight: 700;
}

/* === Hero card (CSS-only "report preview") === */
.hero-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: cardFloat 6s ease-in-out infinite;
}
.hero-card:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
  box-shadow: 0 32px 80px rgba(14,165,233,0.18);
  animation-play-state: paused;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.4;
}
@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; }
  .hero-card::after { animation: none; opacity: 0; }
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 6px;
  background: var(--color-grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-top: 4px;
}
.hc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  padding: 4px 8px;
  border-radius: 4px;
}
.hc-score {
  text-align: center;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--color-grad-soft);
  border-radius: var(--radius);
}
.hc-score-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hc-score-num small {
  font-size: 24px;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  font-weight: 600;
}
.hc-score-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.hc-bars { display: grid; gap: 12px; margin-bottom: 20px; }
.hc-bar {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.hc-bar-label { color: var(--color-text-muted); font-weight: 500; }
.hc-bar-track {
  height: 6px;
  background: var(--color-bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.hc-bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--color-grad);
  border-radius: 999px;
  animation: fillIn 1.5s var(--ease) forwards;
  transform-origin: left center;
}
@keyframes fillIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hc-bar-val { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 11px; text-align: right; }
.hc-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.hc-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* === Trust strip === */
.trust-strip {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-headline {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 24px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.trust-item { text-align: center; }
.trust-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.trust-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* === Steps (How it works) === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
}
.step {
  padding: 32px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* === Metrics grid === */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.metric-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14,165,233,0.3);
}
.metric-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.metric-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.metric-card p { color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing-grid.pricing-4col {
  grid-template-columns: repeat(4, 1fr);
}
.price-card {
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease);
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}
.price-card-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--color-grad) border-box;
  box-shadow: var(--shadow-glow);
}
.price-card-featured:hover { box-shadow: 0 24px 64px rgba(14,165,233,0.25); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-grad);
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14,165,233,0.4);
}
.price-tier {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.price-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}
.price-unit {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: 6px;
}
.price-outcome {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.5;
  margin: 12px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.price-features {
  list-style: none;
  margin: 0 0 16px;
  flex-grow: 1;
}
.price-features li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 14px;
  background: rgba(16,185,129,0.12);
  border-radius: 50%;
}
.price-features li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 8px;
  color: var(--color-success);
  font-size: 10px;
  font-weight: 700;
}
.price-guarantee {
  font-size: 12px;
  background: rgba(16,185,129,0.08);
  color: var(--color-text);
  border-left: 3px solid var(--color-success);
  padding: 10px 12px;
  margin: 12px 0;
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}
.paypal-form { width: 100%; }
.price-fineprint {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* === Real audit example section === */
.audit-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.probe-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.probe-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.probe-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
}
.probe-fail::before { background: #ef4444; }
.probe-partial::before { background: var(--color-amber); }
.probe-win::before { background: var(--color-success); }
.probe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.probe-engine {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-text-muted);
}
.probe-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.probe-status.fail { background: rgba(239,68,68,0.1); color: #ef4444; }
.probe-status.partial { background: rgba(245,158,11,0.12); color: #d97706; }
.probe-status.win { background: rgba(16,185,129,0.12); color: var(--color-success); }
.probe-query {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: var(--color-bg-soft);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
}
.probe-result {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px;
  background: var(--color-bg-alt);
}
.probe-answer {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: 12px;
  font-style: italic;
}
.probe-answer strong { font-style: normal; background: rgba(14,165,233,0.12); padding: 1px 4px; border-radius: 3px; }
.probe-cited { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 10px; border-top: 1px dashed var(--color-border); }
.probe-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-soft);
}
.cited-source {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  background: white;
  border: 1px solid var(--color-border);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--color-text-muted);
}
.probe-finding {
  font-size: 13px;
  line-height: 1.55;
  padding: 12px 14px;
  background: rgba(14,165,233,0.05);
  border-radius: 8px;
  color: var(--color-text);
}
.probe-finding strong { color: var(--color-accent); }
.example-summary {
  text-align: center;
  padding: 24px;
  background: var(--color-grad-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(14,165,233,0.2);
}
.example-summary p { font-size: 16px; color: var(--color-text); margin-bottom: 12px; line-height: 1.6; }

/* === 90-day journey timeline === */
.journey-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 0;
}
.journey-line {
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  border-radius: 2px;
  opacity: 0.3;
  z-index: 0;
}
.journey-step {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px 20px 80px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1;
}
.journey-step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: rgba(14,165,233,0.3); }
.journey-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.journey-step p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }
.journey-marker {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 36px;
  height: 36px;
  background: var(--color-grad);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
  border: 3px solid white;
}
.journey-step-final { border-color: rgba(16,185,129,0.4); background: linear-gradient(90deg, rgba(16,185,129,0.04), white); }
.journey-step-final .journey-marker { background: linear-gradient(135deg, var(--color-success) 0%, var(--color-accent-2) 100%); }

/* === Comparison table === */
.compare-wrap {
  overflow-x: auto;
  margin: 0 -16px 24px;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}
.compare-table th {
  background: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-text);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.compare-table th small { display: block; font-size: 11px; color: var(--color-text-soft); font-weight: 500; margin-top: 2px; }
.compare-table td:first-child { font-weight: 600; color: var(--color-text); width: 200px; }
.compare-table th.us, .compare-table td.us {
  background: linear-gradient(180deg, rgba(14,165,233,0.08), rgba(124,58,237,0.04));
  color: var(--color-text);
  position: relative;
}
.compare-table th.us::after {
  content: '★';
  display: block;
  font-size: 10px;
  margin-top: 2px;
  background: var(--color-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(14,165,233,0.02); }
.compare-table tr:hover td.us { background: linear-gradient(180deg, rgba(14,165,233,0.12), rgba(124,58,237,0.06)); }
.compare-footnote {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
}

/* === Trust badges row (under pricing) === */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.tb {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === Testimonials === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.testimonial:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 0.5;
  position: absolute;
  top: 28px;
  left: 24px;
}
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 32px 0 24px;
  position: relative;
  z-index: 1;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-grad);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 700; }
.t-role { font-size: 13px; color: var(--color-text-muted); }

/* === Who it's for === */
.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.for-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: white;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.for-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.for-card h3 { font-size: 19px; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.01em; }
.for-card ul { list-style: none; }
.for-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.for-yes li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  color: var(--color-success);
  font-weight: 700;
  font-size: 16px;
}
.for-no li::before {
  content: '✗';
  position: absolute;
  left: 0; top: 8px;
  color: #ef4444;
  font-weight: 700;
  font-size: 16px;
}
.fit-trigger {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(14,165,233,0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

/* === Guarantee card === */
.guarantee-card {
  padding: 40px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-grad);
}
.guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-grad);
  color: white;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}
.guarantee-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
.guarantee-card p { color: var(--color-text-muted); margin-bottom: 12px; line-height: 1.6; font-size: 16px; }
.guarantee-card p:last-child { margin-bottom: 0; }

/* === About — professional, trust-first layout === */
.about-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.about-photo {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  margin-top: 8px;
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-grad);
  opacity: 0.2;
  z-index: 0;
  animation: cardFloat 8s ease-in-out infinite;
}
.about-photo::after {
  content: '✓';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid white;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.founder-photo,
.photo-placeholder {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  box-shadow: var(--shadow-md);
  border: 3px solid white;
  background: var(--color-bg-soft);
}
.founder-photo {
  object-fit: cover;
  object-position: center 30%;
}
.photo-placeholder {
  background: var(--color-grad);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.cred svg { width: 12px; height: 12px; flex-shrink: 0; }
.cred-accent { color: var(--color-accent); border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.06); }

/* === Final CTA — flex stack for guaranteed alignment === */
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.cta-stack .section-title {
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}
.cta-stack .section-sub {
  margin: 0 auto 32px;
  max-width: 620px;
}
.cta-stack-btn {
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 700;
  margin: 0 auto 20px;
  min-width: 240px;
  align-self: center;
  display: inline-flex;
}
.cta-stack .form-fineprint {
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 480px) {
  .cta-stack-btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }
}
.about-text p { margin-bottom: 16px; color: var(--color-text-muted); font-size: 17px; }
.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--color-accent-hover); }

/* === FAQ === */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--color-border-strong); }
.faq-item[open] { border-color: var(--color-accent); }
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.2s var(--ease);
  width: 24px;
  text-align: center;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--color-bg-alt); }
.faq-item p { padding: 0 24px 20px; color: var(--color-text-muted); line-height: 1.6; font-size: 15px; }

/* === Footer === */
.site-footer {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-soft) 100%);
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.footer-brand strong { color: var(--color-text); font-weight: 800; letter-spacing: -0.01em; }
.footer-tag { color: var(--color-text-soft); margin-left: 4px; font-size: 13px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-nav a {
  position: relative;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-accent); }
.footer-copy {
  font-size: 13px;
  color: var(--color-text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy-left { display: inline-flex; align-items: center; gap: 12px; }
.footer-trust-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-soft);
}
.footer-trust-mini .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

/* === Responsive === */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { transform: none; max-width: 480px; margin: 0 auto; }
  .pricing-grid.pricing-4col { grid-template-columns: repeat(2, 1fr); }
  .audit-example-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 14px;
  }
  .nav.open {
    display: flex;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-radius: 0 0 16px 16px;
    padding: 24px 24px 32px;
    gap: 4px;
    animation: navSlideDown 0.25s var(--ease);
  }
  .nav.open a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    transition: background 0.2s;
  }
  .nav.open a:not(.btn):hover {
    background: var(--color-bg-soft);
  }
  .nav.open a:not(.btn)::after { display: none; }
  .nav.open a.btn {
    margin-top: 12px;
    padding: 16px;
    font-size: 16px;
    text-align: center;
    justify-content: center;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .pricing-grid.pricing-4col { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }

  /* About — center photo on mobile, smaller size */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    justify-items: center;
  }
  .about-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto;
  }
  .founder-photo,
  .photo-placeholder {
    width: 90px;
    height: 90px;
    margin: 0 auto;
  }
  .photo-placeholder {
    font-size: 28px;
  }
  .about-photo::after {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .about-text {
    text-align: center;
  }
  .founder-credentials {
    justify-content: center;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .announce-bar { flex-direction: column; gap: 4px; padding: 8px 16px; font-size: 13px; }
}
