/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Florida Divorce Pro — marketing site
   Design: polished, editorial, trust-focused
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━ TOKENS ━━━ */
:root {
  /* neutrals — warm paper */
  --bg:        #fbfaf7;
  --bg-2:      #f6f5f1;
  --surface:   #fbfaf7;
  --surface-2: #f6f5f1;
  --surface-3: #edebe4;

  --border:      #e2dfd5;
  --border-2:    #cfcabd;
  --hairline:    rgba(30, 34, 48, 0.08);

  --text:    #22252e;
  --text-2:  #4a4e5a;
  --text-3:  #7a7f8a;
  --text-4:  #a7abb4;

  /* brand — Counsel Navy (authoritative, legal-formal) */
  --brand-50:  #eef1f7;
  --brand-100: #dde3ee;
  --brand-200: #b7c2d8;
  --brand-300: #8da0bd;
  --brand-400: #63769e;
  --brand-500: #445785;
  --brand-600: #384a73;
  --brand-700: #2c3b5e;
  --brand-800: #22304e;
  --brand-900: #1a253d;
  --brand-950: #111a2c;

  /* warm accent — muted gold for highlights */
  --gold-400: #c9a24a;
  --gold-500: #b38a2c;
  --gold-600: #8f6d1d;

  /* status — reserved / clinical */
  --rose-400: #a85461;
  --rose-500: #8b3b49;

  --ink-950: #14182a;
  --ink-900: #1a1f35;
  --ink-800: #232940;

  --accent:       var(--brand-700);
  --accent-hover: var(--brand-800);
  --accent-soft:  rgba(44, 59, 94, 0.08);
  --accent-ring:  rgba(44, 59, 94, 0.18);
  --accent-glow:  rgba(68, 87, 133, 0.18);

  /* radii — small, crisp */
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 8px;
  --r-2xl: 10px;

  /* elevation — almost invisible, editorial */
  --shadow-xs: 0 1px 2px rgba(20, 24, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(20, 24, 42, 0.04);
  --shadow-md: 0 1px 2px rgba(20, 24, 42, 0.04), 0 4px 12px rgba(20, 24, 42, 0.04);
  --shadow-lg: 0 2px 4px rgba(20, 24, 42, 0.05), 0 8px 22px rgba(20, 24, 42, 0.06);
  --shadow-xl: 0 4px 10px rgba(20, 24, 42, 0.06), 0 18px 42px rgba(20, 24, 42, 0.08);

  --ring: 0 0 0 3px var(--accent-soft);

  /* type */
  --ff-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --container-gutter: clamp(1.25rem, 2.8vw, 2.5rem);
  --hero-gutter: clamp(1.5rem, 4vw, 3.5rem);
  --cta-shell-width: 980px;
}

/* Dark mode — deep navy ink */
html.dark {
  --bg:        #14182a;
  --bg-2:      #181d33;
  --surface:   #1b2038;
  --surface-2: #20253f;
  --surface-3: #262c47;

  --border:    #2a3150;
  --border-2:  #3a436a;
  --hairline:  rgba(220, 226, 240, 0.08);

  --text:    #f0ede3;
  --text-2:  #cfcfcf;
  --text-3:  #9ea3b1;
  --text-4:  #6f7585;

  --accent:       #a7b6d4;
  --accent-hover: #c6d1e6;
  --accent-soft:  rgba(167, 182, 212, 0.10);
  --accent-ring:  rgba(167, 182, 212, 0.28);
  --accent-glow:  rgba(167, 182, 212, 0.18);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.45), 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.5), 0 14px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 6px 18px rgba(0, 0, 0, 0.5), 0 22px 50px rgba(0, 0, 0, 0.55);
}

/* ━━━ RESET / BASE ━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Offset anchored sections so the sticky header does not overlap */
:target,
section[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01", "ss03";
}
body.modal-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent-ring); color: var(--text); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 300;
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1180px, calc(100% - (var(--container-gutter) * 2)));
  margin-inline: auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay   { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--hairline);
}
html.dark .site-header {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--hairline) inset;
}
.brand-logo.sm { width: 28px; height: 28px; }
.brand:hover .brand-logo { transform: scale(1.04); }
.brand-logo { transition: transform 0.25s ease; }

