:root {
  --bg: #f7f5f0;
  --text: #121212;
  --muted: #67645c;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text", "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  line-height: 1.65;
}

main {
  width: min(100% - 2rem, 36rem);
  margin: 0 auto;
}

body.home {
  min-height: 100svh;
  overflow: hidden;
}

body.home main {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.home-inner,
.page,
.copy {
  display: grid;
  gap: 1rem;
}

.home-inner {
  text-align: center;
}

.page {
  padding: 4rem 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 400;
}

p,
ul {
  margin: 0;
}

.meta,
.item-list p,
.links {
  color: var(--muted);
  font-size: 0.98rem;
  font-family: var(--font-sans);
}

.lead,
.lead-left,
.copy p {
  font-size: 1.08rem;
}

.lead {
  max-width: 30rem;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 18, 18, 0.3);
}

a:hover {
  border-bottom-color: currentColor;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.item-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.item-list li {
  display: grid;
  gap: 0.15rem;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 1.5rem, 36rem);
  }

  .page {
    padding: 2.5rem 0;
  }
}
