/* ==========================================================================
   Diverse Commerce — main stylesheet
   Mobile-first. Organised: tokens → reset → utilities → layout → components.
   Colours use CSS custom properties so the whole theme is tunable in one place.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------------------- */
:root {
  /* Brand */
  --violet:       #7c34f0;
  --violet-600:   #6d28d9;
  --violet-700:   #58189e;
  --violet-deep:  #2c0f66;
  --lime:         #c6f24e;
  --lime-bright:  #d8ff5e;

  /* Neutrals */
  --ink:      #100a1c;   /* darkest bg          */
  --ink-2:    #17102a;   /* dark card           */
  --ink-3:    #1e1633;
  --paper:    #ffffff;   /* white sections      */
  --mist:     #f5f2fb;   /* light lavender bg   */
  --mist-2:   #ece6f7;
  --line:     #e8e3f3;   /* hairline borders    */

  /* Text */
  --text:        #16101f;
  --muted:       #6a6379;
  --on-dark:     #ffffff;
  --on-dark-dim: rgba(255, 255, 255, 0.72);

  /* Accent text tints */
  --orange: #ff8a3d;

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28, 12, 60, 0.06);
  --shadow:    0 12px 32px rgba(28, 12, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(28, 12, 60, 0.18);

  /* Typography */
  --font-display: "Archivo Black", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* offset for sticky header on anchor jumps */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Utilities
   ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--violet); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.text-accent { color: var(--lime); }
.text-purple { color: var(--violet); }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--check { width: 18px; height: 18px; color: var(--lime); }
.icon--star { width: 18px; height: 18px; color: var(--lime); }

/* Eyebrow pill */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--mist-2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.eyebrow--onDark { color: var(--lime); background: rgba(255, 255, 255, 0.08); }
.eyebrow--center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Buttons
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--lime);
  color: #14200a;
  box-shadow: 0 8px 22px rgba(198, 242, 78, 0.35);
}
.btn--primary:hover { background: var(--lime-bright); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Violet fill — used by the nav CTA in the mockup (distinct from green hero CTAs) */
.btn--violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 52, 240, 0.35);
}
.btn--violet:hover { background: var(--violet-600); }

/* Ghost button on light backgrounds */
.section--light .btn--ghost,
.section--muted .btn--ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 72px;
}

/* Three-part layout: brand (1fr) | centered links (auto) | CTA (1fr) */
.brand { display: inline-flex; align-items: center; flex: 1 1 0; color: var(--text); }
.brand__logo { height: 28px; width: auto; }
.brand--footer .brand__logo { height: 32px; }

