:root {
  --bg: #070b16;
  --ink: #f4f7fb;
  --muted: #b7c3d6;
  --violet: #8b6cff;
  --blue: #3ec6ff;
  --gold: #e4b15a;
  --line: rgba(139, 108, 255, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Avenir Next", sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
img { max-width: 100%; }
button, .cta { font: inherit; }

.bar, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 5vw;
}
.bar {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto 0;
}
.mark, footer a:first-child {
  letter-spacing: 0.22em;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.back, footer a { color: var(--muted); text-decoration: none; font-size: 14px; }

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slides img.is-on { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 22, 0.78), rgba(7, 11, 22, 0.28) 52%, rgba(7, 11, 22, 0.12)),
    linear-gradient(180deg, rgba(7, 11, 22, 0.28), rgba(7, 11, 22, 0.12) 36%, rgba(7, 11, 22, 0.9));
}
.hero-copy { position: relative; padding: 18vh 5vw 8vh; max-width: 640px; }
.logo { width: min(520px, 88vw); height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
h1, h2 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 8vw, 68px); line-height: 0.95; margin-top: 12px; }
h2 { font-size: clamp(28px, 5vw, 44px); }
.lede { color: var(--muted); font-size: 18px; max-width: 36ch; }
.explain, .support { max-width: 42ch; }
.explain { color: var(--ink); }
.support { margin: 12px 0 0; color: var(--gold); }
.meta, .fine, .kicker { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.kicker { margin: 0 0 8px; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  color: white;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(62, 198, 255, 0.25);
}
.cta:focus-visible, .sheet-x:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.how, .modes { padding: 0; background: #070b16; }
.shot { display: block; width: 100%; height: auto; }
.final { padding: 64px 5vw; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer { border-top: 1px solid var(--line); color: var(--muted); }

.sticky {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 4;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  color: white;
  font-weight: 700;
}
.sticky[hidden] { display: none; }
@media (min-width: 800px) { .sticky { display: none !important; } }

.sheet[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 6; display: grid; align-items: end; justify-items: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.sheet-card {
  position: relative;
  width: min(480px, 100%);
  margin: 0;
  padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
  background: #10182b;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
}
.sheet-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 28px;
  cursor: pointer;
}
.steps { list-style: none; padding: 0; color: var(--muted); }
.steps li.done { color: var(--gold); }
.marble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--blue) 40%, #1a3a8a);
  margin-bottom: 12px;
}
@media (prefers-reduced-motion: no-preference) {
  .marble { animation: roll 1.1s ease-in-out infinite; }
}
@keyframes roll { 50% { transform: translateX(18px); } }
@media (min-width: 800px) {
  .sheet { align-items: center; }
  .sheet-card { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marble { animation: none; }
  .hero-slides img { transition: none; }
}
