/* ===== DebtFreeStart.com Design System ===== */
/* Theme: Gradient Bold - Dark mode only */

/* --- CSS Variables --- */
:root {
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, #0c1426 0%, #1a1a3e 50%, #2d1b4e 100%);
  --gradient-card: linear-gradient(145deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.04));

  --color-bg: #0a0e1a;
  --color-surface: #111827;
  --color-surface-raised: #1a2235;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(102, 126, 234, 0.3);

  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;

  --color-accent: #667eea;
  --color-accent-hover: #7c93f5;
  --color-accent-glow: rgba(102, 126, 234, 0.15);

  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  --color-cta: #f59e0b;
  --color-cta-hover: #fbbf24;
  --color-cta-text: #0a0e1a;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--color-accent-glow);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }
ul, ol { list-style: none; }
button, input { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text-primary); line-height: 1.3; }
h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: var(--space-md); }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: var(--space-sm); }
p { margin-bottom: var(--space-md); color: var(--color-text-secondary); }
.caption {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.small { font-size: 0.875rem; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section {
  padding: var(--space-3xl) 0;
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav-logo svg { width: 24px; height: 24px; }
.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text-primary); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: var(--space-xs);
}
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  .nav-links.open { display: flex; }
}

/* --- Hero --- */
.hero {
  background: var(--gradient-hero);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-accent-glow), transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}
.hero p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero { padding: var(--space-2xl) 0; }
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { color: var(--color-text-muted); }

/* --- Cards --- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}
.card-sm {
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

/* --- State Grid (homepage) --- */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}
.state-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.state-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.state-card-name {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 1rem;
}
.state-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.state-card-arrow {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* --- City Grid (state page) --- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.2s;
  text-decoration: none;
  gap: var(--space-md);
}
.city-row:hover { border-color: var(--color-border-hover); }
.city-row-info { flex: 1; }
.city-row-name {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.city-row-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.city-row-arrow { color: var(--color-accent); flex-shrink: 0; }

/* --- Stats Panel --- */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.stat-item { text-align: center; }
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}
.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
@media (max-width: 768px) {
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-panel { grid-template-columns: 1fr 1fr; gap: var(--space-sm); padding: var(--space-md); }
  .stat-value { font-size: 1.1rem; }
}

/* --- Lead Magnet Capture Card --- */
.lead-capture {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: var(--space-2xl) auto;
}
.lead-capture-icon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.lead-capture-icon svg { width: 20px; height: 20px; color: var(--color-cta); }
.lead-capture-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cta);
}
.lead-capture h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}
.lead-capture p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}
.lead-form {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.lead-form input[type="email"] {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.lead-form input[type="email"]:focus {
  border-color: var(--color-accent);
}
.lead-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-cta);
  color: var(--color-cta-text);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--color-cta-hover); }
.btn-cta:active { transform: scale(0.98); }
.lead-privacy {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.lead-privacy svg { width: 14px; height: 14px; flex-shrink: 0; }
.lead-form-message {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
  display: none;
}
.lead-form-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}
.lead-form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--color-danger);
}
@media (max-width: 480px) {
  .lead-form { flex-direction: column; }
  .lead-capture { padding: var(--space-lg); }
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: 0.9375rem;
}
.comparison-table th {
  text-align: left;
  padding: var(--space-md);
  background: var(--color-surface-raised);
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  vertical-align: top;
}
.comparison-table tr:hover td {
  background: rgba(102, 126, 234, 0.03);
}
@media (max-width: 768px) {
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table th, .comparison-table td { padding: var(--space-sm); }
}

