:root {
  color-scheme: light dark;
  --bg: #07111f;
  --card: #0f1b2d;
  --ink: #f8fafc;
  --muted: #b7c2d8;
  --line: #23324a;
  --accent: #42ded0;
  --gold: #ffd166;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(66, 222, 208, 0.18), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #0a1524 58%, #07111f 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.hero,
.document {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 27, 45, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero {
  padding: 36px;
}

.document {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 34px 52px;
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

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

a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.link-card {
  display: block;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.78);
}

.link-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #07111f;
  font-weight: 850;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}

.status {
  min-height: 24px;
  margin-top: -4px;
  font-size: 14px;
}

.back {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
}

.muted {
  color: var(--muted);
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .page {
    padding-top: 40px;
  }

  .hero,
  .document {
    border-radius: 18px;
  }

  .hero,
  .document {
    padding: 26px 22px 34px;
  }
}
