@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/spacegrotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/spacegrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ─── TOKENS ────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Colour */
  --ink:       #162033;
  --slate:     #41506a;
  --muted:     #66758b;
  --rule:      #d8e0ea;
  --fog:       #f5f7f2;
  --surface:   #ffffff;
  --blue:      #1f66e5;
  --blue-dark: #0d2b54;
  --blue-tint: #edf4ff;
  --navy:      #071c34;
  --navy-2:    #0c2a4c;
  --mint:      #bff4d0;
  --mint-ink:  #0f5d38;
  --accent-deep: #1d7a34; /* green accent for light surfaces (≥4.5:1 on --fog) */
  --accent-lift: #6fd15e; /* green accent for dark navy surfaces */
  --steel:     #48617d;
  --amber:     #92400e;
  --amber-bg:  #fffbeb;
  --amber-rule:#fde68a;
  --green:     #14532d;
  --green-bg:  #f0fdf4;
  --green-rule:#bbf7d0;

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(15, 28, 48, 0.06), 0 10px 26px rgba(15, 28, 48, 0.08);
  --shadow-panel: 0 18px 52px rgba(5, 22, 42, 0.22);

  /* Radius */
  --r: 8px;
  --r-sm: 5px;

  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "tnum" 1;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  overflow-x: clip;
}
body.legal-body {
  background: #f5f7f2;
}
h1,h2,h3,h4,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

