/* ==========================================================================
   RadarNet · Marketing Landing — Production Stylesheet
   Design System: Variant D. Source of truth = ../assets/tokens.css.
   This sheet maps the page's legacy aliases (--c-*, --s-*, --r-*, --shadow-N)
   onto the DS tokens (--color-*, --spacing-*, --rounded-*, --shadow-eN) so
   every value resolves to a DS token — no hand-picked hex/rgba on the page.
   --------------------------------------------------------------------------
   Sections:
   1.  Alias layer (spacing, radius, shadow, type, timing → DS tokens)
   2.  Color roles (light + dark) mapped to DS tokens
   3.  Reset / base
   4.  Layout (container, section, grid)
   5.  Buttons
   6.  Topbar / nav
   7.  Hero + radar scope
   8.  Problem cards
   9.  Solution (dashboard mock + pillars)
   10. How-it-works timeline
   11. Client logo strip
   13. FAQ accordion
   14. CTA banner / form
   15. Footer (slim)
   16. Utilities, motion, accessibility
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. ALIAS LAYER → DS TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* spacing — alias onto DS --spacing-* (base-4). Intermediate steps derive
     from DS values via calc() so nothing is a magic number. */
  --s-1: var(--spacing-xs);                 /* 4 */
  --s-2: var(--spacing-sm);                 /* 8 */
  --s-3: calc(var(--spacing-md) * 0.75);    /* 12 */
  --s-4: var(--spacing-md);                 /* 16 */
  --s-5: calc(var(--spacing-md) * 1.25);    /* 20 */
  --s-6: var(--spacing-lg);                 /* 24 */
  --s-8: calc(var(--spacing-xl) * 0.8);     /* 32 */
  --s-10: var(--spacing-xl);                /* 40 */
  --s-12: calc(var(--spacing-xl) * 1.2);    /* 48 */
  --s-16: var(--spacing-2xl);               /* 64 */
  --s-20: calc(var(--spacing-2xl) * 1.25);  /* 80 */
  --s-24: var(--spacing-3xl);               /* 96 */
  --s-32: calc(var(--spacing-3xl) * 1.333); /* 128 */

  /* radius — alias onto DS --rounded-* */
  --r-sm: var(--rounded-xs);    /* 4 */
  --r-md: var(--rounded-sm);    /* 8 */
  --r-lg: var(--rounded-md);    /* fluid ~10-14 */
  --r-xl: var(--rounded-lg);    /* fluid ~16-22 */
  --r-2xl: var(--rounded-xl);   /* fluid ~22-32 */
  --r-pill: var(--rounded-full);

  /* shadows — alias onto DS plum-tinted ladder */
  --shadow-1: var(--shadow-e1);
  --shadow-2: var(--shadow-e2);
  --shadow-3: var(--shadow-e3);
  --shadow-4: var(--shadow-e4);
  --shadow-5: var(--shadow-e5);

  /* type — DS declares font families; Heebo display+body, JetBrains Mono mono */
  --f-sans:    var(--font-body), ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-display: var(--font-display), ui-sans-serif, system-ui, sans-serif;
  --f-mono:    var(--font-mono), ui-monospace, monospace;
  --f-he:      var(--font-body), ui-sans-serif, system-ui, sans-serif;

  /* timing */
  --ease: cubic-bezier(.2,.7,.25,1);
  --t-1: 150ms; --t-2: 220ms; --t-3: 320ms; --t-4: 480ms;

  /* type-scale → rem, so the a11y font-resize control (which scales the
     root font-size via --a11y-font-scale) actually grows/shrinks text.
     Overrides the px values inherited from tokens.css for the landing page.
     16px root: 1rem = 16px. Visual sizes identical at scale = 1. */
  --text-h1: 2.5rem;        /* 40px */
  --text-h2: 1.75rem;       /* 28px */
  --text-h3: 1.375rem;      /* 22px */
  --text-body-lg: 1.125rem; /* 18px */
  --text-body: 1rem;        /* 16px */
  --text-label: 0.8125rem;  /* 13px */
  --text-eyebrow: 0.75rem;  /* 12px */
  --text-caption: 0.75rem;  /* 12px */
}

