:root {
  --bg: #0b0f12;
  --panel: #11171b;
  --panel-2: #0e1418;
  --panel-3: #0a1014;
  --border: #1f2a30;
  --border-strong: #2a3940;
  --text: #e6edf0;
  --muted: #8a9ba6;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --accent-strong: #3b82f6;
  --amber: #fbbf24;
  --maxw: 1120px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 18, 0.78);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #06122a !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(96,165,250,0.5);
  transition: box-shadow .25s, background .15s, transform .15s;
}
.nav-cta:hover { background: var(--accent-strong); box-shadow: 0 0 0 6px rgba(96,165,250,0.12); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-inner { min-height: 64px; height: auto; padding: 10px 24px; gap: 16px; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a:not(.nav-cta) { display: inline; font-size: 12px; }
  .nav-cta {
    padding: 7px 10px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .nav-links { gap: 10px; }
}

/* ============ LOGO PICKER (temporary) ============ */
.picker {
  background: var(--panel-3);
  border-bottom: 1px solid var(--border);
  padding: 18px 0 22px;
}
.picker-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 880px) { .picker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .picker-grid { grid-template-columns: repeat(2, 1fr); } }

.picker-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 10px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
}
.picker-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: var(--panel);
}
.picker-item:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(96,165,250,0.4);
}
.picker-item.selected {
  border-color: var(--accent);
  background: rgba(96, 165, 250, 0.06);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px -10px rgba(96,165,250,0.45);
}
.picker-item.selected .picker-num { color: #fff; }
.picker-item.selected::after {
  content: "✓ ACTIVE";
  position: absolute;
  top: 6px; right: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.picker-item { position: relative; }
.picker-logo {
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
}
.picker-logo svg { width: 100%; height: 100%; }
.picker-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}
.picker-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.picker-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 01: Pulse Dot */
.logo-pulse {
  transform-origin: 16px 16px;
  animation: logoPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #60a5fa);
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(0.65); opacity: 0.5; }
}

/* 02: Mini Radar sweep */
.logo-sweep {
  transform-origin: 16px 16px;
  animation: sweep 2.6s linear infinite;
}

/* 03: Aircraft banking */
.logo-plane {
  transform-origin: 16px 16px;
  animation: logoBank 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(96,165,250,0.45));
}
@keyframes logoBank {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50%      { transform: rotate(9deg)  translateY(-1px); }
}

/* 04: TCAS triangle */
.logo-tcas {
  transform-origin: 16px 16px;
  animation: logoTcas 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(96,165,250,0.4));
}
@keyframes logoTcas {
  0%, 100% { opacity: 1;    transform: translateY(0); }
  50%      { opacity: 0.55; transform: translateY(-1.5px); }
}

/* 05: Signal arcs */
.wave { opacity: 0; transform-origin: 16px 23px; animation: logoWave 1.9s ease-out infinite; }
.w1 { animation-delay: 0s;   }
.w2 { animation-delay: 0.32s; }
.w3 { animation-delay: 0.64s; }
@keyframes logoWave {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  100% { opacity: 0; }
}

/* 06: Compass */
.logo-compass {
  transform-origin: 16px 16px;
  animation: logoNeedle 4.5s ease-in-out infinite;
}
@keyframes logoNeedle {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg);  }
}

/* ============ BIG LOGO ANIMATIONS (inside .hud-radar) ============ */
.hud-radar svg { width: 100%; height: auto; display: block; }

