/* =============================================================================
   Certificate-of-Insurance issuance — landing site styles
   Plain CSS, no framework. Light theme is the default; dark is opt-in via
   <html data-theme="dark"> (toggled in main.js, also respects OS preference).
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  --bg: #f4f7fb;
  --bg-raised: #fbfcfe;
  --card: #ffffff;
  --card-sub: #f6f9fc;
  --frost: #eef3f8;
  --hover: #e9eff6;

  --border: #e3eaf2;
  --border2: #eaeff5;
  --border-strong: #c9d6e3;

  --ink: #131e2b;
  --ink2: #243646;
  --slate: #4c5d6e;
  --mute: #5d6e7d;
  --mist: #8a99a8;

  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --brand-ink: #1a4fb8;
  --brand-tint: #eaf1fe;
  --brand-tint2: #f1f6fe;
  --brand-border: #cfe0fc;

  --ok: #15924a;
  --ok-fg: #0f6e38;
  --ok-bg: #e6f5ec;
  --ok-border: #c5e7d2;

  --amber: #c47d18;
  --amber-fg: #8a5a10;
  --amber-bg: #fbf0db;
  --amber-border: #f0ddb5;

  --band: #0e1a27;
  --band2: #0a131d;
  --on-band: #eef3f8;
  --on-band-mute: #9fb0c0;
  --on-band-faint: #6f8093;

  --btn-bg: #2563eb;
  --btn-bg-hover: #1d4ed8;
  --btn-fg: #ffffff;

  --shadow-sm: 0 1px 2px rgba(19, 30, 43, 0.06), 0 1px 3px rgba(19, 30, 43, 0.05);
  --shadow-md: 0 12px 34px rgba(19, 30, 43, 0.07);
  --shadow-lg: 0 24px 60px rgba(19, 30, 43, 0.11);

  --radius: 14px;
  --maxw: 1140px;
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
  --bg: #0d141d;
  --bg-raised: #131b25;
  --card: #18212d;
  --card-sub: #1d2733;
  --frost: #212c3a;
  --hover: #1e2835;

  --border: #28323f;
  --border2: #232d39;
  --border-strong: #38465a;

  --ink: #e9eef4;
  --ink2: #c7d2de;
  --slate: #9aa9b8;
  --mute: #8595a4;
  --mist: #6a7b8c;

  --brand: #6f9bff;
  --brand-deep: #6f9bff;
  --brand-ink: #a8c4ff;
  --brand-tint: #1a2540;
  --brand-tint2: #161f33;
  --brand-border: #2c3c63;

  --ok: #46c483;
  --ok-fg: #74d3a2;
  --ok-bg: #13302350;
  --ok-border: #1f4733;

  --amber: #e0a94a;
  --amber-fg: #edc274;
  --amber-bg: #33280f50;
  --amber-border: #4a3a17;

  --band: #080f17;
  --band2: #050a10;
  --on-band: #eef3f8;
  --on-band-mute: #9fb0c0;
  --on-band-faint: #6f8093;

  --btn-bg: #2f6bf0;
  --btn-bg-hover: #3f78f4;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Theme is applied to <html data-theme> by an inline script before paint
   (it honors a saved choice or the OS preference). Light is the no-JS default. */

