:root {
  --bg: #05070f;
  --bg-raised: rgba(9, 13, 26, 0.72);
  --bg-solid: #0a0f1d;
  --line: rgba(120, 170, 255, 0.16);
  --line-strong: rgba(120, 170, 255, 0.32);
  --text: #e8eef8;
  --text-muted: #9fadc4;
  --accent: #3da9ff;
  --accent-strong: #6cc0ff;
  --cyan: #5ff0ff;
  --glow: 0 0 18px rgba(61, 169, 255, 0.55), 0 0 42px rgba(95, 240, 255, 0.25);
  --font-head: "Avenir Next", "Futura", "Century Gothic", "Montserrat", ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas,
    monospace;
  --gutter: 16px;
  --max: 1200px;
  --nav-h: 64px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 32px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--bg);
  /* Static fallback; the WebGL canvas fades in over it when available. */
  background-image:
    radial-gradient(ellipse 60% 45% at 70% 35%, rgba(61, 169, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 72% 38%, rgba(95, 240, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 90% 70% at 20% 100%, rgba(30, 60, 140, 0.18), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Background ---------- */

#tunnel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
#tunnel.is-ready { opacity: 1; }

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.45) 55%, rgba(5, 7, 15, 0.2) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(5, 7, 15, 0.85) 100%);
}

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: 1.3125rem; letter-spacing: -0.01em; }

p { margin: 0; }

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #04060d;
  font-family: var(--font-head);
  font-size: 0.9875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft),
    color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.btn:hover { color: #04060d; background: var(--accent-strong); box-shadow: var(--glow); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: var(--glow); }

.btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4) 50%, transparent);
  transform: translateY(-120%);
  opacity: 0;
}
.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
  animation: scan 1.15s linear infinite;
}

@keyframes scan {
  from { transform: translateY(-120%); }
  to { transform: translateY(330%); }
}

.btn-arrow { transition: transform 0.3s var(--ease-soft); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(61, 169, 255, 0.1); color: var(--text); border-color: var(--accent); }

/* ---------- Nav ---------- */

.nav-wrap {
  position: fixed;
  top: 12px;
  left: 0; right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  position: relative;
  max-width: var(--max);
  height: var(--nav-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 24, 0.55);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(8, 12, 24, 0.94); }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--text); }
.logo-mark { width: 26px; height: 26px; }
.logo small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links .nav-cta {
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.nav-links .nav-cta:hover { border-color: var(--accent); background: rgba(61, 169, 255, 0.1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle-bars { width: 16px; height: 10px; position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: 1px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: -1px; right: -1px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 12, 24, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; font-size: 0.9375rem; }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center; }
}

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

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  box-shadow: var(--glow);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.18em) scale(1.04);
  animation: assemble 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 85ms + 180ms);
}
@keyframes assemble {
  60% { opacity: 1; }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.glow-text {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(61, 169, 255, 0.55), 0 0 60px rgba(95, 240, 255, 0.3);
  white-space: nowrap;
}

.hero-sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-status {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.hero-status span::before { content: "// "; color: var(--accent); }

/* ---------- Capabilities panel ---------- */

.caps {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 24, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.caps-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}

.caps-list {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
  display: grid;
  gap: 18px;
}

/* The bus: a vertical trace connecting every capability node. */
.caps-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(61, 169, 255, 0.25) 80%, rgba(61, 169, 255, 0.08));
}

/* A light pulse travelling down the bus. */
.caps-list::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 5px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  filter: drop-shadow(0 0 6px var(--cyan));
  animation: travel 3.6s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes travel {
  0% { transform: translateY(-20px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(var(--travel, 260px)); opacity: 0; }
}

.cap {
  position: relative;
  display: grid;
  gap: 2px;
}

/* Branch trace from the bus to the node. */
.cap::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 11px;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

.cap-node {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  animation: node-pulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.55s);
}
@keyframes node-pulse {
  0%, 70%, 100% { background: var(--bg); box-shadow: none; }
  18% { background: var(--accent); box-shadow: 0 0 10px var(--accent), 0 0 22px rgba(95, 240, 255, 0.5); }
}

.cap-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
}
.cap-meta { font-size: 0.75rem; }

.cap--product .cap-node { border-color: var(--cyan); }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(61, 169, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  vertical-align: 2px;
}

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

