:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --text: #171512;
  --muted: #70695f;
  --line: #d9d3c8;
  --accent: #1f5f68;
  --accent-strong: #123f47;
  --paper: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--accent-strong);
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.intro {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 10vw, 72px);
  line-height: 1;
  font-weight: 500;
}

h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 42px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.bullets {
  margin: 0;
  padding-left: 1.15em;
}

.bullets li + li {
  margin-top: 8px;
}

.contact-links {
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  body {
    font-size: 18px;
  }

  .page {
    width: min(100% - 24px, 760px);
    padding-top: 32px;
  }
}
