/* =====================================================================
   QUSCA — Quantum Space Communications Association
   Design language: "quantum-optics instrument console"
   Palette  : indigo near-black ground, cyan↔violet photon duotone
   Type     : Space Grotesk (display) · IBM Plex Sans (body) · IBM Plex Mono (data)
   Motif    : BB84 polarization states ( |  —  ╱  ╲ )
   ===================================================================== */

:root {
  /* --- committed palette --- */
  --ground:    #070A18;   /* midnight indigo */
  --ground-2:  #0B1024;   /* section alt */
  --surface:   #0E1430;   /* cards */
  --surface-2: #131B40;   /* raised */
  --text:      #EAEDFF;   /* cool near-white */
  --muted:     #8E97C4;   /* slate-violet */
  --faint:     #5C648F;
  --accent:    #34E5E0;   /* photon cyan */
  --accent-2:  #9A7CFF;   /* quantum violet */

  --line:      rgba(154,124,255,0.14);
  --line-2:    rgba(52,229,224,0.16);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);

  --r: 16px;
  --r-lg: 22px;

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans", system-ui, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------- reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(52,229,224,0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; left: 1rem; top: -100px;
  background: var(--accent); color: #06121a;
  padding: 0.6rem 1rem; border-radius: 10px; font-weight: 600; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,10,24,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.85rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--ff-display); }
.brand__text { font-weight: 700; letter-spacing: 0.14em; font-size: 1.05rem; }
.brand__mark {
  position: relative; width: 22px; height: 22px; display: inline-block; flex: none;
}
.brand__mark .pol {
  position: absolute; inset: 0; margin: auto;
  width: 2px; height: 20px; border-radius: 2px;
  background: var(--accent);
}
.pol--v { transform: rotate(0deg); }
.pol--h { transform: rotate(90deg); background: var(--accent-2); }
.pol--d { transform: rotate(45deg); opacity: 0.75; }
.pol--a { transform: rotate(135deg); background: var(--accent-2); opacity: 0.75; }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-family: var(--ff-mono); font-size: 0.82rem; color: var(--muted);
  letter-spacing: 0.02em; position: relative; padding: 0.2rem 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--grad); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.langswitch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.langswitch button {
  font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--muted);
  background: none; border: 0; cursor: pointer;
  padding: 0.32rem 0.62rem; border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.langswitch button:hover { color: var(--text); }
