:root {
  --bg: #fbf8f6;
  --fg: #1f1a1c;
  --muted: #6b6165;
  --line: #e7dfe2;
  --beet: #8c1d4f;
  --beet-soft: #f3e4eb;
  --leaf: #2f6b3f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161214;
    --fg: #f1ebee;
    --muted: #a99ba2;
    --line: #2d2529;
    --beet: #e0709f;
    --beet-soft: #2a1820;
    --leaf: #7cc08e;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.wordmark img {
  width: 28px;
  height: 28px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}

nav a:hover {
  color: var(--fg);
}

.hero {
  padding: 72px 0 48px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}

.product {
  background: var(--beet-soft);
  border-radius: 16px;
  padding: 28px;
}

.product h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--beet);
}

.product p {
  margin: 0 0 12px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--leaf);
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 0;
}

dl.facts dt {
  color: var(--muted);
}

dl.facts dd {
  margin: 0;
}

.doc {
  padding-top: 48px;
  padding-bottom: 48px;
}

.doc h1 {
  font-size: 32px;
  margin: 0 0 4px;
}

.doc .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 40px;
}

footer.site a {
  color: var(--muted);
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 32px;
  }

  .hero h1 {
    font-size: 30px;
  }

  nav a {
    margin-left: 14px;
  }

  dl.facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  dl.facts dd {
    margin-bottom: 10px;
  }
}
