/* Art direction: AI for Business → Authoritative, trustworthy, approachable B2B
   Palette: Warm/professional — deep navy primary (authority, tech, trust), warm amber accent (energy, CTAs)
   Typography: Instrument Serif (display) + Plus Jakarta Sans (body) — editorial authority meets modern professionalism
   Density: Spacious — generous whitespace, editorial feel */

/* ============================================================
   FONT LOADING
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Font Families */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;

  /* Content Widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   LIGHT MODE (Default)
   ============================================================ */
:root, [data-theme="light"] {
  /* Surfaces — warm off-white */
  --color-bg:               #fafaf8;
  --color-surface:          #f5f4f0;
  --color-surface-2:        #efeeea;
  --color-surface-offset:   #e8e7e2;
  --color-surface-offset-2: #dfddd7;
  --color-surface-dynamic:  #d6d4ce;
  --color-divider:          #d0cec8;
  --color-border:           #c4c2bb;

  /* Text */
  --color-text:          #1a1e2c;
  --color-text-muted:    #5a6073;
  --color-text-faint:    #9ca0ad;
  --color-text-inverse:  #fafaf8;

  /* Primary — Deep Navy */
  --color-primary:         #1a365d;
  --color-primary-hover:   #132847;
  --color-primary-active:  #0e1f38;
  --color-primary-highlight: #d0d8e6;

  /* Accent — Warm Amber (CTA) */
  --color-accent:         #d97706;
  --color-accent-hover:   #b45309;
  --color-accent-active:  #92400e;
  --color-accent-highlight: #fef3c7;

  /* Semantic */
  --color-success:        #166534;
  --color-success-hover:  #14532d;
  --color-success-active: #0f3d1f;
  --color-success-highlight: #dcfce7;

  --color-error:          #991b1b;
  --color-error-hover:    #7f1d1d;
  --color-error-active:   #601010;
  --color-error-highlight: #fef2f2;

  --color-warning:        #92400e;
  --color-warning-hover:  #78350f;
  --color-warning-active: #5c2a0c;
  --color-warning-highlight: #fffbeb;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.25 0.02 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.25 0.02 250 / 0.12);
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  /* Surfaces — deep charcoal with warm undertone */
  --color-bg:               #0f1219;
  --color-surface:          #161a24;
  --color-surface-2:        #1c2130;
  --color-surface-offset:   #222838;
  --color-surface-offset-2: #2a3142;
  --color-surface-dynamic:  #343b4e;
  --color-divider:          #2e3548;
  --color-border:           #3d4559;

  /* Text */
  --color-text:          #e2e4e9;
  --color-text-muted:    #9499a8;
  --color-text-faint:    #5d6377;
  --color-text-inverse:  #0f1219;

  /* Primary — Lighter navy for dark bg */
  --color-primary:         #5b8ac4;
  --color-primary-hover:   #4a78b4;
  --color-primary-active:  #3a66a0;
  --color-primary-highlight: #1e2a3d;

  /* Accent — Brighter amber for dark bg */
  --color-accent:         #f59e0b;
  --color-accent-hover:   #fbbf24;
  --color-accent-active:  #d97706;
  --color-accent-highlight: #352a14;

  /* Semantic */
  --color-success:        #4ade80;
  --color-success-hover:  #22c55e;
  --color-success-active: #16a34a;
  --color-success-highlight: #132a1b;

  --color-error:          #f87171;
  --color-error-hover:    #ef4444;
  --color-error-active:   #dc2626;
  --color-error-highlight: #2d1515;

  --color-warning:        #fbbf24;
  --color-warning-hover:  #f59e0b;
  --color-warning-active: #d97706;
  --color-warning-highlight: #2d2413;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:               #0f1219;
    --color-surface:          #161a24;
    --color-surface-2:        #1c2130;
    --color-surface-offset:   #222838;
    --color-surface-offset-2: #2a3142;
    --color-surface-dynamic:  #343b4e;
    --color-divider:          #2e3548;
    --color-border:           #3d4559;
    --color-text:          #e2e4e9;
    --color-text-muted:    #9499a8;
    --color-text-faint:    #5d6377;
    --color-text-inverse:  #0f1219;
    --color-primary:         #5b8ac4;
    --color-primary-hover:   #4a78b4;
    --color-primary-active:  #3a66a0;
    --color-primary-highlight: #1e2a3d;
    --color-accent:         #f59e0b;
    --color-accent-hover:   #fbbf24;
    --color-accent-active:  #d97706;
    --color-accent-highlight: #352a14;
    --color-success:        #4ade80;
    --color-success-hover:  #22c55e;
    --color-success-active: #16a34a;
    --color-success-highlight: #132a1b;
    --color-error:          #f87171;
    --color-error-hover:    #ef4444;
    --color-error-active:   #dc2626;
    --color-error-highlight: #2d1515;
    --color-warning:        #fbbf24;
    --color-warning-hover:  #f59e0b;
    --color-warning-active: #d97706;
    --color-warning-highlight: #2d2413;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ============================================================
   COMPONENT STYLES
   ============================================================ */

/* Container */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

/* Section spacing */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* Typography */
.display-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.15;
}

