/* ============================================================
   RESTAURANT EXIT — 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, 0.9rem + 4.2vw, 5.5rem);
  --text-hero: clamp(2.75rem, 0.4rem + 6.5vw, 7rem);

  /* Spacing */
  --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;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2.25rem;
  --radius-full: 9999px;

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

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'General Sans', 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ---- Light mode (default) — warm cream + rust terracotta ---- */
:root,
[data-theme='light'] {
  --color-bg: #f6f1e6;
  --color-surface: #fbf7ee;
  --color-surface-2: #fffdf8;
  --color-surface-offset: #efe6d3;
  --color-surface-offset-2: #e7dac0;
  --color-surface-dynamic: #ded0ac;
  --color-divider: #e3d8bf;
  --color-border: #d8c8a6;

  --color-text: #251c14;
  --color-text-muted: #6f5f4c;
  --color-text-faint: #a99a80;
  --color-text-inverse: #fbf6ec;

  --color-primary: #b04d29;
  --color-primary-hover: #8c3c1f;
  --color-primary-active: #6c2e17;
  --color-primary-highlight: #ecd6c6;

  --color-warning: #916419;
  --color-warning-hover: #6f4c12;
  --color-warning-highlight: #e6dcc3;

  --color-error: #9c2c46;
  --color-error-hover: #7a2138;
  --color-error-highlight: #e5cdd3;

  --color-success: #3f7a3f;
  --color-success-hover: #2f5f2f;
  --color-success-highlight: #d7e4d0;

  --color-gold: #c08a1e;
  --color-gold-highlight: #ecdec0;

  --shadow-sm: 0 1px 2px rgba(37, 28, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(37, 28, 20, 0.1);
  --shadow-lg: 0 20px 48px rgba(37, 28, 20, 0.16);
}

/* ---- Dark mode ---- */
[data-theme='dark'] {
  --color-bg: #16110c;
  --color-surface: #1d1710;
  --color-surface-2: #241d14;
  --color-surface-offset: #2a2116;
  --color-surface-offset-2: #33291a;
  --color-surface-dynamic: #3c3120;
  --color-divider: #362c1e;
  --color-border: #423527;

  --color-text: #ede2d1;
  --color-text-muted: #a7967c;
  --color-text-faint: #6f5f4a;
  --color-text-inverse: #211a12;

  --color-primary: #e08a56;
  --color-primary-hover: #eea176;
  --color-primary-active: #f3b48f;
  --color-primary-highlight: #3d2c20;

  --color-warning: #d3a24a;
  --color-warning-hover: #ddb567;
  --color-warning-highlight: #3a3020;

  --color-error: #d97b93;
  --color-error-hover: #e194a8;
  --color-error-highlight: #3a2530;

  --color-success: #7bb571;
  --color-success-hover: #92c489;
  --color-success-highlight: #253a24;

  --color-gold: #dcb35a;
  --color-gold-highlight: #3a3120;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #16110c;
    --color-surface: #1d1710;
    --color-surface-2: #241d14;
    --color-surface-offset: #2a2116;
    --color-surface-offset-2: #33291a;
    --color-surface-dynamic: #3c3120;
    --color-divider: #362c1e;
    --color-border: #423527;
    --color-text: #ede2d1;
    --color-text-muted: #a7967c;
    --color-text-faint: #6f5f4a;
    --color-text-inverse: #211a12;
    --color-primary: #e08a56;
    --color-primary-hover: #eea176;
    --color-primary-active: #f3b48f;
    --color-primary-highlight: #3d2c20;
    --color-warning: #d3a24a;
    --color-error: #d97b93;
    --color-success: #7bb571;
    --color-gold: #dcb35a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================================
   GLOBAL HELPERS
   ============================================================ */
a {
  text-decoration: none;
  color: inherit;
}
.stat-item p a,
.footer-bottom p a {
  text-decoration: underline;
  text-decoration-color: var(--color-border);
}
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap--narrow {
  max-width: var(--content-default);
}
section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
}
h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}
.section-head {
  max-width: 44ch;
  margin-bottom: var(--space-12);
}
.section-head p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.muted {
  color: var(--color-text-muted);
}
.center {
  text-align: center;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost-inverse {
  background: transparent;
  border: 1.5px solid rgba(251, 246, 236, 0.5);
  color: #fbf6ec;
}
.btn-ghost-inverse:hover {
  border-color: #fbf6ec;
  background: rgba(251, 246, 236, 0.08);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ============================================================
   CTA EMAIL CAPTURE FORM (shared component)
   ============================================================ */
.cta-form {
  display: flex;
  gap: var(--space-2);
  max-width: 440px;
}
.cta-form input {
  flex: 1;
  min-width: 9.5rem;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-sm);
}
.cta-form input::placeholder {
  color: var(--color-text-faint);
}
.cta-form input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.cta-form .btn {
  flex-shrink: 0;
}
.cta-form-msg {
  font-size: var(--text-xs);
  color: var(--color-success);
  margin-top: var(--space-2);
  display: none;
}
.cta-form-msg.is-visible {
  display: block;
}
/* Inverse variant — used on dark surfaces (e.g. the bottom CTA band) */
.cta-form--inverse input {
  border: 1px solid rgba(251, 246, 236, 0.3);
  background: rgba(251, 246, 236, 0.94);
  color: #251c14;
}
.cta-form--inverse input::placeholder {
  color: #6f5f4c;
}
.cta-form-msg--inverse {
  color: #9cd88f;
}
/* Stacked variant — used in narrow containers (mobile nav, footer) */
.cta-form--stacked {
  flex-direction: column;
  max-width: 280px;
}
.cta-form--stacked input,
.cta-form--stacked .btn {
  width: 100%;
}
/* Compact variant — used where horizontal space is tight (header, footer) */
.cta-form--compact {
  max-width: 260px;
}
.cta-form--compact input {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}
.cta-form--compact .btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  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 .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  gap: var(--space-6);
}
.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);
  flex-shrink: 0;
}
.logo svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--color-primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
}
.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav a {
  font-size: var(--text-base);
  color: var(--color-text);
}
.mobile-nav.is-open {
  display: flex;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin-inline: var(--space-4);
  margin-top: var(--space-4);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(15, 10, 6, 0.92) 0%, rgba(15, 10, 6, 0.72) 42%, rgba(15, 10, 6, 0.28) 68%, rgba(15, 10, 6, 0.05) 100%),
    linear-gradient(to top, rgba(10, 7, 4, 0.55) 0%, transparent 32%);
}
.hero-content {
  position: relative;
  padding: clamp(var(--space-16), 12vw, var(--space-32)) var(--space-8);
  max-width: 720px;
  color: #fbf6ec;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(20, 14, 9, 0.55);
  border: 1px solid rgba(251, 246, 236, 0.25);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.hero-badge .play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  flex-shrink: 0;
}
.hero-badge .play svg {
  width: 9px;
  height: 9px;
  color: #fbf6ec;
}
.hero-content h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}
.circle-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.circle-wrap svg {
  position: absolute;
  inset: -0.18em -0.16em;
  width: calc(100% + 0.32em);
  height: calc(100% + 0.36em);
  color: var(--color-primary);
  overflow: visible;
}
.hero-content p {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(251, 246, 236, 0.86);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero-form {
  display: flex;
  gap: var(--space-2);
  max-width: 460px;
  margin-bottom: var(--space-4);
}
.hero-form input {
  flex: 1;
  min-width: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid rgba(251, 246, 236, 0.3);
  background: rgba(251, 246, 236, 0.94);
  color: #251c14;
  font-size: var(--text-sm);
}
.hero-form input::placeholder {
  color: #6f5f4c;
}
.hero-form .btn {
  flex-shrink: 0;
}
.hero-fine {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(251, 246, 236, 0.65);
}
.hero-fine a {
  color: #fbf6ec;
  text-decoration: underline;
  text-decoration-color: rgba(251, 246, 236, 0.4);
}
.hero-form-msg {
  font-size: var(--text-xs);
  color: var(--color-success-highlight);
  margin-top: var(--space-2);
  display: none;
}
.hero-form-msg.is-visible {
  display: block;
}

/* ============================================================
   TRUST / STAT BAR
   ============================================================ */
.stat-bar {
  padding-block: var(--space-16);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-12);
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.stat-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.stat-item p a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
}

