:root {
  color-scheme: light;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #ddd6c8;
  --paper: #f4f1ea;
  --card: #fffdf8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.5 "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

header, main {
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

header { padding: 4.5rem 0 1rem; }

.mark {
  margin: 0 0 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font: 600 0.78rem/1 ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

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

h2 {
  margin: 2.5rem 0 0.8rem;
  font-size: 1.35rem;
}

.apps, .legal {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apps li, .legal li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

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

.apps a, .legal a {
  color: var(--ink);
}

.apps a {
  font-size: 1.35rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.apps span, .note {
  color: var(--muted);
  font: 0.95rem/1.4 ui-sans-serif, system-ui, sans-serif;
}

code {
  font: 0.9em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.legal li {
  gap: 0.35rem 0.8rem;
  grid-template-columns: 9rem repeat(3, auto);
  align-items: baseline;
  justify-content: start;
}

.legal strong { font-weight: 560; }

.note { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .legal li { grid-template-columns: 1fr; }
}
