/* == tokens, reset, base == */

:root {
  --bg: #070a14;
  --bg-soft: #0a0f1f;
  --panel: #0e1428;
  --panel-hi: #121a33;
  --line: #24325f;
  --line-soft: #1a2448;
  --text: #e8ecfb;
  --muted: #aab6d8;
  --cyan: #22d3ee;
  --cyan-hi: #7ceeff;
  --magenta: #e94ad4;
  --magenta-hi: #ff9cec;
  --ink: #03101a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-cyan: 0 0 0 1px rgba(34, 211, 238, .28), 0 12px 38px -12px rgba(34, 211, 238, .45);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(58rem 40rem at 12% -12%, rgba(34, 211, 238, .14), transparent 62%),
    radial-gradient(52rem 38rem at 94% 2%, rgba(233, 74, 212, .13), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 6.2vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
h4 { font-size: 1.06rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: #fff; font-weight: 650; }

a { color: var(--cyan-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

svg { max-width: 100%; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--cyan);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--ink); }

/* == components and sections == */

.site-header { border-bottom: 1px solid var(--line-soft); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { color: var(--line); flex: none; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .5)); }
.brand-dim { color: var(--muted); font-weight: 500; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--muted);
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--cyan-hi); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--cyan) 0%, #5ae0ff 55%, var(--magenta-hi) 160%);
  color: var(--ink);
  box-shadow: 0 0 26px -6px rgba(34, 211, 238, .75);
}
.btn-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 34px -4px rgba(34, 211, 238, .95); }
.btn-ghost { background: rgba(34, 211, 238, .07); border-color: var(--line); color: var(--cyan-hi); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .14); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .92rem; background: rgba(34, 211, 238, .1); border-color: var(--line); color: var(--cyan-hi); }
.btn-small:hover { border-color: var(--cyan); color: #fff; }
.btn-large { min-height: 56px; padding: 15px 34px; font-size: 1.1rem; }

.hero { padding: clamp(36px, 7vw, 76px) 0 clamp(30px, 5vw, 56px); }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-hi);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 28px; color: var(--muted); font-size: .97rem; margin: 0; }
.facts li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 1px rgba(34, 211, 238, .8);
}
.facts li:nth-child(even)::before { background: var(--magenta); box-shadow: 0 0 10px 1px rgba(233, 74, 212, .8); }

.hero-copy, .hero-art, .card, .steps > li { min-width: 0; }
.hero-art { display: flex; justify-content: center; }
.board {
  width: 100%;
  height: auto;
  max-width: 400px;
  filter: drop-shadow(0 22px 50px rgba(6, 10, 26, .9));
}
.disc-cyan { filter: drop-shadow(0 0 9px rgba(34, 211, 238, .85)); }
.disc-magenta { filter: drop-shadow(0 0 9px rgba(233, 74, 212, .75)); }
.target { opacity: .85; }

section { padding: clamp(40px, 7vw, 78px) 0; }
.band { background: linear-gradient(180deg, rgba(14, 20, 40, 0) 0%, rgba(14, 20, 40, .72) 12%, rgba(14, 20, 40, .72) 88%, rgba(14, 20, 40, 0) 100%); }
.section-lead { color: var(--muted); max-width: 62ch; margin-bottom: 2em; font-size: 1.04rem; }
.band-cta { margin: 2.2em 0 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 24px 24px 8px 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(34, 211, 238, .12);
  border: 1px solid var(--cyan);
  color: var(--cyan-hi);
  font-weight: 800;
  font-size: .95rem;
}
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .99rem; }

.cards { display: grid; gap: 18px; }
.card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { margin-bottom: .45em; font-size: 1.14rem; }
.card p { margin: 0; color: var(--muted); font-size: .99rem; }

.rules-list { counter-reset: rule; list-style: none; padding: 0; margin: 0 0 1.4em; }
.rules-list li {
  counter-increment: rule;
  position: relative;
  padding-left: 42px;
  margin-bottom: .9em;
  color: var(--muted);
}
.rules-list li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: .1em;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--magenta);
  background: rgba(233, 74, 212, .12);
  color: var(--magenta-hi);
  font-size: .85rem;
  font-weight: 800;
}
#rules p { color: var(--muted); }
#rules h3 {
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-soft);
  color: var(--text);
}
#rules h4 { margin-top: 1.7em; color: var(--cyan-hi); }
#rules .section-lead { margin-bottom: 1.4em; }

.faq { display: grid; gap: 14px; }
.qa {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
}
.qa h3 { font-size: 1.1rem; margin-bottom: .5em; }
.qa p { margin: 0; color: var(--muted); font-size: 1rem; }

.final-cta { text-align: center; }
.final-cta p { color: var(--muted); }
.final-cta .btn { margin-top: 10px; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 34px 0 44px; background: rgba(7, 10, 20, .6); }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0 0 18px; padding: 0; }
.footer-inner a { color: var(--muted); font-size: .95rem; text-decoration: none; }
.footer-inner a:hover { color: var(--cyan-hi); text-decoration: underline; }
.colophon { color: var(--muted); font-size: .9rem; max-width: 70ch; margin-bottom: .6em; }
.updated { color: var(--muted); font-size: .85rem; margin: 0; }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero-grid { grid-template-columns: 1.06fr .94fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .board { max-width: 420px; }
}

@media (prefers-reduced-motion: no-preference) {
  .dropper { animation: drop 3.6s ease-in-out infinite; }
  .trail { animation: fade 3.6s ease-in-out infinite; }
  .target { animation: glow 2.4s ease-in-out infinite; }
  @keyframes drop {
    0%, 62%, 100% { transform: translateY(0); }
    76% { transform: translateY(14px); }
  }
  @keyframes fade {
    0%, 62%, 100% { opacity: .55; }
    76% { opacity: 1; }
  }
  @keyframes glow {
    0%, 100% { opacity: .45; }
    50% { opacity: .95; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
