/* === self-hosted Inter (latin only) � replaces Google Fonts CDN === */
/* Inter 400 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter/Inter-400.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;
}
/* Inter 500 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter/Inter-500.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;
}
/* Inter 600 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter/Inter-600.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;
}
/* Inter 700 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter/Inter-700.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;
}
/* Inter 800 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter/Inter-800.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;
}

:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --emerald: #10b981;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1020;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --shadow-color: 0 24px 50px -16px rgba(79, 70, 229, .22), 0 12px 30px -12px rgba(16, 185, 129, .14);
  --gradient-brand: linear-gradient(135deg, var(--indigo) 0%, var(--emerald) 100%);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ===== Accessibility: skip-to-content + global focus ring ===== */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(calc(-100% - 16px));
  transition: transform .18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}
/* Don't show outlines on mouse clicks (only on keyboard nav) */
:focus:not(:focus-visible) { outline: none; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .25); }
.btn-primary:hover { background: var(--indigo-600); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--slate); }
.btn-ghost:hover { color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f5f9; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand strong { font-weight: 800; }
.brand .tld { color: var(--indigo); }
.brand-mark { flex: none; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand-slogan { font-weight: 500; font-size: 11px; letter-spacing: 0; color: var(--muted); margin-top: 1px; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  margin-right: auto;
}
.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 380px at 50% -120px, rgba(99, 102, 241, .14), transparent 70%),
    linear-gradient(180deg, #fbfbff, #ffffff);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  margin: 18px 0 0;
}
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-600);
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  padding: 6px 14px;
  border-radius: 999px;
}
.lede {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--slate);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-trust-link { color: var(--accent, #5b53e5); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-trust-link:hover { text-decoration: underline; }
/* Used to be a small "Proudly woman & veteran co-founded" pill. The
   founder block now carries a longer positioning statement, so it
   reads as a left-bordered callout rather than a chip. */
.hero-founded {
  display: block;
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #1f2937;
  background: rgba(91, 83, 229, .06);
  border-left: 3px solid #5b53e5;
  border-radius: 4px;
  max-width: 56ch;
}
/* Verifiable-by-regulators callout. Mirrors hero-founded's left-bordered
   shape but uses an emerald accent so the two callouts are visually
   distinguishable at a glance — the founded one is about WHO built it,
   the verifiable one is about WHAT THE BUILD PROPERTY IS. */
.hero-verifiable {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, .06);
  border-left: 3px solid #10b981;
  border-radius: 4px;
  max-width: 56ch;
  align-items: flex-start;
}
.hero-verifiable .hv-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(16, 185, 129, .14);
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}
.hero-verifiable .hv-body {
  font-size: 14px;
  line-height: 1.55;
  color: #1f2937;
}
.hero-verifiable .hv-body strong {
  color: #064e3b;
  font-weight: 700;
}
.hero-verifiable .hv-body a {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hero-verifiable .hv-body a:hover {
  text-decoration: underline;
}
/* Primary "Try the verifier" CTA in the hero callout. Filled-button
   treatment so the verifier portal — the headline-carrying surface — is
   the visible click; the secondary trust-page link sits next to it as
   plain text. */
.hero-verifiable .hv-body a.hv-cta {
  display: inline-block;
  margin: 6px 10px 0 0;
  padding: 5px 11px;
  background: #10b981;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.hero-verifiable .hv-body a.hv-cta:hover {
  background: #047857;
  text-decoration: none;
}

.hero-stats-wrap {
  margin-top: 64px;
  grid-column: 1 / -1;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 28px 30px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(91, 83, 229, 0.12);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 24px 48px -40px rgba(91, 83, 229, 0.25);
  backdrop-filter: saturate(120%) blur(2px);
}
.hero-stats-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent, #5b53e5);
  margin: 0 0 18px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 0 14px;
  position: relative;
}
.hero-stats > div + div::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(91, 83, 229, 0.12);
}
.hero-stats strong { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: #0f172a; }
.hero-stats span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hero-stats code {
  font-size: 12px;
  padding: 1px 5px;
  background: rgba(91, 83, 229, 0.08);
  border-radius: 4px;
  color: #3730a3;
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats > div { padding: 14px 4px 0; text-align: center; }
  .hero-stats > div + div::before {
    left: 16px; right: 16px; top: 0; bottom: auto;
    width: auto; height: 1px;
  }
  .hero-stats-wrap { padding: 22px 18px 24px; }
}

.hero-glow {
  position: absolute;
  bottom: -160px; left: 50%;
  width: 700px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(16, 185, 129, .18), transparent);
  filter: blur(20px);
  pointer-events: none;
}

