:root {
  --bg-1: #03040d;
  --bg-2: #0a1230;
  --bg-3: #14275b;
  --text: #edf3ff;
  --muted: #b8c8ef;
  --accent: #ffb46a;
  --accent-2: #ffd8ad;
  --accent-cool: #8ab4ff;
  --card: rgba(18, 22, 42, 0.78);
  --border: rgba(255, 176, 92, 0.34);
  --glow: rgba(255, 171, 95, 0.34);
  --launch-duration: 21s;
  --launch-idle-delay: 30s;
  --launch-cycle: calc(var(--launch-duration) + var(--launch-idle-delay));
  --rocket-scale: 1;
  --rocket-left-base: clamp(48vw, 58vw, 66vw);
  --booster-left-offset: 20px;
  --booster-right-offset: 54px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: #05050d;
  background:
    radial-gradient(130% 72% at 50% 130%, rgba(60, 127, 255, 0.94) 0%, rgba(35, 92, 216, 0.82) 34%, rgba(11, 31, 92, 0.4) 53%, rgba(0, 0, 0, 0) 62%),
    radial-gradient(70% 16% at 50% 76%, rgba(176, 221, 255, 0.62), rgba(73, 142, 255, 0.08) 62%, rgba(0, 0, 0, 0) 82%),
    radial-gradient(circle at 22% 20%, rgba(255, 189, 118, 0.14), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(255, 167, 93, 0.12), transparent 28%),
    linear-gradient(180deg, #05050d 0%, #10142c 52%, #2d2a4c 74%, #4e3a4f 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  left: -18vw;
  right: -18vw;
  bottom: -29vh;
  height: 58vh;
  border-radius: 50%;
  background:
    radial-gradient(16% 8% at 30% 31%, rgba(255, 255, 255, .46), rgba(255, 255, 255, 0) 78%),
    radial-gradient(19% 9% at 42% 35%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 80%),
    radial-gradient(14% 7% at 58% 30%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 78%),
    radial-gradient(18% 9% at 68% 37%, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 82%),
    radial-gradient(22% 15% at 34% 60%, rgba(74, 161, 127, .62), rgba(58, 126, 101, .48) 48%, rgba(58, 126, 101, 0) 74%),
    radial-gradient(18% 12% at 56% 58%, rgba(102, 176, 118, .54), rgba(70, 141, 103, .42) 50%, rgba(70, 141, 103, 0) 76%),
    radial-gradient(14% 10% at 70% 53%, rgba(86, 160, 114, .48), rgba(61, 125, 95, .38) 52%, rgba(61, 125, 95, 0) 78%),
    radial-gradient(62% 52% at 24% 55%, rgba(255,255,255,.75), rgba(255,255,255,0) 58%),
    radial-gradient(64% 46% at 74% 59%, rgba(255,255,255,.64), rgba(255,255,255,0) 62%),
    radial-gradient(112% 72% at 50% 14%, rgba(112, 185, 255, 0.95), rgba(34, 92, 212, 0.8) 48%, rgba(7, 29, 90, 0.5) 72%, rgba(1, 7, 20, 0) 86%);
  filter: blur(0.45px);
  opacity: .95;
  z-index: -3;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  width: clamp(130px, 18vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  right: clamp(1rem, 6vw, 5rem);
  top: clamp(5rem, 14vh, 9.5rem);
  background:
    radial-gradient(circle at 34% 24%, rgba(220, 228, 241, 0.95), rgba(164, 177, 202, 0.96) 48%, rgba(95, 109, 138, 0.98) 100%),
    radial-gradient(circle at 24% 28%, rgba(72, 84, 111, 0.34) 0 8.5%, rgba(72, 84, 111, 0) 11%),
    radial-gradient(circle at 62% 24%, rgba(69, 82, 108, 0.3) 0 7%, rgba(69, 82, 108, 0) 10%),
    radial-gradient(circle at 72% 46%, rgba(65, 77, 101, 0.28) 0 9%, rgba(65, 77, 101, 0) 12%),
    radial-gradient(circle at 44% 72%, rgba(66, 78, 103, 0.28) 0 10%, rgba(66, 78, 103, 0) 13%),
    radial-gradient(circle at 28% 62%, rgba(66, 78, 103, 0.24) 0 7.5%, rgba(66, 78, 103, 0) 10%),
    radial-gradient(circle at 59% 65%, rgba(226, 235, 251, 0.26) 0 4.5%, rgba(226, 235, 251, 0) 7%),
    radial-gradient(circle at 20% 44%, rgba(226, 234, 251, 0.22) 0 4%, rgba(226, 234, 251, 0) 6.5%),
    radial-gradient(circle at 78% 30%, rgba(226, 234, 251, 0.19) 0 3.5%, rgba(226, 234, 251, 0) 6%);
  box-shadow:
    0 0 30px rgba(126, 160, 220, 0.26),
    inset -10px -12px 20px rgba(40, 50, 74, 0.34),
    inset 10px 10px 20px rgba(170, 184, 214, 0.18);
  opacity: .9;
  z-index: -2;
  pointer-events: none;
}

.stars,
.stars::before,
.stars::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(2.4px 2.4px at 7% 11%, rgba(255,255,255,.9), transparent 70%),
    radial-gradient(1.6px 1.6px at 14% 38%, rgba(255,255,255,.78), transparent 72%),
    radial-gradient(2px 2px at 22% 79%, rgba(255,255,255,.86), transparent 70%),
    radial-gradient(1px 1px at 29% 24%, rgba(255,255,255,.52), transparent 75%),
    radial-gradient(2.2px 2.2px at 38% 56%, rgba(255,255,255,.88), transparent 70%),
    radial-gradient(1.2px 1.2px at 47% 13%, rgba(255,255,255,.66), transparent 74%),
    radial-gradient(2.6px 2.6px at 54% 42%, rgba(255,255,255,.94), transparent 68%),
    radial-gradient(1.4px 1.4px at 63% 86%, rgba(255,255,255,.6), transparent 74%),
    radial-gradient(2px 2px at 71% 28%, rgba(255,255,255,.82), transparent 72%),
    radial-gradient(0.9px 0.9px at 79% 61%, rgba(255,255,255,.46), transparent 78%),
    radial-gradient(1.8px 1.8px at 86% 15%, rgba(255,255,255,.74), transparent 73%),
    radial-gradient(2.3px 2.3px at 93% 74%, rgba(255,255,255,.9), transparent 69%);
  background-size: 300px 300px;
  background-repeat: repeat;
  z-index: -4;
}

.stars::before {
  background-position: 140px 90px;
  opacity: .5;
  filter: blur(.15px);
}

.stars::after {
  background-position: 230px 180px;
  opacity: .3;
}


.bg-rocket {
  position: fixed;
  bottom: clamp(1.25rem, 8vh, 4.25rem);
  left: var(--rocket-left-base);
  width: calc(84px * var(--rocket-scale));
  height: calc(206px * var(--rocket-scale));
  transform-origin: center;
  animation: launch var(--launch-cycle) linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  background: none;
  filter:
    drop-shadow(0 0 2px rgba(7, 14, 34, 0.9))
    drop-shadow(0 2px 6px rgba(4, 10, 26, 0.75));
}

.shock-wave {
  position: fixed;
  bottom: clamp(1.25rem, 8vh, 4.25rem);
  left: var(--rocket-left-base);
  width: calc(84px * var(--rocket-scale));
  height: calc(206px * var(--rocket-scale));
  transform-origin: center;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation:
    launch var(--launch-cycle) linear infinite,
    shockWaveTravel var(--launch-cycle) linear infinite;
}

.shock-wave::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 56px;
  height: 22px;
  border-radius: 999px;
  transform: translateX(-50%);
  background:
    radial-gradient(70% 130% at 50% 50%, rgba(186, 228, 255, .85), rgba(186, 228, 255, .34) 65%, rgba(186, 228, 255, 0) 100%);
  box-shadow:
    0 0 10px rgba(182, 225, 255, .48),
    0 0 18px rgba(136, 198, 255, .28);
  opacity: 0;
  animation: shockWavePulse var(--launch-cycle) linear infinite;
}