/* -------------------------------------------------------------------------
   2. COLOR ROLES → DS TOKENS (light default)
   ------------------------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  --c-bg: var(--color-neutral);            /* signed green canvas */
  --c-surface: var(--color-surface);       /* #fff card */
  --c-surface-2: var(--color-surface-lavender);
  --c-ink: var(--color-ink);
  --c-fg: var(--color-text);
  --c-muted-fg: var(--color-muted);
  --c-muted: var(--color-surface-lavender);
  --c-border: var(--color-border);

  --c-primary: var(--color-primary);
  --c-primary-hover: var(--purple-600);
  --c-on-primary: var(--color-on-accent);
  --c-primary-soft: var(--purple-100);

  --c-accent: var(--color-mint-600);       /* AA green text */
  --c-accent-hover: var(--color-success);
  --c-on-accent: var(--color-on-accent);
  --c-accent-soft: var(--color-mint);

  --c-warn: var(--color-warn);
  --c-warn-soft: var(--color-warn-50);
  --c-danger: var(--color-error);
  --c-danger-soft: var(--color-error-50);
  --c-info: var(--color-primary);
  --c-info-soft: var(--color-surface-lavender);

  --c-ring: rgba(74, 53, 125, 0.5);        /* mirrors DS --shadow-focus-ring */

  --hero-grad:
    radial-gradient(60% 60% at 30% 30%, rgba(74,53,125,.12), transparent 60%),
    radial-gradient(50% 50% at 80% 70%, rgba(120,170,90,.12), transparent 60%);
}

/* DARK MODE — derived from DS plum ramp */
:root[data-theme="dark"] {
  --c-bg: #14102a;
  --c-surface: #1e1840;
  --c-surface-2: #241d4d;
  --c-ink: #f5f2ff;
  --c-fg: #e7e1f4;
  --c-muted-fg: #b3a9d6;
  --c-muted: #2a2350;
  --c-border: #352c63;

  --c-primary: var(--purple-300);
  --c-primary-hover: var(--purple-400);
  --c-on-primary: #14102a;
  --c-primary-soft: var(--purple-800);

  --c-accent: var(--color-mint);
  --c-accent-hover: #a0d9a0;
  --c-on-accent: #14102a;
  --c-accent-soft: #1e3a2a;

  --c-ring: rgba(165, 147, 210, 0.55);

  --hero-grad:
    radial-gradient(60% 60% at 30% 30%, rgba(123,99,181,.30), transparent 60%),
    radial-gradient(50% 50% at 80% 70%, rgba(120,170,90,.18), transparent 60%);
}

/* -------------------------------------------------------------------------
   3. RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: calc(100% * var(--a11y-font-scale, 1));
}
body {
  margin: 0;
  font-family: var(--f-he);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--t-3) var(--ease), color var(--t-3) var(--ease);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-he);
  color: var(--c-ink);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
h2 em, h1 em { color: var(--c-primary); font-style: normal; }
p  { margin: 0 0 var(--s-4); color: var(--c-fg); }
em { font-style: normal; color: var(--c-primary); }
strong { font-weight: 700; color: var(--c-ink); }
.mono { font-family: var(--f-mono); }

/* focus rings — WCAG */
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--c-ring);
  outline-offset: 2px;
  border-radius: inherit;
}

::selection { background: var(--c-primary); color: var(--c-on-primary); }

/* skip-link */
.skip-link {
  position: absolute; inset-inline-start: var(--s-4); top: var(--s-4);
  padding: 10px 16px; background: var(--c-primary); color: var(--c-on-primary);
  border-radius: var(--r-pill); font-weight: 700;
  transform: translateY(-200%); transition: transform var(--t-2) var(--ease);
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

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

/* -------------------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------------------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.container--narrow { max-width: 920px; }
.container--text { max-width: 720px; }

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--alt { background: var(--c-surface-2); }
.section--narrative {
  background: linear-gradient(180deg, var(--c-bg), var(--c-surface-2));
}
.section--ink {
  background: var(--c-ink);
  color: var(--color-surface);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #FFFFFF; }
.section--ink p { color: rgba(248,250,252,.85); }

.section-head {
  max-width: 760px; margin: 0 auto var(--s-12); text-align: center;
}
.section-sub {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: var(--c-muted-fg);
  line-height: 1.6;
}

/* eyebrow + kicker */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--c-primary-soft);
  color: var(--purple-700);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: var(--text-eyebrow); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
