/* ===== Design Tokens ===== */
:root,
[data-theme='light'] {
  /* Surfaces — cool slate, not warm beige (fintech/SaaS direction) */
  --color-bg: #f5f6f5;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfa;
  --color-surface-offset: #edefec;
  --color-surface-offset-2: #e4e7e3;
  --color-surface-dynamic: #dde0dc;
  --color-divider: #dfe2de;
  --color-border: #cfd3ce;

  /* Text */
  --color-text: #12140f;
  --color-text-muted: #5b5f57;
  --color-text-faint: #9a9d95;
  --color-text-inverse: #f5f6f4;

  /* Primary Accent — Recovery Teal-Green */
  --color-primary: #0f6b52;
  --color-primary-hover: #0b5140;
  --color-primary-active: #083c30;
  --color-primary-highlight: #d3e6dd;

  /* Ink surface (always-dark sections, regardless of light/dark mode) */
  --color-ink: #10130f;
  --color-ink-2: #171b14;
  --color-ink-border: #2a2f26;
  --color-on-ink: #f5f6f4;

  --color-warning: #92501c;
  --color-warning-highlight: #e6d7c6;
  --color-error: #a13333;
  --color-error-highlight: #e3d0ce;
  --color-success: #2f7a3f;
  --color-success-highlight: #d1e4d1;

  --radius-sm: 0.3125rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.15 0.02 150 / 0.06);
  --shadow-md: 0 6px 16px oklch(0.15 0.02 150 / 0.08);
  --shadow-lg: 0 18px 40px oklch(0.15 0.02 150 / 0.14);

  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1280px;
  --content-full: 100%;

  --font-display: 'Cabinet Grotesk', 'General Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

[data-theme='dark'] {
  --color-bg: #0d0f0c;
  --color-surface: #14170f;
  --color-surface-2: #171b14;
  --color-surface-offset: #1a1e16;
  --color-surface-offset-2: #1f241a;
  --color-surface-dynamic: #262b20;
  --color-divider: #232720;
  --color-border: #2d322a;
  --color-text: #e7e9e3;
  --color-text-muted: #a1a596;
  --color-text-faint: #6b6f63;
  --color-text-inverse: #12140f;
  --color-primary: #4bbf95;
  --color-primary-hover: #6ecfab;
  --color-primary-active: #8adcbe;
  --color-primary-highlight: #1c3129;
  --color-ink: #0a0c08;
  --color-ink-2: #050604;
  --color-ink-border: #1f231b;
  --color-warning: #d99a5b;
  --color-warning-highlight: #3a2e1e;
  --color-error: #d9807f;
  --color-error-highlight: #3a2523;
  --color-success: #7fc98d;
  --color-success-highlight: #1e321f;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 18px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0d0f0c;
    --color-surface: #14170f;
    --color-surface-2: #171b14;
    --color-surface-offset: #1a1e16;
    --color-surface-offset-2: #1f241a;
    --color-surface-dynamic: #262b20;
    --color-divider: #232720;
    --color-border: #2d322a;
    --color-text: #e7e9e3;
    --color-text-muted: #a1a596;
    --color-text-faint: #6b6f63;
    --color-text-inverse: #12140f;
    --color-primary: #4bbf95;
    --color-primary-hover: #6ecfab;
    --color-primary-active: #8adcbe;
    --color-primary-highlight: #1c3129;
    --color-ink: #0a0c08;
    --color-ink-2: #050604;
    --color-ink-border: #1f231b;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 18px 40px oklch(0 0 0 / 0.5);
  }
}

:root {
  --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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  --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;
}

/* ===== Base Layout ===== */
body {
  overflow-x: hidden;
}

.wrap {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-10));
}

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

section {
  position: relative;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 200;
  font-size: var(--text-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.nav__links {
  display: flex;
  gap: var(--space-6);
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}
.nav__links a:hover {
  color: var(--color-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ===== Mobile menu ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5) var(--space-8);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.mobile-menu__links a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__cta {
  width: 100%;
}
body.nav-open {
  overflow: hidden;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-faint);
}

.btn--on-dark {
  background: var(--color-on-ink);
  color: var(--color-ink);
}
.btn--on-dark:hover {
  background: oklch(from var(--color-on-ink) calc(l - 0.08) c h);
}

.btn--lg {
  padding: 0.9375rem 1.75rem;
  font-size: var(--text-base);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--color-ink);
  color: var(--color-on-ink);
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(from var(--color-ink) l c h / 0.35) 0%,
    oklch(from var(--color-ink) l c h / 0.55) 45%,
    var(--color-ink) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-active, var(--color-primary));
  background: oklch(from var(--color-primary) l c h / 0.16);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.35);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
[data-theme='dark'] .eyebrow,
.hero .eyebrow {
  color: #8adcbe;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: #7fd9b6;
}

