:root {
  --bg: #f6f5f1;
  --text: #1b1b19;
  --muted: #5f5e58;
  --rule: #dcdad3;
  --link: #1b1b19;
  --accent: #2f5d50;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312;
    --text: #ecebe6;
    --muted: #a3a29b;
    --rule: #33332f;
    --link: #ecebe6;
    --accent: #8fc1b0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main,
footer {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem 3rem;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h1::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1.5rem;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  margin: 0;
  font-size: 1.25rem;
}

.en {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

dl {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--rule);
}

dl > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.125rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 30rem) {
  dl > div {
    grid-template-columns: 11rem 1fr;
    gap: 1rem;
  }
}

dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

dt span {
  color: var(--muted);
}

dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--link);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  padding-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}
