:root {
  color-scheme: dark;
  --ink: #f6fbff;
  --muted: #9caab9;
  --line: rgba(157, 222, 255, 0.18);
  --cyan: #21d9ff;
  --violet: #8a72ff;
  --surface: rgba(8, 16, 25, 0.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #05080d; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #05080d;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.particle-field { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: .45; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 88px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.compact { position: fixed; background: rgba(5,8,13,.72); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: 14px; font-weight: 700; }
.brand-mark { position: relative; display: block; width: 26px; height: 26px; transform: rotate(45deg); border: 1px solid rgba(116,227,255,.68); }
.brand-mark i { position: absolute; display: block; background: var(--cyan); box-shadow: 0 0 14px rgba(33,217,255,.8); }
.brand-mark i:first-child { width: 10px; height: 2px; top: 7px; left: 7px; }
.brand-mark i:last-child { width: 2px; height: 10px; top: 7px; left: 7px; }
.desktop-nav { display: flex; align-items: center; gap: 38px; color: #b7c3cf; font-size: 13px; }
.desktop-nav a { position: relative; padding: 10px 0; transition: color .25s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; }
.desktop-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.menu-toggle { justify-self: end; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(8,17,27,.35); cursor: pointer; }
.menu-toggle span { display: block; width: 16px; height: 1px; margin: 5px auto; background: #fff; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 76px; right: 5vw; display: none; width: 190px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(6,12,19,.92); backdrop-filter: blur(20px); }
.mobile-nav.is-open { display: grid; }
.mobile-nav a { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.mobile-nav a:last-child { border-bottom: 0; }

.hero { position: relative; z-index: 2; min-height: 88vh; height: 900px; max-height: 960px; overflow: hidden; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -3; background: #03070b url("/assets/vastivon-orbit.webp") center center / cover no-repeat; transform: scale(1.035); will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,5,9,.94) 0%, rgba(3,7,12,.6) 42%, rgba(3,7,12,.08) 72%), linear-gradient(0deg, #05080d 0%, transparent 18%); }
.hero-content { position: absolute; left: 8vw; top: 50%; width: min(680px, 76vw); transform: translateY(-46%); }
.hero-kicker { margin: 0 0 24px; color: #80dcf0; font-size: 11px; font-weight: 600; }
.hero h1 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: 112px; line-height: .88; font-weight: 900; text-shadow: 0 0 42px rgba(33,217,255,.18); }
.hero-subtitle { margin: 26px 0 34px; color: #c8d4df; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-width: 142px; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #021018; background: #6ee7ff; box-shadow: 0 0 28px rgba(33,217,255,.24); }
.button-primary:hover { background: #b5f3ff; box-shadow: 0 0 38px rgba(33,217,255,.38); }
.button-secondary { border-color: rgba(255,255,255,.28); background: rgba(9,16,25,.4); backdrop-filter: blur(12px); }
.button-secondary:hover { border-color: rgba(99,226,255,.62); background: rgba(15,28,39,.68); }
.scroll-cue { position: absolute; right: 5vw; bottom: 32px; display: flex; align-items: center; gap: 12px; color: #8b99a8; font-size: 10px; text-transform: uppercase; transform: rotate(90deg); transform-origin: right center; }
.scroll-cue span { display: block; width: 46px; height: 1px; background: var(--cyan); }

.visual-band { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; min-height: 440px; padding: 80px 8vw; border-top: 1px solid rgba(255,255,255,.08); background: #05080d; overflow: hidden; }
.visual-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(75,205,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(75,205,255,.15) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); }
.visual-index { color: rgba(132,230,255,.32); font-size: 88px; font-weight: 200; }
.visual-band p { position: relative; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 58px; line-height: 1.05; }
.signal-lines { justify-self: end; display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.signal-lines i { display: block; width: 3px; background: var(--cyan); box-shadow: 0 0 12px rgba(33,217,255,.8); animation: pulse 2.4s ease-in-out infinite; }
.signal-lines i:nth-child(1) { height: 24%; }
.signal-lines i:nth-child(2) { height: 82%; animation-delay: -.4s; }
.signal-lines i:nth-child(3) { height: 52%; animation-delay: -.8s; background: var(--violet); }
.signal-lines i:nth-child(4) { height: 100%; animation-delay: -1.2s; }

footer { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; min-height: 96px; padding: 0 5vw; border-top: 1px solid rgba(255,255,255,.08); color: #788695; background: #05080d; font-size: 12px; }
footer nav { display: flex; gap: 28px; }
footer a:hover { color: #fff; }

.back-link { justify-self: end; color: #b7c3cf; font-size: 12px; }
.download-main { position: relative; z-index: 2; display: grid; place-items: center; min-height: calc(100vh - 96px); padding: 140px 24px 72px; overflow: hidden; background: radial-gradient(circle at 70% 30%, rgba(25,144,181,.14), transparent 30%), #05080d; }
.download-main::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(69,220,255,.15); border-radius: 50%; box-shadow: inset 0 0 80px rgba(50,142,255,.06), 0 0 80px rgba(84,70,255,.05); }
.download-panel, .privacy-panel { position: relative; width: min(760px, 100%); padding: 58px; border: 1px solid rgba(136,222,255,.18); border-radius: 8px; background: rgba(7,15,23,.72); box-shadow: 0 30px 100px rgba(0,0,0,.38); backdrop-filter: blur(22px); overflow: hidden; }
.download-glow { position: absolute; top: -100px; right: -100px; width: 260px; height: 260px; border: 1px solid rgba(78,225,255,.22); border-radius: 50%; box-shadow: 0 0 80px rgba(62,196,255,.12); }
.download-eyebrow { margin: 0 0 16px; color: #66dff6; font-size: 10px; font-weight: 700; }
.download-panel h1, .privacy-panel h1 { margin: 0 0 42px; font-size: 54px; line-height: 1; }
.release-meta { margin: 0 0 36px; }
.release-meta > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.release-meta dt { color: #788898; font-size: 12px; }
.release-meta dd { min-width: 0; margin: 0; color: #dce9f2; font-size: 13px; overflow-wrap: anywhere; }
.hash-row dd { color: #8bdff0; font-family: Consolas, monospace; font-size: 11px; }
.download-button { width: 100%; }
.install-note { margin: 18px 0 0; color: #8998a6; text-align: center; font-size: 12px; }
.privacy-panel p:last-child { max-width: 520px; color: #9cabb9; font-size: 16px; line-height: 1.8; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%,100% { opacity: .3; transform: scaleY(.55); } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; padding: 0 20px; }
  .desktop-nav { display: none; }
  .hero { min-height: 720px; height: 88vh; max-height: 820px; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,5,9,.94), rgba(3,7,12,.3)), linear-gradient(0deg, #05080d, transparent 28%); }
  .hero-content { left: 24px; top: 48%; width: calc(100% - 48px); }
  .hero-kicker { margin-bottom: 18px; }
  .hero h1 { font-size: 58px; }
  .hero-subtitle { margin: 20px 0 28px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-width: 0; padding: 0 14px; gap: 10px; }
  .scroll-cue { display: none; }
  .visual-band { grid-template-columns: 1fr auto; min-height: 340px; padding: 70px 24px; }
  .visual-index { grid-column: 1 / -1; margin-bottom: 28px; font-size: 48px; }
  .visual-band p { font-size: 38px; }
  .signal-lines { height: 70px; }
  footer { min-height: 112px; padding: 26px 24px; align-items: flex-start; }
  footer nav { gap: 18px; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 16px; }
  .download-main { padding: 112px 16px 48px; }
  .download-main::before { width: 320px; height: 320px; }
  .download-panel, .privacy-panel { padding: 32px 22px; }
  .download-panel h1, .privacy-panel h1 { margin-bottom: 30px; font-size: 38px; }
  .release-meta > div { grid-template-columns: 1fr; gap: 7px; padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .particle-field { display: none; }
  .hero-image { transform: none !important; }
}