/* control tower beacon (slow blink, like real obstruction light) */
.tower-beacon {
  filter: drop-shadow(0 0 1.5px #fbbf24);
  animation: beaconBlink 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes beaconBlink {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* ============ ANIM 4: Phosphor CRT sweep ============ */
.phos-sweep {
  transform-origin: 160px 160px;
  animation: phosSweep 4s linear infinite;
}
@keyframes phosSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.phos-blip { animation: phosBlip 4s linear infinite; }
.phos-1 { animation-delay: 0s;   }
.phos-2 { animation-delay: 0.6s; }
.phos-3 { animation-delay: 1.2s; }
.phos-4 { animation-delay: 1.8s; }
.phos-5 { animation-delay: 2.4s; }
.phos-6 { animation-delay: 3.0s; }
.phos-7 { animation-delay: 3.4s; }
@keyframes phosBlip {
  0%   { opacity: 1; }
  10%  { opacity: 1; filter: drop-shadow(0 0 3px #60a5fa); }
  90%  { opacity: 0.05; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .phos-sweep, .phos-blip { animation: none !important; opacity: 1 !important; }
}

/* 01: concentric pings */
.big-ping {
  transform-origin: 160px 160px;
  opacity: 0;
  animation: bigPing 3s ease-out infinite;
}
@keyframes bigPing {
  0%   { transform: scale(0.3); opacity: 0.85; }
  100% { transform: scale(7);   opacity: 0; }
}

/* 03: banking aircraft */
.big-plane {
  transform-origin: 0 0;
  animation: bigBank 5s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(96,165,250,0.45));
}
@keyframes bigBank {
  0%, 100% { transform: rotate(-15deg) translateY(4px); }
  50%      { transform: rotate(15deg)  translateY(-4px); }
}

/* 04: TCAS blink */
.big-tcas-own {
  transform-origin: 160px 160px;
  animation: bigTcasOwn 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(96,165,250,0.4));
}
@keyframes bigTcasOwn {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}
.tcas-tgt { animation: bigTcasBlink 2s ease-in-out infinite; }
.tcas-t1 { animation-delay: 0s;   }
.tcas-t2 { animation-delay: 0.4s; }
.tcas-t3 { animation-delay: 0.8s; }
@keyframes bigTcasBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* 05: signal waves */
.big-wave { opacity: 0; animation: bigSig 2.2s ease-out infinite; }
.bw1 { animation-delay: 0s;   }
.bw2 { animation-delay: 0.4s; }
.bw3 { animation-delay: 0.8s; }
@keyframes bigSig {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 0; }
}

/* 06: compass needle */
.big-needle {
  transform-origin: 160px 160px;
  animation: bigNeedle 5s ease-in-out infinite;
}
@keyframes bigNeedle {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg);  }
}

/* SID climb */
.sid-path {
  animation: sidFlow 1.8s linear infinite;
}
@keyframes sidFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -20; }
}
.alt-step {
  opacity: 0.45;
  animation: altStep 4.8s ease-in-out infinite;
}
.alt-step-1 { animation-delay: 0s; }
.alt-step-2 { animation-delay: 1.2s; }
.alt-step-3 { animation-delay: 2.4s; }
@keyframes altStep {
  0%, 100% { opacity: 0.45; }
  25%, 45% { opacity: 1; filter: drop-shadow(0 0 5px rgba(96,165,250,0.6)); }
}

/* STAR descent */
.star-path {
  animation: starFlow 2s linear infinite;
}
@keyframes starFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 20; }
}
.descent-band {
  opacity: 0.4;
  animation: descentCue 5.2s ease-in-out infinite;
}
.descent-1 { animation-delay: 0s; }
.descent-2 { animation-delay: 1.3s; }
.descent-3 { animation-delay: 2.6s; }
@keyframes descentCue {
  0%, 100% { opacity: 0.4; }
  20%, 42% { opacity: 1; filter: drop-shadow(0 0 5px rgba(96,165,250,0.5)); }
}

/* handoff */
.handoff-freq {
  animation: handoffFreq 2.4s ease-in-out infinite;
}
@keyframes handoffFreq {
  0%, 100% { opacity: 0.55; }
  45%, 65% { opacity: 1; filter: drop-shadow(0 0 5px rgba(251,191,36,0.65)); }
}
.handoff-pulse {
  transform-origin: 168px 142px;
  animation: handoffPulse 2.4s ease-out infinite;
}
@keyframes handoffPulse {
  0%   { opacity: 1; transform: scale(0.7); }
  100% { opacity: 0.2; transform: scale(1.8); }
}