/* ===== Hero dashboard mockup ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-mockup {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow:
    0 30px 60px -20px rgba(79, 70, 229, .30),
    0 16px 40px -16px rgba(16, 185, 129, .18),
    0 0 0 1px rgba(15, 23, 42, .03);
  overflow: hidden;
  text-align: left;
  position: relative;
}
.hero-mockup::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(120deg,
    rgba(99, 102, 241, .55) 0%,
    rgba(16, 185, 129, .50) 25%,
    rgba(99, 102, 241, .55) 50%,
    rgba(16, 185, 129, .50) 75%,
    rgba(99, 102, 241, .55) 100%);
  background-size: 300% 100%;
  animation: hero-border-spin 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes hero-border-spin {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mockup::before { animation: none; }
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 999px; background: #d1d5db; }
.mockup-dot:nth-child(1) { background: #fca5a5; }
.mockup-dot:nth-child(2) { background: #fcd34d; }
.mockup-dot:nth-child(3) { background: #86efac; }
.mockup-title { margin-left: 12px; font-weight: 700; font-size: 14px; color: var(--ink); }
.mockup-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #047857;
  text-transform: uppercase;
}
.mockup-live-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .mockup-live-dot { animation: none; }
}
.mockup-pill {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-600);
  background: rgba(99, 102, 241, .12);
  padding: 4px 10px;
  border-radius: 999px;
}
.mockup-list { padding: 6px 0; list-style: none; margin: 0; }
.mockup-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--bg-alt);
  font-size: 13px;
}
.mockup-list li:last-child { border-bottom: 0; }
.mockup-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  flex: none;
}
.mockup-type-dsr { color: #4338ca; background: rgba(99, 102, 241, .12); }
.mockup-type-inq { color: #047857; background: rgba(16, 185, 129, .12); }
.mockup-type-tri { color: #9a3412; background: rgba(249, 115, 22, .12); }
.mockup-name {
  flex: 1;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}
.mockup-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  flex: none;
}
.mockup-status-resolved { color: #047857; background: rgba(16, 185, 129, .14); }
.mockup-status-progress { color: #b45309; background: rgba(245, 158, 11, .14); }
.mockup-status-new { color: #4338ca; background: rgba(99, 102, 241, .14); }
.mockup-meta {
  display: flex;
  gap: 24px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.mockup-meta div { display: flex; flex-direction: column; }
.mockup-meta strong { font-size: 18px; font-weight: 800; color: var(--ink); }
.mockup-meta span { font-size: 11px; color: var(--muted); }

/* ===== Trust ===== */
.trust { padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.trust-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.trust-logos span {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, color .15s ease, border-color .2s ease;
}
.trust-logos span:hover {
  color: var(--ink);
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section {
  padding: 104px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section > .container { position: relative; z-index: 1; }
.section-alt { background: var(--bg-alt); }

/* Aurora blobs — soft blurred gradient shapes behind content */
.section.has-aurora::before,
.section.has-aurora::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.section.has-aurora::before {
  width: 460px;
  height: 460px;
  top: -140px;
  left: -120px;
  background: rgba(99, 102, 241, .30);
}
.section.has-aurora::after {
  width: 520px;
  height: 520px;
  bottom: -200px;
  right: -140px;
  background: rgba(16, 185, 129, .22);
}
.section.has-aurora.aurora-flip::before { left: auto; right: -160px; }
.section.has-aurora.aurora-flip::after { right: auto; left: -160px; bottom: -180px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 50px); font-weight: 800; letter-spacing: -0.025em; }
.section-head p { margin-top: 14px; font-size: 19px; color: var(--slate); line-height: 1.55; }

/* Gradient text accent — apply to a key word */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* fallback for browsers without background-clip:text */
  -webkit-text-fill-color: transparent;
}

/* Eyebrow / kicker label above section headings */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.grid { display: grid; gap: 22px; }
/* Bento-style features grid: zigzag wide cards (1, 4, 5) at 2/3 width */
.features { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.features .card:nth-child(1),
.features .card:nth-child(4),
.features .card:nth-child(5) { grid-column: span 2; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-color);
  border-color: rgba(99, 102, 241, .25);
}
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(16,185,129,.18));
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .3);
}
.card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { color: var(--slate); font-size: 15px; line-height: 1.65; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  background: var(--gradient-brand);
  margin-bottom: 18px;
  box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .55),
              0 8px 16px -6px rgba(16, 185, 129, .35);
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: 15px; }

