:root {
  color-scheme: dark;
  --bg: #061329;
  --surface: #0b1d3a;
  --surface-2: #102748;
  --line: #24456f;
  --text: #f3f8ff;
  --muted: #a9bad2;
  --cyan: #24d7ee;
  --blue: #4e8cff;
  --green: #38dc8a;
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(36, 215, 238, .14), transparent 32rem),
    radial-gradient(circle at 0 35%, rgba(78, 140, 255, .12), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--cyan); }
a:hover { color: #8af3ff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(36, 69, 111, .75);
  background: rgba(6, 19, 41, .88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .02em;
}

.brand::before {
  content: "✦";
  color: var(--cyan);
  margin-right: 9px;
}

.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

main {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.hero { padding: 28px 0 38px; }
.eyebrow { color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 10px 0 16px; font-size: clamp(2.2rem, 7vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; }
.lede { max-width: 700px; color: var(--muted); font-size: 1.12rem; }
.updated { color: var(--muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.card, .legal-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(16, 39, 72, .92), rgba(11, 29, 58, .9));
  box-shadow: 0 16px 45px rgba(0, 0, 0, .18);
}
.card { padding: 22px; }
.card h2 { margin: 4px 0 8px; font-size: 1.12rem; }
.card p { color: var(--muted); margin: 0 0 18px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: #001b25;
  background: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { color: var(--text); background: var(--surface-2); border: 1px solid var(--line); }

.legal { display: grid; gap: 16px; }
.legal-section { padding: 24px 26px; }
.legal-section h2 { margin: 0 0 8px; font-size: 1.18rem; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--text); }

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: rgba(56, 220, 138, .08);
  color: #d9ffeb;
}

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 28px 20px 42px;
  font-size: .88rem;
}

@media (max-width: 720px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 8px; }
  .nav-links { gap: 13px; }
  main { padding-top: 42px; }
  .cards, .support-grid { grid-template-columns: 1fr; }
  .legal-section { padding: 20px; }
}
