/* ==========================================================================
   PostBoard Media · Consolidated Design System
   --------------------------------------------------------------------------
   Shared design tokens and components consumed by index.html,
   ai-blueprint/index.html, and community-signal/index.html.

   This is a modest refresh inside the existing brand: same brand HEX values,
   softer radii, more confident layered shadows, tighter type rhythm, and
   crisp, accessible focus states. Gold is an accent only, never a large fill.

   Page-UNIQUE rules (hero layouts, pricing tables, the math grids, the
   hours-grid, the Community Signal dashboard) stay inline on each page.

   Layers:
     1) Reset
     2) :root tokens
     3) Layout primitives
     4) Typography helpers
     5) Components
     6) Keyframes
     7) Responsive
     8) prefers-reduced-motion
   ========================================================================== */


/* ==========================================================================
   1) RESET
   ========================================================================== */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


/* ==========================================================================
   2) :root TOKENS
   ========================================================================== */
:root {
  /* --- Brand colors (unchanged HEX) --- */
  --navy: #1B4B66;
  --navy-deep: #0F3347;
  --navy-soft: #143D54;      /* renamed from the stray --navy-2 */
  --gold: #E8A525;
  --gold-deep: #C48A1A;
  --gold-soft: #F5C76A;
  --cream: #FAF7F0;
  --cream-2: #F2EDE0;
  --slate: #3D5467;
  --mist: #8A9BAE;           /* DECORATIVE ONLY: bars, tracks, dividers */
  --green: #1A8B5C;
  --red: #C43E3E;
  --white: #FFFFFF;

  /* --- WCAG-safe text tokens (gold/green/red text on light surfaces) --- */
  --gold-ink: #9A6E12;       /* gold text on white/cream */
  --gold-ink-2: #8F6410;     /* gold text on cream-2 / gold tints */
  --green-ink: #147A4F;      /* green text */
  --red-ink: #B53636;        /* red sentiment text */

  /* --- Named alpha tints (replace raw rgba) --- */
  --gold-12: rgba(232,165,37,.12);
  --gold-08: rgba(232,165,37,.08);
  --gold-25: rgba(232,165,37,.25);
  --gold-40: rgba(232,165,37,.40);
  --cream-90: rgba(250,247,240,.90);
  --cream-82: rgba(250,247,240,.82);
  --cream-70: rgba(250,247,240,.70);
  --cream-60: rgba(250,247,240,.60);
  --border: rgba(27,75,102,.12);
  --border-strong: rgba(27,75,102,.22);

  /* --- Fonts --- */
  --serif: 'DM Serif Display', Georgia, serif;     /* headlines */
  --sans: 'Outfit', system-ui, sans-serif;          /* body 300/400/500/600 */
  --mono: 'JetBrains Mono', monospace;              /* pricing, stats, eyebrows */

  /* --- Type scale --- */
  --fs-2xs: .72rem;
  --fs-xs: .82rem;
  --fs-sm: .92rem;
  --fs-base: 1rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.4rem;
  --fs-xl: 1.7rem;
  --fs-2xl: 2.2rem;
  --fs-3xl: 3.2rem;
  --fs-display: clamp(2.4rem, 5.2vw, 4.2rem);

  /* --- Space scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* --- Radius scale (refresh: softer) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --radius-round: 50%;

  /* --- Shadow scale (refresh: confident, layered) --- */
  --shadow-sm: 0 1px 2px rgba(15,51,71,.05), 0 2px 6px rgba(15,51,71,.06);
  --shadow-md: 0 4px 10px rgba(15,51,71,.07), 0 14px 30px rgba(15,51,71,.10);
  --shadow-lg: 0 30px 70px rgba(15,51,71,.18);
  --shadow-gold: 0 8px 22px rgba(232,165,37,.30);

  /* --- Motion --- */
  --ease: .2s ease;
  --ease-fast: .15s ease;
  --ease-out: .25s cubic-bezier(.2,.7,.3,1);
}


/* ==========================================================================
   3) LAYOUT PRIMITIVES
   ========================================================================== */
.container,
.section-inner,
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* .wrap historically carried its own horizontal padding (community-signal) */
.wrap { padding: 0 24px; }

/* Canonical section rhythm: 88px vertical. Pages may override per-section. */
section { padding: 88px 28px; position: relative; }


/* ==========================================================================
   4) TYPOGRAPHY HELPERS
   ========================================================================== */
.section-eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);          /* WCAG-safe gold on light */
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.section-title em {
  font-style: italic;
  color: var(--gold-ink);          /* WCAG-safe gold on light */
}

.section-sub {
  font-size: var(--fs-md);
  color: var(--slate);
  font-weight: 300;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: var(--space-12);
}


