@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotAng { to { --ang: 360deg; } }

:root {
  --bg: #03060d;
  --surface: rgba(8, 16, 30, 0.76);
  --glass: rgba(10, 16, 34, 0.68);
  --line: rgba(120, 200, 255, 0.16);
  --line-strong: rgba(120, 220, 255, 0.44);
  --cyan: #2ee6ff;
  --blue: #2f7bff;
  --gold: #ffc23d;
  --magenta: #ff4fd8;
  --ok: #3dffa8;
  --a1: #C04CFF;
  --a2: #00D8FF;
  --a3: #FFB800;
  --spectrum: linear-gradient(95deg, #FFD23F, #FF8A3D, #FF3B5C, #C04CFF, #2ee6ff, #3dffa8);
  --text: #e8f3ff;
  --muted: #8ea6c2;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-ui: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* WebGL Backdrop (attivo SOLO sotto l'hero allo scroll) */
#bgfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; }

/* Aurora Atmosphere */
.aurora-bg { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .20;
  transition: background 1s ease;
  animation: floatOrb 14s ease-in-out infinite alternate;
}
.orb-1 { width: 620px; height: 620px; top: -180px; left: -100px; background: var(--a1); }
.orb-2 { width: 560px; height: 560px; top: 14%; right: -120px; background: var(--a2); animation-delay: -5s; }
.orb-3 { width: 500px; height: 500px; bottom: -160px; left: 30%; background: var(--a3); opacity: .14; animation-delay: -9s; }
@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(45px, 35px) scale(1.1); }
}

.page-content { position: relative; z-index: 2; width: 100%; max-width: 100%; overflow-x: clip; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }

/* Ring Logo & Wordmark */
.ring-logo {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.35), rgba(3, 6, 13, 0.9) 68%);
  box-shadow: 0 0 0 2px rgba(120, 220, 255, 0.9), 0 0 16px 3px rgba(46, 150, 255, 0.7), inset 0 0 16px rgba(46, 200, 255, 0.55);
}
.ring-logo img { width: 62%; height: 62%; border-radius: 50%; filter: drop-shadow(0 0 6px rgba(120,220,255,.9)); }
.wordmark {
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.22em; font-size: 16px;
  background: linear-gradient(90deg, #fff, var(--cyan) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Navbar + CmsMenu */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(3, 6, 13, 0.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(3, 6, 13, 0.94); border-color: var(--line-strong); }
.nav-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.nav-links { display: flex; align-items: center; }
.nav-links .cms-menu {
  list-style: none; display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); font-weight: 500;
  margin: 0; padding: 0;
}
.nav-links .cms-menu a:hover, .nav-links .cms-menu li.active > a { color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; font-size: 22px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; position: relative; overflow: hidden;
  font: 700 12px var(--font-display); letter-spacing: .09em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), #6fb3ff 50%, var(--gold)); color: #02101c;
  box-shadow: 0 0 26px rgba(46, 230, 255, 0.42); transition: transform .15s, filter .2s;
  white-space: nowrap;
}
.btn-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  animation: shine 4s infinite;
}
@keyframes shine { 60%, 100% { left: 130%; } }
.btn-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600;
  background: rgba(8, 16, 30, 0.65); backdrop-filter: blur(8px); transition: background .2s;
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(46,230,255,.14); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-sm::after { display: none; }
.btn-nav-sm { padding: 8px 14px; font-size: 12.5px; }

/* HERO */
.hero {
  position: relative; width: 100%; max-width: 100%; min-height: calc(100svh - 70px); display: flex; flex-direction: column;
  padding: 76px 0 32px; overflow: hidden; overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: 0; filter: saturate(1.18) contrast(1.05);
  transform: scale(1.04); transition: opacity .75s ease, transform 1.1s ease;
}
.hero-bg-layer.active { opacity: 0.80; transform: scale(1.01); }
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 25%, var(--a1), transparent 70%),
    radial-gradient(55% 48% at 82% 28%, var(--a2), transparent 72%);
  opacity: 0.22; mix-blend-mode: screen;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,6,13,.44) 0%, rgba(3,6,13,.18) 28%, rgba(3,6,13,.04) 52%, rgba(3,6,13,.56) 80%, #03060d 100%),
    radial-gradient(60% 42% at 50% 54%, transparent 0%, rgba(3,6,13,.20) 100%);
}
#hero-stars {
  position: absolute; top: 0; left: 0; width: 100%; height: 52%;
  z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
