:root {
  color-scheme: light dark;
  --background: #f7f6f2;
  --surface: #ffffff;
  --text: #242321;
  --muted: #68645d;
  --line: #dedbd3;
  --accent: #0f6b58;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #191917;
    --surface: #22221f;
    --text: #edebe4;
    --muted: #aaa59b;
    --line: #3b3934;
    --accent: #71cfb2;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 48px auto;
  padding: clamp(24px, 6vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

header,
section {
  margin-bottom: 44px;
}

section:last-child {
  margin-bottom: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

h1 span {
  color: var(--muted);
  font-weight: 400;
}

h2,
.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

ul {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 0.65rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 520px) {
  main {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}
