:root {
  --bg: #02050d;
  --panel: rgba(7, 15, 32, 0.72);
  --panel-strong: rgba(6, 14, 30, 0.9);
  --line: rgba(120, 190, 255, 0.22);
  --text: #f7fbff;
  --muted: #8fa7c0;
  --blue: #54b9ff;
  --blue2: #93dcff;
  --gold: #f7c968;
  --shadow: 0 0 40px rgba(55, 159, 255, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Space Grotesk", system-ui, sans-serif;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.space-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 36%, rgba(13, 73, 133, 0.2), transparent 27%),
    radial-gradient(circle at 20% 70%, rgba(13, 45, 100, 0.18), transparent 30%),
    linear-gradient(180deg, #02040b 0%, #030916 52%, #01040a 100%);
}

.stars { position: absolute; inset: 0; opacity: .7; }
.stars-a {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(91,182,255,.9) 0 1px, transparent 1.5px);
  background-size: 87px 87px, 151px 151px;
  background-position: 12px 8px, 43px 62px;
}
.stars-b {
  opacity: .28;
  background-image: radial-gradient(circle, #fff 0 .8px, transparent 1.2px);
  background-size: 37px 37px;
  transform: scale(1.3);
  animation: starDrift 22s linear infinite alternate;
}
@keyframes starDrift { from { transform: scale(1.3) translateY(0); } to { transform: scale(1.3) translateY(-18px); } }

.nebula { position: absolute; border-radius: 999px; filter: blur(70px); opacity: .22; }
.nebula-a { width: 38vw; height: 38vw; right: 3vw; top: 4vh; background: #0f72b6; }
.nebula-b { width: 30vw; height: 30vw; left: -10vw; bottom: -6vh; background: #1a3c94; }
.constellation {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0 48%, rgba(97, 185, 255, .04) 49%, transparent 50% 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}

.site-header {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(154, 211, 255, .11);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Orbitron, sans-serif; letter-spacing: .08em; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 20px rgba(69,171,255,.35); }
.brand small { color: var(--blue2); font-size: 10px; padding-left: 8px; border-left: 1px solid var(--line); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.social-link {
  min-width: 46px; height: 38px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: rgba(9, 19, 37, .5);
  font-family: Orbitron, sans-serif; font-size: 11px; letter-spacing: .08em;
  transition: .22s ease;
}
.social-link:hover { transform: translateY(-2px); border-color: rgba(125,208,255,.68); box-shadow: 0 0 24px rgba(50,152,255,.18); }
.social-link.primary { border-color: rgba(247,201,104,.45); color: #ffe4a9; }
.social-link[hidden] { display: none !important; }

.hero-shell {
  width: min(1480px, calc(100% - 48px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
  align-items: center;
  gap: 40px;
  padding: 52px 0 66px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #89cfff; font-family: Orbitron, sans-serif; font-size: 11px; letter-spacing: .19em; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #74ceff; box-shadow: 0 0 14px #74ceff; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 4px #74ceff; } }
h1 { margin: 24px 0 18px; font-family: Orbitron, sans-serif; font-size: clamp(52px, 7.1vw, 112px); line-height: .91; letter-spacing: -.055em; }
h1 span { display: block; }
.line-soft { color: #9cb0c5; font-weight: 500; }
.line-bright { color: #fff; font-weight: 800; text-shadow: 0 0 38px rgba(111, 199, 255, .13); }
.line-bright em { color: var(--gold); font-style: normal; text-shadow: 0 0 30px rgba(247,201,104,.18); }
.hero-text { max-width: 680px; margin: 0; color: #a8b9cb; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.star-button {
  cursor: pointer;
  color: #ddecf8;
  background: linear-gradient(180deg, rgba(11,28,50,.72), rgba(5,13,26,.72));
  border: 1px solid rgba(112,190,250,.24);
  padding: 13px 18px;
  min-width: 118px;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: .22s ease;
}
.star-button:hover { color: #fff; border-color: rgba(111,205,255,.68); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,109,199,.15), inset 0 0 24px rgba(70,160,230,.06); }

.ca-panel {
  margin-top: 26px; width: min(620px, 100%); min-height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 12px 12px 18px;
  background: rgba(5,12,25,.58); border: 1px solid rgba(120,186,238,.16);
  backdrop-filter: blur(12px);
}
.ca-label { display:block; color:#6688a9; font-size:10px; letter-spacing:.16em; font-family:Orbitron,sans-serif; margin-bottom:5px; }
#caText { display:block; max-width: 440px; color:#dce8f4; font-size:12px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#copyCa { cursor:pointer; border:1px solid rgba(246,202,109,.3); background:rgba(88,60,10,.12); color:#f8d990; padding:12px 14px; font-family:Orbitron,sans-serif; font-size:10px; letter-spacing:.1em; }
#copyCa:disabled { opacity:.35; cursor:not-allowed; }

.hero-visual { position: relative; min-height: 680px; display: grid; place-items: center; isolation: isolate; }
.eagle-art { width: min(650px, 100%); aspect-ratio:1; object-fit:cover; border-radius:50%; position:relative; z-index:2; filter: drop-shadow(0 0 38px rgba(65,164,255,.18)); mask-image: radial-gradient(circle at 50% 50%, #000 0 67%, rgba(0,0,0,.9) 75%, transparent 96%); }
.orbit { position:absolute; border-radius:50%; z-index:1; pointer-events:none; }
.orbit-outer { width: 88%; aspect-ratio:1; border:1px solid rgba(97,181,255,.15); box-shadow:0 0 70px rgba(46,139,220,.05); }
.orbit-inner { width: 72%; aspect-ratio:1; border:1px dashed rgba(130,207,255,.12); animation: rotateOrbit 36s linear infinite; }
@keyframes rotateOrbit { to { transform:rotate(360deg); } }
.altair-label { position:absolute; top:10%; left:2%; z-index:3; padding-left:44px; font-family:Orbitron,sans-serif; letter-spacing:.14em; }
.altair-label::before { content:""; position:absolute; left:0; top:11px; width:32px; height:1px; background:#6ec8ff; box-shadow:0 0 10px #6ec8ff; }
.altair-label span { display:block; color:#dff5ff; font-size:13px; }
.altair-label small { display:block; margin-top:5px; color:#5d7e9e; font-size:8px; }
.visual-caption { position:absolute; right:3%; bottom:8%; z-index:3; display:flex; align-items:center; gap:13px; text-align:right; }
.visual-caption span { color:#f5cf7c; font-family:Orbitron,sans-serif; font-size:28px; }
.visual-caption p { margin:0; color:#8ea9c1; font-family:Orbitron,sans-serif; font-size:9px; line-height:1.5; letter-spacing:.13em; }

.signal-strip {
  width: min(1480px, calc(100% - 48px)); margin: -24px auto 0;
  display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(137,196,241,.12); border-bottom:1px solid rgba(137,196,241,.12);
}
.signal-card { display:flex; gap:17px; align-items:center; min-height:118px; padding:24px 28px; border-right:1px solid rgba(137,196,241,.1); background:rgba(5,13,28,.2); }
.signal-card:last-child { border-right:0; }
.signal-index { font-family:Orbitron,sans-serif; color:#5bbcff; font-size:25px; text-shadow:0 0 18px rgba(67,177,255,.22); }
.signal-card strong { font-family:Orbitron,sans-serif; letter-spacing:.11em; font-size:12px; }
.signal-card p { margin:5px 0 0; color:#6f879e; font-size:13px; }

footer { width:min(1480px,calc(100% - 48px)); min-height:96px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:18px; color:#4f657c; font-size:10px; letter-spacing:.12em; font-family:Orbitron,sans-serif; text-align:center; }
.footer-star { color:#d8b45f; }

.modal-backdrop { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:24px; background:rgba(0,3,10,.76); backdrop-filter:blur(14px); }
.modal-backdrop[hidden] { display:none; }
.modal { position:relative; width:min(680px,100%); padding:38px; border:1px solid rgba(104,187,252,.23); background:linear-gradient(180deg,rgba(8,19,39,.97),rgba(3,8,18,.98)); box-shadow:0 30px 100px rgba(0,0,0,.55),0 0 70px rgba(41,136,219,.1); clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); }
.modal::before { content:""; position:absolute; inset:9px; border:1px solid rgba(255,255,255,.035); pointer-events:none; }
.modal-close { position:absolute; top:12px; right:14px; width:36px; height:36px; cursor:pointer; border:0; background:transparent; color:#718ba5; font-size:28px; }
.modal-close:hover { color:#fff; }
.modal-kicker { color:#5dbdf8; font-family:Orbitron,sans-serif; font-size:9px; letter-spacing:.18em; }
.modal h2 { margin:10px 0 22px; font-family:Orbitron,sans-serif; font-size:clamp(28px,5vw,50px); letter-spacing:-.03em; }
.modal p { color:#9bb0c4; line-height:1.7; font-size:16px; }
.modal .accent { color:#f2cb75; }
.modal .mini-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:22px; }
.modal .mini-cell { padding:16px; border:1px solid rgba(113,188,244,.12); background:rgba(14,31,54,.28); }
.modal .mini-cell strong { display:block; color:#e9f6ff; font-family:Orbitron,sans-serif; font-size:10px; letter-spacing:.12em; margin-bottom:6px; }
.modal .mini-cell span { color:#718ba5; font-size:13px; }

@media (max-width: 980px) {
  .hero-shell { grid-template-columns:1fr; padding-top:46px; }
  .hero-copy { text-align:center; }
  .eyebrow { justify-content:center; }
  .hero-text, .ca-panel { margin-left:auto; margin-right:auto; }
  .hero-actions { justify-content:center; }
  .hero-visual { min-height:560px; margin-top:-20px; }
  .altair-label { left:6%; }
}
@media (max-width: 720px) {
  .site-header { width:min(100% - 28px,1480px); min-height:72px; }
  .brand span { display:none; }
  .brand small { border:0; padding:0; }
  .top-actions { gap:5px; }
  .social-link { min-width:38px; height:34px; padding:0 10px; font-size:9px; }
  .hero-shell { width:min(100% - 28px,1480px); min-height:auto; padding:42px 0 46px; }
  h1 { font-size:clamp(44px,14vw,74px); }
  .hero-text { font-size:16px; }
  .hero-actions { gap:7px; }
  .star-button { min-width:calc(50% - 5px); padding:12px; }
  .ca-panel { align-items:stretch; flex-direction:column; text-align:left; }
  #copyCa { width:100%; }
  .hero-visual { min-height:410px; }
  .eagle-art { width:100%; }
  .altair-label { top:0; left:0; }
  .visual-caption { right:0; bottom:0; }
  .signal-strip { width:min(100% - 28px,1480px); grid-template-columns:1fr; }
  .signal-card { border-right:0; border-bottom:1px solid rgba(137,196,241,.1); }
  .signal-card:last-child { border-bottom:0; }
  footer { width:min(100% - 28px,1480px); flex-direction:column; gap:7px; padding:28px 0; }
  .modal { padding:32px 24px 26px; }
  .modal .mini-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior:auto !important; }
}

/* USAstar patriotic layer */
:root {
  --usa-red: #ff4155;
  --usa-white: #f8fbff;
  --usa-blue: #3f8cff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(210, 27, 52, .07), transparent 24% 76%, rgba(41, 105, 255, .08)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.05), transparent 30%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: min(1480px, calc(100% - 48px));
  height: 2px;
  background: linear-gradient(90deg, var(--usa-red) 0 33%, var(--usa-white) 33% 66%, var(--usa-blue) 66% 100%);
  opacity: .5;
}
.site-header { position: relative; }

.brand img {
  box-shadow: -6px 0 20px rgba(255,65,85,.18), 6px 0 20px rgba(63,140,255,.28);
}
.brand::after {
  content: "★ USA";
  margin-left: 5px;
  color: rgba(248,251,255,.48);
  font-size: 8px;
  letter-spacing: .16em;
}

.eyebrow {
  color: #dfeeff;
  text-shadow: -8px 0 20px rgba(255,65,85,.35), 8px 0 20px rgba(63,140,255,.38);
}
.pulse-dot {
  background: var(--usa-red);
  box-shadow: 0 0 12px var(--usa-red), 14px 0 20px var(--usa-blue);
}
.line-soft {
  background: linear-gradient(90deg, #ff5365 0%, #ffffff 49%, #69a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.line-bright em {
  background: linear-gradient(90deg, #ff5063 0 29%, #fff 43% 57%, #5b9dff 71% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.10));
}

.star-button:nth-child(1), .star-button:nth-child(3) { border-color: rgba(255,65,85,.28); }
.star-button:nth-child(2), .star-button:nth-child(4) { border-color: rgba(63,140,255,.35); }
.star-button:hover {
  border-color: rgba(255,255,255,.64);
  box-shadow: -12px 0 30px rgba(255,65,85,.10), 12px 0 30px rgba(63,140,255,.13);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -90deg, rgba(255,65,85,.23), rgba(255,255,255,.07), rgba(63,140,255,.25), rgba(255,255,255,.07), rgba(255,65,85,.23));
  filter: blur(18px);
  opacity: .45;
  z-index: 0;
}

.orbit-outer {
  border-color: rgba(255,255,255,.16);
  box-shadow: -30px 0 70px rgba(255,65,85,.09), 30px 0 70px rgba(63,140,255,.11);
}
.orbit-inner { border-color: rgba(255,255,255,.14); }

.usa-badge {
  position: absolute;
  top: 9%;
  right: 3%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(3,8,19,.44);
  backdrop-filter: blur(10px);
  font-family: Orbitron, sans-serif;
  font-size: 9px;
  letter-spacing: .14em;
}
.usa-badge span:first-child { color: var(--usa-red); }
.usa-badge span:last-child { color: var(--usa-blue); }
.usa-badge b { color: var(--usa-white); }

.visual-caption span {
  font-size: 18px;
  background: linear-gradient(90deg, var(--usa-red), #fff, var(--usa-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.patriot-banner {
  width: min(1480px, calc(100% - 48px));
  min-height: 46px;
  margin: -24px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(181,23,45,.20), rgba(255,255,255,.035) 35% 65%, rgba(35,88,190,.22));
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  letter-spacing: .20em;
}
.patriot-banner span:first-child { color: var(--usa-red); }
.patriot-banner span:last-child { color: var(--usa-blue); }
.patriot-banner strong { color: #edf5ff; }
.patriot-banner i { width: 38px; height: 1px; background: rgba(255,255,255,.18); }

.signal-card { position: relative; overflow: hidden; }
.signal-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; opacity: .7; }
.signal-red::after { background: var(--usa-red); }
.signal-white::after { background: var(--usa-white); }
.signal-blue::after { background: var(--usa-blue); }
.signal-red .signal-index { color: var(--usa-red); }
.signal-white .signal-index { color: var(--usa-white); }
.signal-blue .signal-index { color: var(--usa-blue); }

.modal { box-shadow: -22px 0 100px rgba(255,65,85,.06), 22px 0 100px rgba(63,140,255,.08), 0 30px 100px rgba(0,0,0,.55); }
.modal::after {
  content: "★  UNITED STATES • ALTAIR  ★";
  display: block;
  margin-top: 26px;
  color: rgba(255,255,255,.30);
  font-family: Orbitron, sans-serif;
  font-size: 8px;
  letter-spacing: .18em;
  text-align: center;
}

@media (max-width: 720px) {
  .brand::after { display:none; }
  .patriot-banner { width:min(100% - 28px,1480px); margin-top:0; gap:8px; font-size:8px; letter-spacing:.12em; }
  .patriot-banner i { width:14px; }
  .usa-badge { top:3%; right:0; }
}