.ava-satellite {
  --sat-scale: 0.78;
  position: absolute; top: 0; left: 0; width: 146px; height: 50px;
  z-index: 1; pointer-events: none; will-change: left, top, transform, opacity;
  filter: drop-shadow(0 0 12px rgba(46, 230, 255, 0.38));
  animation: satOrbit 64s linear infinite;
  animation-delay: -47s;
}
@keyframes satOrbit {
  0%   { left: -170px; top: 26px; opacity: 0; transform: rotate(-5deg) scale(var(--sat-scale, 1)); }
  6%   { opacity: 0.95; }
  50%  { left: 50%; top: 10px; opacity: 0.96; transform: rotate(0deg) scale(var(--sat-scale, 1)); }
  94%  { opacity: 0.95; }
  100% { left: calc(100% + 170px); top: 26px; opacity: 0; transform: rotate(5deg) scale(var(--sat-scale, 1)); }
}
.sat-trail {
  position: absolute; right: 92px; top: 50%; width: 110px; height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.42), rgba(255, 194, 61, 0.45));
  filter: blur(0.6px);
}
.sat-svg { width: 146px; height: 50px; display: block; }
.sat-emblem {
  position: absolute; left: 50%; top: 50%; width: 28px; height: 28px;
  transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(120, 220, 255, 0.9);
  box-shadow: 0 0 14px rgba(46, 230, 255, 0.85);
}
.sat-led { animation: satBlink 1.5s ease-in-out infinite alternate; }
@keyframes satBlink { from { opacity: 0.35; } to { opacity: 1; } }

.hero-inner {
  position: relative; z-index: 2; width: 100%; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.hero-top-group { width: 100%; }
.hero-head { text-align: center; max-width: 1180px; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-ui); font-weight: 800;
  font-size: clamp(24px, 2.9vw, 44px); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 auto; text-shadow: 0 8px 34px rgba(3,6,13,.85);
}
.hero-subhead {
  display: block; text-align: center; font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(14px, 1.45vw, 20px); line-height: 1.25; letter-spacing: 0.01em;
  color: #F2F7FF; margin: 10px auto 0; text-shadow: 0 4px 22px rgba(3,6,13,.88);
}
.grad-text, .prism-grad {
  background: var(--spectrum); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 6s linear infinite;
}
@keyframes flow { to { background-position: 200% 0; } }

.hero-bottom {
  display: grid; grid-template-columns: minmax(0, 1.35fr) auto; gap: 28px; align-items: end;
}
.hero-bottom > *, .disc-box > *, .bridge > * { min-width: 0; }
.hero-lead {
  max-width: 630px; margin: 0 0 14px; font-size: 14.5px; color: #E0EBF9; line-height: 1.5;
  text-shadow: 0 2px 16px rgba(3,6,13,.9);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }

.telemetry {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin: 14px 0 0; max-width: 630px;
}
.tel-item {
  padding: 10px 12px; border-radius: 14px;
  background: rgba(6, 12, 26, 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(10px); text-align: left;
}
.tel-item b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--cyan); line-height: 1.15; }
.tel-item span { font-size: 11.5px; color: var(--muted); }

.glass-panel {
  border-radius: 24px; overflow: hidden; background: var(--glass);
  border: 1px solid var(--line-strong); backdrop-filter: blur(16px);
  box-shadow: 0 28px 80px -24px rgba(46,230,255,.22);
}
.logo-panel {
  justify-self: end; align-self: end; width: min(275px, 100%);
  padding: 16px 18px; display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; background: rgba(6, 12, 26, 0.56);
}
.logo-panel img {
  width: 78px; height: 78px; object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(192,76,255,.52));
}