/* ===== See it in action (dark interlude) ===== */
#demo {
  background:
    radial-gradient(620px 360px at 18% 16%, rgba(99, 102, 241, .35), transparent 60%),
    radial-gradient(540px 320px at 84% 86%, rgba(16, 185, 129, .25), transparent 60%),
    var(--bg-dark);
  color: #fff;
}
#demo .section-head h2 { color: #fff; }
#demo .section-head p { color: #c7cdec; }
#demo .eyebrow {
  color: #a5b4fc;
  background: rgba(99, 102, 241, .22);
  border-color: rgba(99, 102, 241, .35);
}
.demo-stage {
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(16, 185, 129, .06));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 40px 32px;
  backdrop-filter: blur(8px);
}
.demo-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.demo-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.demo-step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(16, 185, 129, .12));
}
.demo-step h3 { font-size: 16px; margin-bottom: 6px; }
.demo-step p { font-size: 13px; color: var(--slate); }
.demo-card {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.demo-card-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.demo-card-lines span {
  height: 8px;
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
  border-radius: 4px;
}
.demo-card-lines span.short { width: 60%; }
.demo-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .02em;
}
.demo-tag-new { color: #4338ca; background: rgba(99, 102, 241, .14); }
.demo-tag-progress { color: #b45309; background: rgba(245, 158, 11, .14); }
.demo-tag-resolved { color: #047857; background: rgba(16, 185, 129, .14); }
.demo-arrow {
  width: 38px; height: 16px;
  align-self: center;
  background: linear-gradient(90deg, var(--indigo), var(--emerald));
  clip-path: polygon(0 38%, 70% 38%, 70% 0, 100% 50%, 70% 100%, 70% 62%, 0 62%);
  opacity: .55;
}
@keyframes demoPulse {
  0%, 18%, 100% {
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
    border-color: var(--line);
  }
  6%, 12% {
    box-shadow: 0 22px 44px rgba(79, 70, 229, .22);
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, .35);
  }
}
.demo-step { animation: demoPulse 6s ease-in-out infinite; }
.demo-step:nth-child(1) { animation-delay: 0s; }
.demo-step:nth-child(3) { animation-delay: 2s; }
.demo-step:nth-child(5) { animation-delay: 4s; }
@media (prefers-reduced-motion: reduce) {
  .demo-step { animation: none; }
}
@media (max-width: 760px) {
  .demo-flow { grid-template-columns: 1fr; }
  .demo-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ===== ROI calculator ===== */
.roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.roi-inputs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 22px;
  align-content: start;
}
.roi-input { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.roi-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.roi-value { font-weight: 700; color: var(--indigo-600); font-size: 14px; font-variant-numeric: tabular-nums; }
.roi-inputs input[type=range] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--indigo);
  margin-top: 4px;
}
.roi-assumption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.roi-assumption strong { color: var(--ink); }
.roi-outputs { display: grid; gap: 16px; align-content: start; }
.roi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.roi-card-label { font-size: 13px; color: var(--slate); font-weight: 600; }
.roi-card strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.roi-card-featured {
  background: linear-gradient(135deg, var(--indigo) 0%, #6366f1 50%, var(--emerald) 130%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 26px 50px -10px rgba(79, 70, 229, .50),
              0 14px 30px -10px rgba(16, 185, 129, .25);
  position: relative;
  overflow: hidden;
}
.roi-card-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 180px at 100% 0, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.roi-card-featured .roi-card-label { color: #c7d2fe; }
.roi-card-featured strong { color: #fff; }

/* ===== Pricing FAQ (below pricing card) ===== */
.pricing-faq { max-width: 760px; margin: 64px auto 0; }
.pricing-faq-head {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* ===== Pricing ===== */
.pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .pricing { grid-template-columns: minmax(0, 420px); justify-content: center; gap: 18px; }
}
.price { display: flex; flex-direction: column; position: relative; padding: 24px 22px; }
.price h3 { font-size: 18px; color: var(--slate); font-weight: 600; }
.price-tag { margin: 10px 0 4px; font-size: 15px; color: var(--muted); }
.price-tag span { font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price-sub { color: var(--slate); font-size: 14px; min-height: 48px; line-height: 1.45; }
.price ul { margin: 18px 0 22px; display: grid; gap: 8px; }
.price li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.45;
}
.price li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--emerald);
  font-weight: 800;
}
.price li strong { color: var(--ink); font-weight: 600; }
.price .btn { margin-top: auto; }
.price.featured {
  border-color: rgba(79, 70, 229, .35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
@media (max-width: 1100px) {
  .price.featured { transform: translateY(-4px); }
}
.price-fineprint {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--indigo);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--slate); font-size: 15px; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(520px 320px at 18% 14%, rgba(99,102,241,.40), transparent 60%),
    radial-gradient(540px 360px at 86% 88%, rgba(16,185,129,.30), transparent 60%),
    radial-gradient(700px 380px at 50% -10%, rgba(99,102,241,.28), transparent 65%),
    var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.cta-inner p { margin-top: 14px; color: #c7cdec; font-size: 19px; line-height: 1.55; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: #c7cdec;
  padding: 64px 0 32px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: .85;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 15px; color: #8b93bd; }
.footer-badges { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.footer-badge { width: 110px; height: auto; border-radius: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; color: #a7adcf; font-size: 15px; transition: color .15s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 14px;
  color: #8b93bd;
}
.footer-legal a:hover { color: #fff; }

/* ===== Search modal (Pagefind) ===== */
.btn-search {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: var(--slate);
}
.btn-search:hover { color: var(--ink); background: var(--bg-alt); }
.btn-search svg { width: 18px; height: 18px; }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-modal[hidden] { display: none; }
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.search-modal-panel {
  position: relative;
  width: 92%;
  max-width: 640px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px 18px 18px;
  max-height: 76vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.search-modal-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  margin-top: 8px;
}
.search-modal-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
}
#pagefind-search {
  --pagefind-ui-primary: var(--indigo);
  --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: #fff;
  --pagefind-ui-border: var(--line);
  --pagefind-ui-tag: var(--bg-alt);
  --pagefind-ui-border-radius: 12px;
  --pagefind-ui-font: "Inter", system-ui, sans-serif;
  overflow-y: auto;
  max-height: 65vh;
}

/* ===== Sticky right-rail TOC for long pages ===== */
.site-toc {
  position: fixed;
  top: 96px;
  right: 28px;
  width: 220px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 16px 0;
  font-size: 13px;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.site-toc-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 8px;
  padding: 0 18px;
}
.site-toc ul {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-toc li { line-height: 1.4; }
.site-toc a {
  display: block;
  padding: 6px 18px;
  color: var(--slate);
  border-left: 2px solid transparent;
  transition: color .15s ease, border-color .2s ease, background .2s ease;
  text-decoration: none;
}
.site-toc a:hover { color: var(--ink); background: rgba(99, 102, 241, .06); }
.site-toc a.is-active {
  color: var(--indigo-600);
  border-left-color: var(--indigo);
  font-weight: 600;
  background: rgba(99, 102, 241, .04);
}
.site-toc li.toc-h3 a { padding-left: 32px; font-size: 12px; color: var(--muted); }
.site-toc li.toc-h3 a.is-active { color: var(--indigo-600); }
@media (max-width: 1400px) {
  .site-toc { display: none; }
}

/* ===== Cookie consent banner ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--bg-dark);
  color: #c7cdec;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .35);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  max-width: 920px;
  margin: 0 auto;
  animation: cookie-slide-up .35s ease;
}
@keyframes cookie-slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p { margin: 0; flex: 1 1 280px; line-height: 1.55; }
.cookie-banner a { color: #a5b4fc; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button {
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px;
  border: 0;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cookie-accept { background: var(--indigo); color: #fff; }
.cookie-accept:hover { background: var(--indigo-600); }
.cookie-decline {
  background: transparent;
  color: #c7cdec;
  border: 1px solid rgba(255, 255, 255, .2);
}
.cookie-decline:hover { background: rgba(255, 255, 255, .06); }
.cookie-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* ===== Motion / reveal-on-scroll ===== */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Legal / prose pages ===== */
.legal { padding: 56px 0 72px; }
.legal-back { margin-bottom: 24px; font-size: 15px; }
.legal-back a { color: var(--indigo); font-weight: 600; }
.legal-back a:hover { text-decoration: underline; }
.legal-doc { max-width: 820px; margin: 0 auto; }
.legal-doc > *:first-child { margin-top: 0; }
.legal-doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin-bottom: 4px; }
.legal-doc h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 18px; font-weight: 700; margin: 28px 0 6px; }
.legal-doc p { margin: 12px 0; color: var(--slate); font-size: 16px; line-height: 1.75; }
.legal-doc ul, .legal-doc ol { margin: 12px 0; padding-left: 24px; list-style: disc; color: var(--slate); }
.legal-doc ol { list-style: decimal; }
.legal-doc li { margin: 6px 0; line-height: 1.75; }
.legal-doc strong { color: var(--ink); font-weight: 700; }
.legal-doc em { font-style: italic; }
.legal-doc a { color: var(--indigo); text-decoration: underline; }
.legal-doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.legal-doc blockquote { margin: 20px 0; padding: 4px 20px; background: var(--bg-alt); border-left: 4px solid var(--indigo); border-radius: 0 10px 10px 0; }
.legal-doc blockquote ul { margin: 8px 0; }
.legal-table { overflow-x: auto; margin: 18px 0; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.legal-doc td { color: var(--slate); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .features .card:nth-child(1),
  .features .card:nth-child(4),
  .features .card:nth-child(5) { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { align-items: center; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    margin: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .features, .steps { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 28px; }
  .roi { grid-template-columns: 1fr; }
}
