/* ==========================================================================
   The 1.21 Initiative — Design System v2
   Dark-native, precision-engineering aesthetic.
   Inter (cv01/ss03) + JetBrains Mono. Single indigo accent.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #08090a;
  --bg-panel: #0f1011;
  --bg-elevated: #16171a;
  --bg-hover: #1c1d21;

  /* Text */
  --ink: #f7f8f8;
  --ink-2: #c9cdd4;
  --ink-3: #8a8f98;
  --ink-4: #62666d;

  /* Accent */
  --accent: #5e6ad2;
  --accent-bright: #7c8aff;
  --accent-hover: #8a96ff;
  --accent-dim: rgba(94, 106, 210, 0.14);

  /* Status */
  --green: #2ecc8f;
  --amber: #e8b04b;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 9999px;

  /* Layout */
  --container: 1120px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-feature-settings: 'cv01', 'ss03';
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

img, video, canvas { max-width: 100%; display: block; }

a { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 550;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.018em; }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; }
h4 { font-size: 1rem; }

p { text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125em;
  letter-spacing: 0.01em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(8, 9, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 590;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent) 0%, #3a3f7a 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand .brand-suffix { color: var(--ink-3); font-weight: 450; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.site-nav a[aria-current='page'] { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle-bar {
  height: 1.5px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #6b77e0; color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--ink-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); border-color: var(--border-strong); }

.btn-lg { padding: 13px 26px; font-size: 1rem; }

:where(.btn, a, button):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 88px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(46, 204, 143, 0.7);
}

.hero h1 { max-width: 17ch; margin-bottom: 22px; }

.hero .lede {
  max-width: 56ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 36px;
}
.hero .lede strong { color: var(--ink-2); font-weight: 550; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Proof strip */
.proof-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}
.proof-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.proof-item {
  padding: 26px 20px;
  text-align: center;
}
.proof-item + .proof-item { border-left: 1px solid var(--border-subtle); }
.proof-item .value {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 590;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.proof-item .label {
  color: var(--ink-4);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-panel); border-block: 1px solid var(--border-subtle); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.centered { margin-inline: auto; text-align: center; }

.kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.card:hover { background: rgba(255, 255, 255, 0.035); border-color: var(--border-strong); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.6; }

.card .card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-4);
  display: block;
  margin-bottom: 18px;
}

.card ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 9px;
}
.card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 1.5px;
  background: var(--accent-bright);
}

a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }
.card .card-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--accent-bright);
}

/* Tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

/* Status badge */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  padding: 4px 11px;
  border: 1px solid var(--border);
}
.status .dot { width: 6px; height: 6px; border-radius: 50%; }
.status-live { color: var(--green); border-color: rgba(46, 204, 143, 0.3); }
.status-live .dot { background: var(--green); box-shadow: 0 0 7px rgba(46, 204, 143, 0.6); }
.status-dev { color: var(--amber); border-color: rgba(232, 176, 75, 0.3); }
.status-dev .dot { background: var(--amber); }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.compare thead th {
  background: var(--bg-elevated);
  color: var(--ink);
  font-weight: 590;
  font-size: 0.875rem;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td { color: var(--ink-3); }
.compare td:first-child { color: var(--ink-2); font-weight: 500; }
.compare .col-us { background: var(--accent-dim); color: var(--ink-2); }
.compare thead .col-us { color: var(--accent-bright); }

/* --------------------------------------------------------------------------
   Process / steps
   -------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 0.8125rem;
  padding-top: 4px;
}
.step h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step p { color: var(--ink-3); font-size: 0.9375rem; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Stat blocks (lab pages)
   -------------------------------------------------------------------------- */

.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.stat {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.015);
}
.stat .value { color: var(--ink); font-weight: 590; font-size: 1.125rem; letter-spacing: -0.015em; display: block; }
.stat .label { color: var(--ink-4); font-size: 0.75rem; margin-top: 2px; display: block; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  border-block: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(94, 106, 210, 0.13), transparent),
    var(--bg-panel);
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { max-width: 22ch; margin: 0 auto 16px; }
.cta-band p { color: var(--ink-3); max-width: 52ch; margin: 0 auto 32px; font-size: 1.0625rem; }
.cta-band .hero-actions { justify-content: center; }
.cta-note { margin-top: 18px; font-size: 0.8125rem; color: var(--ink-4); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 40px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p {
  color: var(--ink-4);
  font-size: 0.875rem;
  max-width: 36ch;
  margin-top: 14px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 590;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-3); font-size: 0.9rem; }
.footer-col a:hover { color: var(--ink); }
.footer-meta {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-4);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Prose (privacy / terms / lab writeups)
   -------------------------------------------------------------------------- */

.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-3); }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-3); display: grid; gap: 8px; }
.prose strong { color: var(--ink-2); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Page hero (interior pages) */
.page-hero { padding: calc(var(--header-h) + 80px) 0 56px; }
.page-hero h1 { max-width: 20ch; margin-bottom: 18px; }
.page-hero .lede { color: var(--ink-3); font-size: 1.0625rem; max-width: 58ch; line-height: 1.65; }

/* Reveal on scroll (only hidden when JS is running — html.js set by site.js) */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.form-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-2);
}
.form-field label .req { color: var(--accent-bright); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-4); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8f98' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Honeypot — visually removed, still in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.form-status.visible { display: block; }
.form-status.success {
  background: rgba(46, 204, 143, 0.1);
  border-color: rgba(46, 204, 143, 0.35);
  color: var(--green);
}
.form-status.error {
  background: rgba(232, 100, 100, 0.08);
  border-color: rgba(232, 100, 100, 0.35);
  color: #e88;
}

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* --------------------------------------------------------------------------
   Interactive visuals (viz.js)
   -------------------------------------------------------------------------- */

.viz-frame {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  overflow: hidden;
}
.viz-frame svg { display: block; width: 100%; height: auto; }

.viz-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.viz-head h3 { font-size: 1.0625rem; }
.viz-head p { color: var(--ink-4); font-size: 0.8125rem; margin-top: 3px; }
.viz-actions { display: flex; gap: 8px; }
.viz-actions .btn { min-height: 36px; padding: 7px 14px; font-size: 0.8125rem; }

.viz-legend {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-4);
}
.viz-legend i {
  display: inline-block;
  width: 14px; height: 3px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.viz-tooltip {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
  display: grid;
  gap: 3px;
  z-index: 5;
}
.viz-tooltip .t-time { color: var(--ink); font-weight: 600; }
.viz-tooltip .t-row i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 6px;
}

.viz-readout {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(46, 204, 143, 0.08);
  border: 1px solid rgba(46, 204, 143, 0.3);
  color: var(--green);
  font-size: 0.875rem;
}
.viz-readout.visible { display: block; }

.viz-formula {
  margin-top: 10px;
  color: var(--ink-4);
  font-size: 0.6875rem;
  line-height: 1.6;
}

/* Contact funnel canvas background */
#contact-funnel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
#contact-funnel canvas { position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proof-strip .container { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(odd) { border-left: none; }
  .proof-item:nth-child(n + 3) { border-top: 1px solid var(--border-subtle); }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .statrow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .site-nav.active { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px; }
  .site-nav a { padding: 13px 12px; font-size: 1rem; }
  .header-cta .btn { display: none; }

  .step { grid-template-columns: 40px 1fr; gap: 12px; }
}
