/* =========================================================
   Covara — site styles
   Palette
   --indigo   #3A3A6E   primary
   --ink      #2A2A52   wordmark / deep
   --blush    #D88B8B   accent
   --paper    #F2EFF7   light background
   --softblush#F6E2E6   tint
   ========================================================= */

:root {
  --indigo: #3A3A6E;
  --indigo-700: #2F2F5C;
  --ink: #2A2A52;
  --blush: #D88B8B;
  --blush-700: #C26F6F;
  --paper: #F2EFF7;
  --softblush: #F6E2E6;
  --panel: #FFFFFF;
  --panel-alt: #ECE7F2;
  --muted: #5E5B71;
  --muted-soft: #8A8799;
  --line: rgba(58, 58, 110, 0.14);
  --line-strong: rgba(58, 58, 110, 0.22);
  --shadow-sm: 0 1px 2px rgba(42, 42, 82, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(42, 42, 82, 0.18), 0 2px 6px rgba(42, 42, 82, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(42, 42, 82, 0.25), 0 6px 14px rgba(42, 42, 82, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1180px;

  --font-sans: "Inter", "Calibri", "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Trebuchet MS", "Calibri", "Inter", system-ui, sans-serif;

  color-scheme: light;
}

/* =========================================================
   Dark / inverse theme — mirrors covara_interest_website.
   Brand colors (--indigo, --blush) stay put so buttons keep
   their contrast; only surfaces, text, and lines invert.
   Sections that are intentionally dark in BOTH themes
   (footer, hero, CTA bands) get explicit overrides below.
   ========================================================= */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F4F1F8;          /* body text + headings now light */
  --paper: #191831;        /* page background */
  --panel: #22213F;        /* cards / inputs / surfaces */
  --panel-alt: #2A294C;
  --softblush: #33283A;    /* tint fills (hover, checked, chips) */
  --muted: #C7C1D2;
  --muted-soft: #9A93A8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 12px 30px -14px rgba(0, 0, 0, 0.60), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.70), 0 6px 14px rgba(0, 0, 0, 0.40);
}

/* Header/logo, and the sections that must stay dark in dark mode. */
[data-theme="dark"] .site-header { background: rgba(20, 19, 42, 0.82); }
/* Swap to the reverse (light) wordmark on the dark header instead of inverting
   the paper one, so the brand colours (including the blush accent) are kept. */
[data-theme="dark"] .brand-lockup { content: url("assets/logo/lockup_reverse_2000.png"); }
[data-theme="dark"] .checkr-badge { content: url("assets/logo/Checkr_Logo_TM_White.png"); }
[data-theme="dark"] .stripe-badge { content: url("assets/logo/Powered_by_Stripe_White.png"); }
[data-theme="dark"] .skip-link { background: var(--indigo); }
[data-theme="dark"] .site-footer { background: #0F0E20; }
[data-theme="dark"] .btn-primary:hover { --btn-bg: var(--indigo-700); --btn-border: var(--indigo-700); }
[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(216, 139, 139, 0.14), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(58, 58, 110, 0.22), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #12112A 100%);
}
[data-theme="dark"] .section-tint {
  background: linear-gradient(180deg, #1D1C38 0%, var(--paper) 100%);
}
[data-theme="dark"] .section-dark {
  background: linear-gradient(180deg, #12112A 0%, #201F45 100%);
}
[data-theme="dark"] .section-final {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(216, 139, 139, 0.20), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(160deg, #12112A 0%, #201F45 100%);
}

/* Theme toggle button (added to each page's header). */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--panel-alt); }
.theme-toggle svg { width: 18px; height: 18px; }
/* Icon shown reflects the explicit mode (data-mode, set by theme.js) --
   light/dark only (the third "System" mode was dropped 2026-09). */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
.theme-toggle[data-mode="light"] .icon-sun,
.theme-toggle:not([data-mode]) .icon-sun { display: block; }
.theme-toggle[data-mode="dark"] .icon-moon { display: block; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 247, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand-lockup { height: 36px; width: auto; }
.checkr-badge { height: 20px; width: auto; vertical-align: middle; margin-left: 8px; }
.stripe-badge { height: 20px; width: auto; vertical-align: middle; margin-left: 8px; }

.primary-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: 1rem;
  flex: 1;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blush);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--indigo); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s 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); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 1.2rem 18px;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: rgba(242, 239, 247, 0.96);
}
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.btn { margin-top: 12px; border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--indigo);
  --btn-fg: #fff;
  --btn-border: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { --btn-bg: var(--indigo); --btn-fg: #fff; --btn-border: var(--indigo); }
.btn-primary:hover { --btn-bg: var(--ink); --btn-border: var(--ink); }

.btn-secondary {
  --btn-bg: var(--panel);
  --btn-fg: var(--ink);
  --btn-border: rgba(42, 42, 82, 0.18);
}
.btn-secondary:hover {
  --btn-bg: var(--softblush);
  --btn-border: rgba(216, 139, 139, 0.5);
  --btn-fg: var(--ink);
}

.btn-blush {
  --btn-bg: var(--blush);
  --btn-fg: #fff;
  --btn-border: var(--blush);
}
.btn-blush:hover { --btn-bg: var(--blush-700); --btn-border: var(--blush-700); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: rgba(42,42,82,0.22);
  padding: 10px 16px;
  font-size: 14.5px;
}
.btn-ghost:hover { --btn-bg: var(--panel); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--indigo);
  --btn-border: var(--indigo);
}
.btn-outline:hover { --btn-bg: var(--indigo); --btn-fg: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.08;
}
h1 { font-size: clamp(2.1rem, 4.2vw + 0.5rem, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.4rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
h4 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 44rem; line-height: 1.55; }

.eyebrow, .kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--blush-700);
  margin: 0 0 18px;
}
.kicker-light { color: #F0BFBF; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0 clamp(64px, 10vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(216, 139, 139, 0.22), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(58, 58, 110, 0.13), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #EDE8F4 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy h1 { color: var(--ink); }
.hero-copy .lead { margin-top: 1.2rem; font-size: 1.18rem; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.hero-foot {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted-soft);
}
.hero-stats {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-card {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 24px;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -50% -30% auto auto;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle at center, rgba(216,139,139,0.35), transparent 60%);
  pointer-events: none;
}
.hero-card-inner { position: relative; z-index: 1; }
.hero-card-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--indigo);
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -10px rgba(58,58,110,0.6);
  overflow: hidden;
}
/* app_icon.svg is the indigo badge with a light "C" + blush arc, so the mark
   stays visible on the indigo background. It fills and is clipped by the box. */
