:root {
  --bg: #f7f5f1;
  --ink: #171615;
  --muted: #6e6964;
  --line: #e4dfd6;
  --card: #fffcf8;
  --accent: #24352c;
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.site-header,
main,
.site-footer {
  width: min(42rem, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding: 2.25rem 0 0;
}

.wordmark {
  margin: 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero {
  padding: 2.75rem 0 2.5rem;
}

h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  margin: 0 0 1.15rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.lede {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 400;
}

.section {
  padding: 0 0 2.75rem;
}

.section p {
  margin: 0;
  max-width: 38rem;
  color: #3d3a36;
}

.brand-card {
  display: block;
  padding: 1.5rem 1.45rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--card);
  color: inherit;
  text-decoration: none;
}

.brand-card p {
  margin: 0 0 1.1rem;
}

.brand-link {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal {
  margin: 0;
}

.legal div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.legal div:last-child {
  border-bottom: 1px solid var(--line);
}

.legal dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal dd {
  margin: 0;
}

.legal a {
  color: var(--ink);
  text-decoration: none;
}

.legal a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-footer {
  padding: 1rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 1.75rem, 42rem);
  }

  .hero {
    padding: 2rem 0 2rem;
  }

  .legal div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
