/* Self-hosted fonts (latin subset, variable woff2) — no third-party requests. */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url('fonts/space-grotesk.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:'Plus Jakarta Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/plus-jakarta-sans.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:'JetBrains Mono';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/jetbrains-mono.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;}

/* ============================================================
   CallExporter — luminous light design system
   Grounded in the rescue / verified-manifest world.
   Desktop and mobile are tuned separately (see media queries).
   ============================================================ */

:root {
  /* Canvas + surfaces */
  --canvas: #ffffff;
  --surface: #f5f8fc;
  --surface-2: #eef3f9;

  /* Ink */
  --ink: #0a1b2e;        /* headings + strong text */
  --ink-body: #45566a;   /* body copy */
  --ink-dim: #5e6c7b;    /* captions, meta — AA (4.5:1) on white + surface */

  /* Lines */
  --line: #e6ecf3;
  --line-strong: #d4dde8;

  /* Brand (emerald-teal, accessible on white) */
  --brand: #0d9b76;
  --brand-bright: #12b488;
  --brand-strong: #0a7d5e;
  --brand-tint: #e6f6f0;

  /* Signature gradient — "data being rescued" (decorative use only) */
  --grad: linear-gradient(115deg, #6366f1 0%, #0ea5e9 48%, #10b981 100%);
  --grad-soft: linear-gradient(115deg, #6366f1, #10b981);
  /* Deeper gradient for text on white — every stop clears WCAG large-text 3:1 */
  --grad-ink: linear-gradient(115deg, #6366f1 0%, #0284c7 48%, #0a8f63 100%);

  /* Dark terminal jewel */
  --term-bg: #0b1524;
  --term-bg-2: #0a1220;
  --term-line: #1d2c42;
  --term-text: #ccd6e4;
  --term-dim: #8b97a8;   /* muted but AA (6:1) on the dark terminal bg */
  --term-prompt: #5b8cff;
  --term-ok: #34d399;
  --term-num: #7dd3fc;

  /* Typography */
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Shadows (soft, layered) */
  --sh-sm: 0 1px 2px rgba(10,27,46,.06), 0 1px 3px rgba(10,27,46,.07);
  --sh-md: 0 6px 16px -4px rgba(10,27,46,.10), 0 2px 6px -2px rgba(10,27,46,.06);
  --sh-lg: 0 24px 48px -18px rgba(10,27,46,.22), 0 8px 20px -10px rgba(10,27,46,.12);
  --sh-xl: 0 44px 80px -28px rgba(13,30,60,.45), 0 16px 40px -20px rgba(13,30,60,.30);

  /* Radii */
  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --maxw: 72rem;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
em { font-style: normal; color: var(--ink); font-weight: 600; }

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width .1s linear;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.88rem; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

.btn-primary {
  background: var(--brand-strong);     /* white text = 5.1:1 (AA) */
  color: #fff;
  box-shadow: 0 1px 2px rgba(10,27,46,.14), 0 10px 24px -10px rgba(13,155,118,.55);
}
.btn-primary:hover {
  background: #0a8264;                  /* lighter on hover, still 4.8:1 (AA) */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(10,27,46,.16), 0 18px 34px -12px rgba(13,155,118,.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn-on-dark {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(10,27,46,.04), 0 8px 24px -18px rgba(10,27,46,.3);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.8rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 1.12rem;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: block; border-radius: 7px; box-shadow: 0 4px 12px -4px rgba(99,102,241,.45); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links > a:not(.btn) {
  color: var(--ink-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav-links > a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Layout primitives
   ============================================================ */
main { width: 100%; }

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  padding-inline: var(--pad);
  position: relative;
}
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }

.section-head,
.steps, .grid-cards, .tiers, .audit-card,
.api-panel, .request-card, .faq-list, .notify-band {
  max-width: var(--maxw);
  margin-inline: auto;
}
/* Head left-aligns with the content grid; only the line length is capped. */
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2, .section-head .section-intro { max-width: 48rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 0.85rem;
}
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
.section-intro { color: var(--ink-dim); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 0.9rem; }

.grad-text {
  background: var(--grad-ink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: transparent;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  z-index: 0;
  background:
    radial-gradient(46% 52% at 14% 4%, rgba(99,102,241,.16), transparent 72%),
    radial-gradient(42% 48% at 88% 8%, rgba(16,185,129,.14), transparent 72%),
    radial-gradient(38% 42% at 62% 0%, rgba(14,165,233,.13), transparent 72%);
  filter: saturate(118%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}
/* Let terminal-bearing tracks shrink so the terminal scrolls internally
   instead of forcing the grid wider than the viewport (min-width:auto bug). */
.hero-copy, .hero-terminal { min-width: 0; }
.terminal { min-width: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-sm);
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245,158,11,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  max-width: 14ch;
}
.hero .lede {
  color: var(--ink-body);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}
.trust-row li::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background:
    var(--brand-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a7d5e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ============================================================
   Terminal jewel (hero + audit)
   ============================================================ */
.hero-terminal { position: relative; }
.hero-terminal::before {
  content: "";
  position: absolute;
  inset: 8% -6% -12% -6%;
  background: var(--grad);
  filter: blur(46px);
  opacity: .28;
  border-radius: 50%;
  z-index: 0;
}
.terminal {
  position: relative;
  z-index: 1;
  background: var(--term-bg);
  background-image: linear-gradient(180deg, #0d1827, var(--term-bg-2));
  border: 1px solid var(--term-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--term-line);
  background: rgba(255,255,255,.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.terminal-title {
  margin-left: 0.4rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--term-dim);
  letter-spacing: 0.02em;
}
.terminal-body {
  margin: 0;
  padding: 1.1rem 1.25rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--term-text);
  overflow-x: auto;
  white-space: pre;
}
.terminal-body code { color: inherit; font: inherit; }
.t-prompt { color: var(--term-prompt); font-weight: 700; }
.t-ok { color: var(--term-ok); font-weight: 700; }
.t-num { color: var(--term-num); }
.t-dim { color: #8b97a8; }
.ln-done { color: #e4ecf6; font-weight: 500; }

.t-bar {
  display: inline-block;
  width: 140px;
  height: 6px;
  margin-left: 0.4rem;
  vertical-align: middle;
  border-radius: 999px;
  background: #1b2840;
  overflow: hidden;
}
.t-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, var(--term-ok));
}

/* animated state (added by JS only when motion is allowed) */
.terminal.anim .ln { opacity: 0; transform: translateY(6px); }
.terminal.anim .ln.show {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}
.terminal.anim .t-bar-fill { width: 0; transition: width 1.1s cubic-bezier(.3,.7,.3,1); }
.terminal.anim .ln-done.show { animation: doneGlow .9s ease; }
@keyframes doneGlow {
  0% { text-shadow: 0 0 0 rgba(52,211,153,0); }
  40% { text-shadow: 0 0 16px rgba(52,211,153,.55); }
  100% { text-shadow: 0 0 0 rgba(52,211,153,0); }
}

/* ============================================================
   Audit section
   ============================================================ */
.audit-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.audit-card > * { min-width: 0; }
.audit-card .terminal { box-shadow: var(--sh-lg); align-self: center; }
.audit-form-wrap { display: flex; flex-direction: column; justify-content: center; }
.audit-form-wrap h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.audit-form-note { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ============================================================
   Steps
   ============================================================ */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  border-radius: 12px;
  background: var(--grad-soft);
  box-shadow: 0 8px 18px -8px rgba(99,102,241,.6);
}
.steps h3 { margin-bottom: 0.45rem; }
.steps p { color: var(--ink-body); font-size: 0.96rem; }

/* ============================================================
   Feature cards
   ============================================================ */
.grid-cards {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.grid-cards li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.grid-cards li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem; height: 2.7rem;
  margin-bottom: 1rem;
  color: var(--brand-strong);
  background: var(--brand-tint);
  border-radius: 12px;
}
.card-icon svg { width: 22px; height: 22px; }
.grid-cards h3 { margin-bottom: 0.4rem; }
.grid-cards p { color: var(--ink-body); font-size: 0.95rem; }

/* ============================================================
   API panel
   ============================================================ */
.api-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: var(--ink);
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(99,102,241,.28), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgba(16,185,129,.22), transparent 60%);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  color: #cfdaea;
  box-shadow: var(--sh-lg);
}
.api-panel .eyebrow { color: #8ad9ff; }
.api-panel h2 { color: #fff; margin-bottom: 0.9rem; }
.api-copy p { color: #b7c4d6; }
.api-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.api-chips li {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #d7e2f0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.api-chips li::before {
  content: "✓";
  color: var(--term-ok);
  font-weight: 700;
}

/* ============================================================
   Pricing
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tier-featured {
  border-color: transparent;
  box-shadow: var(--sh-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}
.tier-featured:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.tier-badge {
  position: absolute;
  top: -0.8rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #4f46e5;                  /* solid indigo = 6.3:1 white (AA) */
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(99,102,241,.6);
}
.tier h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.price {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0.2rem 0 0;
}
.tier-sub { color: var(--ink-dim); font-size: 0.92rem; margin: 0.1rem 0 1.3rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; flex-grow: 1; }
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--ink-body);
  font-size: 0.93rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    var(--brand-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a7d5e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tier-btn { width: 100%; }

/* ============================================================
   Forms
   ============================================================ */
.lead-form { display: flex; flex-direction: column; gap: 0.85rem; }
.lead-form > label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.lead-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.lead-row input[type="email"] { flex: 1 1 15rem; }
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .opt { color: var(--ink-dim); font-weight: 400; }

.request-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9aa7b6; }
.lead-form textarea { resize: vertical; min-height: 5rem; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13,155,118,.16);
}
.lead-form .btn { cursor: pointer; }
.lead-form button:disabled { opacity: 0.65; cursor: progress; }
.botcheck { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; margin: 0.1rem 0 0; min-height: 1.2em; font-weight: 500; }
.form-status[data-state="ok"] { color: var(--brand-strong); }
.form-status[data-state="error"] { color: #dc2626; }
.form-status[data-state="pending"] { color: var(--ink-dim); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list details {
  max-width: 50rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 0.75rem;
  padding: 0 1.3rem;
  box-shadow: var(--sh-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--sh-md); }
.faq-list summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  padding: 1.1rem 2.2rem 1.1rem 0;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.1rem; top: 50%;
  width: 13px; height: 13px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9b76' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-list details p { color: var(--ink-body); margin: 0; padding-bottom: 1.15rem; font-size: 0.97rem; }

/* ============================================================
   Notify band
   ============================================================ */
.notify-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--ink);
  background-image: radial-gradient(50% 140% at 0% 0%, rgba(99,102,241,.35), transparent 60%), radial-gradient(60% 140% at 100% 100%, rgba(16,185,129,.28), transparent 60%);
  box-shadow: var(--sh-lg);
}
.notify-copy { flex: 1 1 22rem; }
.notify-band h2 { color: #fff; margin-bottom: 0.4rem; }
.notify-band .section-intro { color: #b7c4d6; margin-top: 0; }
.notify-band .lead-form { flex: 1 1 20rem; }
.notify-band input[type="email"] {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.notify-band input[type="email"]::placeholder { color: #aebccf; }
.notify-band input[type="email"]:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); background: rgba(255,255,255,.16); }
.notify-band .form-status[data-state="ok"] { color: #6ee7b7; }
.notify-band .form-status[data-state="error"] { color: #fca5a5; }
.notify-band .form-status[data-state="pending"] { color: #aebccf; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  color: var(--ink-dim);
}
.footer-inner .brand { margin-bottom: 0.85rem; }
.footer-inner p { margin: 0.35rem auto; font-size: 0.93rem; max-width: 42rem; }
/* In-prose links stay distinguishable without relying on color */
.footer-inner a:not(.brand) { text-decoration: underline; text-underline-offset: 2px; }
.fineprint { font-size: 0.82rem; color: var(--ink-dim); max-width: 40rem; margin-top: 1rem; }

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 55;
  padding: 0.95rem 1.25rem;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--brand-strong);     /* white text = 5.1:1 (AA) */
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(13,155,118,.6), 0 2px 6px rgba(10,27,46,.2);
  visibility: hidden;                  /* inert (no focus/AT) while off-screen */
  transform: translateY(160%);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), visibility .3s;
}
.mobile-cta.show { visibility: visible; transform: translateY(0); }

/* ============================================================
   Scroll reveal (gated by .js so no-JS stays visible)
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js [data-reveal].in { opacity: 1; transform: none; }
/* stagger children grids */
.js .steps li[data-reveal]:nth-child(2),
.js .grid-cards li[data-reveal]:nth-child(2),
.js .tiers .tier[data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .steps li[data-reveal]:nth-child(3),
.js .grid-cards li[data-reveal]:nth-child(3),
.js .tiers .tier[data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .grid-cards li[data-reveal]:nth-child(4) { transition-delay: .24s; }
.js .grid-cards li[data-reveal]:nth-child(5) { transition-delay: .32s; }

/* ============================================================
   DESKTOP-DOWN BREAKPOINTS — mobile gets its own tuning
   ============================================================ */

/* Tablet: collapse the wide two-column compositions */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero h1 { max-width: 18ch; }
  .hero .lede { max-width: 42rem; }
  .hero-terminal { max-width: 34rem; }
  .audit-card { grid-template-columns: 1fr; }
  .api-panel { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 30rem; }
  .tier-featured { order: -1; }
}

/* Nav collapses to a sheet early enough that the inline links never overflow
   (they start clipping around ~680px, well above the old 640px threshold). */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem var(--pad) 1.1rem;
    background: #fff;                 /* opaque so hero can't ghost through */
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn) { padding: 0.75rem 0.7rem; font-size: 1rem; border-radius: var(--r-sm); }
  .nav-links > a:not(.btn):active { background: var(--surface-2); }
  .nav-cta { margin: 0.5rem 0 0; width: 100%; padding: 0.85rem; font-size: 1rem; }
}

/* Mobile: dedicated experience */
@media (max-width: 640px) {
  html { scroll-padding-top: 4.5rem; }

  /* --- Hero --- */
  .hero { padding-top: 2.5rem; }
  .hero h1 { max-width: 100%; }
  /* Kicker wraps to a soft rounded rect instead of clipping */
  .kicker {
    align-items: flex-start;
    white-space: normal;
    border-radius: var(--r-md);
    font-size: 0.74rem;
    line-height: 1.45;
    max-width: 100%;
  }
  .kicker-dot { margin-top: 0.4em; }
  .hero-actions { gap: 0.7rem; }
  .hero-actions .btn { width: 100%; }
  .hero-terminal { max-width: 100%; }
  .hero-terminal::before { display: none; }   /* drop heavy blur for perf */
  .terminal-body { font-size: 0.78rem; padding: 0.9rem 1rem 1rem; }  /* >=12px */
  .t-bar { width: 90px; }

  /* --- Sections / cards --- */
  .grid-cards { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 1.75rem; }

  /* --- Forms: full-width, larger tap targets --- */
  .lead-grid { grid-template-columns: 1fr; }
  .lead-row { flex-direction: column; }
  .lead-row .btn { width: 100%; }
  .lead-form input[type="text"],
  .lead-form input[type="email"],
  .lead-form select,
  .lead-form textarea { padding: 0.85rem 0.9rem; font-size: 1rem; }  /* 16px = no iOS zoom */
  .audit-card, .request-card { padding: 1.25rem; }

  /* --- Notify band stacks --- */
  .notify-band { padding: 1.5rem; }
  .notify-band .lead-form .btn { width: 100%; }

  /* --- Surface the sticky CTA on mobile --- */
  .mobile-cta { display: block; }
  /* keep last section clear of the floating CTA */
  #notify { padding-bottom: 5.5rem; }
}

/* Fine-tune very small phones */
@media (max-width: 380px) {
  .terminal-body { font-size: 0.76rem; }   /* 12.2px — stays >=12px */
  .price { font-size: 2.1rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .terminal.anim .ln { opacity: 1 !important; transform: none !important; }
  .terminal.anim .t-bar-fill { width: 100% !important; }
  .kicker-dot { animation: none; }
}