nav { display: flex; align-items: center; gap: 0.15rem; }
nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  transition: color 0.15s ease, background 0.15s ease;
  letter-spacing: -0.005em;
}
nav a:hover { color: var(--text); background: var(--surface-2); }
nav a:focus-visible {
  outline: none;
  color: var(--text);
  box-shadow: var(--ring);
}

.nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-3);
  transition: color 0.15s ease, background 0.15s ease, transform 0.2s ease, border-color 0.15s ease;
}
.theme-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-toggle:hover .theme-icon { transform: rotate(-12deg); }
.theme-icon[hidden] { display: none; }
.theme-icon svg { width: 16px; height: 16px; }

.cta-link {
  background: var(--text) !important;
  color: var(--bg) !important;
  font-weight: 600;
  padding: 0.55rem 1rem !important;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}
.cta-link:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
/* On wide screens where the hero is two columns, grow to (nearly) fill the
   viewport so the whole pitch sits above the fold. On stacked layouts the
   content decides the height — otherwise we end up pushing everything to
   the middle of a too-tall section. */
@media (min-width: 961px) {
  .hero {
    padding: 6.5rem 0 5.5rem;
    min-height: min(calc(100svh - 68px), 820px);
    display: flex;
    align-items: center;
  }
}

.hero-glow {
  position: absolute;
  top: -280px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 800px;
  background:
    radial-gradient(35% 40% at 35% 55%, rgba(201, 162, 74, 0.10) 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 45%, rgba(44, 59, 94, 0.10) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
  animation: glow-pulse 9s ease-in-out infinite alternate;
}
html.dark .hero-glow {
  background:
    radial-gradient(35% 40% at 35% 55%, rgba(201, 162, 74, 0.07) 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 45%, rgba(167, 182, 212, 0.08) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
}
@keyframes glow-pulse {
  0%   { opacity: 0.55; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.85; transform: translateX(-50%) scale(1.06); }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 59, 94, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 59, 94, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
html.dark .hero-grid-bg {
  background-image:
    linear-gradient(rgba(167, 182, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 182, 212, 0.06) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: center;
  width: 100%;
}

.hero .container {
  width: min(1240px, calc(100% - (var(--hero-gutter) * 2)));
}

.hero .container,
.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 37rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.75rem;
  letter-spacing: -0.005em;
}
.hero-badge strong {
  font-weight: 600;
  color: var(--accent-hover);
}
html.dark .hero-badge strong { color: var(--brand-400); }

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(44, 59, 94, 0.45);
  animation: pulse-ring 2.4s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(44, 59, 94, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(44, 59, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 59, 94, 0); }
}

.hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}

.lead {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 1.08rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-note {
  margin-top: 1rem;
  max-width: 46ch;
  font-size: 0.92rem;
  color: var(--text-3);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-3);
  font-weight: 500;
}
.hero-meta-item svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Glass card */
.glass {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-lg);
}
html.dark .glass {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -30px -30px -30px -30px;
  background: radial-gradient(ellipse at 50% 50%, var(--accent-glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

.hero-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-card:hover { transform: rotate(0deg) translateY(-2px); }

.hero-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 1.25rem 0;
}

.hero-case-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.hero-case-chip.neutral {
  background: var(--surface-2);
  color: var(--text-3);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-2);
}
.hero-card-dots i:first-child   { background: var(--border-2); }
.hero-card-dots i:nth-child(2)  { background: var(--border-2); }
.hero-card-dots i:last-child    { background: var(--accent); }

.hero-card-list {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 1.25rem;
  transition: background 0.15s;
  border-bottom: 1px solid var(--hairline);
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list li:hover { background: var(--surface-2); }
.hero-card-list li strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero-card-list li span {
  font-size: 0.79rem;
  color: var(--text-3);
  margin-top: 2px;
  display: block;
  line-height: 1.4;
}
.check-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(44, 59, 94, 0.3);
}
.check-icon svg { width: 14px; height: 14px; }

/* Hero card progress footer — suggests real product */
.hero-card-progress {
  padding: 0.9rem 1.25rem 1.05rem;
  border-top: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-card-progress-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: -0.005em;
  min-width: 110px;
}
.hero-card-progress-label strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.hero-card-progress-bar {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
html.dark .hero-card-progress-bar { background: var(--border); }
.hero-card-progress-bar::before {
  content: "";
  position: absolute;
  inset: 0 20% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  box-shadow: 0 0 10px var(--accent-ring);
}
.hero-card-progress-pct {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: right;
}
html.dark .hero-card-progress-pct { color: var(--brand-300); }

/* Checked step styling — completed feel */
.hero-card-list li.done .check-icon {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
}
.hero-card-list li.pending .check-icon {
  background: var(--surface-2);
  color: var(--text-4);
  border: 1px dashed var(--border-2);
  box-shadow: none;
}
.hero-card-list li.pending strong { color: var(--text-2); }
html.dark .hero-card-list li.pending .check-icon {
  background: var(--surface-3);
  border-color: var(--border-2);
}

.hero-card-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 0 1.25rem 1rem;
}

.hero-info-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface-2) 65%, transparent);
}

