@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #fff;
  --ink: #222;
  --muted: #666;
  --line: #e7e4ea;
  --accent: #f97316;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #282c32;
  --ink: #f5f5f6;
  --muted: #b5b8c0;
  --line: #454a53;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 30px 54px;
  color: var(--ink);
  background: var(--bg);
  font: 450 0.95rem/1.75 "Manrope", Arial, Helvetica, sans-serif;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
strong {
  color: var(--ink);
  letter-spacing: -0.035em;
}

h1 {
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.85rem;
  font-weight: 760;
  line-height: 1.2;
}

h1::after {
  width: 54px;
  height: 3px;
  display: block;
  margin-top: 16px;
  content: "";
  background: var(--accent);
}

h2 {
  margin: 30px 0 9px;
  font-size: 1.12rem;
  font-weight: 720;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.updated {
  margin-top: -18px;
  color: var(--muted);
  font-size: 0.78rem;
}

ul {
  padding-left: 22px;
  color: var(--muted);
}

li + li {
  margin-top: 6px;
}

a {
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 3px;
}

strong {
  font-weight: 750;
}

@media (max-width: 600px) {
  body {
    padding: 26px 19px 42px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
