:root {
  --bg: #141414;
  --text: #c9c0aa;
  --cream: #efe8d6;
  --flap: #f3ead4;
  --flap-ink: #1a1610;
  --rule: #2a2a2a;
  --muted: #9a917c;
  --foot: #8a8270;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
}

body {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  line-height: 1.5;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 1.15rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.serif {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

.hero {
  padding: 0.75rem 0 2.5rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f6f0e2;
}

.hero p {
  max-width: 26rem;
  margin-top: 0.9rem;
  font-size: 1rem;
  color: var(--text);
}

.product {
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}

.flaps {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1rem;
  list-style: none;
}

.flaps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.75rem;
  background: var(--flap);
  color: var(--flap-ink);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: inset 0 -3px 0 #d4c7a8;
}

.product p {
  max-width: 25rem;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  border: 1px solid var(--flap);
  color: var(--flap);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
}

.btn:hover { background: var(--flap); color: var(--flap-ink); }

.page {
  padding: 0.75rem 0 2.5rem;
}

.page h1 { margin-bottom: 1rem; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foot);
}

.footer a { color: var(--foot); text-decoration: none; }
.footer a:hover { color: var(--cream); }
