/* ==========================================================================
   Axion Outreach — public marketing site
   Design system: multi-environment, editorial, warm-accented
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1526;
  --navy: #0c2244;
  --navy-2: #103a70;
  --blue: #1657ff;
  --blue-600: #0f43d6;
  --blue-050: #eef3ff;
  --cyan: #10c4e6;
  --coral: #ff6a3d;
  --coral-600: #f2521f;
  --amber: #ffb23e;
  --gold: #f5a524;
  --sand: #f7f2ea;
  --sand-2: #efe6d8;
  --cloud: #eef3fb;
  --paper: #ffffff;
  --text: #0d1b2e;
  --muted: #56657d;
  --muted-2: #7c8aa0;
  --line: rgba(12, 34, 68, 0.10);
  --line-2: rgba(12, 34, 68, 0.16);
  --white-line: rgba(255, 255, 255, 0.14);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 44px);
  --header-h: 76px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 14px rgba(10, 21, 38, 0.06);
  --shadow: 0 18px 44px rgba(10, 21, 38, 0.10);
  --shadow-lg: 0 30px 70px rgba(10, 21, 38, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }

::selection { background: var(--blue); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
  font-weight: 700; font-family: var(--font-body);
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + var(--gutter) * 2); }
/* Legacy alias — keeps existing legal pages (Terms/Privacy) laid out correctly */
.container { width: 100%; max-width: calc(1000px + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; scroll-margin-top: calc(var(--header-h) + 12px); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Section environments */
.env-light { background: var(--paper); }
.env-cloud { background: linear-gradient(180deg, #f3f7fd 0%, #eaf1fb 100%); }
.env-sand  { background: var(--sand); }
.env-sand-soft { background: linear-gradient(180deg, #fbf8f3 0%, var(--sand) 100%); }
.env-dark {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(22, 87, 255, 0.30), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(16, 196, 230, 0.18), transparent 50%),
    linear-gradient(160deg, #0a1526 0%, #0c2244 60%, #0b1d3c 100%);
  color: #e8eefb;
}
.env-blue {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(16, 196, 230, 0.35), transparent 55%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
  color: #fff;
}
.env-dark h1, .env-dark h2, .env-dark h3, .env-blue h1, .env-blue h2, .env-blue h3 { color: #fff; }
.env-dark p, .env-blue p { color: rgba(255, 255, 255, 0.82); }
.env-dark .eyebrow { color: var(--cyan); }
.env-blue .eyebrow { color: #eafaff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.env-dark .lead, .env-blue .lead { color: rgba(255, 255, 255, 0.86); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--coral { color: var(--coral-600); }

.display { max-width: 16ch; }
.measure { max-width: 60ch; }
.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 650; font-size: 0.98rem; letter-spacing: 0.005em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%); color: #fff; box-shadow: 0 12px 26px rgba(22, 87, 255, 0.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(22, 87, 255, 0.40); }
.btn--coral { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-600) 100%); color: #fff; box-shadow: 0 12px 26px rgba(255, 106, 61, 0.32); }
.btn--coral:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 106, 61, 0.40); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: #14203a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--on-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); }
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.env-dark .arrow-link, .env-blue .arrow-link { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(2, 113, 172, 0.22)); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; color: var(--ink); }
.brand__tag { font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--font-body); font-weight: 550; font-size: 0.96rem; color: var(--text);
  padding: 9px 15px; border-radius: 10px; position: relative; transition: color 0.15s ease, background 0.15s ease;
}
.nav a:not(.btn):hover { color: var(--blue); background: rgba(22, 87, 255, 0.06); }
.nav a:not(.btn)[aria-current="page"] { color: var(--blue); }
.nav a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav__spacer { width: 6px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: #fff; border-radius: 12px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero shells ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(52px, 8vw, 104px) 0 clamp(56px, 8vw, 108px);
}
.hero__center { text-align: center; max-width: 60ch; margin: 0 auto; padding: clamp(64px, 9vw, 128px) 0; }
.hero__center .eyebrow { justify-content: center; }
.hero__center .btn-row { justify-content: center; }
.hero p.lead { margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }

.credit-line { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.credit-line::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.16); }
.env-dark .credit-line, .env-blue .credit-line { color: rgba(255, 255, 255, 0.72); }

/* Media */
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cloud); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.media:hover img { transform: scale(1.04); }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }
.media--band { aspect-ratio: auto; height: 100%; }
.media__badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(10, 21, 38, 0.62); backdrop-filter: blur(8px); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); padding: 16px 18px;
}
.media__badge strong { font-family: var(--font-display); font-weight: 700; display: block; font-size: 1rem; }
.media__badge span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

.hero-visual-stack { position: relative; }
.hero-visual-stack .media { aspect-ratio: 4 / 5; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 16px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.float-card--tl { top: 22px; left: -22px; }
.float-card--br { bottom: 26px; right: -22px; }
.float-card__dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.float-card__dot svg { width: 20px; height: 20px; }
.float-card__t { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.15; }
.float-card__s { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--muted); line-height: 1.2; }

/* ---------- Section head ---------- */
.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }
.env-dark .section-head p, .env-blue .section-head p { color: rgba(255, 255, 255, 0.82); }

