*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --night: #070B18;
  --night-2: #0E1428;
  --night-3: #151D38;
  --line: #24305A;
  --text: #EAF1FF;
  --muted: #9AA8CC;
  --aurora: #4FF5C6;
  --violet: #A98BFF;
  --pink: #FF7AD9;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(79, 245, 198, 0.14) 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(169, 139, 255, 0.16) 0%, transparent 60%),
    var(--night);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--aurora); }
a:hover { color: #8FFFE0; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--aurora); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 99; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 16px 32px;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; letter-spacing: -0.2px; }
.logo:hover { color: var(--text); }
.ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--violet); position: relative; box-shadow: 0 0 10px rgba(169, 139, 255, 0.6); }
.ring::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora); top: -4px; left: 4px; box-shadow: 0 0 8px var(--aurora); }
.top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.top nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--aurora); }

/* Home */
.hero { text-align: center; padding: 88px 24px 40px; max-width: 760px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--aurora); border: 1px solid rgba(79, 245, 198, 0.35); background: rgba(79, 245, 198, 0.08); padding: 4px 12px; border-radius: 100px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 8vw, 80px); font-weight: 800; letter-spacing: -2px; line-height: 1.02; margin-bottom: 20px;
  background: linear-gradient(90deg, var(--aurora), var(--violet) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--aurora); color: var(--night); box-shadow: 0 0 24px rgba(79, 245, 198, 0.35); }
.btn.primary:hover { color: var(--night); box-shadow: 0 0 32px rgba(79, 245, 198, 0.5); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); background: var(--night-2); }
.btn.ghost:hover { color: var(--text); border-color: var(--violet); }

.orbit-stage { position: relative; width: 100%; max-width: 680px; aspect-ratio: 16/9; margin: 56px auto 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 55%, #18204A 0%, #0A0F22 70%); }
.orbit-stage::before { content: ""; position: absolute; inset: -20% -10% auto; height: 60%;
  background: linear-gradient(100deg, transparent 10%, rgba(79, 245, 198, 0.22) 35%, rgba(169, 139, 255, 0.22) 60%, transparent 85%);
  filter: blur(30px); animation: drift 12s ease-in-out infinite alternate; }
.track { position: absolute; top: 50%; left: 50%; width: 44%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(169, 139, 255, 0.45); }
.spark-arm { position: absolute; inset: 0; animation: spin 4s linear infinite; }
.spark { position: absolute; top: -8px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--aurora), 0 0 30px var(--aurora); }
.gate { position: absolute; width: 6px; height: 34px; border-radius: 4px; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.g1 { top: 50%; right: -3px; transform: translateY(-50%); }
.g2 { bottom: 8%; left: 12%; transform: rotate(45deg); background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.perfect { position: absolute; top: 14%; right: 12%; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--aurora); text-shadow: 0 0 12px var(--aurora); }
.score { position: absolute; top: 12%; left: 10%; font-size: 28px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.score small { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(10%); } }
@media (prefers-reduced-motion: reduce) { .spark-arm, .orbit-stage::before { animation: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 80px auto; padding: 0 24px; }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h2 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .icon { display: block; width: 10px; height: 10px; border-radius: 50%; margin-bottom: 16px; background: var(--aurora); box-shadow: 0 0 12px var(--aurora); }
.card:nth-child(2) .icon { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.card:nth-child(3) .icon { background: var(--pink); box-shadow: 0 0 12px var(--pink); }

/* Document pages */
.doc { max-width: 720px; margin: 56px auto 0; padding: 0 24px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--aurora); margin-bottom: 10px; }
.doc h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.meta { font-size: 14px; color: var(--muted); padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.meta p { margin: 0; }
.intro { background: var(--night-2); border: 1px solid var(--line); border-left: 3px solid var(--aurora); border-radius: 12px; padding: 20px 24px; color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 40px 0 12px; }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 15px; color: #D3DCF2; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 8px 0 16px 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }

.contact { display: flex; gap: 18px; align-items: flex-start; background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 40px; }
.contact h3 { margin: 0 0 6px; }
.contact p { color: var(--muted); margin-bottom: 8px; }
details.faq { background: var(--night-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details.faq[open] summary { margin-bottom: 10px; }
details.faq p { color: var(--muted); margin: 0; }

.foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot p { font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { font-size: 13px; color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .top { padding: 14px 20px; }
  .top nav { gap: 16px; }
  .hero { padding-top: 56px; }
  .features { grid-template-columns: 1fr; margin: 56px auto; }
  .doc h1 { font-size: 30px; }
  .foot { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