.section { padding: 78px 0; position: relative; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-h { font-family: var(--font-ui); font-size: clamp(24px, 3.1vw, 38px); font-weight: 700; line-height: 1.08; margin: 10px 0 16px; }
.reveal { opacity: 0; transform: translateY(30px); filter: blur(4px); transition: opacity .85s, transform .85s, filter .85s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.tilt { position: relative; transition: transform .18s ease-out; }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--gold), var(--magenta), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .36; animation: rotAng 7s linear infinite; pointer-events: none; transition: opacity .3s;
}
.tilt:hover::before { opacity: .95; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(46,230,255,.12), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.tilt:hover::after { opacity: 1; }

/* Marquee */
.marquee-sec { width: 100%; max-width: 100%; padding: 24px 0; overflow: hidden; overflow: clip; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marqueeL 34s linear infinite; }
.marquee-track.rev { margin-top: 12px; animation: marqueeR 38s linear infinite; }
.marquee-sec:hover .marquee-track, .marquee-sec:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marqueeL { to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.m-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(10px); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .18s, box-shadow .2s;
}
.m-pill::after { content: "↗"; font-size: 11px; color: var(--cyan); opacity: .75; transition: transform .18s, opacity .2s; }
.m-pill:hover, .m-pill:focus-visible {
  background: rgba(46, 230, 255, .14); border-color: var(--cyan); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 24px -6px rgba(46, 230, 255, .42); outline: none;
}

.geo-note {
  max-width: 980px; margin: 18px auto 0; padding: 12px 18px; border-radius: 14px;
  background: rgba(8, 16, 30, 0.72); border: 1px solid var(--line);
  font-size: 13px; color: #C9DAEE; text-align: center; line-height: 1.5;
}
.legal-geo-card {
  margin-top: 20px; padding: 20px 24px; border-radius: 20px;
  background: rgba(8, 16, 30, 0.78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}
.legal-geo-card .chip-badge {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; color: var(--gold); padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 194, 61, 0.1); border: 1px solid rgba(255, 194, 61, 0.38); margin-bottom: 10px;
}
.legal-geo-card p { font-size: 14px; color: #D4E1F4; line-height: 1.58; }

/* Accordion */
.accordion { display: flex; gap: 14px; height: 460px; margin-top: 28px; }
.acc-item {
  position: relative; flex: 1; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
  transition: flex .55s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.acc-item.active { flex: 3.1; border-color: rgba(46,230,255,.65); box-shadow: 0 24px 70px -24px rgba(46,230,255,.28); }
.acc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.acc-item.active img { transform: scale(1.03); }
.acc-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,6,13,.15) 20%, rgba(3,6,13,.93) 100%);
}
.acc-content { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.acc-tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; padding: 4px 10px;
  border-radius: 999px; background: rgba(3,6,13,.78); border: 1px solid var(--line-strong); color: var(--cyan); margin-bottom: 8px;
}
.acc-content h3 { font-family: var(--font-ui); font-size: 20px; line-height: 1.1; }
.acc-desc { max-height: 0; opacity: 0; overflow: hidden; transition: all .35s; font-size: 14px; color: #D7E3F5; margin-top: 8px; }
.acc-item.active .acc-desc { max-height: 140px; opacity: 1; }

/* Discipline */
.disc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.disc-tab {
  padding: 10px 18px; border-radius: 14px; font-size: 14px; font-weight: 600;
  background: var(--glass); border: 1px solid var(--line); color: var(--muted); transition: all .2s;
}
.disc-tab:hover { border-color: var(--line-strong); color: #fff; }
.disc-tab.active { background: var(--spectrum); color: #050811; border-color: transparent; font-weight: 700; }
.disc-box {
  padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(18px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
}
.disc-box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-strong); }

/* Bridge */
.bridge {
  padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(16px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
}
.bridge-node { padding: 24px; border-radius: 20px; background: rgba(3,6,13,.68); border: 1px solid var(--line); }
.bridge-arrow { font-family: var(--mono); font-size: 13px; color: var(--cyan); text-align: center; }

/* Portal Gateway Finale */
.gateway {
  text-align: center; padding: 68px 30px; border-radius: 32px;
  background: radial-gradient(circle at 50% 35%, rgba(192,76,255,.20), rgba(46,230,255,.08) 45%, rgba(6,10,22,.92));
  border: 1px solid var(--line-strong); position: relative; overflow: hidden;
}
#shooting { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ring-spin {
  width: 118px; height: 118px; margin: 0 auto 14px; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 0deg, #FFD23F, #FF3B5C, #C04CFF, #00D8FF, #00FF9C, #FFD23F);
  animation: spinRing 8s linear infinite; display: grid; place-items: center; position: relative; z-index: 2;
}
@keyframes spinRing { to { transform: rotate(360deg); } }
.ring-inner {
  width: 100%; height: 100%; border-radius: 50%; background: #060613;
  display: grid; place-items: center; animation: spinRing 8s linear infinite reverse;
}
.ring-inner img { width: 64px; height: 64px; object-fit: contain; }
.particle-title { position: relative; z-index: 2; width: 100%; height: clamp(82px, 10vw, 130px); display: block; cursor: crosshair; }

/* Forms: /registrati, /accedi, pagine CMS */
.narrow-page { padding: 54px 0 80px; }
.form-card {
  max-width: 600px; margin: 0 auto; padding: 32px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-strong); backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px -24px rgba(46,230,255,.22);
}
.stack-form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-group { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.field-group input, .field-group select, .field-group textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(3, 8, 18, 0.72);
  color: var(--text); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field-group input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 230, 255, .15); }