[data-theme="dark"] .eyebrow { color: var(--purple-200); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface));
  color: var(--c-primary);
  border-radius: var(--r-pill);
  font-size: 0.8125rem; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--c-primary) 25%, transparent);
}
.kicker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 25%, transparent);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-accent) 35%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--c-accent) 0%, transparent); }
}

.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-surface);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-border);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-weight: 700; font-size: 0.9375rem; line-height: 1; letter-spacing: -.005em;
  font-family: var(--f-he);
  transition: transform var(--t-1) var(--ease),
              background var(--t-1) var(--ease),
              border-color var(--t-1) var(--ease),
              box-shadow var(--t-1) var(--ease);
  cursor: pointer; position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn__arrow {
  display: inline-flex; transform: translateX(0);
  transition: transform var(--t-1) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1) translateX(0); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }

.btn--primary {
  --btn-bg: var(--c-primary); --btn-fg: var(--c-on-primary); --btn-bd: var(--c-primary);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--c-primary) 32%, transparent);
}
.btn--primary:hover {
  --btn-bg: var(--c-primary-hover); --btn-bd: var(--c-primary-hover);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--c-primary) 40%, transparent);
}

.btn--accent {
  --btn-bg: var(--c-accent); --btn-fg: var(--c-on-accent); --btn-bd: var(--c-accent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--c-accent) 35%, transparent);
}
.btn--accent:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-border);
}
.btn--ghost:hover { --btn-bg: var(--c-muted); }

.btn--soft {
  --btn-bg: var(--c-primary-soft); --btn-fg: var(--c-primary); --btn-bd: transparent;
}
.btn--soft:hover { --btn-bg: color-mix(in srgb, var(--c-primary) 15%, var(--c-surface)); }

.btn--link {
  --btn-bg: transparent; --btn-bd: transparent;
  --btn-fg: var(--c-primary);
  padding: 4px 0; box-shadow: none;
}
.btn--link:hover { box-shadow: none; transform: none; text-decoration: underline; text-underline-offset: 4px; }

.btn--icon {
  width: 40px; height: 40px; padding: 0; justify-content: center;
}

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* -------------------------------------------------------------------------
   6. TOPBAR
   ------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: background var(--t-2) var(--ease),
              border-color var(--t-2) var(--ease),
              backdrop-filter var(--t-2) var(--ease);
}
.topbar.is-scrolled {
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--c-surface) 80%, transparent);
  border-bottom-color: var(--c-border);
}
.topbar__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: var(--s-6);
}

/* brand — signed lockup asset (delivery/brand/logo) */
.brand { display: inline-flex; align-items: center; color: var(--c-ink); }
.brand__logo { display: block; height: 32px; width: auto; }
.footer__inner .brand__logo { height: 36px; }
/* theme-aware lockup swap — dark knockout for dark theme legibility on #14102a */
.brand__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark { display: block; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-hover));
  color: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.brand__mark svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
}
.brand__text small { color: var(--c-muted-fg); font-size: 0.6875rem; font-weight: 500; }

/* nav */
.topnav { display: flex; gap: 4px; justify-content: center; }
.topnav a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 0.875rem; font-weight: 500; color: var(--c-muted-fg);
  transition: background var(--t-1) var(--ease), color var(--t-1) var(--ease);
}
.topnav a:hover { background: var(--c-muted); color: var(--c-ink); }
.topnav a.is-active { background: var(--c-primary-soft); color: var(--c-primary); }