.langswitch button.is-active { color: #06121a; background: var(--accent); }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.01em;
  padding: 0.78rem 1.35rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn--primary {
  background: var(--grad); color: #06121a; font-weight: 600;
  box-shadow: 0 0 0 0 rgba(52,229,224,0.0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -12px rgba(52,229,224,0.6);
}
.btn--ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); color: #fff; }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 0.95rem; }

/* ============================================================ TYPOGRAPHY HELPERS */
.eyebrow {
  font-family: var(--ff-mono); text-transform: uppercase;
  font-size: 0.74rem; letter-spacing: 0.22em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0;
}
.eyebrow .tick { color: var(--accent-2); letter-spacing: 0.1em; font-size: 0.9em; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================ HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7.5rem var(--pad) 4rem;
  overflow: hidden;
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -10vw; top: -15vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(154,124,255,0.18), rgba(52,229,224,0.08) 45%, transparent 70%);
  filter: blur(20px);
}
.hero__grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy { max-width: 40ch; }
.hero__title {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem);
  font-weight: 700; margin: 1.3rem 0 0;
}
.hero__sub { color: var(--muted); margin-top: 1.5rem; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.clock {
  margin-top: 2.6rem; display: inline-grid; gap: 0.15rem;
  padding: 0.9rem 1.2rem; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--accent);
}
.clock__label { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.clock__readout { font-family: var(--ff-mono); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.clock__target { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--accent); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.hero__scroll-line { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: scrollpulse 2.2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* --- hero link diagram --- */
.hero__visual { position: relative; z-index: 2; display: flex; justify-content: center; }
.link {
  position: relative; width: min(330px, 80vw); aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
}
.link__node { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; }
.link__node svg { width: 60px; height: 60px; }
.link__node--sat { color: var(--accent); align-self: flex-end; }
.link__node--gs { color: var(--accent-2); align-self: flex-start; }
.link__node--sat svg { filter: drop-shadow(0 0 14px rgba(52,229,224,0.45)); }
.link__node--gs svg { filter: drop-shadow(0 0 14px rgba(154,124,255,0.4)); }
.link__tag {
  font-family: var(--ff-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.link__beam {
  position: absolute; top: 64px; bottom: 64px; left: 50%; width: 2px; transform: translateX(-50%) rotate(14deg);
  transform-origin: center;
  background: repeating-linear-gradient(to bottom, var(--line-2) 0 6px, transparent 6px 14px);
  z-index: 1;
}
.photon {
  position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(52,229,224,0.8);
  animation: photon-travel 4.4s linear infinite; animation-delay: var(--d);
}
.photon::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.5px; height: 16px;
  background: #fff; border-radius: 2px; transform: rotate(45deg); opacity: 0.85;
  animation: photon-spin 4.4s linear infinite; animation-delay: var(--d);
}
@keyframes photon-travel {
  0% { top: 4%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}
@keyframes photon-spin {
  0% { transform: rotate(0deg); } 25% { transform: rotate(45deg); }
  50% { transform: rotate(90deg); } 75% { transform: rotate(135deg); } 100% { transform: rotate(180deg); }
}
.link__bases {
  position: absolute; top: 50%; left: calc(50% + 26px); transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.basis { font-family: var(--ff-mono); font-size: 1.05rem; letter-spacing: 0.18em; color: var(--accent-2); }
.basis-label { font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); max-width: 14ch; line-height: 1.4; }

/* ============================================================ SECTIONS */
section[id], .cta[id] { scroll-margin-top: 84px; }
.section { position: relative; padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--alt { background: var(--ground-2); border-block: 1px solid var(--line); }
/* fine instrument-tick divider */
.section--alt::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 2px, transparent 2px 22px);
}

.sec-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); margin-top: 1rem; }
.sec-intro { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; }

.note {
  margin-top: 2.4rem; padding: 1.2rem 1.4rem; border-radius: 14px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-left: 2px solid var(--accent-2);
  color: var(--muted); max-width: 80ch; font-size: 0.98rem;
}
.note--accent { border-left-color: var(--accent); color: var(--text); }

/* ============================================================ PLAN / MOVES */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.move {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), rgba(14,20,48,0.4));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.move:hover { transform: translateY(-4px); border-color: var(--line-2); }
.move h3 { font-size: 1.3rem; margin: 1.4rem 0 0.7rem; }
.move p { color: var(--muted); font-size: 0.98rem; }
.move__mark { display: block; width: 30px; height: 30px; position: relative; }
.pol-mark::before, .pol-mark::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 2.5px; height: 30px; margin-left: -1.25px;
  border-radius: 3px; background: var(--accent);
}
.pol-mark::after { background: var(--accent-2); }
.pol-mark--v::before { transform: rotate(0deg); } .pol-mark--v::after { transform: rotate(90deg); }
.pol-mark--d::before { transform: rotate(45deg); } .pol-mark--d::after { transform: rotate(135deg); }
.pol-mark--a::before { transform: rotate(22deg); } .pol-mark--a::after { transform: rotate(112deg); }

/* ============================================================ MISSION */
.mission__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.mission__lead p { font-size: 1.12rem; }
.mission__protocol {
  margin-top: 1.5rem !important; font-family: var(--ff-mono); font-size: 0.92rem !important;
  color: var(--muted); padding-top: 1.3rem; border-top: 1px solid var(--line); line-height: 1.6;
}
.mission__protocol .k { color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-right: 0.6rem; }

