:root {
  --bg: #fbf7ef;
  --text: #1f2933;
  --muted: #667085;
  --accent: #7a4d2b;
  --accent-soft: rgba(122, 77, 43, 0.1);
  --border: rgba(31, 41, 51, 0.14);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.12rem;
  line-height: 1.65;
}

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

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

.site-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--accent);
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.25rem 6rem;
}

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.08;
  color: var(--text);
}

h1 {
  max-width: 12.5em;
  margin: 0 0 1.35rem;
  font-size: clamp(2.45rem, 8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  margin: 2.2rem 0 0.45rem;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
}

p,
ul {
  max-width: 42rem;
}

.button-link {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  border-color: rgba(122, 77, 43, 0.35);
  text-decoration: none;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page {
    padding-top: 3.2rem;
  }
}
