:root {
  --bg: #ffffff;
  --fg: #1a1d21;
  --muted: #5b6470;
  --line: #e4e7eb;
  --accent: #0b57d0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --fg: #e8eaed;
    --muted: #9aa3ad;
    --line: #2b3138;
    --accent: #8ab4f8;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

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

.wordmark {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

nav.lang a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.15rem 0.4rem;
}

nav.lang a[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 2rem 0 0.5rem;
}

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

h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.75rem;
}

ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.products li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

ul.products li:last-child {
  border-bottom: 0;
}

.product-name {
  font-weight: 600;
}

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

dl.details {
  margin: 0;
}

dl.details dt {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.9rem;
}

dl.details dd {
  margin: 0.1rem 0 0;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
