* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
}

h2,
h3 {
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

.page-shell {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 24px;
}

.site-layout {
  display: grid;
  gap: 56px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 10px 16px;
  border: var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}

.nav-group,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.nav-links a {
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-stack {
  display: grid;
  gap: 56px;
}

.page-intro {
  display: grid;
  max-width: 720px;
  gap: 20px;
}

.page-intro p,
.hero-copy {
  color: var(--muted);
}

.page-intro p {
  font-size: 17px;
}

.hero {
  display: flex;
  max-width: 720px;
  flex-direction: column;
  gap: 20px;
}

.hero-copy {
  font-size: 19px;
}

.hero em {
  font-style: italic;
}

.section-heading {
  margin-bottom: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 20px;
  border-top: var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-disclosure,
.muted {
  color: var(--muted);
}

.footer-disclosure {
  max-width: 620px;
  font-size: 14px;
}

.prose {
  display: grid;
  max-width: 760px;
  gap: 18px;
}

.prose h2 {
  margin-top: 16px;
  font-size: 26px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 16px;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .page-shell {
    padding: 24px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-group {
    width: 100%;
    justify-content: space-between;
  }
}