.booster {
  position: fixed;
  bottom: calc(clamp(1.25rem, 8vh, 4.25rem) + (38px * var(--rocket-scale)));
  width: calc(10px * var(--rocket-scale));
  height: calc(116px * var(--rocket-scale));
  border-radius: 999px;
  background:
    linear-gradient(180deg, #f9fcff 0%, #f6f9ff 70%, #dbe5f7 100%);
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 248, 0.82),
    inset 0 -7px 12px rgba(138, 160, 202, 0.24),
    0 0 10px rgba(211, 227, 255, 0.5);
  transform-origin: 50% 10%;
  pointer-events: none;
  z-index: -2;
}

.booster::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-24px * var(--rocket-scale));
  width: calc(10px * var(--rocket-scale));
  height: calc(24px * var(--rocket-scale));
  transform: translateX(-50%);
  border-radius: 50% 50% 65% 65%;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 228, .95), rgba(255, 230, 162, .88) 18%, rgba(255, 177, 94, .78) 36%, rgba(255, 124, 55, .7) 58%, rgba(205, 64, 18, .12) 100%),
    radial-gradient(42% 58% at 32% 66%, rgba(255, 157, 67, .52), transparent 82%),
    radial-gradient(42% 58% at 68% 66%, rgba(255, 123, 48, .45), transparent 84%);
  clip-path: polygon(50% 0, 88% 34%, 70% 100%, 50% 86%, 30% 100%, 12% 34%);
  filter: blur(.3px) drop-shadow(0 8px 10px rgba(255, 114, 35, .42));
  transform-origin: top center;
  animation:
    flameFlicker .2s ease-in-out infinite alternate,
    boosterFlameOff var(--launch-cycle) linear infinite;
}