/* ---------- Reset & base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; }
ul { margin: 0; padding: 0; }

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

::selection { background: var(--brand-border); color: var(--ink); }

/* ---------- Helpers ------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section[id], .band[id] { scroll-margin-top: 84px; }
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 9px;
  font-weight: 600; font-size: 14px; z-index: 100; transition: top .15s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--brand-ink);
}
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-top: 14px; text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--slate); line-height: 1.55; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }
.lead { font-size: 18px; color: var(--slate); }

/* ---------- Pills & badges ------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-tint); border: 1px solid var(--brand-border);
  color: var(--brand-ink); border-radius: 30px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.pill .icon { width: 16px; height: 16px; color: var(--brand); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px;
  white-space: nowrap;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; }
.tag--ok { background: var(--ok-bg); color: var(--ok-fg); }
.tag--ok .dot { background: var(--ok); }
.tag--amber { background: var(--amber-bg); color: var(--amber-fg); }
.tag--amber .dot { background: var(--amber); }
.tag--brand { background: var(--brand-tint); color: var(--brand-ink); }
.tag--brand .dot { background: var(--brand); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 20px; border-radius: 11px; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--ghost { background: var(--card); border-color: var(--border-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--hover); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: #eef3fb; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 9px; }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header / nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-raised) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--slate);
  padding: 8px 13px; border-radius: 8px; transition: background-color .15s, color .15s;
}
.nav-links a:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--frost); color: var(--slate);
  transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn .icon { width: 18px; height: 18px; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }
[data-theme="dark"] .theme-icon-light { display: none; }

.nav-toggle { display: none; }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--slate); padding: 8px 12px; border-radius: 8px; transition: background-color .15s, color .15s; }
.back-link:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.back-link .icon { width: 17px; height: 17px; }

/* ---------- Hero ---------------------------------------------------------- */
.hero { padding: 72px 0 24px; }
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.04; margin-top: 22px;
  letter-spacing: -0.03em; text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(96deg, var(--brand), #4f86f7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 22px auto 0; max-width: 600px; font-size: 18px; color: var(--slate); line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--mute); display: inline-flex; align-items: center; gap: 7px; }
.hero-note .icon { width: 16px; height: 16px; color: var(--ok); }

/* ---------- Product mock (pipeline board) -------------------------------- */
.mock {
  margin-top: 50px; background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--border2); background: var(--bg-raised);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .url { margin-left: 8px; font-size: 12.5px; color: var(--mist); }
.mock-bar .spacer { flex: 1; }
.mock-bar .stat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brand-ink); }
.mock-bar .stat .icon { width: 15px; height: 15px; color: var(--brand); }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px; }
.board-col { background: var(--card-sub); border: 1px solid var(--border2); border-radius: 13px; padding: 12px; }
.board-col h3 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; }
.board-col h3 .count { font-family: var(--font-display); color: var(--mist); }
.cert-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 12px; margin-bottom: 9px; box-shadow: var(--shadow-sm);
}
.cert-card:last-child { margin-bottom: 0; }
.cert-card .who { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-card .meta { font-size: 11.5px; color: var(--slate); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.cert-card .form { font-size: 10.5px; font-weight: 600; color: var(--mist); letter-spacing: 0.03em; }
.cert-card--accent { border-left: 3px solid var(--brand); }
.cert-card--ok { border-left: 3px solid var(--ok); }

/* ---------- "What it is" feature rows ------------------------------------ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.feature + .feature { margin-top: 88px; }
.feature--flip .feature-media { order: -1; }
.feature .badge-line {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 12.5px; font-weight: 600; border-radius: 8px; padding: 5px 11px;
  background: var(--brand-tint); color: var(--brand-ink);
}
.feature .badge-line .icon { width: 17px; height: 17px; color: var(--brand); }
.feature h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.14; }
.feature > div > .lead { margin-top: 16px; line-height: 1.6; }
.check-list { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--slate); list-style: none; }
.check-list .icon { width: 21px; height: 21px; color: var(--brand); margin-top: 1px; }
.check-list b { color: var(--ink); font-weight: 600; }

.feature-media {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow-md);
}
.media-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.media-sub { font-size: 12px; color: var(--mist); margin-bottom: 16px; }

/* approval card (feature A) */
.approve-card { border: 1px solid var(--border2); border-radius: 12px; background: var(--card-sub); padding: 16px; }
.approve-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.approve-head .avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-tint); border: 1px solid var(--brand-border); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.approve-head .avatar .icon { width: 16px; height: 16px; }
.approve-head .t { font-size: 13px; font-weight: 600; color: var(--ink); }
.approve-head .s { font-size: 11.5px; color: var(--mist); }
.approve-body { font-size: 12.5px; line-height: 1.55; color: var(--ink2); background: var(--card); border: 1px solid var(--border2); border-radius: 9px; padding: 11px 12px; }
.approve-body .k { color: var(--mute); }
.approve-actions { display: flex; gap: 9px; margin-top: 12px; }
.approve-actions .btn { flex: 1; }
.mini-note { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--mute); margin-top: 11px; }
.mini-note .icon { width: 15px; height: 15px; color: var(--ok); }

/* intake / handoff (feature C) */
.flow-row { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--border2); border-radius: 11px; background: var(--card-sub); }
.flow-row + .flow-row { margin-top: 10px; }
.flow-row .ic { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-row .ic .icon { width: 19px; height: 19px; }
.flow-row .ic--in { background: var(--brand-tint); color: var(--brand); }
.flow-row .ic--out { background: var(--ok-bg); color: var(--ok); }
.flow-row .t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.flow-row .s { font-size: 12px; color: var(--slate); margin-top: 1px; }
.flow-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--frost); border: 1px solid var(--border2); border-radius: 6px; padding: 1px 6px; color: var(--ink2); }

