:root {
  --paper: #f8f8f3;
  --ink: #151712;
  --muted: #5c6257;
  --rule: #d8d8cf;
  --accent: #4d7d54;
  --warm: #a6533f;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page {
  min-height: 100vh;
  padding: 28px;
}

.site-header,
.site-footer,
.home,
.legal {
  margin: 0 auto;
  max-width: var(--max);
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  display: block;
  height: 34px;
  width: 34px;
}

.nav,
.site-footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 18px;
}

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

.home {
  align-content: center;
  min-height: calc(100vh - 178px);
  padding: 72px 0 96px;
}

.eyebrow,
.legal-meta {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0;
  margin: 0 0 22px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(58px, 11vw, 142px);
  font-weight: 500;
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 940px;
}

.lead {
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.35;
  max-width: 720px;
}

.actions {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: grid;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  max-width: 720px;
}

.actions span {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

.actions span:first-child {
  color: var(--warm);
}

.legal {
  padding: 76px 0 36px;
}

.legal h1 {
  font-size: clamp(44px, 8vw, 86px);
  margin-bottom: 52px;
}

.legal h2 {
  border-top: 1px solid var(--rule);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 650;
  margin: 34px 0 10px;
  padding-top: 22px;
}

.legal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding-top: 18px;
}

@media (max-width: 680px) {
  .page {
    padding: 18px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home {
    min-height: auto;
    padding: 76px 0 64px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 78px);
  }

  .actions {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .legal {
    padding-top: 56px;
  }
}