/* ─── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  margin: 14px auto 0;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(6, 24, 45, 0.78);
  color: #f8fbff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
}
.brand-logo--wordmark {
  width: 96px;
  height: 26px;
}
.brand-logo--mark {
  width: 24px;
  height: 24px;
}
.brand-name {
  color: #fff;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.topbar nav {
  display: flex; gap: 4px; align-items: center;
  font-size: 0.9rem;
}
.topbar nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(248,251,255,0.76);
  transition: background 120ms, color 120ms;
}
.topbar nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }

.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(191,244,208,0.55);
  background: #f8fff9;
  font-size: 0.88rem; font-weight: 600;
  color: var(--navy);
  transition: background 120ms, box-shadow 120ms;
}
.nav-cta:hover { background: var(--mint); box-shadow: 0 8px 22px rgba(191,244,208,0.22); }

.topbar-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f8fbff;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid rgba(31,102,229,0.45); outline-offset: 2px; }
.topbar .mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(6, 24, 45, 0.96);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  backdrop-filter: blur(18px);
}
.topbar .mobile-nav[hidden] { display: none; }
.topbar .mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(248,251,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
}
.topbar .mobile-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
@media (min-width: 1001px) {
  .topbar .mobile-nav { display: none; }
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.page-wrap {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}
main { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.legal-main {
  width: min(920px, calc(100% - 32px));
  padding: 72px 0 96px;
}
.legal-document {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.legal-document h1 {
  max-width: 760px;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
}
.legal-lede {
  max-width: 760px;
  margin-top: 22px;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.75;
}
.legal-updated {
  max-width: 760px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--fog);
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.65;
}
.legal-updated strong {
  color: var(--ink);
}
.legal-document section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.legal-document h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.3;
}
.legal-document p {
  color: var(--slate);
  line-height: 1.75;
}
.legal-document p + p,
.legal-document ul + p {
  margin-top: 14px;
}
.legal-document ul {
  display: block;
  margin: 14px 0 0 1.2rem;
  padding: 0;
  list-style: disc;
}
.legal-document li {
  display: list-item;
  margin-top: 8px;
  color: var(--slate);
  line-height: 1.65;
}
.legal-document li::before {
  content: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ─── EYEBROW ────────────────────────────────────────────────── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 20px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
}
.hero .section-eyebrow,
.demo-header .section-eyebrow,
.footer-cta .section-eyebrow,
.demo-page .section-eyebrow {
  color: var(--accent-lift);
}
.section-eyebrow__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(111,209,94,0.18);
  flex: 0 0 auto;
}
.section-eyebrow__text {
  min-width: 0;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0,0.92fr) minmax(380px,1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vh, 92px) 0 clamp(34px,5vh,54px);
  min-height: calc(100vh - 78px - 56px); /* leave scroll-hint visible */
}
/* Full-bleed navy band behind topbar, hero, and scroll hint — sized by content,
   not by fixed pixel stops, so it can't cut through the hero on tall screens. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  bottom: -46px;
  left: -50vw;
  right: -50vw;
  background: var(--navy);
}

h1 {
  font-family: Manrope, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.3rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
}
.accent {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.04em;
  height: 0.16em;
  border-radius: 3px;
  background: var(--mint);
  opacity: 0.7;
  z-index: -1;
}
h2 {
  font-family: Manrope, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 0.88rem; font-weight: 600; }

.lede {
  margin-top: 22px;
  max-width: 610px;
  color: rgba(239,247,255,0.78);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: center;
  margin-top: 30px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(248,251,255,0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(31,102,229,0.35); outline-offset: 2px; }

.btn-primary {
  background: #1f66e5;
  color: #fff;
  border-color: #1f66e5;
}
.btn-primary:hover { background: #1859cc; box-shadow: 0 10px 22px rgba(31,102,229,0.28); }

.btn-ghost {
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  border-color: rgba(255,255,255,0.72);
}
.btn-ghost:hover { background: var(--mint); border-color: var(--mint); }

/* ─── DEMO REQUEST PAGE ─────────────────────────────────────── */
.demo-page {
  min-height: 100vh;
  background-color: #071c34;
  background-image: linear-gradient(180deg, #061e38 0%, #0b2946 100%);
  color: #f8fbff;
}
.demo-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 78px;
}
.demo-request {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.12fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.demo-request__copy {
  position: sticky;
  top: 104px;
  z-index: 0;
  min-width: 0;
  overflow: hidden;
}
.demo-request__copy h1 {
  margin: 18px 0 18px;
  max-width: 480px;
  color: #fff;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.demo-request__copy p {
  max-width: 460px;
  margin: 0;
  color: rgba(220,231,247,0.78);
  font-size: 1.05rem;
  line-height: 1.72;
}
.demo-steps {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
}
.demo-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: inherit;
  color: inherit;
}
.demo-steps li::before { content: none; }
.demo-step__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(191,244,208,0.35);
  background: rgba(255,255,255,0.06);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.demo-steps strong {
  display: block;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
}
.demo-steps li div span {
  display: block;
  margin-top: 3px;
  color: rgba(220,231,247,0.64);
  font-size: 0.88rem;
  line-height: 1.5;
}
.demo-request__copy .demo-request__alt {
  margin-top: 30px;
  color: rgba(220,231,247,0.6);
  font-size: 0.9rem;
}
.demo-request__copy .demo-request__alt a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(191,244,208,0.4);
}
.demo-request__copy .demo-request__alt a:hover {
  border-bottom-color: var(--mint);
}
.demo-form {
  position: relative;
  z-index: 1;
  color-scheme: light;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(216,224,234,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
}
.demo-form__head h2 {
  color: var(--ink);
  font-size: 1.35rem;
}
.demo-form__head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.demo-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.demo-form label {
  display: grid;
  gap: 7px;
}
.demo-form label span {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}
.demo-form label em {
  color: #b45309;
  font-style: normal;
}
.demo-form__wide {
  grid-column: 1 / -1;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  box-shadow: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.demo-form input,
.demo-form select {
  min-height: 50px;
}
.demo-form textarea {
  min-height: 128px;
  resize: vertical;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: 3px solid rgba(31,102,229,0.16);
  border-color: #1f66e5;
  background: #fff;
}
.demo-form [aria-invalid="true"] {
  border-color: #c2410c;
  background: #fff7ed;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.field-error {
  min-height: 1.1em;
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 700;
}
.privacy-check {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}
.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.privacy-check span {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}
.privacy-check a {
  color: #174d9d;
  font-weight: 800;
}
.demo-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.demo-form__actions .btn-primary {
  min-width: 190px;
}
.demo-form__actions .btn-primary[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.demo-form__actions .btn-ghost {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.demo-form__status {
  min-height: 1.4em;
  margin: 0;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}
.demo-form__status.is-error {
  color: #b45309;
}

.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 0.86rem; }

/* ─── TRANSFORMATION RAIL ────────────────────────────────────── */
.hero-visual {
  position: relative;
  padding-top: 4px;
}

.transform-rail {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
}

.floating-alert {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 22px 12px 14px;
  border: 1px solid rgba(216,224,234,0.92);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow:
    0 14px 28px rgba(6, 24, 45, 0.12),
    0 3px 8px rgba(6, 24, 45, 0.08);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  animation: float-status 4.8s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.floating-alert strong {
  font-size: clamp(0.9rem, 1.45vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
}
.floating-alert--top {
  top: -34px;
  left: 34px;
}
.floating-alert--bottom {
  right: 34px;
  bottom: -34px;
  animation-delay: -2.2s;
}
.floating-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: 0 0 auto;
}
.floating-icon--blue {
  background: #dff3ff;
  color: #1696e8;
}
.floating-icon--green {
  background: #e8f8e2;
  color: #4fb443;
}

@keyframes float-status {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-alert { animation: none; }
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--rule);
}
.product-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.product-chrome span:first-child { background: #ef4444; }
.product-chrome span:nth-child(2) { background: #f59e0b; }
.product-chrome span:nth-child(3) { background: #22c55e; }
.product-chrome strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-label {
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-cells {
  display: flex;
  align-items: center;
  padding: 22px 20px;
  gap: 10px;
}

.rail-cell {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  border-radius: 12px;
  text-align: center;
}
.rail-cell--before {
  background: var(--fog);
  border: 1px solid var(--rule);
  color: var(--muted);
}
.rail-cell--during {
  background: #edf4ff;
  border: 1px solid rgba(31,102,229,0.18);
  color: #174d9d;
}
.rail-cell--after {
  background: #edfdf3;
  border: 1px solid #b9efcc;
  color: var(--mint-ink);
}

.rail-cell-icon {
  opacity: 0.7;
  line-height: 0;
}
.rail-cell-label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}
.rail-cell-sub {
  font-size: 0.72rem;
  opacity: 0.7;
  line-height: 1.3;
}

.rail-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  opacity: 0.5;
}

/* Profile preview inside the rail */
.profile-preview {
  margin: 0 20px 20px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(15, 28, 48, 0.08);
}

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
}
.preview-row--name { margin-bottom: 2px; }
.preview-key {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.preview-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.preview-divider {
  height: 1px;
  background: var(--rule);
  margin: 10px 0;
}
.preview-checklist { display: grid; gap: 5px; margin-bottom: 12px; }
.preview-check {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.75rem;
  color: var(--slate);
}
.check-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.preview-check--ok .check-dot { background: #18a957; }
.preview-check--warn .check-dot { background: #d97706; }
.preview-check--warn { color: var(--amber); }

.preview-score {
  display: flex; align-items: center; gap: 10px;
}
.score-bar {
  flex: 1;
  height: 5px;
  background: var(--rule);
  border-radius: 99px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f66e5, #20a25a);
  border-radius: 99px;
}
.preview-score span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ─── SCROLL HINT ────────────────────────────────────────────── */
.scroll-hint {
  display: flex; justify-content: center;
  padding: 0 0 28px;
  color: rgba(248,251,255,0.56);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ─── BAND ───────────────────────────────────────────────────── */
.band {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(216,224,234,0.9);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 72px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.band-item {
  padding: 20px 24px;
}
.band-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-ink);
  margin-bottom: 6px;
}
.band-item strong {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.band-sep {
  width: 1px;
  align-self: stretch;
  background: var(--rule);
}

/* ─── WORKFLOW SECTION ───────────────────────────────────────── */
.section { margin: 0 0 80px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { max-width: 640px; }

.workflow {
  padding: 72px 0 84px;
}
.workflow-head {
  max-width: 820px;
  margin: 0 auto 70px;
  text-align: center;
}
.workflow-head .section-eyebrow,
.section-head .section-eyebrow,
.demo-header .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.workflow-head h2 {
  max-width: none;
  font-size: clamp(2rem, 4.5vw, 3.9rem);
  line-height: 1.08;
  color: var(--ink);
}
.workflow-head > p:last-child {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}
.workflow-steps {
  display: grid;
  gap: 76px;
}
.workflow-step {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(360px,1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}
.workflow-step--reverse .workflow-copy { order: 2; }
.workflow-copy {
  max-width: 560px;
}
.step-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.step-label::after {
  content: "";
  width: 82px;
  height: 1px;
  background: var(--rule);
}
.workflow-copy h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Manrope, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.workflow-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}
.workflow-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
  background: transparent;
  position: relative;
  overflow: visible;
}
.workflow-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(76%, 470px);
  height: 46%;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(69, 88, 114, 0.18);
  filter: blur(34px);
  pointer-events: none;
}
.mini-browser,
.form-card-mini,
.review-mini {
  position: relative;
  z-index: 1;
  width: min(86%, 430px);
  border: 1px solid rgba(216,224,234,0.88);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 28px 72px rgba(15, 28, 48, 0.18),
    0 5px 14px rgba(15, 28, 48, 0.07);
  overflow: hidden;
}
.mini-chrome {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--rule);
  background: #fbfcff;
}
.mini-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mini-chrome span:first-child { background: #ef4444; }
.mini-chrome span:nth-child(2) { background: #f59e0b; }
.mini-chrome span:nth-child(3) { background: #22c55e; }
.mini-chrome strong {
  margin-left: 14px;
  padding: 5px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.listing-card {
  padding: 22px;
}
.listing-image {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d8e3f0, #eef4fb);
  margin-bottom: 18px;
}
.listing-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.listing-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edfdf3;
  color: var(--mint-ink);
  font-size: 0.76rem;
  font-weight: 700;
}
.application-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef3f8;
  color: #235a6b;
}
.application-link span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #235a6b;
  font-size: 1.2rem;
  line-height: 1;
}
.application-link strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}
.application-link button {
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 9px 14px;
  font-weight: 800;
  cursor: default;
}
.form-card-mini {
  padding: 0;
}
.form-card-body {
  padding: 22px;
}
.review-mini {
  padding: 0;
}
.form-line {
  height: 18px;
  width: 42%;
  border-radius: 999px;
  background: #dbe6f3;
  margin-bottom: 18px;
}
.form-field-mini,
.upload-mini {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 12px;
  color: var(--ink);
}
.form-field-mini.active {
  border-color: rgba(31,102,229,0.28);
  background: #edf4ff;
}
.form-field-mini span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}
.upload-mini {
  grid-template-columns: auto 1fr;
  align-items: center;
  background: #edfdf3;
}
.upload-mini span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #bff4d0;
}
.progress-mini {
  height: 7px;
  border-radius: 999px;
  background: var(--rule);
  overflow: hidden;
}
.progress-mini i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f66e5, #20a25a);
}
.review-body {
  padding: 22px;
}
.review-title {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  color: var(--ink);
}
.review-title span {
  color: var(--muted);
  font-size: 0.85rem;
}
.review-title strong {
  font-size: 1.12rem;
}
.review-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.review-filter span {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.review-filter .active {
  background: #edfdf3;
  border-color: #b9efcc;
  color: var(--mint-ink);
}
.candidate-row-mini {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.candidate-row-mini b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
}
.candidate-row-mini strong,
.candidate-row-mini span {
  display: block;
}
.candidate-row-mini span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}
.candidate-row-mini em {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.candidate-row-mini.muted {
  opacity: 0.72;
}
.status-good {
  background: #edfdf3;
  color: var(--mint-ink);
  border: 1px solid #cde8c9;
}
.status-review {
  background: #fffbeb;
  color: #9a6b00;
  border: 1px solid #eadfbd;
}
.status-muted {
  background: #f1f5f9;
  color: var(--muted);
  border: 1px solid var(--rule);
}

/* ─── QUESTIONS ───────────────────────────────────────────────── */
.questions-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin: 0 0 80px;
  padding: 64px 0 72px;
  scroll-margin-top: 96px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.questions-intro {
  position: sticky;
  top: 96px;
}
.questions-intro h2 {
  max-width: 500px;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}
.questions-intro p {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.questionnaire-form {
  display: grid;
  gap: 18px;
}
.questionnaire-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.question-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 236px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(216,224,234,0.92);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.question-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
}
.question-number {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.question-required {
  color: #b42318;
  font-weight: 800;
}
.question-card strong {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0;
  text-transform: none;
}
.question-card select {
  margin-top: auto;
  min-height: 46px;
  border-radius: var(--r);
}
.question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  clear: both;
}
.question-options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: #fbfcff;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.35;
}
.question-options input {
  margin-top: 1px;
}
.questionnaire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 4px;
}
.questionnaire-actions .btn-ghost {
  border-color: var(--rule);
  background: #fff;
  color: var(--blue-dark);
}
.questionnaire-status {
  min-height: 24px;
  color: var(--mint-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}
.questionnaire-status.is-error {
  color: #b42318;
}
.questionnaire-form.is-sending .btn-primary {
  opacity: 0.76;
  cursor: wait;
}
.questionnaire-toast {
  position: fixed;
  z-index: 70;
  right: clamp(16px, 4vw, 36px);
  bottom: clamp(16px, 4vw, 36px);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(460px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(187,247,208,0.9);
  border-radius: 12px;
  background: #fbfffd;
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(5,22,42,0.2), 0 5px 18px rgba(5,22,42,0.1);
}
.questionnaire-toast[hidden] {
  display: none;
}
.questionnaire-toast__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--mint-ink);
  font-weight: 800;
}
.questionnaire-toast h3 {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}
.questionnaire-toast p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}
.questionnaire-toast__close {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.questionnaire-toast__close:focus-visible {
  outline: 3px solid rgba(31,102,229,0.2);
  outline-offset: 2px;
}

/* ─── AUDIENCE ───────────────────────────────────────────────── */
.audience {
  margin: 0 0 80px;
}
.audience .section-head {
  margin-bottom: 22px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.audience-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1f66e5, #20a25a);
}
.audience-card--applicant {
  background: #fbfcf8;
}
.audience-kicker {
  margin: 0 0 12px;
  color: var(--mint-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.audience-card h3 {
  max-width: 420px;
  margin-bottom: 20px;
  font-family: Manrope, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.audience-list {
  display: grid;
  gap: 12px;
}
.audience-list li {
  font-size: 0.92rem;
  color: var(--slate);
}
.audience-list li::before {
  width: 9px;
  height: 9px;
  margin-top: 5px;
}

/* ─── SECURITY ───────────────────────────────────────────────── */
.security {
  margin: 0 0 80px;
}
.security-lede {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.65;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 8px;
}
.security-card {
  padding: 22px;
  border: 1px solid rgba(216,224,234,0.92);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.security-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.98rem;
}
.security-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
  flex: 0 0 auto;
}
.security-card p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}
.security-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}
.security-note a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq {
  margin: 0 0 80px;
}
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  border: 1px solid rgba(216,224,234,0.92);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--slate);
  font-weight: 600;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible {
  outline: 3px solid rgba(31,102,229,0.35);
  outline-offset: 2px;
  border-radius: var(--r);
}
.faq-item p {
  padding: 0 20px 18px;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── DEMO SHELL ─────────────────────────────────────────────── */
.demo-shell {
  margin: 0 0 80px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: var(--navy);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7,28,52,0.18);
}
.demo-header {
  padding: 26px 28px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.demo-header h2 { color: #fff; }
.demo-header h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.demo-tabs {
  display: none;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: var(--navy);
}
.tab {
  padding: 7px 14px;
  min-height: 36px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--fog);
  color: var(--slate);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.tab.active {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
}
.tab:focus-visible { outline: 3px solid rgba(31,102,229,0.35); outline-offset: 2px; }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(300px,0.7fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}
.demo-grid > * {
  min-width: 0;
}

/* ─── PANELS ─────────────────────────────────────────────────── */
.panel {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--rule);
  background: #fbfcff;
}
.panel-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.panel-title {
  font-size: 1rem;
  font-weight: 600;
}

.object-badge {
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #edfdf3;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mint-ink);
  white-space: nowrap;
}

/* ─── FORM ───────────────────────────────────────────────────── */
#application-form {
  display: grid;
  gap: 0;
}

fieldset {
  margin: 0;
  padding: 20px 22px;
  border: none;
  border-top: 1px solid var(--rule);
  min-width: 0;
}
legend {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0;
  float: none;
  width: 100%;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  clear: both;
  width: 100%;
  min-width: 0;
}
.span-2 { grid-column: 1/-1; }

label {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.label-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate);
}