.reg-kind-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reg-kind-pill {
  padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(3, 8, 18, 0.65); color: var(--muted); font-size: 13px; font-weight: 600;
  transition: all .15s; text-align: center;
}
.reg-kind-pill.is-on {
  border-color: var(--cyan); background: rgba(46, 230, 255, .14); color: #fff;
  box-shadow: 0 0 0 1px rgba(46, 230, 255, .35);
}
.is-hidden { display: none !important; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #C9DAEE; line-height: 1.45; }
.check-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--cyan); flex: none; }
.check-row a { color: var(--cyan); text-decoration: underline; }
.alert-box { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.alert-success { background: rgba(61, 255, 168, .12); border: 1px solid rgba(61, 255, 168, .45); color: #d8ffec; }
.alert-error { background: rgba(255, 90, 110, .14); border: 1px solid rgba(255, 90, 110, .48); color: #ffd4da; }
.auth-alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 13.5px; color: var(--muted); }
.auth-alt a { color: var(--cyan); font-weight: 600; display: inline-block; margin-top: 4px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.foot-brand { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.foot-links .cms-links-title { display: none; }
.foot-links .cms-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.foot-links .cms-links a:hover { color: var(--cyan); }
.foot-legal { margin-top: 10px; font-size: 12px; color: #7890ad; }

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    background: #050a16;
    padding: 16px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88);
  }
  .nav.open .nav-links { display: block; }
  .nav-links .cms-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
  }
  .nav-links .cms-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(14, 24, 46, 0.72);
    border: 1px solid rgba(120, 200, 255, 0.14);
  }
  .nav-links .cms-menu a:hover,
  .nav-links .cms-menu li.active > a {
    border-color: var(--cyan);
    background: rgba(46, 230, 255, 0.12);
    color: var(--cyan);
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: auto; padding: 36px 0 32px; }
  .hero-inner { gap: 22px; }
  .hero-bottom, .disc-box, .bridge { grid-template-columns: 1fr; }
  .logo-panel { justify-self: stretch; width: 100%; max-width: 100%; }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accordion { flex-direction: column; height: auto; }
  .acc-item { min-height: 160px; }
  .acc-item.active { min-height: 290px; flex: 1; }
  .acc-item.active .acc-desc { max-height: 280px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-inner { height: 62px; gap: 8px; }
  .nav-brand { gap: 8px; }
  .ring-logo { width: 32px; height: 32px; }
  .wordmark { font-size: 13.5px; letter-spacing: 0.14em; }
  .nav-actions { gap: 6px; flex-shrink: 0; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-cta.btn-sm { padding: 7px 11px; font-size: 10px; letter-spacing: 0.05em; }
  .nav-toggle { width: 38px; height: 38px; padding: 0; font-size: 18px; flex: none; }

  .btn-cta, .btn-ghost {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hero { padding: 28px 0 26px; }
  .hero h1 { font-size: clamp(23px, 6.8vw, 32px); line-height: 1.14; }
  .hero-subhead { font-size: clamp(13.5px, 3.8vw, 17px); margin-top: 8px; }
  .hero-lead { font-size: 14px; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 10px; }
  .hero-ctas .btn-cta, .hero-ctas .btn-ghost { width: 100%; justify-content: center; padding: 13px 16px; font-size: 11px; letter-spacing: 0.06em; }
  .ava-satellite { --sat-scale: 0.56; }

  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 100%; }
  .tel-item { padding: 10px; }
  .tel-item b { font-size: 16px; }
  .tel-item span { font-size: 11px; }

  .section { padding: 48px 0; }
  .sec-h { font-size: clamp(21px, 6vw, 28px); }
  .m-pill { padding: 8px 14px; font-size: 12.5px; }
  .geo-note { font-size: 12.5px; padding: 12px 14px; }

  .acc-item { min-height: 130px; border-radius: 18px; }
  .acc-item.active { min-height: 290px; }
  .acc-content { left: 16px; right: 16px; bottom: 16px; }
  .acc-content h3 { font-size: 18px; }

  .disc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .disc-tab { padding: 10px 8px; font-size: 12.5px; text-align: center; }
  .disc-box { padding: 20px 16px; gap: 18px; border-radius: 20px; }

  .bridge { padding: 18px 14px; gap: 14px; border-radius: 20px; }
  .bridge-node { padding: 16px; border-radius: 16px; }
  .bridge-arrow { font-size: 12px; }
  .legal-geo-card { padding: 16px; border-radius: 16px; }

  .gateway { padding: 36px 16px; border-radius: 22px; }
  .ring-spin { width: 88px; height: 88px; }
  .ring-inner img { width: 48px; height: 48px; }
  .particle-title { height: 68px; }

  .foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-links .cms-links { gap: 8px 16px; }

  .narrow-page { padding: 28px 0 54px; }
  .form-card { padding: 20px 16px; border-radius: 18px; }
  .row2, .reg-kind-pills { grid-template-columns: 1fr; }
  .field-group input, .field-group select, .field-group textarea { font-size: 16px; }
}

@media (max-width: 330px) {
  .telemetry { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
