:root {
  --ink: #221c16;
  --muted: #6b6258;
  --paper: #fbf7f0;
  --white: #fff;
  --accent: #9a3412;
  --forest: #3f4f3a;
  --line: #e8dfd2;
  --card: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  line-height: 1.65;
  padding: 28px 0 40px;
  background-color: #f3eee5;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 252, 246, .7), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.74 0 0 0 0 0.68 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

.site {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto;
  background: rgba(255, 252, 247, .78);
  border: 1px solid rgba(232, 223, 210, .8);
  border-radius: 20px;
  padding: 8px 28px 0;
  box-shadow: 0 10px 40px rgba(80, 60, 40, .04);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 10px;
  border-bottom: 2px solid var(--ink);
}

.brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.03em;
}

.brand span { color: var(--accent); }

.masthead small {
  color: var(--muted);
  font-weight: 650;
}

.kicker {
  margin: 22px 0 8px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -.03em;
  line-height: 1.2;
}

h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 12px; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.lead {
  font-size: 20px;
  font-family: "Source Serif 4", Georgia, serif;
}

.hero-pic {
  border-radius: 8px;
  margin: 18px 0;
  background: #ddd;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

article p { font-size: 18px; }

.pull {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  margin: 28px 0;
}

.box, .cta, .comment {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin: 22px 0;
}

.fail li { margin: 8px 0; }

.product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}

.product img { max-height: 210px; margin: 0 auto; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(180, 83, 9, .25);
}

.cta { text-align: center; }
.cta p { margin-top: 0; }
.cta small { display: block; margin-top: 8px; color: var(--muted); }

.ing {
  display: grid;
  gap: 12px;
}

.ing div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.ing img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.comments h2 { margin-bottom: 8px; }
.comment b { display: block; }
.comment .time { color: var(--muted); font-size: 13px; }
.replies { margin-left: 18px; }

.sticky {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 30;
  display: none;
}

.legal {
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0 90px;
}

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; text-align: center; }
  .sticky { display: block; }
  article p, .lead { font-size: 17px; }
  .site { padding: 4px 16px 0; border-radius: 0; border-left: 0; border-right: 0; }
  body { padding: 0; background-attachment: scroll; }
}
