:root {
  color-scheme: light;
  --ink: #142d45;
  --muted: #5f7182;
  --purple: #613bc1;
  --purple-dark: #45258f;
  --orange: #ffae45;
  --cream: #fff9ed;
  --line: #dce4ec;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, #eadfff 0, transparent 30rem),
    radial-gradient(circle at 95% 15%, #fff0c9 0, transparent 28rem),
    #f6f8fc;
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--purple-dark); }

a:focus-visible {
  outline: 4px solid #ffcc55;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  transform: translateY(-150%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

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

header { padding: 26px 0; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  font-weight: 750;
  text-decoration: none;
}

main { padding: 30px 0 70px; }

.hero,
.document {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(36, 34, 77, 0.09);
}

.hero {
  padding: clamp(34px, 7vw, 74px);
  text-align: center;
}

.mascot-logo {
  width: clamp(120px, 22vw, 180px);
  height: auto;
  margin: -18px auto 12px;
  filter: drop-shadow(0 14px 20px rgba(67, 36, 139, 0.16));
}

.eyebrow {
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 12px auto 14px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 22px);
}

.support-lede { margin: 0; }

.actions,
.cards {
  display: grid;
  gap: 16px;
}

.actions {
  grid-template-columns: repeat(2, minmax(0, 210px));
  justify-content: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--purple);
  border-radius: 17px;
  padding: 10px 18px;
  background: var(--purple);
  color: white;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--purple-dark);
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: white;
}

.card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.document { padding: clamp(28px, 6vw, 62px); }
.document h1 { margin: 8px 0 10px; font-size: clamp(38px, 6vw, 58px); }
.document h2 { margin: 36px 0 8px; font-size: 24px; line-height: 1.2; }
.document h3 { margin: 24px 0 6px; font-size: 18px; }
.document p,
.document li { color: #42576a; }
.document li + li { margin-top: 7px; }
.updated { color: var(--muted); font-weight: 650; }

.notice {
  margin: 24px 0;
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  padding: 15px 18px;
  background: var(--cream);
}

footer {
  padding: 28px 0 40px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .cards,
  .actions { grid-template-columns: 1fr; }
  nav { align-items: flex-start; }
  .nav-links { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
