/* Versus website. No external fonts or scripts (see _headers: strict CSP). */
:root {
  --bg: #0f0d24;
  --bg-2: #17143a;
  --card: #1e1a4a;
  --line: #34307a;
  --fg: #f3f1ff;
  --muted: #b8b3e0;
  --accent: #5b4bff;
  --accent-2: #2fe0ff;
  --energy: #b6ff3b;
  --radius: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -200px, #2a2470 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--fg);
  overflow-wrap: break-word;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Header / footer */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Home */
.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 12px 40px rgba(91, 75, 255, .45); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.05; margin: 22px 0 10px; letter-spacing: .02em; }
.hero h1 span { color: var(--accent-2); }
.hero p.lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--accent-2); color: #0b0a1e; font-weight: 800; text-decoration: none; box-shadow: 0 6px 0 #1a9fb8; }
.button:hover { color: #0b0a1e; filter: brightness(1.08); }
.button.soon { background: var(--card); color: var(--muted); box-shadow: none; border: 1px solid var(--line); cursor: default; }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } }
.card { background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--energy); margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }

section h2 { font-size: 1.6rem; margin: 64px 0 8px; }
section > p { color: var(--muted); }
ol.steps { padding-left: 1.2em; }
ol.steps li { margin: 8px 0; }

/* Legal / text pages */
.doc { padding-top: 16px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; margin: 8px 0 4px; }
.doc h2 { font-size: 1.25rem; margin: 36px 0 8px; }
.doc .muted { color: var(--muted); }
.doc li { margin: 6px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .96rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .button { transition: filter .15s ease, transform .15s ease; }
  .button:active { transform: translateY(3px); }
}