/* ============================================================
   AUDIENCE / SEGMENT GRID
   ============================================================ */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.segment-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.segment-card .icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}
.segment-card h3 {
  font-size: var(--text-base);
}
.segment-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--space-10);
  border-top: 2px solid var(--color-border);
}
.step-num {
  position: absolute;
  top: -0.85em;
  left: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg);
  padding-right: var(--space-2);
}
.step h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   PRICING / MODEL SECTION
   ============================================================ */
.model-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.model-copy--centered {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.model-copy .eyebrow {
  margin-bottom: var(--space-4);
}
.model-copy h2 {
  margin-bottom: var(--space-5);
}
.model-copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.model-copy p:last-of-type {
  margin-bottom: var(--space-8);
}
.model-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   DOSSIER FEATURE GRID
   ============================================================ */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.dossier-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}
.dossier-item .icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.dossier-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.dossier-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   GUARANTEE SECTION
   ============================================================ */
.guarantee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.guarantee-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.guarantee-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guarantee-copy h2 {
  margin-bottom: var(--space-5);
}
.guarantee-copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.guarantee-lead {
  font-weight: 600;
  margin-bottom: var(--space-4) !important;
}
.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.guarantee-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
}
.guarantee-list li strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.guarantee-list li p {
  color: var(--color-text-muted);
  margin: 0;
}
.guarantee-list .icon {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 0.3em;
}