.hero__sub {
  font-size: var(--text-lg);
  color: oklch(from var(--color-on-ink) l c h / 0.78);
  max-width: 58ch;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero__note {
  font-size: var(--text-xs);
  color: oklch(from var(--color-on-ink) l c h / 0.55);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 640px;
  padding-top: var(--space-10);
  border-top: 1px solid oklch(from var(--color-on-ink) l c h / 0.14);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-on-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-1);
}

.stat__label {
  font-size: var(--text-xs);
  color: oklch(from var(--color-on-ink) l c h / 0.6);
}

/* ===== Section shared ===== */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-16));
}
.section--offset {
  background: var(--color-surface-offset);
}
.section--ink {
  background: var(--color-ink);
  color: var(--color-on-ink);
}

.section__head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section__kicker {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.section--ink .section__kicker {
  color: #7fd9b6;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.section--ink .section__desc {
  color: oklch(from var(--color-on-ink) l c h / 0.7);
}

/* ===== Problem section ===== */
.problem {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.problem__lead {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: var(--space-6);
}

.problem__body {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.problem__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.problem__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}
.problem__list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-error);
}

.problem__panel {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  box-shadow: var(--shadow-md);
}

.panel__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.panel__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.panel__row:first-child {
  padding-top: 0;
}
.panel__row-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.panel__row-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.panel__row-value--accent {
  color: var(--color-primary);
}

/* ===== How it works — asymmetric numbered flow ===== */
.flow {
  display: flex;
  flex-direction: column;
}

.flow__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.flow__item:last-child {
  border-bottom: 1px solid var(--color-divider);
}

.flow__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-faint);
  font-variant-numeric: tabular-nums;
}

.flow__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

.flow__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.flow__desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

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

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.mock-badge--warn {
  background: var(--color-warning-highlight);
  color: var(--color-warning);
}

.mock-line {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-surface-offset-2);
  margin-bottom: var(--space-2);
}

.mock-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.mock-msg {
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  line-height: 1.55;
}

.score-ring {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.score-ring__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.score-ring__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== Feature callout (asymmetric, not grid-of-3) ===== */
.callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: center;
}
.callout--reverse {
  grid-template-columns: 1fr 1fr;
}
.callout--reverse .callout__media {
  order: 2;
}
.callout--reverse .callout__text {
  order: 1;
}

.callout__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.callout__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: block;
}

.callout__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.callout__body {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.checklist li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  align-items: flex-start;
}
.checklist svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

/* ===== Not-a-CRM band ===== */
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
}

.scope__col h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.scope__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.scope__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.scope__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.scope__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.scope__list--no svg {
  color: var(--color-text-faint);
}
.scope__list--yes svg {
  color: var(--color-primary);
}

/* ===== Pricing / Pilot ===== */
.pilot {
  background: var(--color-ink);
  color: var(--color-on-ink);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

.pilot__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.pilot__body {
  color: oklch(from var(--color-on-ink) l c h / 0.75);
  margin-bottom: var(--space-6);
}

.pilot__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pilot__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: oklch(from var(--color-on-ink) l c h / 0.85);
}
.pilot__list svg {
  flex-shrink: 0;
  color: #7fd9b6;
  margin-top: 2px;
}

.pilot__card {
  background: oklch(from var(--color-on-ink) l c h / 0.06);
  border: 1px solid oklch(from var(--color-on-ink) l c h / 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.pilot__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.pilot__price span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: oklch(from var(--color-on-ink) l c h / 0.6);
}
.pilot__price-note {
  font-size: var(--text-xs);
  color: oklch(from var(--color-on-ink) l c h / 0.55);
  margin-bottom: var(--space-6);
}

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-divider);
}

.faq__item {
  border-bottom: 1px solid var(--color-divider);
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.faq__q svg {
  flex-shrink: 0;
  color: var(--color-text-faint);
  transition: transform var(--transition-interactive);
}

.faq__item[data-open='true'] .faq__q svg {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item[data-open='true'] .faq__a {
  grid-template-rows: 1fr;
}
.faq__a-inner {
  overflow: hidden;
}
.faq__a p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding-bottom: var(--space-6);
  max-width: 68ch;
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: left;
  max-width: 700px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-5);
}
.final-cta p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
}
.footer__logo svg {
  color: var(--color-primary);
}
.footer__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__links {
  display: flex;
  gap: var(--space-6);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-text);
}

/* ===== Scroll reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .problem,
  .callout,
  .callout--reverse,
  .flow__content,
  .scope,
  .pilot {
    grid-template-columns: 1fr;
  }
  .callout--reverse .callout__media,
  .callout--reverse .callout__text {
    order: initial;
  }
  .flow__item {
    grid-template-columns: 56px 1fr;
  }
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__actions .btn--ghost {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero__stats > .stat:nth-child(3) {
    grid-column: span 2;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .flow__item {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}
