:root {
  color-scheme: dark;
  --bg: #080d14;
  --panel: #111a29;
  --panel-soft: #162234;
  --text: #edf4fb;
  --muted: #b6c1d0;
  --line: #2c3b50;
  --blue: #63b4ff;
  --pink: #e179a4;
  --focus: #ffd166;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at 85% 0, #142238 0, var(--bg) 34rem);
  color: var(--text);
  font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #9dd2ff; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: .4rem;
  background: var(--focus);
  color: #111;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

header, main, footer {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 850;
  text-decoration: none;
}

header nav, footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
}

header nav a, footer nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

main { padding: clamp(2.5rem, 7vw, 5.5rem) 0; }

.eyebrow {
  margin: 0 0 .5rem;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.15; letter-spacing: -.025em; }
h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 7vw, 4.25rem); }
h2 { margin-top: 2.25rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
p, li { max-width: 76ch; }
.lede { color: var(--muted); font-size: 1.15rem; }

.notice, section {
  margin-top: 1.5rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: rgba(17, 26, 41, .9);
}

.notice { border-left: .3rem solid var(--pink); }
.notice strong { color: #ffd6e6; }
ul { padding-left: 1.25rem; }

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p { margin-bottom: 0; font-size: .92rem; }

@media (max-width: 44rem) {
  header { align-items: flex-start; flex-direction: column; }
  header nav { gap: 0 1rem; }
  main { padding-top: 2.25rem; }
}

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

@media (forced-colors: active) {
  .notice, section { border: 1px solid CanvasText; }
}