/* ============================================================
   FOUNDER CREDIBILITY
   ============================================================ */
.founder-block {
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10);
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}
.founder-block .icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}
.founder-block blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
  margin-bottom: var(--space-4);
}
.founder-block blockquote p {
  margin-bottom: var(--space-4);
}
.founder-block blockquote p:last-child {
  margin-bottom: 0;
}
.founder-attribution {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.founder-block cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.founder-linkedin svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.founder-linkedin:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.cta-band {
  background: var(--color-text);
  color: #fbf6ec;
  border-radius: var(--radius-2xl);
  margin-inline: var(--space-4);
  padding: clamp(var(--space-16), 10vw, var(--space-24)) var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
[data-theme='dark'] .cta-band {
  background: var(--color-surface-offset);
}
.cta-band h2 {
  color: #fbf6ec;
  max-width: 18ch;
  margin-bottom: var(--space-5);
}
.cta-band p {
  color: rgba(251, 246, 236, 0.72);
  max-width: 50ch;
  margin-bottom: var(--space-8);
}
.cta-band-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding-block: var(--space-16) var(--space-10);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .logo {
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-cols {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 62ch;
}
.footer-legal {
  display: flex;
  gap: var(--space-5);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[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: 980px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .cta-form {
    display: none;
  }
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-12);
  }
  .dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guarantee {
    grid-template-columns: 1fr;
  }
  .guarantee-img {
    order: -1;
  }
  .stat-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-top {
    flex-direction: column;
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 92vh;
    margin-inline: var(--space-2);
    border-radius: var(--radius-xl);
  }
  .hero-content {
    padding: var(--space-24) var(--space-5) var(--space-16);
  }
  .hero-form {
    flex-direction: column;
  }
  .cta-form:not(.cta-form--stacked) {
    flex-direction: column;
  }
  .cta-form:not(.cta-form--stacked) input,
  .cta-form:not(.cta-form--stacked) .btn {
    width: 100%;
  }
  .segment-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .founder-block {
    flex-direction: column;
    padding: var(--space-8) var(--space-6);
  }
  .cta-band {
    margin-inline: var(--space-2);
    border-radius: var(--radius-xl);
  }
  .rake-row {
    flex-direction: column;
    gap: var(--space-1);
  }
}