/* ---------- Split (editorial) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--40 { grid-template-columns: 0.85fr 1.15fr; }
.split--60 { grid-template-columns: 1.15fr 0.85fr; }
.split__media-tall .media { aspect-ratio: 4 / 5; }
.split.reverse > :first-child { order: 2; }

/* ---------- Feature list ---------- */
.feature-list { display: grid; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 40px; }
.feature-list li h4 { margin: 0 0 3px; }
.feature-list li p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.feature-list li .ic { position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-050); color: var(--blue); }
.feature-list li .ic svg { width: 16px; height: 16px; }
.env-dark .feature-list li p { color: rgba(255, 255, 255, 0.72); }
.env-dark .feature-list li .ic { background: rgba(255, 255, 255, 0.10); color: var(--cyan); }

/* ---------- Cards (used selectively) ---------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(22, 87, 255, 0.3); }
.card__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.card__ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.ic-blue { background: linear-gradient(135deg, var(--blue), var(--blue-600)); }
.ic-cyan { background: linear-gradient(135deg, var(--cyan), #0a8fb0); }
.ic-coral { background: linear-gradient(135deg, var(--coral), var(--coral-600)); }
.ic-amber { background: linear-gradient(135deg, var(--amber), var(--gold)); }
.ic-navy { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }

/* Numbered mini card (services preview) */
.svc-list { display: grid; gap: 2px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 26px; background: #fff; transition: background 0.15s ease; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:hover { background: var(--blue-050); }
.svc-row__n { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 1.05rem; width: 2ch; }
.svc-row__t { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.svc-row__d { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 3px; }
.svc-row__chev { color: var(--muted-2); }

/* ---------- Journey / timeline ---------- */
.journey { display: grid; gap: 0; position: relative; }
.journey__step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
.journey__step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 56px; bottom: -4px; width: 2px; background: linear-gradient(var(--blue), rgba(22, 87, 255, 0.15)); }
.journey__num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-600)); box-shadow: 0 12px 24px rgba(22, 87, 255, 0.28); z-index: 1; }
.journey__step:nth-child(even) .journey__num { background: linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: 0 12px 24px rgba(12, 34, 68, 0.28); }
.journey__body { padding-top: 8px; }
.journey__body h3 { margin-bottom: 8px; }
.journey__body p { margin: 0; color: var(--muted); }
.journey__meta { display: inline-flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.chip { font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--cloud); color: var(--navy); border: 1px solid var(--line); }
.chip--client { background: #fff5ef; color: var(--coral-600); border-color: rgba(255, 106, 61, 0.24); }
.chip--axion { background: var(--blue-050); color: var(--blue-600); border-color: rgba(22, 87, 255, 0.2); }

/* ---------- Stat strip (qualitative, not fabricated) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.pillar { padding: 4px 0; }
.pillar__k { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.pillar__k .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.pillar p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.env-dark .pillar__k { color: #fff; }
.env-dark .pillar p { color: rgba(255, 255, 255, 0.74); }

/* ---------- Quote / editorial callout ---------- */
.pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; }

/* ---------- Band with image ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 460px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.band__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.band__media { position: relative; min-height: 300px; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA panel ---------- */
.cta-panel { border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-panel .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field label .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fdfdfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 87, 255, 0.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral-600); box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.12); }
.field .err { color: var(--coral-600); font-size: 0.82rem; font-weight: 600; min-height: 0; display: none; }
.field .err.show { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.consent label { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status--ok { background: #eafaf0; color: #0a7d43; border: 1px solid rgba(10, 125, 67, 0.24); }
.form-status--err { background: #fdeeea; color: var(--coral-600); border: 1px solid rgba(242, 82, 31, 0.24); }
.btn .spinner { width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn__label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-panel { text-align: center; padding: clamp(30px, 5vw, 56px); }
.success-panel .check { width: 72px; height: 72px; border-radius: 50%; background: #eafaf0; color: #0a7d43; display: grid; place-items: center; margin: 0 auto 20px; }
.success-panel .check svg { width: 36px; height: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__word { color: #fff; }
.footer-brand .brand__tag { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { max-width: 34ch; font-size: 0.96rem; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col address { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.96rem; margin-bottom: 11px; font-style: normal; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(28px, 3vw, 40px); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-meta { margin-top: 12px; color: var(--muted); font-weight: 500; }
.legal-body { padding: clamp(36px, 5vw, 60px) 0 clamp(64px, 8vw, 96px); }
.legal-body h2 { margin: 40px 0 12px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal-body p { margin: 0 0 12px; max-width: 74ch; }
.legal-body ul { margin: 0 0 12px; padding-left: 1.2rem; max-width: 74ch; }
.legal-body li { margin-bottom: 6px; }
.sms-callout { margin: 16px 0; padding: 18px 22px; border: 1px solid var(--line-2); border-left: 3px solid var(--blue); border-radius: 12px; background: var(--cloud); max-width: 74ch; }
.sms-callout p:last-child { margin-bottom: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-nav a { font-weight: 650; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.hide { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: clamp(40px, 8vw, 60px); }
  .hero-visual-stack { max-width: 460px; margin: 0 auto; width: 100%; }
  .split, .split--40, .split--60 { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .band { grid-template-columns: 1fr; }
  .band__media { min-height: 280px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .float-card--tl { left: 10px; }
  .float-card--br { right: 10px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
    padding: 16px var(--gutter) 26px; border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav a:not(.btn)[aria-current="page"]::after { display: none; }
  .nav a:not(.btn)[aria-current="page"] { background: var(--blue-050); }
  .nav .btn { width: 100%; margin-top: 8px; }
  .nav__spacer { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .hero__center { text-align: left; }
  .hero__center .eyebrow, .hero__center .btn-row { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand__tag { display: none; }
  body { font-size: 16px; }
}
