:root {
  color-scheme: dark;
  --background: #080d13;
  --border: #273644;
  --text: #f4f8fc;
  --muted: #a9b7c5;
  --accent: #4bf4a3;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: radial-gradient(ellipse at 68% 43%, #102321 0, transparent 59%), var(--background);
  color: var(--text);
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 5rem, 75rem);
  margin-inline: auto;
}

.site-header, .site-footer { background: #080d13; }
.site-header { border-bottom: 1px solid #1d2934; }
.site-footer { border-top: 1px solid #1d2934; }

.header-content, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-content { min-height: 5.25rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark img { display: block; }

.header-link {
  padding: .6rem .95rem;
  border: 1px solid var(--border);
  border-radius: .55rem;
  color: var(--text);
  font-size: .9rem;
  text-decoration: none;
}

.header-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}


.help {
  flex: 1;
  max-width: 48rem;
  padding-block: clamp(4rem, 9vw, 8.5rem);
  line-height: 1.6;
}

.help h2 { margin-top: 2rem; }
.help li + li { margin-top: .35rem; }
.help a { color: var(--accent); }
.help code { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: .99;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.intro {
  max-width: 29rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.footer-content { min-height: 5.25rem; }

.footer-content p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.footer-content a { text-underline-offset: .2em; }
.footer-content a:hover { color: var(--accent); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 650;
}

.footer-brand img {
  display: block;
  width: 1.85rem;
  height: auto;
}


@media (max-width: 55rem) {
  .container { width: min(100% - 3rem, 39rem); }
  h1 { font-size: clamp(3.4rem, 10vw, 5.5rem); }
}

@media (max-width: 28rem) {
  .container { width: calc(100% - 2rem); }
  .header-content, .footer-content { min-height: 4.5rem; }
  .header-link { padding: .5rem .65rem; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}