main > section:not(.hero) {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
  background: rgba(5, 7, 15, 0.8);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 720px;
}
.section-head p:not(.label) { color: var(--text-muted); font-size: 1.0625rem; }

.grid-3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; gap: 16px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.35s var(--ease-soft), background-color 0.35s var(--ease-soft),
    transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.card:hover {
  border-color: var(--line-strong);
  background: rgba(12, 18, 36, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.card p { color: var(--text-muted); }
.card .label { color: var(--accent); }

.card-index { display: flex; justify-content: space-between; }

.ticks {
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text);
}
.ticks li { display: flex; align-items: baseline; gap: 12px; }
.ticks li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(61, 169, 255, 0.6);
  transform: translateY(-2px);
}

/* Products */
.product { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 40px; }
}
.product-copy { display: flex; flex-direction: column; gap: 18px; }
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.product-head h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.product-pitch { font-size: 1.0625rem; max-width: 48ch; }
.product-shot {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(61, 169, 255, 0.12), transparent 70%),
    rgba(5, 7, 15, 0.6);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(95, 240, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  width: max-content;
}
.card .status { color: var(--text); }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; box-shadow: none; } }

.roadmap { margin-top: 16px; }
@media (min-width: 860px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
.roadmap li::before { content: attr(data-step); }

.product-extras { margin-top: 16px; }


.field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.field input {
  flex: 1 1 220px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(5, 7, 15, 0.8);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}
.field input::placeholder { color: #7d8aa3; }
.field input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #ff7a8a; }
.form-status {
  min-height: 1.5em;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.card .form-status { color: var(--text-muted); }
.card .form-status a { color: inherit; }
.card .form-note { font-size: 0.8125rem; line-height: 1.55; }
.card .form-status[data-tone="error"] { color: #ff9aa6; }
.card .form-status[data-tone="ok"] { color: var(--cyan); }

/* Shared step strip (roadmap) */
.flow {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.flow li {
  display: grid;
  gap: 8px;
  padding: 24px 26px;
  background: var(--bg-solid);
}
.flow li::before {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flow strong { font-family: var(--font-head); font-size: 1.0625rem; }
.flow span { color: var(--text-muted); font-size: 0.9375rem; }

/* About */
.founder { display: grid; gap: 28px; }
@media (min-width: 720px) {
  .founder { grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 40px; }
}
.founder-photo {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(61, 169, 255, 0.25), rgba(5, 7, 15, 0.9) 70%);
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent-strong);
  object-fit: cover;
}
.founder-copy { display: grid; gap: 18px; max-width: 64ch; }
.founder-copy h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
a.founder-photo { text-decoration: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
a.founder-photo:hover { color: var(--accent-strong); border-color: var(--accent); box-shadow: var(--glow); }
.founder-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.founder-name { color: var(--text); text-decoration: none; }
.founder-name:hover { color: var(--accent-strong); text-decoration: underline; }
.founder-copy h3 .meta { font-weight: 400; letter-spacing: 0; }
.specs {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.specs dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.specs dd { margin: 0; color: var(--text); }

/* Contact */
.contact {
  display: grid;
  gap: 32px;
  justify-items: start;
}
.contact h2 { font-size: clamp(2.125rem, 5.5vw, 4rem); max-width: 16ch; }
.contact p:not(.label) { color: var(--text-muted); font-size: 1.125rem; max-width: 52ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Footer */
.footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-meta { display: grid; gap: 4px; }
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-family: var(--font-mono); font-size: 0.8125rem; }
.footer-links a:hover { color: var(--text); }

/* Privacy note */
.legal-head { padding-block: 28px; }
.legal {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding-bottom: 96px;
}
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { margin-top: 24px; font-size: 1.375rem; }
.legal p:not(.label):not(.meta) { color: var(--text-muted); }

/* ---------- Reduced motion: static equivalents ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .word { animation: none; opacity: 1; filter: none; transform: none; }
  .btn:hover, .card:hover { transform: none; }
  .caps-list::after { display: none; }
  .caps-list::before { background: var(--accent); opacity: 0.6; }
  .cap-node { animation: none; background: var(--accent); box-shadow: 0 0 8px rgba(61, 169, 255, 0.6); }
  .status-dot { animation: none; }
  .btn::after { display: none; }
  .btn:hover, .btn:focus-visible {
    background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px);
  }
  #tunnel { transition: none; }
}
