:root {
  --bg-top: #1a0b4a;
  --bg-bottom: #3b0f7a;
  --sunshine: #ffd23f;
  --bubblegum: #ff3ea5;
  --electric: #00d1ff;
  --lime: #7cf29c;
  --tangerine: #ff8a3d;
  --coral: #ff5470;
  --ink: #2a0e6b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --surface: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.16);
  --radius: 20px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-top);
  background-image:
    radial-gradient(60vmax 60vmax at 95% -10%, rgba(255, 62, 165, 0.35), transparent 60%),
    radial-gradient(55vmax 55vmax at -10% 105%, rgba(0, 209, 255, 0.22), transparent 60%),
    linear-gradient(var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.55;
}

a { color: var(--sunshine); text-underline-offset: 3px; }
a:hover { color: #fff; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 18px; }
.brand-mark { display: flex; gap: 3px; }
.brand-mark span {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: var(--ink);
}
.nav { display: flex; gap: 18px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

/* Hero */
.hero { text-align: center; padding: 28px 0 40px; }
.wheel { width: 270px; height: 240px; margin: 0 auto 8px; position: relative; }
.wheel svg { position: absolute; inset: 0; overflow: visible; }
.wheel .disc {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 900; color: var(--ink);
  animation: bob 1.8s ease-in-out infinite;
}
.wheel .disc.current { width: 60px; height: 60px; margin: -30px 0 0 -30px; font-size: 28px; }
@keyframes bob { 50% { transform: translateY(-5px); } }

h1 {
  font-size: clamp(38px, 9vw, 60px); line-height: 1.05; margin: 8px 0 12px; font-weight: 900;
  background: linear-gradient(#fff, var(--sunshine));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 4.5vw, 21px); color: var(--muted); max-width: 520px; margin: 0 auto 26px; font-weight: 600; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 18px; border: 0;
  background: var(--sunshine); color: var(--ink);
  font: inherit; font-size: 18px; font-weight: 900; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 210, 63, 0.35);
}
.button:hover { color: var(--ink); transform: translateY(-1px); }
.button[disabled] { opacity: 0.5; cursor: default; transform: none; }
.badge-soon {
  display: inline-block; padding: 12px 22px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--stroke);
  font-weight: 800; color: #fff;
}

/* Cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 10px 0 40px; }
.card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.card p { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.kicker { font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

/* Documents */
.doc { padding-top: 10px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(32px, 8vw, 44px); background: none; color: #fff; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 32px 0 8px; color: var(--sunshine); }
.doc h3 { font-size: 17px; font-weight: 800; margin: 20px 0 4px; }
.doc p, .doc li { color: rgba(255, 255, 255, 0.88); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--muted); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.doc th { color: var(--sunshine); font-weight: 800; }
.table-scroll { overflow-x: auto; }

details.faq { background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px; padding: 14px 16px; margin: 10px 0; }
details.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; }
details.faq p { margin: 10px 0 0; }

/* Forms */
.panel { max-width: 420px; margin: 20px auto 60px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 24px; padding: 24px; }
.panel h1 { font-size: 30px; background: none; color: #fff; text-align: center; }
label { display: block; font-weight: 800; font-size: 14px; margin: 14px 0 6px; color: var(--muted); }
input[type="password"] {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.08); color: #fff;
  font: inherit; font-size: 17px;
}
input:focus { outline: 2px solid var(--sunshine); outline-offset: 1px; }
.panel .button { width: 100%; margin-top: 18px; }
.status { margin: 14px 0 0; font-weight: 800; text-align: center; }
.status.good { color: var(--lime); }
.status.bad { color: var(--coral); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { padding: 30px 0 40px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.site-footer nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .wheel .disc { animation: none; }
}