.topbar__controls { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-muted); color: var(--c-ink);
  transition: background var(--t-1), transform var(--t-1);
  border: 1px solid transparent;
}
.icon-btn:hover { background: var(--c-primary-soft); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* mobile menu button */
.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .topnav { display: none; }
  .menu-toggle { display: grid; }
  .topbar__controls .btn--primary { display: none; }
  .topbar__inner { grid-template-columns: auto 1fr auto; }

  .mobile-menu {
    display: block;
    position: fixed; inset: 64px 0 0 0;
    background: var(--c-surface);
    transform: translateY(-100%);
    transition: transform var(--t-3) var(--ease);
    z-index: 99;
    border-top: 1px solid var(--c-border);
    padding: var(--s-8) clamp(20px, 4vw, 48px);
    overflow-y: auto;
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu a {
    display: block; padding: var(--s-4) 0;
    font-size: 1.125rem; font-weight: 600; color: var(--c-ink);
    border-bottom: 1px solid var(--c-border);
  }
  .mobile-menu .btn { margin-top: var(--s-6); width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 120px);
  min-height: clamp(620px, 92vh, 920px);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-grad);
}
.hero__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, color-mix(in srgb, var(--c-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, color-mix(in srgb, var(--c-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 64px 64px;
  mask: radial-gradient(ellipse 100% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse 100% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  filter: blur(100px); opacity: .55;
}
.hero__glow--a { background: var(--c-primary); top: 8%; inset-inline-start: 6%; }
.hero__glow--b { background: var(--c-accent); top: 50%; inset-inline-end: 4%; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-10); }
  .hero__scope { order: 2; max-width: 460px; margin: 0 auto; }
}

.hero__copy h1 {
  font-family: var(--f-he); margin: var(--s-4) 0 var(--s-5);
  font-weight: 800;
}
.hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--c-muted-fg);
  margin-bottom: var(--s-8);
  max-width: 540px;
}
.hero__sub {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.6;
  color: var(--c-fg); /* primary text — was muted, bumped for perceptual contrast (uiux) */
  margin-bottom: var(--s-8);
  max-width: 560px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-bottom: var(--s-8);
}

/* hero feature chips (replaces trust metrics) */
.hero__features {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
  max-width: 600px;
  list-style: none; margin: 0;
}
.feature-chip {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border: 1px solid color-mix(in srgb, var(--c-primary) 22%, transparent);
  border-radius: var(--r-pill);
  font-family: var(--f-he);
  font-size: 0.8125rem; font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}

/* hero radar scope (replaces Israel map) */
.hero__scope {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-inline-start: auto;
  filter: drop-shadow(0 30px 60px rgba(74, 53, 125, 0.15));
}
.scope { position: relative; width: 100%; height: 100%; }
.scope__svg { width: 100%; height: 100%; display: block; }

/* outer glow ring around the scope */
.scope::before {
  content: "";
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: var(--glow-radial);
  pointer-events: none;
}

/* rotating sweep wedge */
.scope__sweep {
  transform-origin: 200px 200px;
  animation: scope-rotate 7s linear infinite;
}
@keyframes scope-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* pulsing blips */
.scope-blip__core { fill: var(--color-primary); }
.scope-blip__halo {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: scope-blip-pulse 2.6s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes scope-blip-pulse {
  0%   { r: 5; opacity: .85; }
  100% { r: 24; opacity: 0; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-surface); color: var(--c-muted-fg);
  border: 1px solid var(--c-border);
  animation: bounce 2s var(--ease) infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(6px); }
}

/* -------------------------------------------------------------------------
   8. PROBLEM CARDS
   ------------------------------------------------------------------------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 1023px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), border-color var(--t-2) var(--ease);
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute; top: 0; inset-inline-end: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--c-danger) 14%, transparent), transparent 60%);
  pointer-events: none;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: color-mix(in srgb, var(--c-danger) 35%, var(--c-border));
}
.problem-card__num {
  font-family: var(--f-display);
  font-size: 3.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--c-danger), var(--c-warn));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: var(--s-4);
}
.problem-card h3 { margin-bottom: var(--s-3); }
.problem-card p { color: var(--c-muted-fg); margin-bottom: 0; }

/* compact scannable issue grid (13 problems) */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1023px) { .issue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .issue-grid { grid-template-columns: 1fr; } }

.issue-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  position: relative;
  border-inline-start: 3px solid color-mix(in srgb, var(--c-danger) 55%, var(--c-border));
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), border-color var(--t-2) var(--ease);
}
.issue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in srgb, var(--c-danger) 35%, var(--c-border));
}
.issue-card h3 {
  font-size: 1rem; line-height: 1.35;
  margin-bottom: var(--s-2);
  color: var(--c-ink);
}
.issue-card p { font-size: 0.9375rem; line-height: 1.55; color: var(--c-muted-fg); margin: 0; }

