:root {
  color-scheme: dark;
  --background: #0d0f14;
  --surface: #171a21;
  --surface-soft: #20242e;
  --line: #343a47;
  --text: #f7f8fb;
  --muted: #adb3c1;
  --accent: #a99cff;
  --accent-strong: #8069ff;
  --success: #72d8a5;
}

* { box-sizing: border-box; }

html { background: var(--background); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -8%, rgba(128, 105, 255, 0.2), transparent 34rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); }
a:hover { color: #cbc3ff; }

.shell { width: min(100% - 32px, 900px); margin: 0 auto; }

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; border-radius: 11px; }

.play-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  color: white;
  background: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.play-link:hover,
.primary-link:hover { color: white; background: #907cff; }

main {
  margin: 34px 0 64px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(23, 26, 33, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2, h3 { color: white; line-height: 1.16; }
h1 { margin: 0; font-size: clamp(36px, 7vw, 58px); letter-spacing: -0.055em; }
h2 { margin: 42px 0 10px; font-size: 24px; letter-spacing: -0.025em; }
h3 { margin: 24px 0 8px; font-size: 18px; }

.lead { max-width: 720px; margin: 20px 0 0; color: #cbd0dc; font-size: 18px; }
.updated { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

p, li { color: #c4c9d4; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 8px; }

.notice,
.action-card {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid rgba(169, 156, 255, 0.34);
  border-radius: 18px;
  background: rgba(128, 105, 255, 0.09);
}

.action-card h2 { margin-top: 0; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.secondary-link:hover { border-color: var(--accent); color: white; }

.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.data-table th, .data-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th { color: white; background: var(--surface-soft); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding: 0 0 38px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: white; }

code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #ddd8ff;
  background: #252936;
}

@media (max-width: 640px) {
  .shell { width: min(100% - 22px, 900px); }
  .site-header { min-height: 72px; }
  .play-link { padding: 0 13px; }
  main { margin-top: 18px; border-radius: 20px; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