/* queue chips (feature B) */
.queue { display: flex; flex-wrap: wrap; gap: 8px; }
.queue .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink2); background: var(--card-sub); border: 1px solid var(--border2); border-radius: 9px; padding: 8px 11px; }
.queue .chip .icon { width: 15px; height: 15px; color: var(--amber); }
.queue .chip--done { color: var(--ok-fg); }
.queue .chip--done .icon { color: var(--ok); }
.capacity-line { margin-top: 16px; height: 8px; border-radius: 5px; background: var(--frost); overflow: hidden; display: flex; }
.capacity-line span { height: 100%; }
.capacity-line .you { background: var(--border-strong); width: 58%; }
.capacity-line .us { background: var(--brand); width: 42%; }
.capacity-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--slate); }
.capacity-legend span { display: inline-flex; align-items: center; gap: 6px; }
.capacity-legend .sw { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- Steps (how it works) ----------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-ic { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand); }
.step-ic .icon { width: 23px; height: 23px; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--mist); }
.step h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--slate); }

/* ---------- Audience grid ------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; }
.aud-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 16px; }
.aud-ic .icon { width: 22px; height: 22px; }
.aud-card h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.aud-card p { font-size: 13.5px; line-height: 1.55; color: var(--slate); margin-top: 7px; }

/* ---------- Why band (dark, qualitative — no metrics) -------------------- */
.band { background: linear-gradient(165deg, var(--band), var(--band2)); }
.band .container { padding-top: 70px; padding-bottom: 70px; }
.band-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.band-head .eyebrow { color: #7fa6f5; }
.band-head h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; margin-top: 14px; }
.band-head p { color: var(--on-band-mute); font-size: 16px; margin-top: 14px; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.band-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 14px; padding: 24px; }
.band-card .ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(111, 155, 255, 0.16); color: #8fb2ff; margin-bottom: 16px; }
.band-card .ic .icon { width: 21px; height: 21px; }
.band-card h3 { color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.band-card p { color: var(--on-band-mute); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.band-statement { text-align: center; max-width: 760px; margin: 44px auto 0; }
.band-statement p { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); font-weight: 500; line-height: 1.4; color: #dbe6f2; letter-spacing: -0.01em; }
.band-statement .by { margin-top: 16px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--on-band-mute); }

/* ---------- Pilot offer --------------------------------------------------- */
.pilot { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: stretch; }
.pilot-card {
  background: var(--card); border: 2px solid var(--brand); border-radius: 20px;
  padding: 34px 32px; box-shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
  display: flex; flex-direction: column;
}
.pilot-card .kicker { font-size: 13px; font-weight: 600; color: var(--brand-ink); }
.pilot-card h2 { font-size: clamp(26px, 3.2vw, 32px); margin-top: 6px; line-height: 1.1; }
.pilot-card > p { margin-top: 12px; color: var(--slate); font-size: 15.5px; line-height: 1.6; }
.pilot-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.pilot-list li { display: flex; align-items: flex-start; gap: 12px; list-style: none; font-size: 15px; color: var(--ink2); }
.pilot-list .icon { width: 21px; height: 21px; color: var(--ok); margin-top: 1px; }
.pilot-list b { color: var(--ink); font-weight: 600; }
.pilot-card .btn { margin-top: 26px; }
.pilot-fine { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: center; }

.pilot-side { background: linear-gradient(165deg, var(--band), var(--band2)); border-radius: 20px; padding: 32px; color: var(--on-band); display: flex; flex-direction: column; }
.pilot-side h3 { color: #fff; font-size: 18px; }
.pilot-side > p { color: var(--on-band-mute); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.need-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.need-list li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--on-band-mute); line-height: 1.5; }
.need-list .icon { width: 18px; height: 18px; color: #8fb2ff; margin-top: 1px; flex-shrink: 0; }
.need-list b { color: #fff; font-weight: 600; }
.pilot-side .divider { height: 1px; background: rgba(255,255,255,0.12); margin: 22px 0; }
.pilot-side .avoid { font-size: 12.5px; color: var(--on-band-faint); line-height: 1.55; }
.pilot-side .avoid b { color: var(--on-band-mute); }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px; background: var(--card);
  padding: 0 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; color: var(--mute); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--slate); }
.faq .answer a { color: var(--brand-ink); }

/* ---------- Contact form -------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.1; margin-top: 14px; }
.contact-copy p { margin-top: 16px; color: var(--slate); font-size: 16px; line-height: 1.6; }
.contact-points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--slate); }
.contact-points .icon { width: 20px; height: 20px; color: var(--brand); margin-top: 1px; flex-shrink: 0; }
.contact-points b { color: var(--ink); font-weight: 600; }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 7px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mist); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #d4453b; box-shadow: 0 0 0 3px rgba(212, 69, 59, 0.12);
}
.field .err { display: none; font-size: 12px; color: #d4453b; margin-top: 6px; }
.field .err.show { display: block; }
.field .hint { font-size: 12px; color: var(--mute); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field { margin-bottom: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { margin-top: 6px; }
.form-status { font-size: 13px; margin-top: 10px; min-height: 1px; }
.form-status.error { color: #d4453b; }
.form-privacy { margin-top: 14px; font-size: 12px; color: var(--mute); line-height: 1.5; text-align: center; }

.form-success { text-align: center; padding: 14px 6px; }
.form-success .badge { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); border: 1px solid var(--ok-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .badge .icon { width: 28px; height: 28px; color: var(--ok); }
.form-success h3 { font-size: 21px; color: var(--ink); }
.form-success p { margin-top: 10px; font-size: 15px; color: var(--slate); line-height: 1.6; }
.is-hidden { display: none !important; }

/* ---------- CTA strip ----------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, #5b8df8);
  border-radius: 22px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-strip h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; }
.cta-strip p { color: rgba(255, 255, 255, 0.86); font-size: 17px; margin: 14px auto 0; max-width: 480px; }
.cta-strip .hero-cta { margin-top: 28px; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-raised); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 54px 0 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: var(--slate); max-width: 300px; }
.footer-disclaimer { margin-top: 16px; font-size: 12px; line-height: 1.55; color: var(--mute); max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--mute); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--slate); }
.footer-col a:hover { color: var(--ink); }
.footer-id {
  border-top: 1px solid var(--border2); padding: 22px 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-id .legal-name { font-size: 13px; color: var(--ink2); font-weight: 600; }
.footer-id .addr { font-size: 12.5px; color: var(--mute); margin-top: 4px; }
.footer-id .links { display: flex; align-items: center; gap: 16px; }
.footer-id .links a { font-size: 13px; color: var(--slate); }

/* ---------- Legal pages --------------------------------------------------- */
.legal-main { max-width: 820px; margin: 0 auto; padding: 52px 24px 90px; }
.legal-main h1 { font-size: clamp(30px, 5vw, 42px); }
.legal-updated { margin: 10px 0 24px; font-size: 14px; color: var(--mute); }
.legal { font-size: 15.5px; line-height: 1.7; color: var(--slate); }
.legal h2 { font-size: 22px; margin: 38px 0 12px; color: var(--ink); }
.legal h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink2); margin: 22px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 7px; }
.legal li { padding-left: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--brand-ink); }
.legal .callout { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--card-sub); }
.legal .callout p { margin: 0 0 4px; }
.legal .callout .name { color: var(--ink); font-weight: 600; }
.legal .callout .muted { font-size: 13px; color: var(--mute); margin-top: 10px; }
.legal .fineprint { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border2); font-size: 13px; color: var(--mute); }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 980px) {
  .steps, .audience, .band-grid { grid-template-columns: repeat(2, 1fr); }
  .pilot { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--flip .feature-media { order: 0; }
  .feature + .feature { margin-top: 56px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 560px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .steps, .audience, .band-grid, .form-grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .board-col { display: none; }
  .board-col:first-child, .board-col:nth-child(2) { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-id { flex-direction: column; align-items: flex-start; }
  .cta-strip { padding: 40px 24px; }
  .hero-cta .btn { flex: 1; }
}

/* ---------- Mobile nav drawer -------------------------------------------- */
.nav-drawer { display: none; border-top: 1px solid var(--border); background: var(--bg-raised); }
.nav-drawer.open { display: block; }
.nav-drawer ul { padding: 12px 0; }
.nav-drawer a { display: block; padding: 12px 24px; font-size: 15px; font-weight: 500; color: var(--ink2); }
.nav-drawer a:hover { background: var(--hover); text-decoration: none; }
.nav-drawer .btn { margin: 8px 24px 16px; }

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