:root {
  color-scheme: dark;
  --bg: #080b14;
  --panel: #101727;
  --panel-soft: #151f33;
  --text: #f5f7ff;
  --muted: #aeb9cf;
  --cyan: #5de4ff;
  --violet: #a66bff;
  --gold: #f4c75b;
  --line: rgba(93, 228, 255, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(30, 55, 92, 0.32), transparent 42%),
    radial-gradient(circle at 82% 8%, rgba(166, 107, 255, 0.15), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--cyan);
}

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

header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: blur(16px);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

main {
  padding: 72px 0 96px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(2.25rem, 8vw, 4.6rem);
}

h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--cyan);
  background: rgba(93, 228, 255, 0.08);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(166, 107, 255, 0.68);
  background: rgba(166, 107, 255, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.panel p,
.panel li,
.document p,
.document li {
  color: var(--muted);
}

.document {
  max-width: 780px;
}

.document section {
  margin-top: 42px;
}

.notice {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(244, 199, 91, 0.08);
  color: var(--muted);
}

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  main {
    padding-top: 48px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
