@font-face {
  font-family: "Source Serif 4";
  src: url("../../fonts/source-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../fonts/source-serif-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../../fonts/source-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../../fonts/source-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3ebdd;
  --paper-2: #e8dcc8;
  --ink: #1c1712;
  --mute: #5c5348;
  --roast: #6b2e1f;
  --roast-2: #8a3d28;
  --line: #d4c6b0;
  --focus: #6b2e1f;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--roast); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.demo-banner {
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.demo-banner a { color: #e8c547; text-decoration: none; }

.wrap { width: min(900px, calc(100% - 2.5rem)); margin-inline: auto; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}
.nav a.shop { font-size: 0.9rem; text-decoration: none; color: var(--mute); }
.nav a.shop:hover { color: var(--roast); }

.hero { padding: 4.5rem 0 4rem; }
.hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.hero p { margin: 0 0 1.8rem; max-width: 34rem; color: var(--mute); font-size: 1.15rem; }
.btn {
  display: inline-block;
  background: var(--roast);
  color: var(--paper);
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { background: var(--roast-2); color: var(--paper); }

section { padding: 3.25rem 0; border-top: 1px solid var(--line); }
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.bags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bag {
  background: var(--paper-2);
  padding: 1.2rem 1.15rem 1.3rem;
}
.bag h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.bag p { margin: 0; color: var(--mute); font-size: 0.98rem; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--roast);
  padding-top: 0.15rem;
}

form {
  display: grid;
  gap: 0.75rem;
  max-width: 26rem;
}
label { font-size: 0.85rem; color: var(--mute); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  font: inherit;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
}
textarea { min-height: 6.5rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--mute); margin: 0.4rem 0 0; }
button[disabled] {
  background: #9a7d74;
  color: var(--paper);
  border: 0;
  padding: 0.8rem 1.15rem;
  font-weight: 600;
  font: inherit;
  font-weight: 600;
  cursor: not-allowed;
}

footer {
  padding: 2rem 0 3rem;
  color: var(--mute);
  font-size: 0.88rem;
}
footer p { margin: 0 0 0.4rem; }

@media (max-width: 700px) {
  .bags { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
