:root {
  --maroon-950: #14070a;
  --maroon-900: #260a10;
  --maroon-800: #3a1017;
  --coffee-950: #130d0a;
  --coffee-850: #211610;
  --coffee-700: #3a281e;
  --navy-950: #07101f;
  --navy-900: #0b172a;
  --gold-500: #d8a84d;
  --gold-400: #f0c86a;
  --gold-300: #ffe19a;
  --cream-100: #fff3d6;
  --cream-200: #e9d7ae;
  --muted: #bfae91;
  --glass: rgba(255, 243, 214, 0.07);
  --glass-strong: rgba(255, 243, 214, 0.13);
  --line: rgba(240, 200, 106, 0.22);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--maroon-950);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream-100);
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 168, 77, 0.18), transparent 30rem),
    radial-gradient(circle at 20% 78%, rgba(10, 28, 54, 0.75), transparent 32rem),
    linear-gradient(135deg, var(--maroon-950) 0%, var(--coffee-950) 38%, var(--navy-950) 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 225, 154, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 225, 154, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 88%);
}

#skyCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 34px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 48px;
}

.brand {
  color: var(--cream-100);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(216, 168, 77, 0.18), rgba(58, 16, 23, 0.55));
  box-shadow: 0 0 38px rgba(216, 168, 77, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  min-height: 0;
  padding: clamp(34px, 7vh, 76px) 0 clamp(22px, 4vh, 34px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

h1 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.6rem, 8.5vw, 7.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--cream-100);
  text-wrap: balance;
  text-shadow: 0 0 48px rgba(216, 168, 77, 0.18);
}

.hero-lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--cream-200);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.launch-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 560px);
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.launch-panel span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255, 225, 154, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #1b0d09;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-panel strong {
  color: var(--cream-200);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.signal-row span {
  padding: 9px 13px;
  border: 1px solid rgba(240, 200, 106, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.83rem;
  background: rgba(255, 255, 255, 0.04);
}

.cosmic-panel {
  position: relative;
  display: grid;
  min-height: min(52vw, 470px);
  place-items: center;
}

.cosmic-panel::before {
  position: absolute;
  width: min(100%, 470px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(240, 200, 106, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 225, 154, 0.12) 0 2px, transparent 3px) 0 0 / 34px 34px,
    radial-gradient(circle at center, rgba(58, 16, 23, 0.72), rgba(7, 16, 31, 0.24) 60%, transparent 68%);
  filter: drop-shadow(0 34px 88px rgba(0, 0, 0, 0.46));
}

.orbital-stage {
  position: relative;
  width: min(44vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.sun-core {
  position: absolute;
  inset: 35%;
  border: 1px solid rgba(255, 225, 154, 0.54);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff0bc, var(--gold-400) 28%, #8f461c 62%, #391115 100%);
  box-shadow: 0 0 62px rgba(240, 200, 106, 0.42), inset 0 0 28px rgba(58, 16, 23, 0.5);
  animation: sunPulse 4.5s ease-in-out infinite;
  will-change: box-shadow, transform;
}

.ring {
  position: absolute;
  inset: 0;
  --orbit-start: 0deg;
  --orbit-end: 360deg;
  border: 1px solid rgba(255, 225, 154, 0.2);
  border-radius: 50%;
  transform: rotate(var(--orbit-start));
  transform-origin: 50% 50%;
  animation: rotateOrbit 26s linear infinite;
  will-change: transform;
}

.ring::before,
.ring::after {
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 26px rgba(255, 225, 154, 0.8);
}

.ring::before {
  top: 13%;
  left: 18%;
}

.ring::after {
  right: 12%;
  bottom: 23%;
  width: 8px;
  height: 8px;
  background: #a8d7ff;
}

.ring-one {
  inset: 4%;
}

.ring-two {
  inset: 16%;
  --orbit-start: 18deg;
  --orbit-end: -342deg;
  animation-duration: 34s;
}

.ring-three {
  inset: 27%;
  --orbit-start: -28deg;
  --orbit-end: 332deg;
  animation-duration: 18s;
}

.glyph {
  position: absolute;
  display: grid;
  min-width: 74px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(240, 200, 106, 0.22);
  border-radius: 999px;
  color: var(--gold-300);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(19, 13, 10, 0.72);
  backdrop-filter: blur(12px);
}

.glyph-top {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.glyph-right {
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
}

.glyph-bottom {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.glyph-left {
  top: 50%;
  left: -4%;
  transform: translateY(-50%);
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 106, 0.16);
  border-radius: 8px;
  background: rgba(240, 200, 106, 0.12);
}

.preview-strip article {
  min-height: 116px;
  padding: 18px 20px;
  background: rgba(13, 12, 15, 0.72);
  backdrop-filter: blur(16px);
}

.preview-strip span {
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 800;
}

.preview-strip h2 {
  margin: 10px 0 6px;
  color: var(--cream-100);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.preview-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

@media (min-width: 901px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
    padding: clamp(18px, 3vh, 28px) 0 clamp(14px, 2vh, 22px);
  }

  .site-header {
    flex: 0 0 auto;
  }

  .hero {
    flex: 1 1 auto;
    min-height: 0;
  }

  .preview-strip {
    flex: 0 0 auto;
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .page-shell {
    width: min(1060px, calc(100% - 40px));
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .site-header {
    min-height: 42px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .hero {
    gap: clamp(26px, 5vw, 58px);
    padding: 26px 0 18px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(4.2rem, 7.1vw, 6.2rem);
  }

  .hero-lede {
    max-width: 560px;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .launch-panel {
    width: min(100%, 500px);
    margin-top: 22px;
    padding: 13px 16px;
  }

  .launch-panel strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .signal-row {
    margin-top: 16px;
  }

  .signal-row span {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .cosmic-panel {
    min-height: 340px;
  }

  .cosmic-panel::before {
    width: min(100%, 390px);
  }

  .orbital-stage {
    width: min(34vw, 350px);
  }

  .preview-strip article {
    min-height: 92px;
    padding: 14px 16px;
  }

  .preview-strip h2 {
    margin-top: 8px;
    font-size: 0.98rem;
  }

  .preview-strip p {
    font-size: 0.82rem;
  }
}

@keyframes rotateOrbit {
  from {
    transform: rotate(var(--orbit-start));
  }

  to {
    transform: rotate(var(--orbit-end));
  }
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 56px rgba(240, 200, 106, 0.36), inset 0 0 28px rgba(58, 16, 23, 0.5);
  }

  50% {
    transform: scale(1.045);
    box-shadow: 0 0 76px rgba(240, 200, 106, 0.54), inset 0 0 34px rgba(58, 16, 23, 0.44);
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 50px;
  }

  .hero-copy {
    max-width: none;
  }

  .cosmic-panel {
    min-height: 390px;
  }

  .preview-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 520px);
    padding-top: 20px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    gap: 26px;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.1rem);
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .launch-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    padding: 16px;
  }

  .cosmic-panel {
    min-height: 300px;
  }

  .orbital-stage {
    width: min(82vw, 310px);
  }

  .cosmic-panel::before {
    width: min(90vw, 330px);
  }

  .glyph {
    min-width: 70px;
    font-size: 0.62rem;
  }

  .preview-strip article {
    min-height: 142px;
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(100% - 20px, 360px);
  }

  h1 {
    font-size: 2.6rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .orbital-stage {
    width: min(80vw, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}