.hero-card-mark img { width: 100%; height: 100%; display: block; }

.hero-card-list { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink);
}
.hero-card-list li:first-child { border-top: 0; }
.hero-card-list .dot {
  width: 8px;
  height: 8px;
  background: var(--blush);
  border-radius: 999px;
  margin-top: 8px;
  flex-shrink: 0;
}
.hero-card-note {
  font-size: 0.86rem;
  color: var(--muted-soft);
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}
.section-tint { background: linear-gradient(180deg, #FBF7FA 0%, var(--paper) 100%); }
.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* What */
.what-grid { display: grid; gap: 2rem; }
.what-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.what-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.what-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.what-card h3 { color: var(--indigo); margin-bottom: 6px; }
.what-card p { font-size: 0.98rem; }

/* Two-col + feature grid */
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { font-size: 0.96rem; }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--softblush);
  color: var(--blush-700);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.band-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.band-cta-note { color: var(--muted-soft); font-size: 0.94rem; }

/* Dark section (CNAs) */
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--indigo) 100%);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .lead-light { color: rgba(255,255,255,0.82); }
.section-dark .feature-card.dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.section-dark .feature-card.dark h3 { color: #fff; }
.section-dark .feature-card.dark p { color: rgba(255,255,255,0.78); }
.section-dark .feature-card.dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.band-cta-light .band-cta-note.light { color: rgba(255,255,255,0.7); }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--panel);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blush-700);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { font-size: 0.96rem; }

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-card {
  background: var(--panel);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blush);
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.98rem; }

