:root {
  color-scheme: dark;
  --background: #101720;
  --surface: #16212c;
  --text: #e8edf1;
  --muted: #9eabb7;
  --accent: #a8c6bd;
  --line: #2a3945;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 84% 7%, rgb(168 198 189 / 8%), transparent 27rem),
    var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
}

main {
  width: min(100% - 2.5rem, 740px);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

header {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.updated {
  margin: 0;
  color: var(--accent);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0.65rem 0 0.75rem;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.updated {
  color: var(--muted);
  letter-spacing: 0.08em;
}

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

article {
  counter-reset: section;
}

section {
  position: relative;
  padding: 2.5rem 0 2.5rem 3.5rem;
  border-bottom: 1px solid var(--line);
  counter-increment: section;
}

section::before {
  position: absolute;
  top: 2.65rem;
  left: 0;
  color: var(--accent);
  content: "0" counter(section);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p,
ul {
  margin: 0;
}

ul {
  padding: 0.75rem 0 0 1.2rem;
  color: var(--muted);
  columns: 2;
  column-gap: 2.5rem;
}

li {
  padding-left: 0.2rem;
  break-inside: avoid;
}

li::marker {
  color: var(--accent);
}

@media (max-width: 540px) {
  main {
    width: min(100% - 2rem, 740px);
    padding: 3rem 0;
  }

  section {
    padding-left: 2.6rem;
  }

  ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  header,
  section {
    animation: reveal 500ms ease-out both;
  }

  section:nth-of-type(2) { animation-delay: 40ms; }
  section:nth-of-type(3) { animation-delay: 80ms; }
  section:nth-of-type(4) { animation-delay: 120ms; }
  section:nth-of-type(5) { animation-delay: 160ms; }
  section:nth-of-type(6) { animation-delay: 200ms; }
  section:nth-of-type(7) { animation-delay: 240ms; }
  section:nth-of-type(8) { animation-delay: 280ms; }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
