/* ==========================================================================
   ForgeFit — Design Tokens + Component Styles
   Palette: deep onyx/near-black + metallic gold accent (brand-locked)
   Typography: Marcellus (display, forged/authoritative serif) +
               Manrope (body, clean geometric sans)
   ========================================================================== */

/* ---------- Type Scale (fluid clamp) ---------- */
: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.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  /* ---------- Spacing (4px system) ---------- */
  --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.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* ---------- Transitions ---------- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

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

  /* ---------- Fonts ---------- */
  --font-display: 'Marcellus', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
}

/* ---------- Color System — Forged Gold on Onyx ---------- */
/* Dark is the brand-native mode (matches the existing logo asset). */
:root,
[data-theme='dark'] {
  --color-bg: #0b0a08;
  --color-surface: #131110;
  --color-surface-2: #181614;
  --color-surface-offset: #1d1a17;
  --color-surface-offset-2: #24201c;
  --color-surface-dynamic: #2c2620;
  --color-divider: #2a2521;
  --color-border: #3a332b;

  --color-text: #f2ece0;
  --color-text-muted: #b3a99a;
  --color-text-faint: #726a5d;
  --color-text-inverse: #14110d;

  /* Metallic gold accent */
  --color-primary: #d4a237;
  --color-primary-hover: #e8b94f;
  --color-primary-active: #b9871f;
  --color-primary-highlight: #3a2f18;

  --color-warning: #c97a3d;
  --color-warning-hover: #b6642a;
  --color-warning-active: #8f4c1b;
  --color-warning-highlight: #3d2d1c;

  --color-error: #c85a4f;
  --color-error-hover: #b5453a;
  --color-error-active: #93332a;
  --color-error-highlight: #3a2320;

  --color-notification: #c85a4f;
  --color-notification-hover: #b5453a;
  --color-notification-active: #93332a;
  --color-notification-highlight: #3a2320;

  --color-success: #7a9a5c;
  --color-success-hover: #63813f;
  --color-success-active: #4c6630;
  --color-success-highlight: #2a3320;

  --color-gold: #d4a237;
  --color-gold-hover: #e8b94f;
  --color-gold-active: #b9871f;
  --color-gold-highlight: #3a2f18;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.6);
  --shadow-gold: 0 0 32px oklch(0.75 0.13 85 / 0.18);
}

/* Light mode — warm parchment surface, same gold accent, kept accessible */
[data-theme='light'] {
  --color-bg: #f7f4ec;
  --color-surface: #fbf9f3;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f0ebdd;
  --color-surface-offset-2: #e9e2d0;
  --color-surface-dynamic: #ded4ba;
  --color-divider: #ddd4bd;
  --color-border: #d0c5a7;

  --color-text: #1c1712;
  --color-text-muted: #5c5344;
  --color-text-faint: #93876f;
  --color-text-inverse: #f7f4ec;

  --color-primary: #8a6416;
  --color-primary-hover: #6f4f0f;
  --color-primary-active: #573d0b;
  --color-primary-highlight: #ecdfb8;

  --color-warning: #96501f;
  --color-warning-hover: #793d15;
  --color-warning-active: #5c2e10;
  --color-warning-highlight: #e8d4bf;

  --color-error: #9c352a;
  --color-error-hover: #7d2a20;
  --color-error-active: #5e1f18;
  --color-error-highlight: #e8cfca;

  --color-notification: #9c352a;
  --color-notification-hover: #7d2a20;
  --color-notification-active: #5e1f18;
  --color-notification-highlight: #e8cfca;

  --color-success: #4c6b2e;
  --color-success-hover: #3b5322;
  --color-success-active: #2c3f19;
  --color-success-highlight: #dbe4cb;

  --color-gold: #8a6416;
  --color-gold-hover: #6f4f0f;
  --color-gold-active: #573d0b;
  --color-gold-highlight: #ecdfb8;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 80 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.2 0.02 80 / 0.1);
  --shadow-lg: 0 20px 48px oklch(0.2 0.02 80 / 0.14);
  --shadow-gold: 0 0 32px oklch(0.6 0.13 85 / 0.14);
}

/* Dark (gold-on-onyx) is the brand-locked default for ALL users regardless
   of OS/browser color-scheme preference. Light mode is only ever applied
   when the user explicitly toggles it via [data-theme='light'] (see rule
   above). Intentionally no `@media (prefers-color-scheme: light)` override
   here so the brand-native dark mode always wins on first load. */

/* ==========================================================================
   Base Typography
   ========================================================================== */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
}

h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--default {
  max-width: var(--content-default);
}
.container--narrow {
  max-width: var(--content-narrow);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.section--surface {
  background: var(--color-surface);
}
.section--offset {
  background: var(--color-surface-offset);
}

main {
  overflow-x: clip;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 100;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
}
.skip-link:focus {
  left: var(--space-4);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s var(--ease-in-out),
    box-shadow 0.3s var(--ease-in-out);
}
.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-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  flex-shrink: 0;
}
.brand:hover {
  color: var(--color-text);
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.brand-name {
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current='page'] {
  color: var(--color-text);
}
.nav-desktop a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  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: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
}

/* Below the desktop breakpoint, the mobile nav sheet already surfaces its
   own full-width CTA, so hide the header's inline CTA button to make room
   for the theme toggle + hamburger and avoid overflow at narrow widths. */
