:root {
  color-scheme: light dark;
  --bg: #0f1419;
  --fg: #e7e9ea;
  --muted: #8b98a5;
  --accent: #1d9bf0;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9f9;
    --fg: #0f1419;
    --muted: #536471;
    --accent: #1d9bf0;
    --card: #fff;
    --border: #cfd9de;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    Cantarell,
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

p.lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero {
  margin: 0 0 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-fullpage {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border: none;
  border-radius: 0;
  background: var(--bg);
}

.hero-fullpage img {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.card p {
  margin: 0;
}

.card .note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(127, 127, 127, 0.15);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

li {
  margin: 0.35rem 0;
}

li code {
  color: var(--fg);
}
