:root {
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --rule: #d6d0c4;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --accent: #9a5a63;
  --brand-brown: #5a3d32;
  --max: 42rem;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #ebe4d8 0%, transparent 55%),
    linear-gradient(180deg, #f3efe7 0%, var(--paper) 35%, #efeae2 100%);
  line-height: 1.55;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 2.35rem;
  width: auto;
  background: transparent;
}

.pdf-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 0.1rem;
}

.pdf-link:hover,
.pdf-link:focus-visible {
  border-bottom-color: var(--accent);
}

main {
  padding: 2.75rem 0 3.5rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.terms {
  margin: 0;
  padding: 1.75rem 1.5rem 1.75rem 2.75rem;
  list-style: decimal;
  background: var(--panel);
  border: 1px solid var(--rule);
  box-shadow: 0 12px 40px rgba(40, 28, 12, 0.06);
}

.terms li {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 0.65rem 0;
}

.terms li + li {
  border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}

.terms li::marker {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 540px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .terms {
    padding: 1.25rem 1rem 1.25rem 2.1rem;
  }

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

  .brand-logo {
    height: 2.1rem;
  }
}