/* compact scannable answer grid (12 solutions) */
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1023px) { .answer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .answer-grid { grid-template-columns: 1fr; } }

.answer-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  position: relative;
  border-inline-start: 3px solid var(--c-accent);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), border-color var(--t-2) var(--ease);
}
.answer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in srgb, var(--c-primary) 30%, var(--c-border));
}
.answer-card h3 {
  font-size: 1rem; line-height: 1.35;
  margin-bottom: var(--s-2);
  color: var(--c-ink);
}
.answer-card h3::before {
  content: "✓";
  display: inline-block;
  margin-inline-end: 6px;
  color: var(--c-accent);
  font-weight: 800;
}
.answer-card p { font-size: 0.9375rem; line-height: 1.55; color: var(--c-muted-fg); margin: 0; }

/* -------------------------------------------------------------------------
   9. SOLUTION
   ------------------------------------------------------------------------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
@media (max-width: 1023px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-mock { order: 2; }
}

.pillar {
  display: flex; gap: var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--c-border);
}
.pillar:last-child { border-bottom: 0; }
.pillar__icon {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--c-primary-soft); color: var(--c-primary);
  display: grid; place-items: center;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: var(--s-2); font-size: 1.375rem; }
.pillar__list { margin-top: var(--s-3); }
.pillar__list li {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 4px 0;
  font-size: 0.875rem; color: var(--c-muted-fg);
}
.pillar__list li::before {
  content: ""; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  margin-top: 9px;
}

/* dashboard mock */
.solution-mock {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--s-3);
  box-shadow: var(--shadow-4);
  position: relative;
  overflow: hidden;
}
.solution-mock::before {
  content: "";
  position: absolute; top: -2px; inset-inline-start: var(--s-6);
  width: 60%; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: 0 0 var(--r-pill) var(--r-pill);
}
.mock-window {
  background: var(--c-surface-2);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); }
.mock-dot--r { background: #FCA5A5; }
.mock-dot--y { background: #FCD34D; }
.mock-dot--g { background: #86EFAC; }
.mock-url {
  margin-inline-start: auto;
  font-family: var(--f-mono); font-size: 0.6875rem; color: var(--c-muted-fg);
  background: var(--c-surface); padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
}
.mock-body { padding: var(--s-5); display: grid; gap: var(--s-4); }

.mock-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
}
.mock-stat {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: var(--s-3);
}
.mock-stat small { font-size: 0.6875rem; color: var(--c-muted-fg); display: block; margin-bottom: 4px; }
.mock-stat strong { font-size: 1.25rem; font-weight: 800; color: var(--c-ink); font-family: var(--f-display); }
.mock-stat .delta { font-size: 0.6875rem; color: var(--c-accent); margin-inline-start: 4px; font-weight: 700; }

.mock-row {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: var(--s-3) var(--s-4);
  display: grid; grid-template-columns: 1fr auto auto; gap: var(--s-3); align-items: center;
}
.mock-row__title { font-size: 0.8125rem; font-weight: 600; color: var(--c-ink); }
.mock-row__src { font-size: 0.6875rem; color: var(--c-muted-fg); }
.mock-row__match {
  font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 700;
  padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--c-accent-soft); color: var(--c-accent);
}
.mock-row__deadline {
  font-size: 0.6875rem; color: var(--c-warn); font-weight: 700;
  padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--c-warn-soft);
}
.mock-row.is-urgent .mock-row__deadline {
  color: var(--c-danger); background: var(--c-danger-soft);
}