.primary-nav { display: flex; align-items: center; justify-content: center; }
.nav-cta { flex: 1 1 0; display: flex; justify-content: flex-end; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu__cta-wrap { display: none; } /* desktop uses the standalone .nav-cta */
.nav-menu__link {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.nav-menu__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--violet);
  transition: width 0.25s var(--ease);
}
.nav-menu__link:hover { color: var(--violet); }
.nav-menu__link:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute; left: 10px;
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .brand { flex: 1 1 auto; }
  .nav-toggle { display: block; z-index: 120; margin-left: auto; }
  .nav-cta { display: none; }               /* CTA moves into the dropdown */
  .primary-nav { position: static; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu__link { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav-menu__cta-wrap { display: block; border: 0 !important; margin-top: 1rem; }
  .nav-menu__cta-wrap .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Section scaffolding
   ----------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--light  { background: var(--paper); }
.section--muted  { background: var(--mist); }
.section--dark   { background: var(--ink); color: #fff; }
.section--purple {
  background: linear-gradient(135deg, var(--violet-700) 0%, var(--violet) 55%, var(--violet-600) 100%);
  color: #fff;
  overflow: hidden;
}

.section__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section__title--onDark { color: #fff; }

.section__lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.section__head:not(.section__head--left) .section__lead { margin-inline: auto; }
.section__lead--onDark { color: var(--on-dark-dim); }

/* --------------------------------------------------------------------------
   7. Hero
   ----------------------------------------------------------------------- */
/* Full-bleed dark hero. */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}
/* Banner artwork: cover the section, anchored to the right where the art sits */
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 82% center;
  z-index: -2;
}
/* Scrim keeps headline text legible over the artwork on every breakpoint */
.hero__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(16,10,28,0.94) 42%, rgba(16,10,28,0.55) 68%, rgba(16,10,28,0.06) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(16,10,28,0) 28%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.hero__content { max-width: 940px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero__lead {
  color: var(--on-dark-dim);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
.trust-list li { display: inline-flex; align-items: center; gap: 0.5rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

.hero__scarcity {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.9rem; color: #ff6b6b; font-weight: 600;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #ff5b5b;
  box-shadow: 0 0 0 0 rgba(255, 91, 91, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 91, 91, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 91, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 91, 0); }
}

/* Stat bar — full-width row anchored to the bottom of the framed shell,
   separated from the hero by a hairline, thin dividers between items. */
.stat-bar {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.10);   /* shows through gaps as divider lines */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-bar__item { background: var(--ink); padding: 1.6rem 1.25rem; text-align: center; }
.stat-bar__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: #fff;
  line-height: 1;
}
.stat-bar__item--accent .stat-bar__value { color: var(--lime); }
.stat-bar__label { margin-top: 0.45rem; font-size: 0.82rem; color: var(--on-dark-dim); }

/* --------------------------------------------------------------------------
   8. Cards (model + services)
   ----------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card--flat { box-shadow: none; }
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--violet-600));
  color: #fff;
  margin-bottom: 1.25rem;
}
.card__icon--sm { width: 46px; height: 46px; border-radius: 12px; }
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.card__title--sm { font-size: 1.08rem; }
.card__text { color: var(--muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   9. Process (purple band)
   ----------------------------------------------------------------------- */
.section--purple::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 120%, rgba(198, 242, 78, 0.18), transparent 60%);
  pointer-events: none;
}
.step-grid {
  position: relative; z-index: 1;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.step {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12); }
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
  margin-bottom: 0.75rem;
}
.step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.step__text { color: var(--on-dark-dim); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   10. Timeline
   ----------------------------------------------------------------------- */
.timeline { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.timeline__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.timeline__item--purple { border-top-color: var(--violet); }
.timeline__item--green  { border-top-color: #4bb543; }
.timeline__item--orange { border-top-color: var(--orange); }
.timeline__label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem;
}
.timeline__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.timeline__text { color: var(--muted); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   11. Results (mini stats + testimonial)
   ----------------------------------------------------------------------- */
.results-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.results-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mini-stat {
  border-radius: var(--r);
  padding: 1.5rem;
  color: #fff;
}
.mini-stat--purple { background: linear-gradient(135deg, var(--violet), var(--violet-600)); }
.mini-stat--green  { background: linear-gradient(135deg, #1d1a10, #2b3312); border: 1px solid rgba(198,242,78,.4); }
.mini-stat--green .mini-stat__value { color: var(--lime); }
.mini-stat__value { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); }
.mini-stat__label { display: block; margin-top: 0.35rem; font-size: 0.82rem; opacity: 0.85; }

.quote-card {
  margin: 0;
  background: linear-gradient(160deg, #1a1330, #0f0a1e);
  border: 1px solid rgba(198, 242, 78, 0.25);
  border-radius: var(--r-lg);
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.22), transparent 70%);
}
.quote-card__stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.quote-card__text p { font-size: 1.15rem; line-height: 1.5; font-weight: 500; }
.quote-card__author { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; }
.quote-card__avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: #14200a; font-weight: 800;
}
.quote-card__author strong { display: block; }
.quote-card__author em { color: var(--on-dark-dim); font-style: normal; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   12. Independence split panels
   ----------------------------------------------------------------------- */
.split-panels { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.panel { border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem); color: #fff; }
.panel--dark   { background: linear-gradient(160deg, #1c1436, #120c24); }
.panel--darker { background: linear-gradient(160deg, #0f0a1e, #060410); border: 1px solid rgba(255,255,255,.06); }
.panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.05; text-transform: uppercase;
  margin-bottom: 1rem;
}
.panel__text { color: var(--on-dark-dim); margin-bottom: 1.5rem; }
.panel__list { display: grid; gap: 0.85rem 1.5rem; }
.panel__list li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 0.95rem; }
@media (min-width: 560px) { .panel__list { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   13. FAQ accordion
   ----------------------------------------------------------------------- */
.accordion { display: grid; gap: 0.85rem; }
.accordion__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.accordion__item:hover { border-color: #d6cef0; }
.accordion__heading { margin: 0; }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem; font-weight: 600; text-align: left;
  color: var(--text);
}
.accordion__plus { color: var(--violet); transition: transform 0.3s var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__plus { transform: rotate(135deg); }
.accordion__panel {
  padding: 0 1.5rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}
.accordion__panel[hidden] { display: block; } /* JS drives height; keep in flow */
.accordion__panel.is-open { padding-bottom: 1.4rem; }
.accordion__answer { color: var(--muted); }

/* --------------------------------------------------------------------------
   14. CTA band
   ----------------------------------------------------------------------- */
.section--cta {
  background: linear-gradient(135deg, var(--violet-deep), var(--violet) 70%);
  color: #fff; text-align: center; overflow: hidden;
}
.cta__glow {
  position: absolute; left: 50%; top: 30%; transform: translateX(-50%);
  width: 600px; max-width: 90%; height: 300px;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.22), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.2vw, 3.9rem);
  line-height: 1.03; text-transform: uppercase; margin-bottom: 1.25rem;
}
.cta__lead { color: var(--on-dark-dim); font-size: 1.1rem; margin-bottom: 2rem; max-width: 46ch; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* --------------------------------------------------------------------------
   15. Page hero (inner pages)
   ----------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(124, 52, 240, 0.5), transparent 60%),
    var(--ink);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1; text-transform: uppercase;
  margin: 0.5rem 0 1rem;
}
.page-hero__lead { color: var(--on-dark-dim); font-size: 1.1rem; max-width: 55ch; }

.breadcrumb ol { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--on-dark-dim); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a:hover { color: var(--lime); }

/* --------------------------------------------------------------------------
   16. Forms
   ----------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.form__group { display: grid; gap: 0.4rem; }
.form__label { font-weight: 600; font-size: 0.9rem; }
.req { color: #e0453b; }
.form__input {
  width: 100%;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form__input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 52, 240, 0.15);
}
.form__input[aria-invalid="true"], .form__input.is-invalid { border-color: #e0453b; }
.form__error { color: #c9362c; font-size: 0.85rem; }
.form__note { color: var(--muted); font-size: 0.85rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.25rem; border-radius: var(--r); margin-bottom: 1.5rem; }
.alert--success { background: #eafbe7; border: 1px solid #b6e6ac; color: #1e5b18; }
.alert--error   { background: #fdecec; border: 1px solid #f3c0bd; color: #a5271e; }

/* --------------------------------------------------------------------------
   17. Prose (legal pages)
   ----------------------------------------------------------------------- */
.prose h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose a { color: var(--violet); text-decoration: underline; }

/* --------------------------------------------------------------------------
   18. Footer
   ----------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 1.75rem; }
.site-footer__grid {
  display: grid; gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
}
.site-footer__brand { max-width: 34ch; }
.site-footer__blurb { color: var(--on-dark-dim); margin: 1.1rem 0 0; }
.site-footer__heading {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-dim); margin-bottom: 1rem;
}
.site-footer__col ul { display: grid; gap: 0.7rem; }
.site-footer__col a { color: #fff; opacity: 0.75; font-size: 0.95rem; transition: opacity 0.2s var(--ease), color 0.2s; }
.site-footer__col a:hover { opacity: 1; color: var(--lime); }

.site-footer__bar {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem; color: var(--on-dark-dim);
}

/* Desktop: brand block on the left, three link columns grouped to the right */
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   19. Scroll-reveal animation
   ----------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Responsive — progressive enhancement upward
   ----------------------------------------------------------------------- */
@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .results-stats { gap: 1.25rem; }
}

@media (min-width: 768px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(4, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .split-panels { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero__inner { min-height: 480px; align-items: center; }
  .hero__content { max-width: 940px; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(4, 1fr); }
  .results-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .section__head--left { max-width: 820px; }
}

@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