.hero-info-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.hero-info-card strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text);
}

.hero-info-card p {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TRUST STRIP — under hero
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.trust-strip {
  padding: 2.25rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset,
              0 6px 16px rgba(44, 59, 94, 0.35),
              0 2px 4px rgba(44, 59, 94, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 10px 24px rgba(44, 59, 94, 0.45),
              0 4px 10px rgba(44, 59, 94, 0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
}
.btn-lg { padding: 0.95rem 1.85rem; font-size: 1rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section { padding: 5.5rem 0; position: relative; }
.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
html.dark .section-dark { background: var(--bg-2); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
}
.section-lead {
  color: var(--text-2);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-note {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.92rem;
  line-height: 1.65;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fit-card {
  padding: 2rem;
  border-radius: var(--r-xl);
}

.fit-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.fit-icon.warning {
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold-600);
}

.fit-icon svg {
  width: 22px;
  height: 22px;
}

.fit-card h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.fit-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.fit-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-2);
  line-height: 1.6;
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ━━━ FEATURES ━━━ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  padding: 2rem 1.85rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  isolation: isolate;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.feature-step-num {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.feature-icon.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(44, 59, 94, 0.3);
}
.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.015em;
  color: var(--text);
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}
.feature-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.product-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--r-2xl);
}

.product-sidebar {
  padding: 1.25rem;
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
  border: 1px solid var(--border);
}

.product-sidebar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.product-step-list {
  display: grid;
  gap: 0.75rem;
}

.product-step-tab {
  padding: 0.85rem 0.9rem 0.85rem 3rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  color: var(--text-2);
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-step-tab::before {
  content: attr(data-flow-tab);
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-step-tab:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  color: var(--text);
}

.product-step-tab.active,
.product-step-tab[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface));
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.product-step-tab.active::before,
.product-step-tab[aria-selected="true"]::before {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 4px 10px rgba(44, 59, 94, 0.35);
}

.product-step-tab:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.product-main {
  padding: 1.25rem;
}

.product-flow-panel {
  display: none;
}

.product-flow-panel.active {
  display: block;
}

.product-head h3 {
  font-family: var(--ff-display);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.product-head p {
  margin-top: 0.85rem;
  color: var(--text-2);
  max-width: 58ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.product-card {
  padding: 1.15rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.product-card-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.product-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.product-card p {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-3);
}

/* ━━━ WORKFLOW ━━━ */
.workflow-track {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.workflow-line {
  position: absolute;
  left: 23px; top: 42px; bottom: 42px;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--accent) 0%,
    color-mix(in srgb, var(--accent) 50%, var(--border)) 40%,
    var(--border) 100%);
  border-radius: 2px;
}
.workflow-step {
  display: flex;
  gap: 1.75rem;
  padding: 1.15rem 0;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}
.workflow-step:hover .step-num {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px var(--accent-ring);
  transform: scale(1.04);
}
.workflow-line + .workflow-step .step-num {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--accent-ring);
}
.step-body {
  padding-top: 0.3rem;
}
.step-body h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
  letter-spacing: -0.015em;
}
.step-body p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ━━━ ABOUT ━━━ */
.about-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-wrap .section-lead {
  font-size: 1.1rem;
  margin-top: 1.25rem;
}
.about-quote {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.about-quote::before {
  content: "“";
  position: absolute;
  top: -0.35em;
  left: 1rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
}
.about-quote p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  font-style: italic;
  text-wrap: pretty;
}