.body-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--primary:active {
  background: var(--color-accent-active);
}

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--secondary:hover {
  background: var(--color-primary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition-interactive),
              transform var(--transition-interactive),
              border-color var(--transition-interactive);
}

a.card,
.card[href] {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.card:hover,
.card[href]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

a.card:active,
.card[href]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Badge */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--color-accent-highlight);
  color: var(--color-accent);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin-block: var(--space-8);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.header-logo svg {
  width: 36px;
  height: 36px;
}

.header-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link--active {
  color: var(--color-primary);
}

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

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  padding: var(--space-20) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition-interactive);
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 36ch;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-bottom a:hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-faint { color: var(--color-text-faint); }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  padding: var(--space-8) var(--space-6);
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  color: var(--color-text-inverse);
}

[data-theme="dark"] .stats-bar {
  color: var(--color-text);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  opacity: 0.85;
}

/* Hero section */
.hero {
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
  text-align: center;
}

.hero .display-heading {
  font-size: var(--text-2xl);
  max-width: 18ch;
  margin-inline: auto;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-top: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* FAQ section */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  display: none;
}

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

/* Use case cards */
.use-case-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.use-case-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.use-case-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
}

.use-case-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.use-case-card .card-arrow {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}

/* Use case detail page */
.use-case-hero {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}

.use-case-hero .badge {
  margin-bottom: var(--space-4);
}

.use-case-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  max-width: 20ch;
}

.use-case-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-top: var(--space-4);
}

/* Stat callout */
.stat-callout {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: var(--space-4);
}

.stat-callout .stat-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-callout .stat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Tools table */
.tools-table {
  width: 100%;
  overflow-x: auto;
  margin-block: var(--space-6);
}

.tools-table table {
  min-width: 600px;
}

.tools-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-text);
}

.tools-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  border-radius: var(--radius-xl);
  margin-inline: var(--space-4);
}

[data-theme="dark"] .cta-section {
  color: var(--color-text);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
}

.cta-section p {
  margin-top: var(--space-3);
  opacity: 0.85;
  max-width: 50ch;
  margin-inline: auto;
}

.cta-section .btn--primary {
  margin-top: var(--space-6);
}

/* Business size fit */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}

.fit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.fit-card h4 {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.fit-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.form-success.is-visible {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  color: var(--color-success);
  margin-bottom: var(--space-4);
}

/* Services page */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--space-6);
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  position: relative;
  padding-top: var(--space-8);
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-accent);
  position: absolute;
  top: 0;
}

.process-step h3 {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Service tier */
.tier-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.tier-card--featured {
  border-color: var(--color-accent);
  position: relative;
}

.tier-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: calc(var(--space-3) * -1);
  left: var(--space-4);
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.tier-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.tier-price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

.tier-features {
  list-style: none;
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.tier-features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.tier-card .btn {
  margin-top: var(--space-6);
  text-align: center;
  justify-content: center;
}

/* About page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

.value-card {
  padding: var(--space-6);
}

.value-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-sm);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Prose content for use case pages */
.prose {
  max-width: 72ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-weight: 700;
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.prose ul, .prose ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.prose li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

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

/* Who We Help section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.audience-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}

.audience-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   GATED DOWNLOAD COMPONENT
   ============================================================ */
.gated-download {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: var(--space-8);
  background: var(--color-surface);
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.gated-download__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.gated-download__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.gated-download__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.gated-download__form {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.gated-download__form .form-input {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.gated-download__reveal {
  display: none;
}

.gated-download__reveal.is-visible {
  display: block;
}

.gated-download__reveal .btn {
  margin-top: var(--space-2);
}

.gated-download__check {
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

/* ============================================================
   PROSE / ARTICLE CONTENT
   ============================================================ */
.prose p {
  margin-bottom: var(--space-5);
  line-height: 1.75;
}

.prose h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.prose li {
  margin-bottom: var(--space-2);
}
