:root {
  --ink: #14201c;
  --muted: #5b6b64;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #ddd6c8;
  --accent: #0f6e5b;
  --accent-2: #c9f2e4;
  --warn: #9a6700;
  --bad: #b42318;
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--accent); }
.wrap { width: min(920px, calc(100% - 2rem)); margin: 0 auto; }
.muted { color: var(--muted); }

.site-header, .site-footer { border-bottom: 1px solid var(--line); }
.site-footer { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0; }
.site-header .wrap, .site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0;
}
.brand { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: inherit; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; }
.mark {
  width: 2.4rem; height: 2.4rem; border-radius: 8px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 700; letter-spacing: 0.04em;
}
nav { display: flex; gap: 1rem; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }

.hero { padding: 3rem 0 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--accent); font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.4rem 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

.post-list { display: grid; gap: 1rem; padding-bottom: 3rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: stretch;
}
.card-img {
  display: block;
  min-height: 140px;
  background: #efe8d8;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card-body {
  padding: 1rem 1.2rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.card-body .eyebrow { margin: 0 0 0.35rem; }
.card-body h2 { margin: 0 0 0.4rem; }
.card-body p { margin: 0 0 0.45rem; }
.card-body .meta { margin: 0; }
.hero-figure { margin: 1.1rem 0 0; }
.hero-figure img, .prose img, .blog-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}
.blog-figure { margin: 1.75rem 0; }
.hero-figure figcaption, .blog-figure figcaption {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}
.card h2 { font-size: 1.28rem; }
.card h2 a { color: inherit; text-decoration: none; }
.card .meta { font-size: 0.85rem; color: var(--muted); }
.empty-public { padding: 2rem 0 4rem; }
@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; }
  .card-img { height: 140px; }
  .card-img img { height: 140px; }
}

.article-page { padding: 2rem 0 4rem; }
.crumb { color: var(--muted); font-size: 0.9rem; }
.byline { color: var(--muted); margin-top: -0.4rem; }
.direct-answer {
  background: var(--accent-2); border-radius: 14px; padding: 1.1rem 1.25rem; margin: 1.5rem 0;
}
.direct-answer .label { margin: 0; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.takeaways, .faq, .sources { margin: 2rem 0; }
.prose { font-family: var(--serif); font-size: 1.08rem; }
.prose h2 { margin-top: 2rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-family: var(--font); font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; }
.prose th { background: #efe8d8; }
.amazon-box {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  margin: 0 0 1.6rem;
  font-family: var(--font);
}
.amazon-box img {
  width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 10px;
}
.amazon-kicker { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.amazon-name { margin: 0.25rem 0 0.4rem; font-size: 1.15rem; font-weight: 700; }
.amazon-btn {
  display: inline-block; background: #ffd814; color: #111; text-decoration: none;
  font-weight: 700; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.9rem;
}
.amazon-disc { font-size: 0.88rem; color: var(--muted); margin: 0 0 1.4rem; }
details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
summary { cursor: pointer; font-weight: 650; }
@media (max-width: 640px) {
  .amazon-box { grid-template-columns: 1fr; }
}