input:not([type="checkbox"]),
select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 0.88rem;
  transition: border-color 120ms, box-shadow 120ms, background 120ms;
}
input:not([type="checkbox"]):hover,
select:hover { border-color: #b6c4d8; }
input:not([type="checkbox"]):focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31,102,229,0.12);
}

input[type="checkbox"] {
  width: 16px; height: 16px;
  margin: 0; flex: 0 0 auto;
  accent-color: #1f66e5;
  cursor: pointer;
}
input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(31,102,229,0.35);
  outline-offset: 2px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  clear: both;
  width: 100%;
  min-width: 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate);
  cursor: pointer;
  line-height: 1.4;
  padding: 10px 11px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: background 120ms;
}
.check-label:hover { background: var(--fog); }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--slate);
  background: #edf4ff;
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input { margin-top: 2px; }

/* ─── MANAGER PANEL ──────────────────────────────────────────── */
.mgr-panel {
  position: sticky;
  top: 74px;
}

.score-badge {
  display: grid;
  text-align: right;
  border: 1px solid #b9efcc;
  border-radius: 12px;
  padding: 8px 12px;
  background: #edfdf3;
  min-width: 90px;
}
.score-badge strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--mint-ink);
}
.score-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.mgr-score-bar-wrap {
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--rule);
}
.mgr-score-bar {
  height: 4px;
  background: var(--rule);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}
