/* MainThrive — placeholder marketing site styles
   Aesthetic: modern SaaS · navy/blue gradient · vibrant accents · clean cards
   Matches the visual language of /docs/OVERVIEW_*.html */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --blue: #2563EB;
  --blue-light: #EFF6FF;
  --blue-dark: #1E40AF;
  --green: #16A34A;
  --green-light: #F0FDF4;
  --purple: #7C3AED;
  --purple-light: #F5F3FF;
  --orange: #EA580C;
  --orange-light: #FFF7ED;
  --red: #DC2626;

  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-soft: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-soft: #F1F5F9;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.10), 0 4px 12px -6px rgba(15, 23, 42, 0.07);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.16), 0 10px 24px -8px rgba(15, 23, 42, 0.08);

  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 16px;
  font-feature-settings: 'cv11', 'ss01';
}

::selection { background: var(--blue); color: #fff; }

.accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

a { color: var(--blue); text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--blue-dark); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── NAV / HEADER ─────────────────────────────────────── */
.nav {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.wordmark-mark {
  width: 28px;
  height: 28px;
  background: var(--gradient-brand);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}
.wordmark-mark svg { width: 100%; height: 100%; display: block; }
.wordmark-text { white-space: nowrap; }
.wordmark-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.nav-pill .pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A6E 50%, #1E40AF 100%);
  position: relative;
  overflow: hidden;
  padding: 112px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.30) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.25);
  color: #BFDBFE;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ADE80;
}
.hero h1 {
  font-size: clamp(48px, 7.6vw, 92px);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #4ADE80 0%, #22D3EE 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede {
  font-size: clamp(18px, 2.1vw, 22px);
  color: #CBD5E1;
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.hero-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-badge strong { color: #fff; font-weight: 600; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-light {
  background: var(--text);
  color: #fff;
}
.btn-light:hover { background: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-arrow { transition: transform 200ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PROBLEM (DARK) ──────────────────────────────────── */
.problem {
  background: #0F172A;
  color: #CBD5E1;
}
.problem .section-label { color: #60A5FA; }
.problem .section-title { color: #fff; }
.problem .section-sub { color: #94A3B8; }

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.cost-table thead th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #1E293B;
}
.cost-table thead th:nth-child(3),
.cost-table thead th:nth-child(4) { text-align: right; }
.cost-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid #1E293B;
  color: #CBD5E1;
  font-size: 15px;
}
.cost-table tbody td:nth-child(3),
.cost-table tbody td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cost-table tbody td:nth-child(4) {
  color: #4ADE80;
  font-weight: 600;
}
.cost-table .cat {
  color: #F1F5F9;
  font-weight: 600;
}
.cost-table .tool {
  color: #94A3B8;
  font-size: 13px;
}
.cost-table tr.total td {
  background: rgba(37, 99, 235, 0.08);
  border-bottom: none;
  border-top: 2px solid rgba(37, 99, 235, 0.30);
  padding: 22px 20px;
}
.cost-table tr.total td:first-child { color: #fff; font-size: 17px; font-weight: 700; }
.cost-table tr.total td:nth-child(3) { color: #FCA5A5; font-size: 17px; font-weight: 600; }
.cost-table tr.total td:nth-child(4) { color: #4ADE80; font-size: 17px; font-weight: 700; }

.problem-callout {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  line-height: 1.55;
}
.problem-callout strong {
  background: linear-gradient(135deg, #4ADE80, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ── TIERS ─────────────────────────────────────────── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.tier-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
  display: flex;
  flex-direction: column;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.tier-card.green::before { background: var(--green); }
.tier-card.blue::before { background: var(--blue); }
.tier-card.purple::before { background: var(--purple); }
.tier-card.orange::before { background: linear-gradient(90deg, var(--orange), #F97316); }
.tier-card.orange {
  border-color: rgba(234, 88, 12, 0.30);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.10), var(--shadow);
}
.tier-pill {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.tier-card.orange .tier-pill { background: var(--orange-light); color: var(--orange); }
.tier-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.tier-card.green .tier-name { color: var(--green); }
.tier-card.blue .tier-name { color: var(--blue); }
.tier-card.purple .tier-name { color: var(--purple); }
.tier-card.orange .tier-name { color: var(--orange); }
.tier-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.tier-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 4px;
}
.tier-price-sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.tier-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.55;
  min-height: 60px;
}
.tier-features { list-style: none; margin-top: auto; }
.tier-features li {
  font-size: 14px;
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  margin-top: 1px;
}
.tier-card.green .tier-features li::before { background-color: var(--green-light); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.tier-card.blue .tier-features li::before { background-color: var(--blue-light); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.tier-card.purple .tier-features li::before { background-color: var(--purple-light); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.tier-card.orange .tier-features li::before { background-color: var(--orange-light); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA580C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }

/* ── AI ASSISTANT SECTION ────────────────────────────── */
.ai {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 40%, #4338CA 100%);
  position: relative;
  overflow: hidden;
  color: #E0E7FF;
}
.ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 100%, rgba(124, 58, 237, 0.30), transparent 50%),
                    radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.18), transparent 45%);
  pointer-events: none;
}
.ai-inner { position: relative; z-index: 2; }
.ai .section-label { color: #A5B4FC; }
.ai .section-title { color: #fff; }
.ai .section-sub { color: #C7D2FE; }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: start;
  margin-top: 8px;
}
.ai-points { display: flex; flex-direction: column; gap: 22px; }
.ai-point {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ai-point h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-point .num {
  font-size: 13px;
  color: #A5B4FC;
  background: rgba(99, 102, 241, 0.20);
  border: 1px solid rgba(165, 180, 252, 0.30);
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.ai-point p {
  color: #C7D2FE;
  font-size: 15px;
  line-height: 1.6;
  margin-left: 40px;
}

/* AI demo card */
.ai-demo {
  background: linear-gradient(160deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.5);
  position: relative;
}
.ai-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-demo-bar-dots { display: flex; gap: 6px; }
.ai-demo-bar-dots span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.ai-demo-bar-dots span:nth-child(1) { background: #EF4444; }
.ai-demo-bar-dots span:nth-child(2) { background: #F59E0B; }
.ai-demo-bar-dots span:nth-child(3) { background: #10B981; }
.ai-demo-bar-meta {
  font-size: 11px;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.ai-demo-thread { padding: 24px 20px 20px; }
.bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.bubble.them {
  background: #334155;
  color: #F1F5F9;
  border-bottom-left-radius: 4px;
}
.bubble.us {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
}
.bubble-meta {
  font-size: 11px;
  color: #94A3B8;
  margin: 8px 4px 18px;
  font-weight: 500;
}
.bubble-meta.us { text-align: right; }
.ai-demo-result {
  padding: 16px 20px;
  margin: 0 20px 20px;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ai-demo-result .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  position: relative;
  margin-top: 1px;
}
.ai-demo-result .check::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.ai-demo-result-text { font-size: 13px; color: #BBF7D0; line-height: 1.55; }
.ai-demo-result-text strong { color: #fff; font-weight: 600; }

/* ── STATS ────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 56px;
  overflow: hidden;
}
.stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CLOSING CTA ─────────────────────────────────────── */
.closing {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.closing h2 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
}
.closing p {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
  position: relative;
}
.closing-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
}
.foot-brand { max-width: 320px; }
.foot-brand .wordmark { color: #fff; }
.foot-brand p { font-size: 14px; line-height: 1.6; margin-top: 14px; }
.foot-grid h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.foot-grid a:not(.wordmark), .foot-grid p.foot-line {
  color: #94A3B8;
  font-size: 14px;
  display: block;
  margin: 8px 0;
  text-decoration: none;
  transition: color 180ms ease;
}
.foot-grid a:not(.wordmark):hover { color: #fff; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── LEGAL PAGES ──────────────────────────────────────── */
.legal-page { padding: 80px 0 100px; background: var(--card); border-bottom: 1px solid var(--border); }
.legal-page .container-narrow { max-width: 760px; }
.legal-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin: 28px 0 48px;
  font-weight: 500;
}
.legal-page h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.legal-body {
  counter-reset: section;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal-body h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 44px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-body h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin: 6px 0; }
.legal-body strong { color: var(--text); }
.legal-body .address {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: inline-block;
  line-height: 1.7;
}

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise-1, .rise-2, .rise-3, .rise-4 {
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.rise-1 { animation-delay: 80ms; }
.rise-2 { animation-delay: 240ms; }
.rise-3 { animation-delay: 420ms; }
.rise-4 { animation-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .nav-pill .pulse { animation: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 96px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .cost-table thead th:nth-child(2),
  .cost-table tbody td:nth-child(2) { display: none; }
  .cost-table tbody td { padding: 14px 14px; font-size: 14px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-pill { display: none; }
}