/* -------------------------------------------------------------------------
   14. CTA BANNER + FORM
   ------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-ink), color-mix(in srgb, var(--c-primary) 35%, var(--c-ink)));
  color: var(--color-on-accent);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(74,53,125,.4), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(120,170,90,.3), transparent 50%);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 64px 64px;
  mask: radial-gradient(ellipse 100% 80% at 50% 50%, #000, transparent);
  -webkit-mask: radial-gradient(ellipse 100% 80% at 50% 50%, #000, transparent);
}
.cta-banner__inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: var(--s-12); align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 1023px) { .cta-banner__inner { grid-template-columns: 1fr; } }

.cta-banner h2 { color: #FFFFFF; }
.cta-banner h2 em { color: var(--c-accent); }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.cta-banner__reassure {
  margin-block-start: var(--s-3);
  font-size: 0.9375rem;
  color: rgba(255,255,255,.72);
}

.cta-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-2xl);
  padding: var(--s-8);
  display: grid; gap: var(--s-4);
}
@media (max-width: 639px) { .cta-form { padding: var(--s-6); } }

.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,.8);
}
.field label .req { color: #FCA5A5; }
.field input, .field select {
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-family: var(--f-he);
  transition: border-color var(--t-1) var(--ease), background var(--t-1) var(--ease);
}
.field input::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(120,170,90,.2);
}
.field input[aria-invalid="true"] {
  border-color: #FCA5A5;
  background: rgba(252,165,165,.08);
}
.field__error {
  font-size: 0.75rem; font-weight: 600;
  color: #FCA5A5;
}
/* privacy-consent gate — checkbox + inline label on dark CTA banner */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  inline-size: 18px; block-size: 18px;
  margin-block-start: 2px;
  accent-color: var(--c-accent);
  cursor: pointer;
}
.form-consent label {
  font-size: 0.8125rem; font-weight: 500; line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.form-consent label a {
  color: #FFFFFF; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.form-consent label a:hover { color: var(--c-accent); }
.form-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--c-ring);
  outline-offset: 2px;
}
.form-consent input[aria-invalid="true"] {
  outline: 2px solid #FCA5A5;
  outline-offset: 2px;
}
.form-consent__error { flex-basis: 100%; }

.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 639px) { .field--row { grid-template-columns: 1fr; } }

/* honeypot — hidden visually + from assistive tech */
.field--honeypot {
  position: absolute; inset-inline-start: -9999px; opacity: 0; pointer-events: none;
}

.form-msg {
  margin-top: var(--s-3); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: 0.875rem; font-weight: 600;
  display: none;
}
.form-msg.is-success {
  display: block;
  background: rgba(120,170,90,.15);
  color: #6EE7B7;
  border: 1px solid rgba(120,170,90,.3);
}
.form-msg.is-error {
  display: block;
  background: rgba(252,165,165,.12);
  color: #FCA5A5;
  border: 1px solid rgba(252,165,165,.25);
}

.form-msg:focus-visible {
  outline: 2px solid var(--color-on-accent);
  outline-offset: 2px;
}

/* success confirmation panel — replaces the form, tokenized */
.form-confirm {
  display: none;
  text-align: center;
  padding: var(--s-6) var(--s-4);
  border-radius: var(--r-lg, var(--r-md));
  background: var(--color-success-50);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}
.form-confirm.is-shown {
  display: block;
  animation: form-confirm-in .35s ease-out both;
}
.form-confirm__icon { display: inline-flex; color: var(--color-success); }
.form-confirm__title {
  margin: var(--s-2) 0 var(--s-1);
  font-size: 1.125rem; font-weight: 700;
  color: var(--color-success);
}
.form-confirm__body {
  margin: 0; font-size: 0.875rem; font-weight: 500;
  color: var(--color-text, var(--color-success));
}
.form-confirm:focus-visible {
  outline: 2px solid var(--color-success);
  outline-offset: 2px;
}
@keyframes form-confirm-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .form-confirm.is-shown { animation: none; }
}

.form-disclaimer {
  font-size: 0.75rem; color: rgba(255,255,255,.6); text-align: center;
  margin-top: var(--s-3);
}
.form-disclaimer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline; text-underline-offset: 2px;
}

/* -------------------------------------------------------------------------
   16. FOOTER (slim)
   ------------------------------------------------------------------------- */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: var(--s-12) 0 var(--s-8);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-4);
}
.footer__inner .brand { color: var(--c-ink); }
.footer__tagline {
  color: var(--c-muted-fg);
  font-size: 0.875rem;
  max-width: 460px;
  margin: 0;
}
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-2) var(--s-5);
}
.footer__legal a {
  color: var(--c-fg); font-size: 0.875rem; font-weight: 500;
  transition: color var(--t-1) var(--ease);
}
.footer__legal a:hover { color: var(--c-primary); }

