:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #07101f;
  color: #eef7ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top right, #24124a 0, transparent 36rem), #07101f;
  line-height: 1.75;
}

a:focus-visible {
  outline: 3px solid #ff83c8;
  outline-offset: 4px;
  border-radius: 6px;
}

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

header, section, .page-link {
  background: rgba(15, 24, 42, 0.9);
  border: 1px solid rgba(91, 211, 255, 0.22);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 18px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  padding: 14px 18px;
  background: rgba(15, 24, 42, 0.82);
  border: 1px solid rgba(91, 211, 255, 0.18);
  border-radius: 16px;
}

.top-nav a {
  color: #cfeeff;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a[aria-current="page"] {
  color: #ff83c8;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.page-link {
  display: grid;
  gap: 8px;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.page-link strong {
  color: #62d9ff;
  font-size: 1.15rem;
}

.page-link span { color: #c4d1df; }

.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-title img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

h1, h2 { line-height: 1.35; }
h1 { margin-top: 0; font-size: clamp(2rem, 7vw, 3.2rem); }
h2 { color: #62d9ff; margin-top: 0; }
a { color: #72e4ff; }
.eyebrow { color: #ff83c8; font-weight: 700; }
.muted { color: #aec0d6; }
li + li { margin-top: 0.45rem; }

footer {
  color: #93a7be;
  text-align: center;
  padding: 20px;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 20px, 880px);
    padding-top: 20px;
  }

  header, section, .page-link { border-radius: 16px; }
}
