/* Matches the storefront's look: warm stone background, orange accent, serif display headings. */
:root {
  --bg: #faf8f5;
  --text: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --card: #ffffff;
  --accent: #c2410c;
  --hero-from: #f97316;
  --hero-to: #db2777;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --text: #f5f5f4;
    --muted: #d6d3d1;
    --line: #44403c;
    --card: #292524;
    --accent: #fb923c;
  }
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1,
h2,
.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.2;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  margin: 0 16px;
  border-radius: 28px;
  padding: 56px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
}
.hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  max-width: 20ch;
}
.eyebrow {
  margin: 0;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  margin: 0;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
}
.card h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.prose {
  margin-top: 40px;
}
/* Same left edge as the rest of the page; only the line length is limited. */
.prose > * {
  max-width: 44rem;
}
.prose h2 {
  margin-top: 32px;
}
.muted {
  color: var(--muted);
}

.foot {
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.foot p {
  margin: 0;
}
