@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Outfit:wght@400;500;600;700;800&family=Syne:wght@700;800&display=swap");

:root {
  --bg: #05060d;
  --ink: #eef0ff;
  --muted: #9aa0c4;
  --glass: rgba(10, 12, 28, 0.62);
  --line: rgba(125, 249, 255, 0.16);
  --cyan: #67e8f9;
  --violet: #c084fc;
  --magenta: #f0abfc;
  --warn: #fb923c;
  --warn-bg: rgba(251, 146, 60, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.62;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #6d28d9; color: #fff; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; text-shadow: 0 0 12px var(--cyan); }
#nav-toggle { position: absolute; left: -9999px; }

.void {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.void::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(88, 28, 135, 0.28), transparent 46%),
    radial-gradient(ellipse at 80% 20%, rgba(8, 47, 73, 0.35), transparent 42%),
    linear-gradient(180deg, rgba(5, 6, 13, 0.2), rgba(5, 6, 13, 0.72));
}
.aurora {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite;
}
.a1 { top: -18%; left: -10%; background: #4c1d95; animation-duration: 22s; }
.a2 { top: 8%; right: -16%; background: #0e7490; animation-duration: 26s; animation-delay: -6s; }
.a3 { bottom: -22%; left: 28%; background: #6b21a8; animation-duration: 20s; animation-delay: -10s; }
.stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, var(--cyan), transparent),
    radial-gradient(1.4px 1.4px at 44% 34%, #fff, transparent),
    radial-gradient(1px 1px at 61% 12%, var(--violet), transparent),
    radial-gradient(1.2px 1.2px at 73% 58%, #fff, transparent),
    radial-gradient(1px 1px at 86% 26%, var(--cyan), transparent),
    radial-gradient(1.3px 1.3px at 8% 88%, var(--magenta), transparent),
    radial-gradient(1px 1px at 52% 91%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 93% 78%, var(--cyan), transparent),
    radial-gradient(1px 1px at 37% 8%, #fff, transparent);
  background-size: 640px 640px;
  animation: twinkle 7s ease-in-out infinite, drift 80s linear infinite;
  opacity: 0.7;
}
.s2 {
  background-size: 420px 420px;
  animation-duration: 5s, 110s;
  animation-delay: -2s, -20s;
  opacity: 0.45;
}
.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28vh;
  background: linear-gradient(transparent, rgba(103, 232, 249, 0.05), transparent);
  animation: scan 11s linear infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -6%, 0) scale(1.08); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
@keyframes scan {
  0% { transform: translateY(-40%); }
  100% { transform: translateY(140vh); }
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 0 12px rgba(103, 232, 249, 0.18), 0 0 40px rgba(168, 85, 247, 0.08); }
  50% { box-shadow: 0 0 22px rgba(103, 232, 249, 0.4), 0 0 60px rgba(168, 85, 247, 0.18); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.top, .panel, .wrap, .foot { position: relative; z-index: 2; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(5, 6, 13, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: Syne, Outfit, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  text-transform: uppercase;
}
.mark span {
  color: var(--cyan);
  text-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(103, 232, 249, 0.4);
}
.top nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.top nav a {
  color: #c4c8ea;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
}
.top nav a:hover {
  color: #fff;
  background: rgba(103, 232, 249, 0.08);
  text-shadow: none;
}
.top nav a.on {
  color: #041016;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.55);
}
.open {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  color: var(--cyan);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}
.eyebrow a { color: var(--violet); }
h1 {
  font-family: Syne, Outfit, sans-serif;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 12px;
  color: #f7f4ff;
  text-shadow: 0 0 40px rgba(192, 132, 252, 0.25);
}
.hero h1 {
  color: #f5fdff;
  text-shadow:
    0 0 18px rgba(103, 232, 249, 0.55),
    0 0 42px rgba(192, 132, 252, 0.35);
}
h2 {
  font-family: Syne, Outfit, sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 32px 0 12px;
}
h3 { font-size: 16px; margin: 18px 0 8px; }
.lede { font-size: 18px; color: var(--muted); margin-bottom: 18px; max-width: 42rem; }
p, li { color: #c9cce6; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 16px 1.15rem; }
li { margin: 0 0 6px; }

.stats { display: grid; gap: 10px; }
.stat {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  animation: glowpulse 5s ease-in-out infinite;
}
.stat:nth-child(2) { animation-delay: -1.6s; }
.stat:nth-child(3) { animation-delay: -3.2s; }
.stat b { display: block; font-size: 22px; letter-spacing: -0.03em; color: #fff; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover {
  background: rgba(103, 232, 249, 0.1);
  color: #fff;
  text-shadow: none;
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.btn.primary {
  background: linear-gradient(90deg, #7c3aed, #0891b2);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(103, 232, 249, 0.28);
  animation: glowpulse 3.4s ease-in-out infinite;
}
.btn.primary:hover { color: #fff; filter: brightness(1.08); }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 28px;
}
.card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none !important;
  color: var(--ink);
  min-height: 92px;
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--cyan);
  color: #fff;
  text-shadow: none;
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(103, 232, 249, 0.22), 0 12px 40px rgba(76, 29, 149, 0.35);
}
.card strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.card em { font-style: normal; color: var(--muted); font-size: 13px; font-weight: 600; }

.route {
  counter-reset: step;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.route li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  min-height: 36px;
  margin: 0 0 12px;
}
.route li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(103, 232, 249, 0.1);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.28);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.warn, .ok, .legal {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14.5px;
}
.warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-left: 4px solid var(--warn);
  box-shadow: 0 0 18px rgba(251, 146, 60, 0.12);
}
.ok { background: rgba(45, 212, 191, 0.1); color: #5eead4; }
.legal {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.addrs { display: grid; gap: 8px; margin: 12px 0 20px; }
.addr {
  background: rgba(4, 10, 22, 0.85);
  color: #e8fbff;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  box-shadow: inset 0 0 24px rgba(103, 232, 249, 0.08), 0 0 18px rgba(103, 232, 249, 0.12);
}
.addr small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
  text-shadow: 0 0 10px var(--cyan);
}
.addr code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.feed { display: grid; gap: 0; }
.item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.item time {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.item h3 { margin: 0 0 4px; font-size: 17px; }
.item p { margin: 0; font-size: 14px; color: var(--muted); }

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 48px;
  color: var(--muted);
  font-size: 13px;
}

.panel { display: none; }
#nav-toggle:checked ~ .panel {
  display: block;
  background: rgba(8, 10, 24, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 16px;
}
.panel a {
  display: inline-block;
  color: #c4c8ea;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
}

@media (max-width: 820px) {
  .hero, .grid { grid-template-columns: 1fr; }
  h1, .hero h1 { font-size: 32px; }
  .top nav { display: none; }
  .open { display: inline-flex; }
  #nav-toggle:checked ~ .top .open {
    background: var(--cyan);
    color: #041016;
    box-shadow: 0 0 16px var(--cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
