/* BigBrotherBot — landing styles. Dark security-ops aesthetic. No framework, no build. */

:root {
  color-scheme: dark;
  --bg: #0a0e14;
  --bg-soft: #0c111a;
  --surface: #111824;
  --surface-2: #141d2b;
  --border: #1f2a3a;
  --border-soft: #18212e;
  --text: #e6edf3;
  --muted: #94a3b5;
  --muted-2: #7b8a9d;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --accent-ink: #04181d;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient glow behind hero */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 600px at 10% 0%, rgba(56, 189, 248, 0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #67e8f9; }

/* Keyboard focus — visible accent ring, never shown on mouse click. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* Anchor targets clear the 64px sticky nav instead of tucking under it. */
:target,
[id] { scroll-margin-top: 80px; }

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

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(180deg, #2ee0f2, var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4), 0 12px 30px -12px rgba(34, 211, 238, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.6), 0 16px 36px -12px rgba(34, 211, 238, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: #2c3a4e; background: rgba(255, 255, 255, 0.05); color: var(--text); transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 16.5px;
}
.brand .mark {
  width: 26px;
  height: 26px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.5));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  width: 40px;
  height: 38px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(180deg, #e6edf3, #9fb2c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---------- Terminal / request card ---------- */
.terminal {
  background: linear-gradient(180deg, var(--surface), #0d141e);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(34, 211, 238, 0.04);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13.5px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.terminal-bar .dots { display: flex; gap: 7px; }
.terminal-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3647; display: block; }
.terminal-bar .title { color: var(--muted-2); font-size: 12px; margin-left: 6px; }
.terminal-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 13px; }
.t-line { display: flex; gap: 11px; align-items: flex-start; }
.t-avatar {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #04181d;
}
.t-avatar.user { background: linear-gradient(135deg, #7dd3fc, #38bdf8); }
.t-avatar.bot { background: linear-gradient(135deg, #2ee0f2, var(--accent-strong)); }
.t-body { color: var(--muted); }
.t-name { color: var(--text); font-weight: 600; }
.t-name.bot { color: var(--accent); }
.t-cmd { color: #7dd3fc; }
.t-row { display: block; }
.t-key { color: var(--muted-2); }
.t-val { color: var(--text); }
.risk {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 7px; padding: 3px 9px; font-size: 12px; font-weight: 600;
  border: 1px solid;
}
.risk.high { color: var(--amber); border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); }
.risk.low { color: var(--green); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.t-approve { color: var(--green); }
.t-approve b { color: var(--text); }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; }
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h1, .section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 17.5px; color: var(--muted); margin: 0; }
.divider { border: none; border-top: 1px solid var(--border-soft); margin: 0; }

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  padding: 26px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--muted);
  font-family: var(--mono); letter-spacing: 0.01em;
}
.trust svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Feature grid ---------- */
/* auto-fit avoids the orphan a fixed 2-column grid leaves for 3 cards at
   tablet widths — tracks reflow 3 -> 2 -> 1 without a dangling half-row. */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #2a3a50;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.8);
}
.card .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--accent);
  margin-bottom: 16px;
}
.card .ic svg { width: 21px; height: 21px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Highlight rows ---------- */
.highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 40px 0; }
.highlight.rev .h-media { order: -1; }
.highlight h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.highlight p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.h-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.h-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15px; }
.h-list svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.h-media {
  background: linear-gradient(180deg, var(--surface), #0d141e);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}

/* mini drift / score visual blocks */
.kv { font-family: var(--mono); font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.kv .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; border: 1px solid var(--border-soft); border-radius: 10px; background: rgba(255,255,255,0.015); }
.kv .row .who { color: var(--text); }
.tag { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; border: 1px solid; }
.tag.ok { color: var(--green); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.tag.warn { color: var(--amber); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.tag.gone { color: var(--red); border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.08); }

/* score meter */
.meter { height: 8px; border-radius: 999px; background: #1a2330; overflow: hidden; margin: 6px 0 4px; }
.meter > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--amber) 65%, var(--red)); border-radius: 999px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.sec-item { display: flex; gap: 13px; align-items: flex-start; padding: 4px 0; }
.sec-item .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.16); color: var(--accent); }
.sec-item .ic svg { width: 19px; height: 19px; }
.sec-item h3 { font-size: 16px; margin-bottom: 4px; }
.sec-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing { display: flex; justify-content: center; }
.price-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.05), 0 40px 90px -50px rgba(34, 211, 238, 0.3);
}
.price-card .tier { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.price-card .amount { font-size: 40px; font-weight: 700; margin: 14px 0 4px; letter-spacing: -0.02em; }
.price-card .amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card .sub { color: var(--muted); margin: 0 0 24px; }
.price-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; text-align: left; max-width: 380px; margin-inline: auto; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.price-list svg { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 80px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 50ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 56px 0 40px; background: var(--bg-soft); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer-about { max-width: 320px; color: var(--muted); font-size: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  color: var(--muted-2); font-size: 13px;
}

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; }
.legal-wrap { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 10px; }
.legal .updated { color: var(--muted-2); font-family: var(--mono); font-size: 13px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; }
.legal h3 { font-size: 16.5px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal .note {
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
  border-radius: 12px; padding: 16px 18px; margin: 24px 0; color: var(--muted); font-size: 14.5px;
}
.legal .back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; margin-bottom: 30px; text-decoration: none; }
.legal .back svg { width: 15px; height: 15px; }
.legal h2 .rel-date { font-family: var(--mono); font-size: 13px; color: var(--muted-2); font-weight: 400; }

/* ---------- Pricing page: extracted classes ---------- */
.price-card h3.tier { display: block; font-weight: 600; }
.plus-line { margin: -14px 0 18px; color: var(--muted-2); font-size: 13px; }
.addon-price { font-weight: 600; margin: 14px 0 16px; }
.tag-mid { vertical-align: middle; }
.addons-head { max-width: 640px; margin: 56px auto 24px; }
.addons-title { font-size: clamp(24px, 3vw, 32px); }
.addons-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 760px; margin-inline: auto; }
.pricing-trial { margin-top: 44px; }
.price-card-trial { max-width: 820px; }
.fine-print { color: var(--muted); text-align: center; max-width: 660px; margin: 34px auto 0; font-size: 14.5px; }
.fine-print-2 { color: var(--muted-2); margin-top: 14px; font-size: 14px; }
.footer-bottom-slim { margin-top: 0; border-top: none; }

