:root {
  color-scheme: light;
  --ink: #27302b;
  --muted: #66706a;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --orange: #df6f38;
  --sage: #8aa08c;
  --line: #e4ddd1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 17px/1.6 ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

a { color: #91431e; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

header, main, footer {
  width: min(74rem, calc(100% - 2rem));
  margin-inline: auto;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand { color: var(--ink); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }

main { padding-block: clamp(3rem, 8vw, 7rem); }
.narrow { max-width: 48rem; }
.eyebrow { color: var(--orange); font: 700 .8rem/1.3 ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { line-height: 1.1; text-wrap: balance; }
h1 { max-width: 15ch; margin: .35rem 0 1.5rem; font-size: clamp(2.7rem, 8vw, 5.8rem); }
h2 { margin-top: 3rem; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.lede { max-width: 44rem; color: var(--muted); font-size: 1.25rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-block: 2rem;
}

.card {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.price { font-size: 2rem; font-weight: 700; }
.note { color: var(--muted); }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 36rem) {
  nav { gap: .65rem; }
  header, main, footer { width: min(100% - 1.25rem, 74rem); }
}
