/* ============================================================
   OpsDoc Landing Page — Premium B2B RevOps Reliability AI
   Design: Dark executive aesthetic, Inter, electric blue accent
   ============================================================ */

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

:root {
  /* Colors */
  --bg-primary: #0B1020;
  --bg-surface: #11182B;
  --bg-surface-2: #151F36;
  --text-primary: #F5F7FB;
  --text-secondary: #AAB4C8;
  --accent: #4F7CFF;
  --accent-hover: #3D6AE8;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(79,124,255,0.3);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-96: 96px;
  --sp-128: 128px;

  /* Layout */
  --max-width: 1200px;
  --reading-width: 720px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-btn: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-32);
}

/* --- Section padding --- */
.section {
  padding: var(--sp-96) 0;
}

/* --- Eyebrow label --- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-16);
}

/* --- Section heading --- */
.section-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--sp-16);
}

.section-subheading {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: var(--reading-width);
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 16, 32, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-16) var(--sp-32);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--sp-32);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79,124,255,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79,124,255,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 14px;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: var(--sp-128) 0 var(--sp-96);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79,124,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}

.hero-left {}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-24);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--sp-24);
}

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

.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-40);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-12);
  margin-bottom: var(--sp-32);
  flex-wrap: wrap;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-bullet-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-bullet-icon::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* ---- Dashboard Mockup ---- */
.dashboard-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-24);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-20);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
}

.dashboard-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.dashboard-title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}

.dashboard-meta {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.7;
}

.dashboard-timestamp {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.dashboard-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.metric-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.15s ease;
}

.metric-card:hover {
  border-color: rgba(255,255,255,0.12);
}

.metric-info {}

.metric-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.metric-desc {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.7;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-danger {
  background: rgba(239,68,68,0.15);
  color: #F87171;
  border: 1px solid rgba(239,68,68,0.25);
}

.badge-warning {
  background: rgba(245,158,11,0.15);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.25);
}

.badge-blue {
  background: rgba(79,124,255,0.15);
  color: #93B4FF;
  border: 1px solid rgba(79,124,255,0.25);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.dashboard-footer {
  margin-top: var(--sp-16);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-footer-stat {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.dashboard-footer-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(79,124,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(79,124,255,0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: var(--sp-32) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-48);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

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

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  background: var(--bg-primary);
}

.problem-section .section-subheading {
  margin-bottom: var(--sp-64);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.problem-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.problem-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-20);
}

.problem-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-8);
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   WHAT WE DETECT
   ============================================================ */
.detect-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-16);
}

.detect-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-24);
  transition: border-color 0.15s ease;
}

.detect-card:hover {
  border-color: var(--border-accent);
}

.detect-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-12);
  margin-bottom: var(--sp-8);
}

.detect-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.detect-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.severity-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.severity-critical {
  background: rgba(239,68,68,0.1);
  color: #F87171;
  border: 1px solid rgba(239,68,68,0.2);
}

.severity-high {
  background: rgba(245,158,11,0.1);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.2);
}

.severity-medium {
  background: rgba(79,124,255,0.1);
  color: #93B4FF;
  border: 1px solid rgba(79,124,255,0.2);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% + 16px);
  right: calc(33.33% + 16px);
  height: 1px;
  background: var(--border);
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-24);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(79,124,255,0.15);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-12);
}

.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   OUTCOMES / ROI
   ============================================================ */
.outcomes-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.outcome-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
  text-align: center;
}

.outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-20);
}

.outcome-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.outcome-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-8);
}

.outcome-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   OFFER / DIAGNOSTIC
   ============================================================ */
.offer-section {
  background: var(--bg-primary);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
  align-items: start;
}

.offer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--sp-48);
  box-shadow: 0 0 40px rgba(79,124,255,0.05);
}

.offer-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-12);
}

.offer-card-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.02em;
}

.offer-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-bottom: var(--sp-32);
}

.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.offer-feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.offer-feature-check svg {
  width: 10px;
  height: 10px;
  color: var(--success);
}

.offer-side {}

.offer-side-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-20);
}

.offer-icp {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
  margin-bottom: var(--sp-24);
}

.offer-icp h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-16);
}

.offer-icp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.offer-icp-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  font-size: 14px;
  color: var(--text-secondary);
}

.offer-icp-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: var(--reading-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--sp-24) var(--sp-24);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta-section {
  background: var(--bg-primary);
  text-align: center;
  padding: var(--sp-128) 0;
}

.final-cta-section .section-heading {
  font-size: 42px;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0 auto var(--sp-20);
}

.final-cta-section .section-subheading {
  margin: 0 auto var(--sp-40);
  text-align: center;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
}

/* ============================================================
   CONTACT FORM (embedded in offer section)
   ============================================================ */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-24);
}

.form-group {
  margin-bottom: var(--sp-16);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
}

.form-input {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.form-input::placeholder { color: rgba(170,180,200,0.4); }

.form-input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(79,124,255,0.1);
}

.form-input.textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.form-alert {
  padding: var(--sp-12) var(--sp-16);
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: var(--sp-16);
}

.form-alert-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #4ADE80;
}

.form-alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #F87171;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-64) 0 var(--sp-32);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-48);
  margin-bottom: var(--sp-48);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  margin-bottom: var(--sp-16);
}

.footer-logo img {
  height: 24px;
  width: auto;
  opacity: 0.8;
}

.footer-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-16);
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.footer-nav-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: var(--sp-24);
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-legal a:hover { opacity: 1; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-center .section-subheading { margin-left: auto; margin-right: auto; }

.mt-48 { margin-top: var(--sp-48); }
.mt-32 { margin-top: var(--sp-32); }
.mb-48 { margin-bottom: var(--sp-48); }
.mb-16 { margin-bottom: var(--sp-16); }

/* --- sp-40 helper --- */
.hero-ctas { margin-bottom: 40px; }
.hero-sub { margin-bottom: 40px; }
.dashboard-header { margin-bottom: 20px; }
.step-number { margin-bottom: 24px; }
.offer-icp-list li { gap: 10px; }
.offer-features li { gap: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .detect-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: var(--sp-64) 0 var(--sp-64); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-48); }
  .hero-h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .section { padding: var(--sp-64) 0; }
  .section-heading { font-size: 28px; }
  .container { padding: 0 var(--sp-20); }
  .header-inner { padding: var(--sp-16) var(--sp-20); }
  .header-nav { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .detect-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-32); }
  .footer-bottom { flex-direction: column; gap: var(--sp-16); text-align: center; }
  .final-cta-section .section-heading { font-size: 30px; }
  .final-cta-actions { flex-direction: column; }
  .trust-bar-inner { gap: var(--sp-24); flex-direction: column; align-items: flex-start; padding: 0 var(--sp-20); }
  .trust-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 30px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .offer-card { padding: var(--sp-32); }
}

/* ============================================================
   PROSE PAGE (privacy, terms, error)
   ============================================================ */
.prose-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.prose-content {
  flex: 1;
  max-width: var(--reading-width);
  margin: var(--sp-96) auto;
  padding: 0 var(--sp-32);
}

.prose-content h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-32);
}

.prose-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-16);
}