.booster-left {
  left: calc(var(--rocket-left-base) + (var(--booster-left-offset) * var(--rocket-scale)));
  animation: boosterDropLeft var(--launch-cycle) linear infinite;
}

.booster-right {
  left: calc(var(--rocket-left-base) + (var(--booster-right-offset) * var(--rocket-scale)));
  animation: boosterDropRight var(--launch-cycle) linear infinite;
}

.bg-rocket::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(56% 18% at 50% 8%, #f5f9ff 0%, #dbe8ff 80%, transparent 86%),
    linear-gradient(180deg, transparent 0 9%, #f4f8ff 9% 14%, transparent 14% 18%, #ea9f43 18% 74%, #c96f25 74% 100%),
    linear-gradient(180deg, transparent 0 20%, #f4f8ff 20% 86%, #d5e0f7 86% 100%);
  background-size: 28px 172px, 26px 176px, 18px 176px;
  background-position: 50% 0, 50% 0, 50% 0;
  background-repeat: no-repeat;
  clip-path: polygon(50% 0, 60% 7%, 70% 17%, 73% 25%, 80% 30%, 82% 80%, 71% 94%, 60% 100%, 40% 100%, 29% 94%, 18% 80%, 20% 30%, 27% 25%, 30% 17%, 40% 7%);
  filter:
    brightness(1)
    saturate(1.12)
    contrast(1.06)
    drop-shadow(0 0 1px rgba(5, 12, 30, 0.95))
    drop-shadow(0 8px 16px rgba(17, 29, 68, 0.52));
}

.bg-rocket::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -52px;
  width: 34px;
  height: 62px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 228, .96), rgba(255, 230, 162, .9) 18%, rgba(255, 177, 94, .82) 34%, rgba(255, 124, 55, .72) 58%, rgba(205, 64, 18, .14) 100%),
    radial-gradient(40% 58% at 32% 66%, rgba(255, 157, 67, .55), transparent 82%),
    radial-gradient(40% 58% at 68% 66%, rgba(255, 123, 48, .48), transparent 84%);
  clip-path: polygon(50% 0, 88% 36%, 70% 100%, 50% 86%, 30% 100%, 12% 36%);
  filter: blur(.35px) drop-shadow(0 10px 12px rgba(255, 114, 35, .45));
  transform-origin: top center;
  animation: flameFlicker .22s ease-in-out infinite alternate;
}