/* ━━━ FORMS ━━━ */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}
.form-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-xs);
}
.form-chip:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.form-chip-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.form-chip span:last-child {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.package-card {
  position: relative;
  padding: 2rem 1.65rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}
.package-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--shadow-md);
}

.package-card.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 24px 60px -18px rgba(44, 59, 94, 0.28),
              0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-6px);
}
.package-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -18px rgba(44, 59, 94, 0.28),
              0 6px 18px rgba(20, 24, 42, 0.08);
}
html.dark .package-card.featured {
  box-shadow: 0 20px 50px -18px rgba(167, 182, 212, 0.22),
              0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Floating "Most common" ribbon on the featured card */
.package-card.featured::before {
  content: attr(data-ribbon);
  position: absolute;
  top: -14px;
  right: 1.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(44, 59, 94, 0.35);
}

.package-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.package-card h3 {
  margin-top: 0.8rem;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.package-price {
  margin-top: 1rem;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.package-meta {
  margin-top: 0.45rem;
  color: var(--text-3);
  font-size: 0.84rem;
}

.package-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.package-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.package-link {
  width: 100%;
  justify-content: center;
  margin-top: 1.4rem;
}

.pricing-footnote {
  max-width: 860px;
  margin: 1.5rem auto 0;
  display: grid;
  gap: 0.5rem;
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
}

.pricing-footnote strong {
  color: var(--text);
}

/* ━━━ CTA ━━━ */
.section-cta {
  padding: 4rem 0 5rem;
}
.section-cta .container {
  width: min(var(--cta-shell-width), calc(100% - (var(--container-gutter) * 2)));
}
.cta-box {
  text-align: center;
  max-width: var(--cta-shell-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-800) 70%, var(--brand-900));
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #fff;
  box-shadow: var(--shadow-xl);
}
html.dark .cta-box {
  background: linear-gradient(135deg, #0a0a0a, #111110 70%, var(--brand-950));
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(167, 182, 212, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(44, 59, 94, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  pointer-events: none;
  opacity: 0.6;
}
.cta-box h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
  position: relative;
  color: #fff;
  text-wrap: balance;
}
.cta-box p {
  color: rgba(226, 232, 240, 0.82);
  margin: 1rem auto 2.25rem;
  font-size: 1.05rem;
  max-width: 34rem;
  position: relative;
  line-height: 1.65;
  text-wrap: pretty;
}
.cta-box .btn { position: relative; }
.cta-box .btn-primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset,
              0 6px 16px rgba(0, 0, 0, 0.25);
}
.cta-box .btn-primary:hover {
  background: var(--brand-50);
  color: var(--brand-800);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset,
              0 10px 24px rgba(0, 0, 0, 0.3);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
}

.btn-light-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUALIFYING QUESTIONS MODAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.qualifier-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
html.dark .qualifier-overlay {
  background: rgba(0, 0, 0, 0.7);
}
.qualifier-overlay.open {
  opacity: 1;
  visibility: visible;
}
.qualifier-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.qualifier-overlay.open .qualifier-modal {
  transform: translateY(0) scale(1);
}
.qualifier-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-3);
  background: transparent;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.qualifier-close:hover {
  color: var(--text);
  background: var(--surface-2);
}
.qualifier-title {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.qualifier-intro {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.qualifier-progress {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}
.qualifier-questions {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.qualifier-q-text {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  line-height: 1.45;
}
.qualifier-choices {
  display: flex;
  gap: 0.55rem;
}
.qualifier-choices-wide {
  flex-wrap: wrap;
}
.qualifier-choices-wide .qualifier-btn {
  min-width: 140px;
}
.qualifier-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.1s;
}
.qualifier-btn:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-2);
}
.qualifier-btn.selected {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--accent-ring);
}
.qualifier-result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.qualifier-result-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.qualifier-result-heading {
  margin-top: 0.9rem;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.qualifier-result-text {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 0.6rem;
  line-height: 1.65;
}
.qualifier-result-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.qualifier-result-note {
  margin-top: 0.9rem;
  color: var(--text-3);
  font-size: 0.82rem;
  line-height: 1.55;
}
.qualifier-result.is-warning .qualifier-result-badge {
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold-600);
}
.qualifier-result.is-caution .qualifier-result-badge {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-600);
}
.qualifier-result.is-ready .qualifier-result-badge {
  background: var(--accent-soft);
  color: var(--brand-700);
}
.qualifier-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.qualifier-secondary-btn {
  justify-content: center;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-right: 3rem;
  transition: color 0.15s ease;
}
.faq-item summary:hover { color: var(--accent-hover); }
html.dark .faq-item summary:hover { color: var(--brand-300); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-ring);
  border-radius: var(--r-lg);
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(0deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
html.dark .faq-item summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8a29e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>");
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-2);
  line-height: 1.65;
}
.faq-item[open] p {
  animation: faq-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 2rem;
  background: var(--bg-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  max-width: 1100px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-meta {
  text-align: right;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  opacity: 0.85;
  max-width: 28rem;
  margin-left: auto;
  line-height: 1.55;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: none;
  }
  .hero-visual {
    width: min(100%, 38rem);
    margin-inline: auto;
  }
  .hero-card { transform: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .product-shell {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .package-grid { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand, .footer-links { justify-content: center; }
  .footer-meta { text-align: center; }
  .footer-disclaimer { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.75rem; }
  .section { padding: 3.75rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-cta { padding: 3rem 0 3.5rem; }
  .site-footer { padding: 2rem 0 1.75rem; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
    box-shadow: var(--shadow-lg);
  }
  nav.open { display: flex; }
  nav a { padding: 0.85rem 0.9rem; width: 100%; border-radius: var(--r-sm); }
  .nav-cta-group {
    width: 100%;
    margin: 0.35rem 0 0;
    gap: 0.5rem;
  }
  .cta-link {
    text-align: center;
    margin: 0 !important;
    justify-content: center;
    display: flex;
    flex: 1;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    background: var(--surface-2);
  }

  .menu-toggle { display: flex; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-card-columns { grid-template-columns: 1fr; }

  .hero-meta { gap: 1rem; }

  .about-quote { padding: 1.5rem 1.75rem; }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .qualifier-result-actions {
    flex-direction: column;
  }
  .qualifier-start-btn,
  .qualifier-secondary-btn {
    width: 100%;
  }

  .hero-card-progress-label { min-width: 92px; }
  .hero-card-progress { padding: 0.8rem 1rem 0.95rem; gap: 0.7rem; }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITIES — decorative
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Film grain — tactile depth on hero/CTA */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
}
html.dark .grain::before { opacity: 0.3; mix-blend-mode: overlay; }
.grain > .container { position: relative; }

/* Section rule — hairline with soft centered glow */
.section-rule {
  height: 1px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(90deg,
    transparent,
    var(--border-2) 20%,
    var(--border-2) 80%,
    transparent);
}
.section-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 72px;
  height: 9px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(2px);
}

/* Slow spin + gentle float */
@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.slow-spin { animation: slow-spin 40s linear infinite; transform-origin: center; }

@keyframes float-y {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -12px); }
}
.float-slow { animation: float-y 9s ease-in-out infinite; }

/* Floating hero orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(42px);
}
.hero-orb.one {
  top: 12%; left: 6%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.18), transparent 70%);
}
.hero-orb.two {
  bottom: 8%; right: 3%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(44, 59, 94, 0.18), transparent 70%);
  animation-delay: -4s;
}
html.dark .hero-orb.one {
  background: radial-gradient(circle, rgba(201, 162, 74, 0.14), transparent 70%);
}
html.dark .hero-orb.two {
  background: radial-gradient(circle, rgba(167, 182, 212, 0.16), transparent 70%);
}