.mission__diagram {
  padding: 2rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(154,124,255,0.1), transparent 70%), var(--surface);
}
.states { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.state {
  position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.015);
}
.state__line { width: 3px; height: 54%; background: var(--accent); border-radius: 3px; transform: rotate(var(--rot)); box-shadow: 0 0 10px rgba(52,229,224,0.5); }
.state:nth-child(odd) .state__line { background: var(--accent); box-shadow: 0 0 10px rgba(52,229,224,0.5); }
.state:nth-child(even) .state__line { background: var(--accent-2); box-shadow: 0 0 10px rgba(154,124,255,0.5); }
.state__lbl { position: absolute; bottom: 7px; right: 9px; font-family: var(--ff-mono); font-size: 0.62rem; color: var(--faint); }
.states__cap { margin-top: 1.2rem; font-family: var(--ff-mono); font-size: 0.74rem; line-height: 1.6; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.feature { padding: 1.5rem 1.3rem; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,0.015); border-top: 2px solid var(--accent); transition: transform 0.3s var(--ease), border-color 0.3s; }
.feature:nth-child(even) { border-top-color: var(--accent-2); }
.feature:hover { transform: translateY(-4px); }
.feature h3 { font-size: 1.06rem; margin-bottom: 0.55rem; line-height: 1.2; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================ STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  padding: 1.8rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface); position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.1rem; height: 1px; background: repeating-linear-gradient(to right, var(--line) 0 2px, transparent 2px 8px); }
.stat__num { display: block; font-family: var(--ff-mono); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat--accent .stat__num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__lbl { display: block; margin-top: 1.6rem; color: var(--muted); font-size: 0.88rem; }

/* ============================================================ CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cards--why { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 1.7rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface); position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card__kicker { font-family: var(--ff-mono); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 0.7rem; }

/* ============================================================ TIMELINE */
.timeline { position: relative; display: grid; gap: 0.4rem; padding-left: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--accent), var(--accent-2)); }
.tl { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.1rem 0; align-items: baseline; }
.tl::before { content: ""; position: absolute; left: -1.4rem; top: 1.45rem; width: 11px; height: 11px; margin-left: 0px; border-radius: 50%; background: var(--ground); border: 2px solid var(--accent); }
.tl--key::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(52,229,224,0.18); }
.tl__date { font-family: var(--ff-mono); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--accent); white-space: nowrap; }
.tl--key .tl__date { color: #fff; font-weight: 600; }
.tl__body h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.tl__body p { color: var(--muted); font-size: 0.95rem; }
.tl--key .tl__body h3 { color: var(--accent); }
.tl + .tl { border-top: 1px solid var(--line); }

/* ============================================================ SCORECARD BARS */
.bars { display: grid; gap: 2rem; max-width: 820px; }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.7rem; }
.bar__name { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; }
.bar__pct { font-family: var(--ff-mono); font-size: 1.1rem; font-weight: 600; color: var(--accent); }
.bar__track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.05); overflow: hidden; border: 1px solid var(--line); }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.1s var(--ease); }
.bar.is-in .bar__fill { width: var(--pct); }
.bar__desc { margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }

/* ============================================================ ALLIES */
.allies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ally { padding: 1.6rem 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: transform 0.3s var(--ease), border-color 0.3s; }
.ally:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ally__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 0.6rem; }
.ally p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================ CTA */
.cta { position: relative; padding: clamp(5rem, 9vw, 9rem) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(154,124,255,0.16), transparent 60%), var(--ground); }
.cta__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cta__inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-top: 1.2rem; max-width: 20ch; background: linear-gradient(180deg, #fff, #c9cdf2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__sub { color: var(--muted); margin-top: 1.3rem; max-width: 56ch; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; justify-content: center; }
.cta__contact { margin-top: 2rem; font-family: var(--ff-mono); font-size: 0.85rem; color: var(--muted); }
.cta__contact a { color: var(--accent); }
.cta__contact a:hover { text-decoration: underline; }

/* ============================================================ FOOTER */
.foot { background: var(--ground); border-top: 1px solid var(--line); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; }
.foot__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; align-items: start; }
.foot__brand .brand__text { font-family: var(--ff-display); font-weight: 700; letter-spacing: 0.14em; font-size: 1.2rem; }
.foot__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; max-width: 36ch; }
.foot__links { display: grid; gap: 0.6rem; }
.foot__links a { font-family: var(--ff-mono); font-size: 0.84rem; color: var(--muted); transition: color 0.2s; }
.foot__links a:hover { color: var(--accent); }
.foot__note { font-family: var(--ff-mono); font-size: 0.84rem; color: var(--muted); }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--ff-mono); font-size: 0.76rem; color: var(--faint); }

/* ============================================================ SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 1rem; }
  .link { width: min(260px, 70vw); }
  .moves { grid-template-columns: 1fr; }
  .mission__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards--why, .allies { grid-template-columns: repeat(2, 1fr); }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 1.2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,10,24,0.97); backdrop-filter: blur(14px);
    padding: 1.5rem var(--pad) 2rem; border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { font-size: 1rem; }
}

@media (max-width: 600px) {
  .features, .stats, .cards, .cards--why, .allies, .foot__inner { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 0.3rem; }
  .tl__date { font-size: 0.78rem; }
  .foot__legal { flex-direction: column; }
}

/* ============================================================ BURGER (hidden by default) */
.nav__burger { display: none; flex-direction: column; gap: 5px; justify-content: center; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); margin-inline: auto; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .photon { display: none; }
  .hero__scroll-line { animation: none; }
}