@keyframes launch {
  0% {
    transform: translate(0, 300px) rotate(0deg);
    opacity: 1;
    z-index: -1;
  }
  10% {
    transform: translate(0, 140px) rotate(0deg);
    opacity: 1;
    z-index: -1;
  }
  20% {
    transform: translate(0, -40px) rotate(0deg);
    opacity: 1;
    z-index: -1;
  }
  24% {
    transform: translate(0, -160px) rotate(0deg);
    opacity: 1;
    z-index: -1;
  }
  27% {
    transform: translate(0, -250px) rotate(0deg);
    opacity: 1;
    z-index: 0;
  }
  31% {
    transform: translate(0, -420px) rotate(0deg);
    opacity: 1;
    z-index: 0;
  }
  36% {
    transform: translate(0, -820px) rotate(0deg);
    opacity: .62;
    z-index: 0;
  }
  39% {
    transform: translate(0, -980px) rotate(0deg);
    opacity: .14;
    z-index: 0;
  }
  41.2% {
    transform: translate(0, -1120px) rotate(0deg);
    opacity: 0;
    z-index: 0;
  }
  41.21%,
  100% {
    transform: translate(0, -1120px) rotate(0deg);
    opacity: 0;
    z-index: 0;
  }
}



@keyframes flameFlicker {
  0% {
    transform: translateX(-50%) scaleY(1) scaleX(1);
    opacity: .94;
  }
  45% {
    transform: translateX(-50%) scaleY(1.12) scaleX(.95);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scaleY(.93) scaleX(1.08);
    opacity: .88;
  }
}

@keyframes shockWaveTravel {
  0%,
  20% {
    opacity: .98;
  }
  27% {
    opacity: .86;
  }
  31.5%,
  100% {
    opacity: 0;
  }
}

@keyframes shockWavePulse {
  0% {
    top: 2px;
    transform: translateX(-50%) scaleX(.7) scaleY(.74);
    opacity: .84;
  }
  12% {
    top: 56px;
    transform: translateX(-50%) scaleX(.94) scaleY(.86);
    opacity: .95;
  }
  22% {
    top: 104px;
    transform: translateX(-50%) scaleX(1.1) scaleY(.94);
    opacity: .74;
  }
  28% {
    top: 116px;
    transform: translateX(-50%) scaleX(1.3) scaleY(1);
    opacity: .56;
  }
  31.5% {
    top: 116px;
    transform: translateX(-50%) scaleX(1.48) scaleY(1.06);
    opacity: 0;
  }
  100% {
    top: 116px;
    transform: translateX(-50%) scaleX(1.48) scaleY(1.06);
    opacity: 0;
  }
}

@keyframes boosterDropLeft {
  0% {
    transform: translate(0, 300px) rotate(0deg);
    opacity: .22;
    z-index: -1;
  }
  10% {
    transform: translate(0, 140px) rotate(0deg);
    opacity: .34;
    z-index: -1;
  }
  20% {
    transform: translate(0, -40px) rotate(0deg);
    opacity: .46;
    z-index: -1;
  }
  24% {
    transform: translate(0, -170px) rotate(0deg);
    opacity: .6;
    z-index: -1;
  }
  27% {
    transform: translate(0, -250px) rotate(0deg);
    opacity: .72;
    z-index: 0;
  }
  31% {
    transform: translate(0, -420px) rotate(0deg);
    opacity: .78;
    z-index: 0;
  }
  31.4% {
    transform: translate(-22px, -432px) rotate(-8deg);
    opacity: .54;
  }
  36.5% {
    transform: translate(-142px, 64px) rotate(-34deg);
    opacity: .42;
  }
  46% {
    transform: translate(-198px, 250px) rotate(-48deg);
    opacity: .14;
  }
  50% {
    transform: translate(-228px, 340px) rotate(-56deg);
    opacity: 0;
  }
  50.01%,
  100% {
    transform: translate(-228px, 340px) rotate(-56deg);
    opacity: 0;
  }
}