.header-actions > .btn {
  display: none;
}
@media (min-width: 900px) {
  .header-actions > .btn {
    display: inline-flex;
  }
}

/* Mobile nav sheet */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 60;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    visibility 0.25s;
}
.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-10);
}
.nav-mobile-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.nav-mobile-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.nav-mobile-cta {
  margin-top: var(--space-8);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  min-height: 44px;
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: #14110d;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.22);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding-inline: var(--space-4);
}
.btn-ghost:hover {
  color: var(--color-text);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32)) clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(from var(--color-bg) l c h / 0.5) 0%, var(--color-bg) 92%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.4);
  color: var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.hero-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-header {
  padding-block: clamp(var(--space-16), 8vw, var(--space-20)) var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}
.page-header h1 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.page-header .eyebrow {
  margin-bottom: var(--space-2);
  display: block;
}
.page-header p {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  max-width: 62ch;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

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

.step-card {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.step-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-4);
}
.step-card h3 {
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: var(--text-sm);
}

/* Feature narrative row — avoids the 3-col icon-circle AI pattern */
.feature-row {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--color-divider);
}
.feature-row:last-child {
  border-bottom: none;
}
@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 0.85fr 1fr;
  }
  .feature-row.reverse {
    grid-template-columns: 1fr 0.85fr;
  }
  .feature-row.reverse .feature-visual {
    order: 2;
  }
}
.feature-index {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  display: block;
}
.feature-row h2 {
  margin-bottom: var(--space-4);
}
.feature-row p {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.feature-tag-list li {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-1);
  gap: var(--space-1);
  margin-bottom: var(--space-10);
}
.pricing-toggle button {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  position: relative;
}
.pricing-toggle button.is-active {
  background: var(--color-primary);
  color: #14110d;
}
.pricing-toggle .save-badge {
  font-size: var(--text-xs);
  background: var(--color-success-highlight);
  color: var(--color-success);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
  font-weight: 700;
}
.pricing-toggle button.is-active .save-badge {
  background: oklch(0 0 0 / 0.15);
  color: #14110d;
}

.pricing-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: stretch;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}
.price-card--premium {
  border-color: oklch(from var(--color-primary) l c h / 0.5);
  box-shadow: var(--shadow-gold);
  position: relative;
}
.price-card--premium::before {
  content: 'Recommended';
  position: absolute;
  top: 0;
  right: var(--space-6);
  transform: translateY(-50%);
  background: var(--color-primary);
  color: #14110d;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
}
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-block: var(--space-4) var(--space-1);
  line-height: 1;
}
.price-amount .unit {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.price-sub {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  min-height: 1.5em;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.price-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}
.price-features li.is-muted {
  color: var(--color-text-faint);
}
.price-features li.is-muted svg {
  color: var(--color-text-faint);
}

/* Comparison table */
.compare-table-hint {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
@media (max-width: 639px) {
  .compare-table-hint {
    display: block;
  }
}
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  text-align: center;
}
.compare-table tbody th {
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.compare-table tr:last-child td,
.compare-table tr:last-child th {
  border-bottom: none;
}
.compare-table svg.yes {
  color: var(--color-primary);
}
.compare-table svg.no {
  color: var(--color-text-faint);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
}
.faq-question .chevron {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-in-out);
}
.faq-item[data-open='true'] .chevron {
  transform: rotate(180deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-in-out);
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.field input,
.field textarea,
.field select {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 44px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--color-primary);
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--color-error);
}
.field.has-error .field-error {
  display: block;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-success) l c h / 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-success h3 {
  margin-bottom: var(--space-1);
}
.form-success p {
  font-size: var(--text-sm);
  margin: 0;
}

/* Email capture */
.capture-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  position: relative;
  overflow: hidden;
}
.capture-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.capture-form input[type='email'] {
  flex: 1 1 260px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 48px;
}
.capture-form input[type='email']:focus-visible {
  border-color: var(--color-primary);
}

/* ==========================================================================
   Callouts / testimonial-free social note
   ========================================================================== */
.callout {
  border-left: none;
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--color-border);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 60ch;
  position: relative;
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-primary);
}
.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  font-weight: 600;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-content h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}
.legal-content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  list-style: disc;
}
.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}
.legal-disclaimer-box {
  background: var(--color-surface-offset);
  border: 1px solid oklch(from var(--color-warning) l c h / 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-block: var(--space-6);
}
.legal-disclaimer-box p {
  color: var(--color-text);
  margin-bottom: 0;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-10);
}
.legal-toc a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.legal-toc a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: left;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.cta-band-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.cta-band h2 {
  margin-bottom: var(--space-4);
}
.cta-band p {
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-10);
  background: var(--color-surface);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: var(--space-12);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
}
.footer-tagline {
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  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;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-legal-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 70ch;
  margin-top: var(--space-6);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   Misc components
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.badge--gold {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-color: transparent;
}

.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.5;
  margin-block: var(--space-16);
}

.two-col {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.two-col.align-center {
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.contact-method {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-method svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-method h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.contact-method p {
  font-size: var(--text-sm);
  margin: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.section-head p {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
}

.founder-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.founder-byline img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.founder-byline .name {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-sm);
}
.founder-byline .role {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
