:root {
  color-scheme: dark;
  --page: #152f56;
  --panel: #111e32;
  --button: #25477b;
  --text: #f6f8fc;
  --muted: #becee1;
  --link: #c6e4ff;
  background: var(--page);
  color: var(--text);
  font: 100%/1.5 Verdana, Geneva, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  border-top: 4px solid #48505b;
  background: linear-gradient(#010e23, var(--page) 5rem);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  font-size: 0.9375rem;
}

.wordmark {
  color: var(--link);
  font-weight: 700;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

header a {
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  background: var(--button);
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #ffce42;
  outline-offset: 4px;
}

main {
  width: min(43rem, calc(100% - 2rem));
  margin: clamp(3.5rem, 12vh, 8rem) auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 2px 8px #06122640;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.25;
  text-wrap: balance;
}

p {
  margin: 1rem 0 0;
  color: var(--muted);
}