.footer__bottom {
  width: 100%;
  margin-top: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: var(--s-3) var(--s-6);
  font-size: 0.8125rem; color: var(--c-muted-fg);
}

/* "made by" credit — Ron Fishman & Co. + FR brand mark */
.footer__madeby {
  --fr-tile: #bfe0e0;                 /* brand teal tile (light) — defined once */
  width: 100%;
  margin: var(--s-3) 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: var(--c-muted-fg);
}
:root[data-theme="dark"] .footer__madeby { --fr-tile: #7fb5b5; } /* darker teal, AA on dark footer */
.footer__madeby bdi { font-style: normal; }
.fr-mark {
  display: inline-flex;
  inline-size: 32px;
  block-size: 32px;
  flex-shrink: 0;
}
.fr-mark svg { inline-size: 100%; block-size: 100%; }
.fr-mark__ltr {
  font-family: var(--f-he);
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
  fill: currentColor;                 /* theme-aware: ink on light, light on dark */
}
.fr-mark__ltr--r { font-size: 17px; }

/* -------------------------------------------------------------------------
   18. UTILITIES + MOTION + A11Y
   ------------------------------------------------------------------------- */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t-4) var(--ease), transform var(--t-4) var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* responsive Hero typography */
@media (max-width: 639px) {
  .hero { min-height: auto; padding: var(--s-12) 0; }
  .hero__lead { font-size: 1rem; }
  .hero__cta .btn { font-size: 0.875rem; padding: 12px 18px; }
  .section { padding: var(--s-16) 0; }
  .section-head { margin-bottom: var(--s-8); }
}

/* -------------------------------------------------------------------------
   18. LEGAL DOC (accessibility statement, privacy, terms)
   ------------------------------------------------------------------------- */
.legal-doc { text-align: start; }
.legal-doc h1 { font-size: var(--text-h1); margin: var(--s-3) 0 var(--s-5); color: var(--c-ink); }
.legal-doc h2 {
  font-size: var(--text-h3); margin: var(--s-8) 0 var(--s-3); color: var(--c-ink);
}
.legal-doc p { margin: 0 0 var(--s-4); line-height: 1.7; color: var(--c-fg); }
.legal-doc ul {
  list-style: disc; padding-inline-start: var(--s-6);
  margin: 0 0 var(--s-4); color: var(--c-fg); line-height: 1.7;
}
.legal-doc ul li { margin-bottom: var(--s-2); }
.legal-doc__contact {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  line-height: 1.9;
}

/* -------------------------------------------------------------------------
   19. NATIVE ACCESSIBILITY WIDGET
   ------------------------------------------------------------------------- */
.a11y-widget { position: fixed; inset-block-end: 20px; inset-inline-start: 20px; z-index: 1000; }
.a11y-fab {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-on-primary);
  box-shadow: var(--shadow-3);
  transition: transform var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease);
}
.a11y-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-4); }
.a11y-fab:focus-visible { outline: 3px solid var(--c-ring); outline-offset: 3px; }
.a11y-panel {
  position: absolute; inset-block-end: calc(100% + 12px); inset-inline-start: 0;
  width: min(280px, calc(100vw - 40px));
  background: var(--c-surface); color: var(--c-fg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-4);
  padding: var(--s-4);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-3);
}
.a11y-panel__head h2 { font-size: 1rem; margin: 0; color: var(--c-ink); }
.a11y-close {
  width: 32px; height: 32px; border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--c-muted-fg);
  font-size: 0.875rem;
}
.a11y-close:hover { background: var(--c-muted); color: var(--c-fg); }
.a11y-close:focus-visible, .a11y-opt:focus-visible {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.a11y-opt {
  padding: 10px 12px; border-radius: var(--r-md);
  border: 1px solid var(--c-border); background: var(--c-surface);
  color: var(--c-fg); font-size: 0.8125rem; font-weight: 600; text-align: center;
  transition: background var(--t-1) var(--ease), border-color var(--t-1) var(--ease);
}
.a11y-opt:hover { background: var(--c-muted); }
.a11y-opt[aria-pressed="true"] {
  background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary);
}
.a11y-opt--reset { grid-column: 1 / -1; color: var(--c-primary); }