/* ==========================================================================
   ACCESSIBILITY UTILITIES
   --------------------------------------------------------------------------
   Shared a11y primitives used across all pages:
   - .sr-only      : standard visually-hidden pattern (screen-reader only)
   - .skip-link    : sr-only until focused, then a visible brand-true chip
                     pinned top-left so keyboard users can jump to #main.
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  padding: 10px 16px;
  background: var(--navy-deep);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-weight: 600;
}


/* ==========================================================================
   5) COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.1 Buttons
   border-radius 12px · padding 15px 28px · weight 600 · hover lift + shadow.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 17px 34px; font-size: var(--fs-base); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-deep); color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream-60);
}
.btn-outline:hover {
  background: var(--gold-08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Community Signal button variants (kept page-compatible, refreshed) */
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-soft); box-shadow: var(--shadow-gold); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   5.2 Focus: visible accessible ring on all interactive elements
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   5.3 Pills / badges / tags
   -------------------------------------------------------------------------- */
.pill {
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: .02em;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold-12);
  color: var(--gold);              /* used on dark hero surfaces */
  border: 1px solid var(--gold-25);
}

/* Status / sentiment tags on light surfaces (Community Signal) */
.tag {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-weight: 600;
}
.tag.pos { background: rgba(26,139,92,.12); color: var(--green-ink); }
.tag.neg { background: rgba(196,62,62,.12); color: var(--red-ink); }
.tag.neu { background: rgba(138,155,174,.18); color: var(--slate); }
.tag.opp { background: var(--gold-12); color: var(--gold-ink-2); }

/* Status badge with dot (Community Signal hero) */
.badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border-strong);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-round);
  background: var(--green);
}

/* --------------------------------------------------------------------------
   5.4 Announcement bar
   Subtle gold-25 bottom border on all pages.
   -------------------------------------------------------------------------- */
.announce {
  background: var(--navy-deep);
  color: var(--cream-82);
  padding: 10px 20px;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--gold-25);
}
.announce strong { color: var(--gold); font-weight: 600; }
.announce #countdown { font-family: var(--mono); color: var(--gold); font-weight: 500; }

/* --------------------------------------------------------------------------
   5.5 Nav
   -------------------------------------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--gold-25);
}
nav .brand { display: flex; align-items: center; gap: 10px; }
nav .brand-logo { height: 36px; width: auto; display: block; }     /* canonical 36px */
.brand-logo-footer { height: 44px; width: auto; display: block; margin-bottom: 16px; }

nav .nav-links { display: flex; gap: 28px; align-items: center; }
nav .nav-links a {
  color: var(--cream-82);
  font-size: var(--fs-sm);
  font-weight: 400;
  transition: color var(--ease), opacity var(--ease);
}
nav .nav-links a:hover,
nav .nav-links a.active { color: var(--gold); }

/* Feature link (current/highlighted section) */
nav .nav-links a.nav-feature,
nav .nav-links a.active {
  color: var(--gold);
  font-weight: 500;
  border: 1px solid var(--gold-40);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
}
nav .nav-links a.nav-feature:hover { background: var(--gold-12); }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* Nav CTA: gold accent button, UPPERCASE + tracking everywhere */
nav .nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease);
}
nav .nav-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--gold-40);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: background var(--ease-fast), border-color var(--ease-fast);
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--gold-12);
  border-color: var(--gold);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform var(--ease-out), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5.6 Mobile menu drawer
   -------------------------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--navy-deep);
  padding: 88px 28px 32px;
  flex-direction: column;
  overflow-y: auto;
  animation: fadeIn var(--ease);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream-90);
  border-bottom: 1px solid var(--gold-12);
  transition: color var(--ease-fast), padding var(--ease-fast);
}
.mobile-menu a:hover,
.mobile-menu a:focus { color: var(--gold); padding-left: 8px; }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu a .chev {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--gold);
  opacity: .7;
}
.mobile-menu a.mobile-feature {
  background: var(--gold-08);
  border: 1px solid var(--gold-40);
  border-radius: var(--radius-sm);
  margin: 4px 0 12px;
  padding: 18px 16px;
  color: var(--gold);
}
.mobile-menu a.mobile-feature .chev { color: var(--gold); opacity: 1; }