/* Partners */
.partners {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.partners-copy .lead { margin-bottom: 1rem; }
.mail { color: var(--indigo); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--blush); }
.mail:hover { color: var(--ink); }
.partners-list {
  list-style: none;
  padding: 28px;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.partners-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}
.partners-list li:first-child { border-top: 0; }
.bullet {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--blush);
  flex-shrink: 0;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 56rem; }
.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq:hover { border-color: var(--line-strong); }
.faq[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--softblush);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 10px 2px, 2px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform .25s ease, background-color .2s ease;
  flex-shrink: 0;
}
.faq[open] summary::after {
  background-size: 10px 2px, 0 0;
  background-color: var(--blush);
  transform: rotate(180deg);
}
.faq p {
  padding: 0 0 18px;
  font-size: 0.99rem;
  max-width: 50rem;
}

/* Final CTA */
.section-final {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(216,139,139,0.28), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--indigo) 100%);
  color: #fff;
}
.section-final h2 { color: #fff; }
.final-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.final-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.final-card {
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  display: block;
}
.final-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.35);
}
.final-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.final-card-eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blush-700);
}
.final-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .25s ease;
}
.final-card:hover .final-card-arrow {
  background: var(--indigo);
  color: #fff;
  transform: translateX(3px);
}
.final-card h3 { font-size: 1.5rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.final-card p { color: var(--muted); font-size: 0.98rem; }
.final-card-blush {
  background: var(--softblush);
}
.final-card-blush .final-card-eyebrow { color: var(--ink); }
.final-card-blush:hover .final-card-arrow {
  background: var(--blush);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-lockup { height: 38px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 24rem; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-cols h4 { color: #fff; margin: 0 0 14px; font-size: 0.78rem; letter-spacing: 0.14em; }
.footer-cols a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.96rem;
  transition: color .2s ease;
}
.footer-cols a:hover { color: var(--blush); }

.footer-fine {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.fine-print { max-width: 44rem; }

/* ---------- Animations / utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .two-col { grid-template-columns: 1fr; }
  .what-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  /* No flex spacer on mobile, so push the theme toggle to the right edge. */
  .theme-toggle { margin-left: auto; }
  .mobile-nav.is-open { display: flex; }
  .col-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .final-cards { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 420px) {
  .brand-lockup { height: 30px; }
}

/* Focus rings */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
  border-radius: 999px;
}
.faq:focus-within { border-color: var(--blush); }

/* AI-suggestion notes — a follow-up-question PROMPT shown directly under a
   CNA profile box (bio / personality & fit), in red so it reads clearly as
   "not your answer yet". Always rendered (whether the box is empty or
   already has text), since a box that's mid-edit — bio especially — very
   often already has something typed in it, and a placeholder-only
   suggestion would silently never show for that box. This element is
   read-only and separate from the box's value, so it can never delete
   anything the user has written — see getCnaBioSuggestion()/
   getCnaFitSuggestions() in dashboard.js and the matching CNA signup steps
   in account.js. */
.ai-suggest-note {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(179, 38, 30, 0.08);
  color: #B3261E;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* #formError doubles as a success/warning notice banner (showFormNotice in
   dashboard.js) for the CNA edit-profile wizard's save-as-you-go — same spot
   as a validation error, styled green when it's just a "saved" confirmation
   rather than something that needs fixing. */
#formError.error {
  color: #A23B3B;
  background: rgba(162, 59, 59, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
}
#formError.error.notice-success {
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
}