/* --- FAQ Accordion --- */
.faq-section { margin: var(--space-2xl) 0; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: var(--space-md);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-accent); }
.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}
.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.trust-item svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}
.step-card {
  text-align: center;
  padding: var(--space-lg);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: var(--space-md);
}
.step-card h3 { margin-bottom: var(--space-sm); }
.step-card p { font-size: 0.9375rem; }
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* --- Guide TOC (sticky sidebar) --- */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: start;
}
.guide-content h2 { margin-top: var(--space-xl); margin-bottom: var(--space-md); }
.guide-content h3 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.guide-content p { margin-bottom: var(--space-md); }
.guide-content ul, .guide-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--color-text-secondary);
}
.guide-content li { margin-bottom: var(--space-sm); list-style: disc; }
.guide-content ol li { list-style: decimal; }
.guide-content strong { color: var(--color-text-primary); font-weight: 600; }
.guide-toc {
  position: sticky;
  top: 80px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.guide-toc h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.guide-toc a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  border-left: 2px solid transparent;
  padding-left: var(--space-md);
  transition: color 0.2s, border-color 0.2s;
}
.guide-toc a:hover {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}
@media (max-width: 768px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc {
    position: static;
    order: -1;
    margin-bottom: var(--space-lg);
  }
}

/* --- Guide Cards Grid --- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.guide-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.guide-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}
.guide-card h3 { color: var(--color-text-primary); margin-bottom: var(--space-sm); }
.guide-card p { font-size: 0.875rem; margin-bottom: var(--space-md); }
.guide-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Process Steps (city pages) --- */
.process-steps {
  counter-reset: step;
}
.process-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
}
.process-step-content h3 { margin-bottom: var(--space-xs); }
.process-step-content p { font-size: 0.9375rem; margin-bottom: 0; }

/* --- Options Table (debt relief pages) --- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
.option-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.option-card h3 { margin-bottom: var(--space-sm); }
.option-card .pros, .option-card .cons { margin-bottom: var(--space-sm); }
.option-card .tag {
  display: inline-block;
  padding: 2px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-pro { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }
.tag-con { background: rgba(239, 68, 68, 0.15); color: var(--color-danger); }
.tag-timeline { background: rgba(59, 130, 246, 0.15); color: var(--color-info); }

/* --- Related Cities --- */
.related-section { margin: var(--space-2xl) 0; }
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.related-link {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.related-link:hover {
  border-color: var(--color-border-hover);
  color: var(--color-accent);
}

/* --- Footer --- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-xl);
}
.footer-brand {
  max-width: 300px;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.footer-brand p { font-size: 0.8125rem; color: var(--color-text-muted); }
.footer-links {
  display: flex;
  gap: var(--space-xl);
}
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.footer-col a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-disclaimer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: var(--space-lg); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  border-radius: var(--radius-md);
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* --- Hero content sub-elements --- */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 5px var(--space-md);
  background: var(--color-accent-glow);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.hero-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}
.hero-subheading {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Section typography --- */
.section-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.section-subheading {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 1.0625rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--gradient-hero);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--color-accent-glow), transparent 55%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-badge {
  display: inline-block;
  padding: 5px var(--space-md);
  background: var(--color-accent-glow);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.page-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  line-height: 1.25;
}
.page-subheading {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  max-width: 580px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .page-hero { padding: var(--space-xl) 0; }
}

/* --- Breadcrumb bar --- */
.breadcrumb-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb-link { color: var(--color-text-muted); }
.breadcrumb-link:hover { color: var(--color-accent); }
.breadcrumb-current { color: var(--color-text-secondary); font-weight: 500; }

/* --- Container narrow --- */
.container-narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-lg);
}
@media (max-width: 768px) {
  .container-narrow { padding: 0 var(--space-md); }
}

/* --- Lead capture text --- */
.lead-capture-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}
.lead-capture-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

/* --- Lead form row layout --- */
.lead-form-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.lead-form-input {
  flex: 1;
  min-width: 0;
  padding: 10px var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.lead-form-input::placeholder { color: var(--color-text-muted); }
.lead-form-submit { flex-shrink: 0; }
.lead-form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}
.lead-form-privacy svg { flex-shrink: 0; width: 12px; height: 12px; }
.lead-form-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-success);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}
.lead-form-error {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-danger);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}
@media (max-width: 480px) {
  .lead-form-row { flex-direction: column; }
  .lead-form-submit { width: 100%; justify-content: center; }
}

/* --- Stats section wrapper --- */
.stats-section {
  padding: var(--space-xl) 0 0;
}

/* --- Table overflow wrapper --- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
}

/* --- Trust bar inner --- */
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}
.trust-bar { padding: var(--space-xl) 0; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
