:root {
  color: #000;
  background: #f8f6f2;
  font-family: "Newsreader", Georgia, serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: #f8f6f2;
}

::selection {
  background: #dce7d6;
}

.site-header {
  width: 100%;
  padding: 34px 40px 0;
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.site-header a {
  color: #6f6a60;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: #2c2a26;
}

main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 9vh 28px 14vh;
}

h1 {
  margin-bottom: 40px;
  color: #2c2a26;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  margin-bottom: 34px;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-wrap: pretty;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 20px;
  line-height: 1.7;
  text-wrap: pretty;
}

.prose strong,
.strong-link {
  color: #2c2a26;
  font-weight: 500;
}

hr {
  height: 1px;
  margin: 56px 0 46px;
  border: 0;
  background: #e2ddd3;
  scroll-margin-top: 24px;
}

h2 {
  margin-bottom: 20px;
  color: #8a8478;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  color: #2c2a26;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #6f6a60;
}

.cta-row {
  display: flex;
  gap: 22px;
  margin-top: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.01em;
}

footer {
  margin-top: 80px;
  color: #a19b8d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 680px) {
  .site-header {
    padding: 24px 20px 0;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
  }

  main {
    padding-top: 9vh;
  }
}

@media (max-width: 400px) {
  .hero {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none !important;
  }
}