@keyframes boosterDropRight {
  0% {
    transform: translate(0, 300px) rotate(0deg);
    opacity: .22;
    z-index: -1;
  }
  10% {
    transform: translate(0, 140px) rotate(0deg);
    opacity: .34;
    z-index: -1;
  }
  20% {
    transform: translate(0, -40px) rotate(0deg);
    opacity: .46;
    z-index: -1;
  }
  24% {
    transform: translate(0, -170px) rotate(0deg);
    opacity: .6;
    z-index: -1;
  }
  27% {
    transform: translate(0, -250px) rotate(0deg);
    opacity: .72;
    z-index: 0;
  }
  31% {
    transform: translate(0, -420px) rotate(0deg);
    opacity: .78;
    z-index: 0;
  }
  31.4% {
    transform: translate(22px, -432px) rotate(8deg);
    opacity: .54;
  }
  36.5% {
    transform: translate(142px, 64px) rotate(34deg);
    opacity: .42;
  }
  46% {
    transform: translate(198px, 250px) rotate(48deg);
    opacity: .14;
  }
  50% {
    transform: translate(228px, 340px) rotate(56deg);
    opacity: 0;
  }
  50.01%,
  100% {
    transform: translate(228px, 340px) rotate(56deg);
    opacity: 0;
  }
}

@keyframes boosterFlameOff {
  0%,
  30.4% {
    opacity: 1;
  }
  30.8%,
  100% {
    opacity: 0;
  }
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-menu {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(3, 8, 22, 0.76);
  border-bottom: 1px solid rgba(255, 173, 90, 0.24);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  position: relative;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo-mark {
  width: 186px;
  max-width: 42vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(255, 174, 96, 0.26));
}


nav ul {
  list-style: none;
  display: flex;
  gap: .9rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 176, 92, 0.42);
  border-radius: 10px;
  background: rgba(8, 15, 35, 0.82);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 2px solid transparent;
  padding-bottom: .1rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--accent);
}

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.2rem, 2.8vw, 2.6rem);
  max-width: min(840px, 92vw);
}

.badge {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .8rem;
  color: var(--accent-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .9rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.1;
}

.hero h1 {
  max-width: min(15ch, 100%);
  text-wrap: balance;
}

@media (min-width: 941px) {
  .hero h1 {
    max-width: 62ch;
  }
}

.lead {
  color: var(--muted);
  line-height: 1.65;
  font-size: clamp(1rem, 1.9vw, 1.17rem);
  max-width: 62ch;
}

.cta-row {
  display: flex;
  gap: .75rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}

.button {
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: .72rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  background: rgba(255, 176, 92, 0.16);
}
.button.primary {
  background: linear-gradient(140deg, rgba(255, 176, 92, .48), rgba(255, 214, 164, .3));
}

.section {
  padding: 2.8rem 0;
}

.section h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 1rem;
}

.card p,
.page-intro,
.footer-note,
li {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.page-hero {
  padding: 2.6rem 0 1rem;
}

footer {
  border-top: 1px solid rgba(255, 173, 90, 0.25);
  padding: 1.35rem 0 2rem;
  margin-top: 2rem;
}

.footer-note {
  margin: 0;
  font-size: .92rem;
}

.contact-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(10, 22, 54, .65);
}

.contact-box a { color: var(--accent-2); }

a:hover,
.button:hover {
  box-shadow: 0 0 0 1px rgba(255, 176, 92, 0.4), 0 0 24px var(--glow);
}


@media (min-width: 1080px) {
  :root {
    --rocket-left-base: clamp(64vw, 70vw, 74vw);
  }
}