.mgr-score-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f66e5, #20a25a);
  border-radius: 99px;
  transition: width 300ms ease;
  width: 0%;
}

.data-block {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  display: grid; gap: 6px;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.data-key {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.data-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.data-val--muted {
  font-weight: 400;
  color: var(--slate);
  font-size: 0.8rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--rule);
}
.metric {
  padding: 12px 14px;
  border-right: 1px solid var(--rule);
  background: #fbfcff;
}
.metric:last-child { border-right: none; }
.metric-key {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.metric-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.checklist-block,
.summary-block {
  border-bottom: 1px solid var(--rule);
  padding: 14px 20px;
}
.block-header {
  margin-bottom: 10px;
}
.block-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.4;
}
li::before {
  flex: 0 0 auto;
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #18a957;
  margin-top: 4px;
}
li.missing { color: var(--amber); }
li.missing::before { background: #d97706; }

.summary-text {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.6;
}

.mgr-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 20px;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  overflow: clip;
  box-shadow: none;
}
.footer-cta {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
  text-align: left;
  border-top: 1px solid rgba(216,224,234,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: transparent;
}
.footer-cta h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.footer-cta h2 span {
  color: var(--mint);
}
.cta-footer__sub {
  max-width: 510px;
  margin-top: 24px;
  color: rgba(220,231,247,0.72);
  font-size: 1.04rem;
  line-height: 1.65;
}
.pilot-note {
  max-width: 560px;
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(191,244,208,0.3);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(248,251,255,0.85);
  font-size: 0.92rem;
  line-height: 1.55;
}
.pilot-note strong { color: var(--mint); }
.footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 38px;
}
.cta-footer__note {
  margin-top: 18px;
  color: rgba(220,231,247,0.56);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.cta-footer__note a {
  color: rgba(248,251,255,0.82);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(191,244,208,0.4);
}
.cta-footer__note a:hover {
  color: #fff;
  border-bottom-color: var(--mint);
}
.cta-footer__scanner {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(216,224,234,0.16);
  border-radius: 14px;
  background: rgba(12,42,76,0.52);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}
.cta-footer__scan-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(216,224,234,0.14);
  color: rgba(220,231,247,0.62);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.cta-footer__scan-body {
  position: relative;
  padding: 22px 24px;
}
.cta-footer__scan-row {
  display: grid;
  grid-template-columns: 112px 1fr 76px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(216,224,234,0.12);
  color: rgba(248,251,255,0.9);
  font-size: 0.86rem;
}
.cta-footer__scan-row:last-of-type {
  border-bottom: none;
}
.cta-footer__scan-row span {
  color: rgba(220,231,247,0.58);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-footer__scan-row strong {
  color: #fff;
  font-weight: 600;
}
.cta-footer__scan-row em {
  justify-self: end;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.cta-footer__scan-row .is-blur {
  color: rgba(220,231,247,0.22);
  filter: blur(1.8px);
}
.cta-footer__scan-row .is-done {
  color: var(--mint);
}
.cta-footer__scan-row .is-wait {
  color: #fde68a;
}
.cta-footer__scan-row .is-idle {
  color: rgba(220,231,247,0.36);
}
.cta-footer__beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(191,244,208,0) 0%, rgba(191,244,208,0.16) 50%, rgba(191,244,208,0) 100%);
  border-top: 1px solid rgba(191,244,208,0.75);
  border-bottom: 1px solid rgba(191,244,208,0.75);
  animation: cta-footer-sweep 3.6s ease-in-out infinite;
}
@keyframes cta-footer-sweep {
  0% { top: 0; }
  50% { top: 300px; }
  100% { top: 0; }
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px,1.5fr) repeat(4, minmax(120px,0.75fr));
  gap: 40px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 46px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p,
.footer-contact p {
  color: rgba(248,251,255,0.68);
  font-size: 0.88rem;
  line-height: 1.65;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(191,244,208,0.34);
}
.footer-contact a:hover {
  color: #fff;
  border-bottom-color: var(--mint);
}
.footer-col,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-col h3,
.footer-contact h3 {
  margin: 0 0 4px;
  color: rgba(248,251,255,0.88);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a,
.footer-link-button {
  color: rgba(248,251,255,0.68);
  font-size: 0.88rem;
  transition: color 120ms ease;
}
.footer-link-button {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover,
.footer-link-button:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(248,251,255,0.55);
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .cta-footer__beam {
    top: 150px !important;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav:not(.mobile-nav) { display: none; }
  .nav-toggle { display: grid; }
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 44px);
    min-height: auto;
  }
  .hero-visual {
    justify-self: center;
    width: min(100%, 720px);
  }
  .floating-alert--top { left: 24px; top: -34px; }
  .floating-alert--bottom { right: 24px; bottom: -34px; }
  .workflow { padding: 52px 0 64px; }
  .workflow-head { margin-bottom: 44px; }
  .workflow-step,
  .workflow-step--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workflow-step--reverse .workflow-copy { order: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .mgr-panel { position: static; }
  .questions-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .questions-intro {
    position: static;
  }
  .band { grid-template-columns: 1fr; }
  .band-sep { width: 100%; height: 1px; }
  .footer-cta {
    grid-template-columns: 1fr;
  }
  .footer-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  main { width: min(100% - 28px, 1200px); }
  .hero::before {
    top: -90px;
    bottom: -18px;
  }
  input:not([type="checkbox"]),
  select,
  textarea {
    font-size: 16px; /* prevents iOS Safari auto-zoom on focus */
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(100% - 24px, 1180px);
    height: 58px;
    margin-top: 10px;
    padding: 0 10px;
  }
  .brand { min-width: 0; }
  .brand-name {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-cta {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .hero {
    gap: 26px;
    padding: 38px 0 46px;
  }
  .section-eyebrow {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }
  h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    line-height: 1.06;
  }
  .lede {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.58;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .demo-page-shell {
    width: min(100% - 32px, 980px);
    padding: 42px 0 56px;
  }
  .demo-request {
    grid-template-columns: 1fr;
  }
  .demo-request__copy {
    position: static;
  }
  .demo-request__copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
  .demo-form__grid {
    grid-template-columns: 1fr;
  }
  .demo-form__actions .btn {
    width: 100%;
  }
  .trust-row {
    gap: 7px;
    margin-top: 15px;
  }
  .trust-row span {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .hero-visual {
    padding-top: 0;
  }
  .transform-rail {
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(5, 22, 42, 0.22);
  }
  .product-chrome {
    height: 36px;
    padding: 0 12px;
  }
  .product-chrome strong {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
  .rail-label {
    padding: 10px 14px;
    font-size: 0.7rem;
  }
  .rail-cells {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }
  .rail-arrow { display: none; }
  .rail-cell {
    width: auto;
    min-height: 92px;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    padding: 11px 6px;
    text-align: center;
  }
  .rail-cell-icon svg {
    width: 22px;
    height: 22px;
  }
  .rail-cell-label {
    font-size: 0.72rem;
    line-height: 1.18;
  }
  .rail-cell-sub { display: none; }
  .profile-preview {
    margin: 0 14px 14px;
    padding: 14px;
    border-radius: 12px;
  }
  .preview-row {
    gap: 8px;
  }
  .preview-key {
    font-size: 0.72rem;
  }
  .preview-val {
    font-size: 0.76rem;
    text-align: right;
  }
  .preview-check {
    font-size: 0.72rem;
  }
  .preview-score span {
    font-size: 0.7rem;
  }
  .floating-alert {
    position: static;
    width: 100%;
    min-height: 52px;
    margin: 10px auto 0;
    padding: 9px 12px;
    border-radius: 14px;
    white-space: normal;
  }
  .floating-alert--top { margin-top: 10px; }
  .floating-alert--bottom { display: none; }
  .floating-icon { width: 36px; height: 36px; border-radius: 11px; }
  .floating-alert strong { font-size: 0.9rem; }
  .scroll-hint { display: none; }

  .workflow-head h2 { font-size: clamp(1.8rem, 9vw, 2.7rem); }
  .workflow-steps { gap: 52px; }
  .workflow-copy h3 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
  .workflow-visual { min-height: 320px; }
  .mini-browser,
  .form-card-mini,
  .review-mini { width: calc(100% - 28px); }
  .mini-chrome strong { display: none; }
  .audience-card { min-height: auto; padding: 24px 20px; }
  .security-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .metric-row { grid-template-columns: 1fr 1fr 1fr; }

  .demo-shell { overflow: visible; }
  .demo-grid { gap: 0; padding: 12px; }
  .demo-tabs { display: flex; }

  [data-panel="manager"] { display: none; }
  body.show-manager [data-panel="applicant"] { display: none; }
  body.show-manager [data-panel="manager"] { display: block; }

  .questions-section {
    margin-bottom: 62px;
    padding: 48px 0 56px;
    scroll-margin-top: 76px;
  }
  .questions-intro h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem);
  }
  .questionnaire-grid,
  .question-options {
    grid-template-columns: 1fr;
  }
  .question-card {
    min-height: auto;
    padding: 18px;
  }
  .questionnaire-actions {
    justify-content: stretch;
  }
  .questionnaire-actions .btn {
    width: 100%;
  }
  .questionnaire-status {
    text-align: left;
  }
  .questionnaire-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: auto minmax(0,1fr);
    align-items: start;
  }
  .questionnaire-toast__close {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-footer { width: 100%; border-radius: 0; }
  .footer-cta {
    width: min(100% - 32px, 980px);
    padding: 58px 0 42px;
    text-align: left;
  }
  .cta-footer__scanner {
    min-height: 320px;
  }
  .cta-footer__scan-body {
    padding: 18px;
  }
  .cta-footer__scan-row {
    grid-template-columns: 88px 1fr 64px;
    gap: 8px;
    font-size: 0.78rem;
  }
  .cta-footer__scan-row span,
  .cta-footer__scan-row em {
    font-size: 0.72rem;
  }
  @keyframes cta-footer-sweep {
    0% { top: 0; }
    50% { top: 224px; }
    100% { top: 0; }
  }
  .footer-grid,
  .footer-bottom {
    width: min(100% - 32px, 1200px);
    padding-left: 0;
    padding-right: 0;
  }
  .footer-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .footer-actions > .btn {
    width: 100%;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; }
}