:root {
  color-scheme: dark;
  --background: #071326;
  --surface: #101f38;
  --surface-soft: #152944;
  --border: rgba(119, 218, 235, 0.22);
  --primary: #55d8e8;
  --secondary: #8d7ff0;
  --text: #f4f8ff;
  --muted: #b9c7d9;
  --success: #6bd7b0;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(85, 216, 232, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 26%, rgba(141, 127, 240, 0.11), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: "Nunito Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--primary); }
a:hover { color: #9df4ff; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 19, 38, 0.88);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand span { color: var(--primary); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.hero { padding: 30px 0 48px; }

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

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 7vw, 4.6rem); margin: 12px 0 20px; }
h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); margin: 42px 0 14px; }
h3 { font-size: 1.08rem; margin-top: 30px; }
p, li { color: var(--muted); }

.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

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

.card, .notice {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(21, 41, 68, 0.92), rgba(16, 31, 56, 0.92));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.card {
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover { transform: translateY(-3px); border-color: rgba(85, 216, 232, 0.58); }
.card h2 { margin: 0 0 9px; font-size: 1.2rem; }
.card p { margin: 0; }

.notice { padding: 18px 22px; margin: 28px 0; }
.notice strong { color: var(--success); }

.document h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.document section { scroll-margin-top: 90px; }

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  background: linear-gradient(120deg, var(--primary), #72a8f5);
  color: #061425;
  text-decoration: none;
  font-weight: 900;
}

.button:hover { color: #061425; filter: brightness(1.08); }

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 30px 16px;
  text-align: center;
  font-size: 0.86rem;
}

@media (max-width: 700px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 15px 0; gap: 8px; }
  .nav-links { justify-content: flex-start; gap: 6px 14px; }
  main { padding-top: 36px; }
  .cards { grid-template-columns: 1fr; }
}