@media (max-width: 940px) {
  .hero,
  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }
  .bg-rocket { opacity: 1; }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 6px);
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    padding: .75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(4, 12, 30, 0.97);
    box-shadow: 0 12px 26px rgba(3, 7, 18, 0.44);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
  }

  .site-nav a {
    display: block;
    padding: .45rem .3rem;
  }

  .nav-inner.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-inner.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-inner.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-inner.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 680px) {
  :root {
    --rocket-scale: .7;
    --rocket-left-base: clamp(60vw, 70vw, 76vw);
    --booster-left-offset: 14px;
    --booster-right-offset: 60px;
  }

  @keyframes launch {
    0% {
      transform: translate(0, 300px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    10% {
      transform: translate(0, 140px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    20% {
      transform: translate(0, -40px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    24% {
      transform: translate(0, -160px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    27% {
      transform: translate(0, -250px) rotate(0deg);
      opacity: 1;
      z-index: 0;
    }
    31% {
      transform: translate(0, -420px) rotate(0deg);
      opacity: 1;
      z-index: 0;
    }
    36% {
      transform: translate(0, -820px) rotate(0deg);
      opacity: .62;
      z-index: 0;
    }
    39% {
      transform: translate(0, -980px) rotate(0deg);
      opacity: .14;
      z-index: 0;
    }
    41.2% {
      transform: translate(0, -1120px) rotate(0deg);
      opacity: 0;
      z-index: 0;
    }
    41.21%,
    100% {
      transform: translate(0, -1120px) rotate(0deg);
      opacity: 0;
      z-index: 0;
    }
  }

  .bg-rocket {
    left: var(--rocket-left-base);
  }

  .shock-wave {
    left: var(--rocket-left-base);
  }

  .shock-wave::before {
    width: 38px;
    height: 16px;
  }

  .booster {
    bottom: calc(clamp(1.25rem, 8vh, 4.25rem) + 18px);
  }

  .booster::after {
    width: 8px;
    height: 16px;
    bottom: -14px;
  }

  .booster-left {
    left: calc(var(--rocket-left-base) + (var(--booster-left-offset) * var(--rocket-scale)));
  }
  .booster-right {
    left: calc(var(--rocket-left-base) + (var(--booster-right-offset) * var(--rocket-scale)));
  }

  .bg-rocket::after {
    width: 24px;
    height: 46px;
    bottom: -40px;
  }
}

@media (max-height: 760px) {
  :root {
    --rocket-scale: .82;
    --rocket-left-base: clamp(56vw, 66vw, 74vw);
  }

  .bg-rocket,
  .shock-wave {
    left: var(--rocket-left-base);
  }

  .booster-left {
    left: calc(var(--rocket-left-base) + (var(--booster-left-offset) * var(--rocket-scale)));
  }

  .booster-right {
    left: calc(var(--rocket-left-base) + (var(--booster-right-offset) * var(--rocket-scale)));
  }

  @keyframes launch {
    0% {
      transform: translate(0, 240px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    10% {
      transform: translate(0, 90px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    20% {
      transform: translate(0, -30px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    24% {
      transform: translate(0, -160px) rotate(0deg);
      opacity: 1;
      z-index: -1;
    }
    26% {
      transform: translate(0, -220px) rotate(0deg);
      opacity: 1;
      z-index: 0;
    }
    30% {
      transform: translate(0, -320px) rotate(0deg);
      opacity: 1;
      z-index: 0;
    }
    34% {
      transform: translate(0, -500px) rotate(0deg);
      opacity: .48;
      z-index: 0;
    }
    36.5% {
      transform: translate(0, -680px) rotate(0deg);
      opacity: 0;
      z-index: 0;
    }
    36.51%,
    100% {
      transform: translate(0, -680px) rotate(0deg);
      opacity: 0;
      z-index: 0;
    }
  }

  @keyframes boosterDropLeft {
    0% {
      transform: translate(0, 240px) rotate(0deg);
      opacity: .22;
      z-index: -1;
    }
    10% {
      transform: translate(0, 90px) rotate(0deg);
      opacity: .32;
      z-index: -1;
    }
    20% {
      transform: translate(0, -30px) rotate(0deg);
      opacity: .42;
      z-index: -1;
    }
    23% {
      transform: translate(-8px, -120px) rotate(-4deg);
      opacity: .52;
      z-index: -1;
    }
    25% {
      transform: translate(-16px, -180px) rotate(-8deg);
      opacity: .5;
      z-index: 0;
    }
    30% {
      transform: translate(-72px, -60px) rotate(-26deg);
      opacity: .36;
      z-index: 0;
    }
    36% {
      transform: translate(-150px, 140px) rotate(-46deg);
      opacity: .08;
    }
    40% {
      transform: translate(-172px, 200px) rotate(-54deg);
      opacity: 0;
    }
    40.01%,
    100% {
      transform: translate(-172px, 200px) rotate(-54deg);
      opacity: 0;
    }
  }

  @keyframes boosterDropRight {
    0% {
      transform: translate(0, 240px) rotate(0deg);
      opacity: .22;
      z-index: -1;
    }
    10% {
      transform: translate(0, 90px) rotate(0deg);
      opacity: .32;
      z-index: -1;
    }
    20% {
      transform: translate(0, -30px) rotate(0deg);
      opacity: .42;
      z-index: -1;
    }
    23% {
      transform: translate(8px, -120px) rotate(4deg);
      opacity: .52;
      z-index: -1;
    }
    25% {
      transform: translate(16px, -180px) rotate(8deg);
      opacity: .5;
      z-index: 0;
    }
    30% {
      transform: translate(72px, -60px) rotate(26deg);
      opacity: .36;
      z-index: 0;
    }
    36% {
      transform: translate(150px, 140px) rotate(46deg);
      opacity: .08;
    }
    40% {
      transform: translate(172px, 200px) rotate(54deg);
      opacity: 0;
    }
    40.01%,
    100% {
      transform: translate(172px, 200px) rotate(54deg);
      opacity: 0;
    }
  }

  @keyframes boosterFlameOff {
    0%,
    24.8% {
      opacity: 1;
    }
    25.2%,
    100% {
      opacity: 0;
    }
  }
}

@media (max-width: 680px) and (max-height: 760px) {
  :root {
    --rocket-scale: .64;
  }
}

@media (min-height: 920px) {
  @keyframes boosterDropLeft {
    0% {
      transform: translate(0, 300px) rotate(0deg);
      opacity: .22;
      z-index: -1;
    }
    10% {
      transform: translate(0, 140px) rotate(0deg);
      opacity: .34;
      z-index: -1;
    }
    20% {
      transform: translate(0, -40px) rotate(0deg);
      opacity: .46;
      z-index: -1;
    }
    24% {
      transform: translate(0, -170px) rotate(0deg);
      opacity: .6;
      z-index: -1;
    }
    27% {
      transform: translate(0, -250px) rotate(0deg);
      opacity: .72;
      z-index: 0;
    }
    31% {
      transform: translate(0, -420px) rotate(0deg);
      opacity: .78;
      z-index: 0;
    }
    31.4% {
      transform: translate(-22px, -432px) rotate(-8deg);
      opacity: .58;
    }
    42% {
      transform: translate(-98px, -128px) rotate(-24deg);
      opacity: .44;
    }
    54% {
      transform: translate(-164px, 128px) rotate(-40deg);
      opacity: .22;
    }
    62% {
      transform: translate(-228px, 340px) rotate(-56deg);
      opacity: 0;
    }
    62.01%,
    100% {
      transform: translate(-228px, 340px) rotate(-56deg);
      opacity: 0;
    }
  }

  @keyframes boosterDropRight {
    0% {
      transform: translate(0, 300px) rotate(0deg);
      opacity: .22;
      z-index: -1;
    }
    10% {
      transform: translate(0, 140px) rotate(0deg);
      opacity: .34;
      z-index: -1;
    }
    20% {
      transform: translate(0, -40px) rotate(0deg);
      opacity: .46;
      z-index: -1;
    }
    24% {
      transform: translate(0, -170px) rotate(0deg);
      opacity: .6;
      z-index: -1;
    }
    27% {
      transform: translate(0, -250px) rotate(0deg);
      opacity: .72;
      z-index: 0;
    }
    31% {
      transform: translate(0, -420px) rotate(0deg);
      opacity: .78;
      z-index: 0;
    }
    31.4% {
      transform: translate(22px, -432px) rotate(8deg);
      opacity: .58;
    }
    42% {
      transform: translate(98px, -128px) rotate(24deg);
      opacity: .44;
    }
    54% {
      transform: translate(164px, 128px) rotate(40deg);
      opacity: .22;
    }
    62% {
      transform: translate(228px, 340px) rotate(56deg);
      opacity: 0;
    }
    62.01%,
    100% {
      transform: translate(228px, 340px) rotate(56deg);
      opacity: 0;
    }
  }
}

.admin-shell {
  min-height: calc(100vh - 4rem);
  display: grid;
  place-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.admin-card {
  width: min(560px, 100%);
  background: linear-gradient(160deg, rgba(18, 22, 42, .88), rgba(10, 14, 30, .9));
  border: 1px solid rgba(199, 215, 255, .28);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 22px 52px rgba(3, 5, 15, .5);
}

.admin-form {
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 1rem;
}

.admin-form label {
  font-size: .95rem;
  color: var(--muted);
}

.admin-form input,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(199, 215, 255, .35);
  background: rgba(5, 8, 22, .65);
  color: var(--text);
  border-radius: 12px;
  padding: .75rem .9rem;
  font-size: 1rem;
  outline: none;
}

.admin-form input:focus {
  border-color: rgba(122, 162, 255, .9);
  box-shadow: 0 0 0 3px rgba(122, 162, 255, .25);
}

.admin-message {
  min-height: 1.25rem;
  margin-bottom: 1rem;
}

.admin-hero {
  padding-top: 2.5rem;
}

.admin-hub-shell {
  padding-top: 2rem;
  padding-bottom: 3rem;
  display: grid;
  gap: 1rem;
}

.admin-hub-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-hub-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.admin-hub-session {
  margin-top: .55rem;
  font-size: .96rem;
}

.admin-hub-actions,
.admin-hub-panel-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.admin-hub-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
}

.admin-hub-subtitle {
  margin: .2rem 0 0;
  color: var(--muted);
}

.admin-hub-panel h2 {
  margin: 0;
}

.admin-hub-status {
  min-height: 1.25rem;
  margin: .8rem 0;
  color: var(--muted);
}

.admin-hub-status.info { color: var(--accent-cool); }
.admin-hub-status.ok { color: #9cf3bf; }
.admin-hub-status.error { color: #ffc4c4; }

.admin-hub-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .8rem;
}

.admin-hub-site-card {
  border: 1px solid rgba(255, 176, 92, 0.3);
  border-radius: 14px;
  padding: .9rem;
  background: rgba(9, 14, 34, 0.65);
}

.admin-hub-site-card h3 {
  margin: 0 0 .45rem;
}

.admin-hub-site-card p {
  margin: 0 0 .5rem;
}

.admin-hub-meta {
  font-size: .88rem;
  color: var(--muted);
}

.admin-hub-inline {
  color: var(--muted);
  margin: .4rem 0;
}

.admin-hub-config-help {
  margin: .6rem 0;
}

.admin-hub-table-wrap {
  overflow-x: auto;
  margin-bottom: .9rem;
}

.admin-hub-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-hub-table th,
.admin-hub-table td {
  border: 1px solid rgba(255, 176, 92, 0.25);
  padding: .45rem;
  text-align: left;
}

.admin-hub-table input {
  width: 100%;
  border: 1px solid rgba(199, 215, 255, .35);
  background: rgba(5, 8, 22, .65);
  color: var(--text);
  border-radius: 8px;
  padding: .5rem .6rem;
}

.admin-hub-id-cell {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

.admin-hub-id-auto {
  color: rgba(199, 215, 255, .55);
  font-style: italic;
}

@media (max-width: 840px) {
  .admin-hub-header,
  .admin-hub-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
