:root {
  color-scheme: light dark;
  --bg: #fff;
  --text: #1d1d1f;
  --muted: #6e6e73;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --text: #f5f5f7;
    --muted: #a1a1a6;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

body.home {
  display: grid;
  place-items: center;
}

h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

body.home h1 {
  margin-bottom: 3.5rem;
}

h2 {
  margin: 0 0 0.65rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

footer a,
body.doc a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

footer a:hover,
body.doc a:hover {
  text-decoration-style: solid;
}

.product {
  display: block;
  margin-bottom: 4rem;
}

.product strong {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.product span {
  display: block;
  margin-top: 0.4rem;
  font-size: 17px;
  color: var(--muted);
}

.product:hover {
  text-decoration: none;
}

.product:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

footer {
  font-size: 13px;
  color: var(--muted);
}

footer p {
  margin: 0;
}

body.doc h1 {
  margin: 2rem 0 1.25rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

body.doc p {
  margin: 0 0 1rem;
}

body.doc .back {
  font-size: 15px;
  color: var(--muted);
}

dl {
  margin: 2rem 0 0;
}

dt {
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--muted);
}

dd {
  margin: 0.15rem 0 0;
}