/* widget-driven modes (set on <html>) */
/* HIGH-CONTRAST ASSIST MODE — IS 5568 / WCAG enhancement.
   Forces a near-black-on-white palette across token roles AND the elements
   that hardcode color (the dark CTA banner, glass form, footer credit, mock
   chrome). Utilitarian by design: contrast wins over brand polish here.
   Target ratios ≥ 7:1 (AAA) for body + interactive text. */
html.a11y-contrast,
html.a11y-contrast[data-theme="dark"] {
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #ffffff;
  --c-muted: #e8e8e8;
  --c-ink: #000000;
  --c-fg: #000000;
  --c-muted-fg: #1a1a1a;       /* 16.1:1 on white — no faint grays */
  --c-border: #000000;

  --c-primary: #2a1a5e;        /* darkened plum — 11.6:1 on white */
  --c-primary-hover: #1c1142;
  --c-primary-soft: #e6e0f5;
  --c-on-primary: #ffffff;

  --c-accent: #1f5113;         /* darkened green — 8.5:1 on white */
  --c-accent-hover: #163a0d;
  --c-accent-soft: #dcebd6;
  --c-on-accent: #ffffff;

  --c-warn: #6b4a00;
  --c-warn-soft: #f3e8c8;
  --c-danger: #8a1212;
  --c-danger-soft: #f6dada;

  --c-ring: #2a1a5e;
  --hero-grad: none;
}
/* force the hardcoded-color surfaces onto the high-contrast palette */
html.a11y-contrast body { background: #ffffff; color: #000000; }
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast h4,
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast a,
html.a11y-contrast summary,
html.a11y-contrast label,
html.a11y-contrast small,
html.a11y-contrast strong,
html.a11y-contrast span { color: #000000; }
html.a11y-contrast em,
html.a11y-contrast h1 em,
html.a11y-contrast h2 em { color: #2a1a5e; }

/* dark CTA banner → white card, black text */
html.a11y-contrast .cta-banner { background: #ffffff; color: #000000; }
html.a11y-contrast .cta-banner::before,
html.a11y-contrast .cta-banner::after { display: none; }
html.a11y-contrast .cta-banner h2,
html.a11y-contrast .cta-banner h2 em,
html.a11y-contrast .cta-banner p { color: #000000; }
html.a11y-contrast .eyebrow--on-dark { background: #000000; color: #ffffff; }

/* glass form → solid white with black borders + fields */
html.a11y-contrast .cta-form {
  background: #ffffff; border: 2px solid #000000; backdrop-filter: none;
}
html.a11y-contrast .field label,
html.a11y-contrast .form-consent label { color: #000000; }
html.a11y-contrast .field input,
html.a11y-contrast .field select {
  background: #ffffff; color: #000000; border: 1px solid #000000;
}
html.a11y-contrast .field input::placeholder { color: #4a4a4a; }
html.a11y-contrast .field label .req,
html.a11y-contrast .field__error { color: #8a1212; }
html.a11y-contrast .form-consent label a,
html.a11y-contrast .form-disclaimer,
html.a11y-contrast .form-disclaimer a { color: #000000; }

/* mock dashboard chrome — strengthen the faint chips */
html.a11y-contrast .mock-dot { border: 1px solid #000000; }
html.a11y-contrast .mock-row__match { background: #dcebd6; color: #1f5113; }

/* footer credit tile stays readable */
html.a11y-contrast .footer__madeby { --fr-tile: #000000; color: #000000; }
html.a11y-contrast .footer__madeby .fr-mark__ltr { fill: #ffffff; }

/* underline every link for non-color affordance */
html.a11y-contrast a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
html.a11y-links a:not(.btn):not(.brand) {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* prefers-reduced-motion — global stop */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* radar scope falls back to a static scope — sweep parked, blips quiet */
  .scope__sweep, .scope-blip__halo, .kicker__dot,
  .scroll-cue { animation: none !important; }
  .fade-in { opacity: 1; transform: none; }
}