/* Loading skeleton for pricing plans (shown until pricing.js renders).
   Only meaningful with JS: without it the skeleton would shimmer forever
   above the <noscript> fallback, so hide it when the .js class is absent. */
.price-card.skeleton { text-align: left; }
html:not(.js) .price-card.skeleton { display: none; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: sk-shimmer 1.4s ease infinite; }
.sk-tier { width: 40%; height: 14px; margin-bottom: 18px; }
.sk-amount { width: 60%; height: 34px; margin-bottom: 20px; }
.sk-line { width: 100%; height: 12px; margin-bottom: 12px; }
.sk-line:nth-child(4) { width: 85%; }
.sk-line:nth-child(5) { width: 70%; }
@keyframes sk-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* Pricing fetch-error state (bug 1.13 / UI: announced, add-ons hidden). */
.pricing-error { display: block; }
.pricing-error-msg { color: var(--muted); text-align: center; margin: 0; }

/* No-JS pricing fallback + generic noscript note. */
.noscript-note { max-width: 640px; margin: 0 auto; text-align: center; border: 1px solid var(--border); background: rgba(255,255,255,0.02); border-radius: 12px; padding: 22px 24px; }
.noscript-note p { color: var(--muted); margin: 0 0 10px; }
.noscript-note p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* ---------- 404 ---------- */
.notfound-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Integrations page ---------- */
.integrations-group { margin-top: 40px; }
.integrations-cat { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-family: var(--mono); margin-bottom: 16px; }
.integrations-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.int-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: transform 0.16s ease, border-color 0.2s ease;
}
.int-card:hover { transform: translateY(-2px); border-color: #2a3a50; }

/* ---------- Quickstart page ---------- */
.quickstart-steps { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 20px; }
.quickstart-cta { padding: 56px 0 0; }
.quickstart-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
/* Scoped under .js (added by main.js): with JS disabled/failed, content stays
   visible instead of frozen at opacity 0. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Nav collapses to a hamburger at 940px: below that the links + two CTAs no
   longer fit on one row, so the old 640px breakpoint silently clipped the
   "Start free trial" button on tablet widths. */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .highlight, .highlight.rev { grid-template-columns: 1fr; gap: 28px; }
  .highlight.rev .h-media { order: 0; }
  .sec-grid { grid-template-columns: 1fr; }

  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(12, 17, 26, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; font-size: 16px; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .footer-cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
