:root {
  --bg: #f6f3ee;
  --ink: #1c1a17;
  --muted: #5e5a53;
  --rule: #d4cec4;
  --accent: #6b3d2c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 38rem;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
  color: var(--bg);
}

.wrap {
  width: min(var(--measure), calc(100% - 3rem));
  margin-inline: auto;
}

header {
  padding: 1.75rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
}

header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
}

.mark {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-family: var(--sans);
  font-size: 0.85rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  flex: 1;
  padding: 4.5rem 0 5rem;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

p {
  margin: 0 0 1.15rem;
  max-width: 36rem;
}

p:last-child {
  margin-bottom: 0;
}

.disclosure {
  margin-top: 0.25rem;
}

.disclosure p {
  max-width: 34rem;
}

footer {
  padding: 1.4rem 0 1.75rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 36rem) {
  .wrap {
    width: calc(100% - 2.25rem);
  }

  header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding: 3rem 0 3.5rem;
  }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