/* final monitor */
.final-gate {
  animation: finalGate 2.1s ease-in-out infinite;
}
@keyframes finalGate {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; filter: drop-shadow(0 0 5px rgba(96,165,250,0.55)); }
}
.runway-clear {
  animation: runwayClear 3.2s ease-in-out infinite;
}
@keyframes runwayClear {
  0%, 100% { opacity: 0.45; }
  35%, 70% { opacity: 1; }
}

/* traffic advisory */
.traffic-bubble {
  transform-origin: 172px 144px;
  animation: trafficBubble 2s ease-out infinite;
}
@keyframes trafficBubble {
  0%   { opacity: 1; transform: scale(0.75); }
  100% { opacity: 0.25; transform: scale(1.4); }
}
.traffic-conflict {
  animation: conflictDash 1.2s linear infinite;
}
.traffic-tag {
  animation: trafficTag 1.8s ease-in-out infinite;
}
@keyframes conflictDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -16; }
}
@keyframes trafficTag {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; filter: drop-shadow(0 0 5px rgba(251,191,36,0.55)); }
}

/* vectoring */
.vector-arc {
  animation: pathFlow 1.6s linear infinite;
}

/* holding pattern */
.hold-track {
  animation: pathFlow 1.8s linear infinite;
}

/* missed approach */
.missed-path {
  animation: pathFlow 1.4s linear infinite;
}

/* runway crossing */
.cross-route {
  animation: pathFlow 1.5s linear infinite;
}
.cross-bars {
  animation: crossBars 1.8s ease-in-out infinite;
}
@keyframes crossBars {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; filter: drop-shadow(0 0 5px rgba(251,191,36,0.55)); }
}

/* altitude monitor */
.alt-profile {
  animation: pathFlow 1.6s linear infinite;
}
.alt-band {
  animation: altBand 2.2s ease-in-out infinite;
}
@keyframes altBand {
  0%, 100% { opacity: 0.08; }
  50%      { opacity: 0.22; }
}

@keyframes pathFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -24; }
}

