/* To Boldly Go — landing page. Plain CSS, no framework.
   Contrast floor: 7:1 for all text, both themes. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #444648;
  --accent: #0b3d91;
  --accent-contrast: #ffffff;
  --border: #565a5e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141a;
    --text: #eef2f6;
    --muted: #b9c2cc;
    --accent: #a8c7fa;
    --accent-contrast: #10141a;
    --border: #8a939c;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 0;
  z-index: 10;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid var(--border);
}

.brand {
  margin: 0;
  font-weight: 700;
  font-size: 1.35rem;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.35rem;
  color: var(--muted);
}

h2 {
  font-size: 1.7rem;
  margin-top: 2.5rem;
}

a {
  color: var(--accent);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 0.5rem;
}

.cta.big {
  font-size: 1.3rem;
  padding: 1rem 2rem;
}

.cta:focus-visible,
a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin: 0.6rem 0;
}

footer {
  border-top: 2px solid var(--border);
  padding: 1.5rem;
  color: var(--muted);
  text-align: center;
}