/* Mobile menu CTA: gold accent, UPPERCASE + tracking everywhere */
.mobile-menu .menu-cta {
  display: block;
  margin-top: 24px;
  padding: 17px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-base);
  text-align: center;
  border-radius: var(--radius-md);
  letter-spacing: .03em;
  text-transform: uppercase;
  border: none;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease);
}
.mobile-menu .menu-cta:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.mobile-menu .menu-foot {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  letter-spacing: .08em;
  color: var(--cream-60);
  text-transform: uppercase;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5.7 Generic card chassis
   Section cards (.compare-col, .how-step, .diff-card, .math-card,
   .rewards-card, .price-card, .deliv-card) share radius + hover lift.
   Featured price-card and .rewards-inner use the larger 22px radius.
   -------------------------------------------------------------------------- */
.compare-col,
.how-step,
.diff-card,
.math-card,
.rewards-card,
.price-card,
.deliv-card {
  border-radius: var(--radius-lg);
}

.price-card.featured,
.rewards-inner { border-radius: var(--radius-xl); }

.how-step,
.diff-card,
.price-card,
.deliv-card {
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.how-step:hover,
.diff-card:hover,
.price-card:hover,
.deliv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   5.8 Forms
   Inputs/textarea: 12px radius, 1px border, gold focus ring.
   Covers .capture-form, .footer-capture-form, and app-style inputs.
   -------------------------------------------------------------------------- */
.capture-form input[type="email"],
.capture-form input[type="text"],
input[type="text"],
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-size: var(--fs-sm);
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
  min-width: 0;
}
textarea {
  min-height: 170px;
  line-height: 1.6;
  resize: vertical;
}

.capture-form input:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-12);
}

.capture-form input::placeholder,
input::placeholder,
textarea::placeholder { color: var(--slate); opacity: .7; }

/* Layout for the main capture form */
.capture-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.capture-form.single { grid-template-columns: 1fr auto; }

.capture-form button[type="submit"] {
  background: var(--navy);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease);
}
.capture-form button[type="submit"]:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.capture-form button[type="submit"]:disabled {
  background: var(--mist);
  cursor: wait;
  transform: none;
}

/* Visually hidden honeypot anti-spam field */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Note under capture form: mist is decorative, so notes use slate */
.capture-note {
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--slate);
  font-weight: 300;
}

/* Feedback states */
.capture-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}
.capture-feedback.success {
  display: block;
  background: rgba(26,139,92,.08);
  color: var(--green-ink);
  border: 1px solid rgba(26,139,92,.2);
}
.capture-feedback.error {
  display: block;
  background: rgba(196,62,62,.08);
  color: var(--red-ink);
  border: 1px solid rgba(196,62,62,.2);
}

/* Footer email capture (on navy-deep) */
.footer-capture { margin-top: 18px; }
.footer-capture-form {
  display: flex;
  gap: 8px;
  max-width: 320px;
}
.footer-capture-form input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-60);
  background: rgba(250,247,240,.06);
  color: var(--cream);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  min-width: 0;
}
.footer-capture-form input::placeholder { color: var(--cream-60); }
.footer-capture-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(250,247,240,.1);
  box-shadow: 0 0 0 3px var(--gold-12);
}
.footer-capture-form button {
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease);
}
.footer-capture-form button:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.footer-capture-form button:disabled { background: var(--mist); cursor: wait; transform: none; }
.footer-capture-feedback { margin-top: 10px; font-size: var(--fs-xs); display: none; }
.footer-capture-feedback.success { display: block; color: var(--gold-soft); }
.footer-capture-feedback.error { display: block; color: #FFB4B4; }

/* --------------------------------------------------------------------------
   5.9 Footer
   cream-on-navy floors: links >= .70, bottom row >= .60.
   -------------------------------------------------------------------------- */
footer {
  background: var(--navy-deep);
  color: var(--cream-70);
  padding: 56px 28px 32px;
}
.footer-inner,
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gold-25);
}
.footer-inner { grid-template-columns: 2fr 1fr 1fr; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
.footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  max-width: 340px;
  font-weight: 300;
  color: var(--cream-70);
  margin-top: 14px;
}
footer h5 {
  font-family: var(--mono);
  font-size: var(--fs-2xs);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: var(--fs-sm); }
footer ul li a { color: var(--cream-70); transition: color var(--ease); }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--cream-60);
  font-weight: 300;
}


/* ==========================================================================
   6) KEYFRAMES
   One canonical fade (retires the old menuFade) + spin for loaders.
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shared inline loading spinner (Community Signal) */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: var(--radius-round);
  animation: spin .7s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}


/* ==========================================================================
   7) RESPONSIVE
   Nav collapses to the hamburger at <= 820px. Shared section padding folds.
   ========================================================================== */
@media (max-width: 820px) {
  nav { padding: 14px 18px; }
  nav .nav-links { display: none; }
  .nav-toggle { display: flex; }
  nav .nav-cta { padding: 12px 18px; font-size: var(--fs-2xs); }

  .footer-inner,
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 700px) {
  section { padding: 64px 20px; }

  .capture-form,
  .capture-form.single { grid-template-columns: 1fr; }
}


/* ==========================================================================
   8) prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
