:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --paper: #fffdf9;
  --ink: #1c1917;
  --muted: #5c564e;
  --line: #e4ddd3;
  --accent: #1f5c4d;
  --max: 720px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
}

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

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

h1 {
  margin: 48px 0 16px;
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h2 {
  margin: 36px 0 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

p, li {
  color: var(--ink);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38em;
}

.products {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.products li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.products strong {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 4px;
}

.products p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.legal p,
.legal li {
  font-size: 16px;
  color: var(--muted);
}

.legal ul {
  padding-left: 1.2em;
}

.legal li { margin: 0.35em 0; }

.foot {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.foot a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); padding-top: 20px; }
  h1 { margin-top: 36px; }
}