@media (prefers-reduced-motion: reduce) {
  .sid-path, .star-path, .alt-step, .descent-band,
  .handoff-freq, .handoff-pulse, .final-gate, .runway-clear,
  .traffic-bubble, .traffic-conflict, .traffic-tag, .vector-arc,
  .hold-track, .missed-path, .cross-route, .cross-bars, .alt-profile, .alt-band {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-pulse, .logo-sweep, .logo-plane, .logo-tcas,
  .wave, .logo-compass,
  .big-ping, .big-plane, .big-tcas-own, .tcas-tgt, .big-wave, .big-needle { animation: none !important; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 30% 10%, rgba(96,165,250,0.10), transparent 60%),
    radial-gradient(ellipse 700px 350px at 90% 90%, rgba(96,165,250,0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 75%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift {
  from { background-position: -1px -1px; }
  to   { background-position: -57px -57px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 460px minmax(720px, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1600px;          /* override .container's 1120px cap */
}
.hero-text { max-width: 460px; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-grid .cta-row,
  .hero-grid .hero-brand { justify-content: center; }
  .hero { padding: 56px 0 64px; }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #c8d4dc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hero brand wordmark + animated next-arrow */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 18px;
}
.hero-brand-name {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.next-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1em;
  line-height: 1;
}
.chev {
  color: var(--accent);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  display: inline-block;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
  animation: chevSlide 1.4s cubic-bezier(.4, 0, .6, 1) infinite;
}
.chev:nth-child(1) { animation-delay: 0s;    }
.chev:nth-child(2) { animation-delay: 0.18s; }
.chev:nth-child(3) { animation-delay: 0.36s; }
@keyframes chevSlide {
  0%   { opacity: 0;    transform: translateX(-10px); }
  35%  { opacity: 0.95; transform: translateX(0); }
  70%  { opacity: 0.95; transform: translateX(4px); }
  100% { opacity: 0;    transform: translateX(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .chev { animation: none; opacity: 0.8; transform: none; }
}
.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-meta {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-stack .btn {
  max-width: 100%;
}
.archive-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #06122a;
  box-shadow: 0 8px 24px -8px rgba(96,165,250,0.4);
}
.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 32px -8px rgba(96,165,250,0.55);
}
body .archive-download-btn {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber) !important;
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.22);
}
body .archive-download-btn:hover {
  background: rgba(251, 191, 36, 0.18);
  color: var(--amber) !important;
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 12px 32px -8px rgba(251, 191, 36, 0.34);
}
body .nextatc-outline-btn,
body .nextatc-outline-btn:visited {
  background: rgba(96, 165, 250, 0.12) !important;
  color: var(--accent) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  box-shadow: 0 8px 24px -8px rgba(96, 165, 250, 0.22) !important;
}
body .nextatc-outline-btn:hover,
body .nextatc-outline-btn:focus-visible {
  background: rgba(96, 165, 250, 0.18) !important;
  color: var(--accent) !important;
  border-color: rgba(96, 165, 250, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(96, 165, 250, 0.34) !important;
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-paypal {
  background: linear-gradient(180deg, #0070ba 0%, #003087 100%);
  color: #ffffff;
  border-color: #003087;
  box-shadow: 0 8px 24px -8px rgba(0, 112, 186, 0.45);
}
.btn-paypal:hover {
  background: linear-gradient(180deg, #008cdd 0%, #0049a8 100%);
  color: #ffffff;
  box-shadow: 0 12px 32px -8px rgba(0, 112, 186, 0.6);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }

@media (max-width: 560px) {
  .cta-stack {
    align-items: stretch;
  }
  .cta-stack .btn {
    width: 100%;
    text-align: center;
  }
  .archive-cta-row {
    align-items: stretch;
  }
  .archive-cta-row .alpha-tag {
    align-self: flex-start;
  }
}

/* ============ SUBPAGES ============ */
.subpage-hero {
  padding: 96px 0 72px;
}
.subpage-hero .narrow {
  max-width: 820px;
}
.download-panel {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.legacy-copy {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}
.legacy-copy p {
  margin: 0 0 14px;
}
.legacy-copy p:last-child {
  color: var(--text);
  margin-bottom: 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.info-panel {
  min-width: 0;
}
.text-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(96, 165, 250, 0.35);
}
.text-link:hover {
  border-bottom-color: var(--accent);
}
@media (max-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ HUD (right hero column) ============ */
.hero-art { position: relative; perspective: 1200px; }
.hud {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform .25s ease-out;
  transform-style: preserve-3d;
}
.hud-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
  opacity: 0.6;
}
.hud-corner-tl { top: 6px; left: 6px;  border-right: 0; border-bottom: 0; }
.hud-corner-tr { top: 6px; right: 6px; border-left: 0;  border-bottom: 0; }
.hud-corner-bl { bottom: 6px; left: 6px;  border-right: 0; border-top: 0; }
.hud-corner-br { bottom: 6px; right: 6px; border-left: 0;  border-top: 0; }

.hud-top {
  display: block;
}
.hud-radar {
  background:
    radial-gradient(circle at 50% 50%, rgba(96,165,250,0.07), transparent 58%),
    #081014;
  border: 1px solid rgba(96,165,250,0.16);
  border-radius: 8px;
  padding: 7px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 45px -26px rgba(0,0,0,0.85);
}
.hud-radar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(96,165,250,0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

/* ============ LEBL interactive map (rectangular full-width) ============ */
.lebl-map {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(96,165,250,0.05), transparent 70%),
    #060a0d;
  border: 1px solid rgba(96,165,250,0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 45px -26px rgba(0,0,0,0.85);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.lebl-map.is-dragging { cursor: grabbing; }
.lebl-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(96,165,250,0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
.lebl-svg { width: 100%; height: 100%; display: block; }

/* Map UI overlay (HTML, sits over the SVG, NOT pan/zoomed) */
.map-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--mono, ui-monospace, monospace);
}
.map-ui > * { pointer-events: auto; }

.hud-chips {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; gap: 6px; flex-wrap: wrap;
  pointer-events: none;
}
.chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(8, 16, 20, 0.72);
  border: 1px solid rgba(96,165,250,0.22);
  color: var(--accent, #60a5fa);
}
.chip-dep { color: var(--accent, #60a5fa); }
.chip-arr { color: var(--accent, #60a5fa); }
.chip-tfc { color: #9aa6ad; border-color: rgba(154,166,173,0.22); }

.scale-bar {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: 10px;
  color: #9aa6ad;
  pointer-events: none;
}
.scale-bar-line {
  width: 60px; height: 2px;
  background: #9aa6ad;
  margin-bottom: 3px;
  position: relative;
}
.scale-bar-line::before,
.scale-bar-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px; height: 8px;
  background: #9aa6ad;
}
.scale-bar-line::before { left: 0; }
.scale-bar-line::after  { right: 0; }
.scale-bar-label {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.zoom-controls {
  position: absolute;
  right: 10px; bottom: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.zoom-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 var(--mono, ui-monospace, monospace);
  background: rgba(8, 16, 20, 0.82);
  color: var(--accent, #60a5fa);
  border: 1px solid rgba(96,165,250,0.28);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s, transform .08s;
}
.zoom-btn:hover {
  background: rgba(96,165,250,0.10);
  border-color: rgba(96,165,250,0.55);
}
.zoom-btn:active { transform: scale(0.94); }

.map-hint {
  position: absolute;
  right: 12px; top: 10px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60707a;
  pointer-events: none;
  opacity: 0.7;
}

.hud-mini {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-faded { color: #60707a; }
.hud-spacer { margin-left: auto; color: var(--accent); }

.led {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: #2a3940;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.6);
}
.led-on {
  background: var(--accent);
  box-shadow: 0 0 7px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

/* radio log */
.hud-log {
  margin-top: 10px;
  background: rgba(8, 16, 20, 0.86);
  border: 1px solid rgba(42, 57, 64, 0.82);
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 64px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}
.hud-log-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.hud-log-line {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.42;
  color: var(--text);
  min-height: 34px;
  word-break: break-word;
}
.hud-spk {
  display: inline-block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 4px;
  vertical-align: 1px;
}
.hud-spk-atc { background: rgba(96,165,250,0.15); color: var(--accent); border: 1px solid rgba(96,165,250,0.3); }
.hud-spk-you { background: rgba(251,191,36,0.12); color: var(--amber);  border: 1px solid rgba(251,191,36,0.3); }
.hud-cursor {
  display: inline-block;
  color: var(--accent);
  margin-left: 1px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============ RADAR SVG ============ */
.radar { width: 100%; height: auto; display: block; }
.radar-boot { display: none; }
.radar-sweep {
  transform-origin: 160px 160px;
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============ STRIP / MARQUEE ============ */
.strip {
  position: relative;
  background: var(--panel-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.strip-track {
  display: flex;
  gap: 22px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  width: max-content;
  animation: scroll 60s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.strip-track > span { flex: 0 0 auto; }
.strip-em { color: var(--accent); }
.strip-sep { color: #2a3940; }
@keyframes scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.strip:hover .strip-track { animation-play-state: paused; }

/* ============ SECTIONS ============ */
.section { padding: clamp(64px, 8vw, 92px) 0; position: relative; }
#screenshots {
  padding-top: clamp(64px, 7vw, 84px);
  padding-bottom: clamp(56px, 6vw, 72px);
}
#screenshots .container > .eyebrow,
#screenshots .container > h2 {
  display: block;
  text-align: center;
}
#screenshots .container > h2 { margin-bottom: 42px; }
#screenshots .container::after {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin: 52px auto 0;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.42), transparent);
}
#about {
  padding-top: clamp(44px, 5vw, 58px);
  padding-bottom: 24px;
}
#download {
  padding-top: 34px;
  padding-bottom: clamp(76px, 8vw, 104px);
}
.section-cta {
  padding: 26px 0 30px;
}
#about .narrow,
.section-cta .narrow,
#download .narrow {
  max-width: 820px;
}
#about .narrow::after,
.section-cta .narrow::after {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin: 42px auto 0;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.42), transparent);
}
.section-alt {
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 0% 0%, rgba(96,165,250,0.04), transparent 60%),
    radial-gradient(ellipse 600px 300px at 100% 100%, rgba(96,165,250,0.04), transparent 60%);
  pointer-events: none;
}
.section-alt > .container { position: relative; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #b8c4cc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 600;
}
p { margin: 0 0 16px; }
.section p { color: var(--muted); }
.section .narrow p { font-size: 17px; line-height: 1.7; }
.byline { font-size: 14px; color: var(--muted); margin-top: 24px; }
#about h2,
.section-cta h2,
#download h2 {
  margin-bottom: 18px;
}
#about p,
.section-cta .lede,
#download p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
#about p + p,
#download p + p {
  margin-top: 10px;
}
.section-cta .cta-row {
  justify-content: center;
  margin-top: 4px;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 880px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 24px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .2s, transform .2s, background .2s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, -200px) var(--my, -200px),
    rgba(96,165,250,0.18), transparent 50%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  z-index: -1;
}
.card:hover { border-color: rgba(96,165,250,0.35); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card h3 { color: var(--text); position: relative; }
.card p  { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; position: relative; }

/* ============ DOWNLOAD ============ */
.alpha-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 28px 0;
}
.alpha-card p { margin: 0; font-size: 14.5px; color: var(--text); }
.alpha-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.alpha-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
.download-alpha {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}
.download-build-tag {
  justify-content: center;
  max-width: 100%;
  padding: 6px 10px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.download-upload-tag {
  color: #86efac;
  background: rgba(52, 211, 153, 0.11);
  border-color: rgba(52, 211, 153, 0.34);
}
.dl-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 0;
}
#download .dl-row {
  justify-content: center;
}
.dl-meta {
  font-family: var(--mono);
  color: var(--muted); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.download-history-link {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(138, 155, 166, 0.34);
  transition: color .15s, border-color .15s;
}
.download-history-link:hover,
.download-history-link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.versions-hero .legacy-copy {
  margin-bottom: 24px;
}
.versions-panel {
  width: min(100%, 860px);
  margin: 28px auto 0;
}
.version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.version-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(17, 23, 27, 0.74);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.version-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.version-main strong {
  color: var(--text);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.version-main span:not(.version-tag) {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}
.version-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(138, 155, 166, 0.12);
  border: 1px solid rgba(138, 155, 166, 0.28);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.version-tag-current {
  color: #86efac;
  background: rgba(52, 211, 153, 0.11);
  border-color: rgba(52, 211, 153, 0.34);
}
.version-actions {
  justify-self: end;
}
.version-download {
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--accent);
  background: rgba(96, 165, 250, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.34);
  font-size: 13px;
}
.version-download:hover {
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.55);
}
.version-sha {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  color: #60707a;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.old-versions-empty {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
@media (max-width: 680px) {
  .version-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .version-actions {
    justify-self: stretch;
  }
  .version-download {
    width: 100%;
    justify-content: center;
  }
}

/* ============ CTA SECTION ============ */
.section-cta h2 { margin-bottom: 16px; }
.section-cta .lede { margin: 0 auto 32px; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal-stagger.in > *               { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1)  { transition-delay: 40ms; }
.reveal-stagger.in > *:nth-child(2)  { transition-delay: 90ms; }
.reveal-stagger.in > *:nth-child(3)  { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4)  { transition-delay: 190ms; }
.reveal-stagger.in > *:nth-child(5)  { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(6)  { transition-delay: 290ms; }
.reveal-stagger.in > *:nth-child(7)  { transition-delay: 340ms; }
.reveal-stagger.in > *:nth-child(8)  { transition-delay: 390ms; }
.reveal-stagger.in > *:nth-child(9)  { transition-delay: 440ms; }

/* ============ MOTION REDUCTION ============ */
@media (prefers-reduced-motion: reduce) {
  .radar-sweep, .tag-dot, .brand-mark, .led-on,
  .hud-cursor, .strip-track, .hero-grid-bg { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hud { transform: none !important; }
}

/* ============ SCREENSHOTS GALLERY ============ */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.screenshots-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform .25s ease, border-color .25s ease;
}
.screenshots-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.20);
}
.screenshots-grid img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (max-width: 480px) {
  .screenshots-grid img { height: 150px; }
}

/* ============ LIGHTBOX (screenshots viewer) ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e6edf0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}
.lightbox-prev:active,
.lightbox-next:active { transform: translateY(-50%) scale(0.94); }
.lightbox-close:active { transform: scale(0.94); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(230, 237, 240, 0.7);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 20px; }
  .lightbox-prev  { left: 10px; }
  .lightbox-next  { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ============ HERO SPLASH (right column) ============ */
.hero-splash {
  display: block;
  width: 100%;
  height: auto;
  justify-self: end;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}
@media (max-width: 880px) {
  .hero-splash { justify-self: center; max-width: 100%; }
}

/* Keep the archived 124thATC download visually tied to the ARCHIVED BUILD tag. */
a.archive-download-btn,
a.archive-download-btn:visited {
  background: rgba(251, 191, 36, 0.12) !important;
  color: var(--amber) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.22) !important;
}
a.archive-download-btn:hover,
a.archive-download-btn:focus-visible {
  background: rgba(251, 191, 36, 0.18) !important;
  color: var(--amber) !important;
  border-color: rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(251, 191, 36, 0.34) !important;
}
a.nextatc-outline-btn,
a.nextatc-outline-btn:visited {
  background: rgba(96, 165, 250, 0.12) !important;
  color: var(--accent) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  box-shadow: 0 8px 24px -8px rgba(96, 165, 250, 0.22) !important;
}
a.nextatc-outline-btn:hover,
a.nextatc-outline-btn:focus-visible {
  background: rgba(96, 165, 250, 0.18) !important;
  color: var(--accent) !important;
  border-color: rgba(96, 165, 250, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(96, 165, 250, 0.34) !important;
}

/* ============ BUG REPORTS ============ */
.bug-page {
  min-height: 100vh;
}
.bug-main {
  min-height: calc(100vh - 64px);
}
.bug-hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(52px, 8vw, 92px) 0;
  position: relative;
  overflow: hidden;
}
.bug-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 720px 360px at 12% 18%, rgba(96, 165, 250, 0.16), transparent 64%),
    radial-gradient(ellipse 620px 300px at 86% 82%, rgba(52, 211, 153, 0.10), transparent 62%);
  pointer-events: none;
}
.bug-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
}
.bug-intro h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.bug-intro p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}
.bug-form-card {
  background:
    linear-gradient(180deg, rgba(17, 23, 27, 0.97), rgba(10, 16, 20, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 36px 100px -54px rgba(0, 0, 0, 0.95);
}
.bug-form-stack {
  display: grid;
  gap: 16px;
}
.bug-login-card {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 24px);
  border-color: rgba(96, 165, 250, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 30, 0.96), rgba(9, 14, 18, 0.96));
}
.bug-form {
  display: grid;
  gap: 18px;
}
.bug-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}
.bug-form label span,
.file-drop > span {
  color: var(--text);
  font-size: 14px;
}
.bug-form label span small,
.bug-field-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.bug-field-note {
  line-height: 1.45;
}
.bug-account-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.07);
  padding: 13px;
}
.bug-disclaimer-panel {
  border-color: rgba(251, 191, 36, 0.52);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.08));
  box-shadow: 0 14px 34px -26px rgba(251, 191, 36, 0.75);
}
.bug-account-panel strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 4px;
}
.bug-disclaimer-panel strong {
  color: #fde68a;
}
.bug-login-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 3px;
}
.bug-account-panel span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.bug-disclaimer-panel span {
  color: #f7dca3;
}
.bug-disclaimer-panel a {
  color: #ffefb0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bug-login-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.bug-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bug-account-actions .btn {
  border-radius: 6px;
  font-size: 12px;
  padding: 5px 8px;
}
.bug-inline-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.bug-inline-login label {
  display: grid;
  gap: 4px;
  color: var(--text);
  font-weight: 600;
}
.bug-inline-login input {
  width: 100%;
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 8, 10, 0.74);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  padding: 6px 9px;
  outline: none;
}
.bug-inline-login .btn {
  min-height: 32px;
  padding: 6px 10px;
}
.bug-create-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.06);
  padding: 12px 13px;
}
.bug-create-account-row > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.bug-account-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px !important;
  margin: 0;
  border: 0;
  padding: 0;
  font-weight: 500 !important;
  white-space: nowrap;
}
.bug-account-check span {
  color: var(--text) !important;
  font-size: 14px !important;
}
.bug-account-check input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.bug-support-ack {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 11px !important;
  border: 1px solid rgba(251, 191, 36, 0.40);
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.07);
  padding: 12px 13px;
  margin: 2px 0 -2px;
  font-weight: 600 !important;
}
.bug-support-ack input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}
.bug-support-ack span {
  color: #f7dca3 !important;
  font-size: 13px !important;
  line-height: 1.42;
}
.bug-form input[type="text"],
.bug-form input[type="email"] {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 8, 10, 0.74);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  padding: 8px 11px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bug-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 8, 10, 0.74);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bug-form textarea {
  resize: vertical;
  min-height: 170px;
}
.bug-form input[type="text"]:focus,
.bug-form input[type="email"]:focus,
.bug-inline-login input:focus,
.bug-form textarea:focus {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}
.file-drop {
  border: 1px dashed rgba(96, 165, 250, 0.45);
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.06);
  padding: 18px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.file-drop.is-drag-over {
  border-color: rgba(52, 211, 153, 0.82);
  background: rgba(52, 211, 153, 0.1);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.file-drop input {
  width: 100%;
  color: var(--muted);
}
.file-drop strong {
  color: var(--accent);
}
.file-drop small {
  color: var(--muted);
}
.bug-file-list {
  list-style: none;
  margin: -4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bug-file-list[hidden] {
  display: none;
}
.bug-file-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 10px;
}
.bug-file-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}
.bug-file-list small {
  color: var(--muted);
  white-space: nowrap;
}
.bug-file-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}
.bug-file-clear,
.bug-file-remove {
  appearance: none;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
}
.bug-file-clear {
  padding: 8px 10px;
}
.bug-file-remove {
  padding: 7px 9px;
}
.bug-file-clear:hover,
.bug-file-remove:hover,
.bug-file-clear:focus,
.bug-file-remove:focus {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}
.bug-errors {
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.08);
  color: #fecdd3;
  border-radius: 8px;
  padding: 12px 14px;
}
.bug-errors p {
  color: inherit;
  margin: 0;
}
.bug-errors p + p {
  margin-top: 6px;
}
.upload-progress {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(96, 165, 250, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
}
.upload-progress[hidden] {
  display: none;
}
.upload-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.upload-progress-top strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.upload-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.upload-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #34d399);
  transition: width .18s ease;
}
.bug-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bug-thanks {
  text-align: center;
  padding: 18px 0 8px;
}
.bug-thanks h2 {
  margin: 16px 0 12px;
}
.bug-thanks p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 24px;
}
.bug-thanks-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bug-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #0b1511;
  background: #34d399;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.12);
}

@media (max-width: 880px) {
  .bug-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .bug-form-card {
    border-radius: 10px;
  }
  .bug-inline-login {
    grid-template-columns: 1fr;
  }
  .bug-create-account-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .bug-account-check {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .bug-hero {
    align-items: flex-start;
  }
  .bug-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
