/* HearthCheck — calm, typographic, built to stay readable as pages are added. */
:root {
  --paper: #f4f0e8;
  --ink: #1c1914;
  --muted: #5c564c;
  --rule: #d4cdc0;
  --accent: #214037;
  --accent-soft: #e7eee9;
  --placeholder: #6a4220;
  --placeholder-bg: #f8f0e4;
  --placeholder-border: #d9c4a6;
  --max: 42rem;
  --wide: 58rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover { text-decoration-thickness: 2px; }

.wrap {
  width: min(var(--wide), calc(100% - 2rem));
  margin: 0 auto;
}

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0 0.9rem;
}

header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { text-decoration: none; color: var(--accent); }

.brand span {
  display: block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.15rem;
}

nav a {
  margin-left: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { text-decoration: underline; color: var(--accent); }

main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2.2rem auto 3.5rem;
}

main.wide { width: min(var(--wide), calc(100% - 2rem)); }

h1, h2, h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.1rem; margin: 0 0 0.8rem; }
h2 { font-size: 1.4rem; margin: 2.1rem 0 0.7rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.45rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin: 0 0 0.35rem; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.meta-row, .notice, .sources, .affiliate, .council-list {
  border: 1px solid var(--rule);
  background: #fbf9f4;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.3rem;
}

.notice {
  background: var(--accent-soft);
  border-color: #c5d4cb;
  color: var(--ink);
  font-size: 0.95rem;
}

.notice strong { color: var(--accent); }

.meta-row {
  display: grid;
  gap: 0.35rem 1.5rem;
  grid-template-columns: auto 1fr;
  font-size: 0.95rem;
}

.meta-row dt {
  margin: 0;
  color: var(--muted);
}
.meta-row dd { margin: 0; }

.badge {
  display: inline-block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #f6f3ee;
}

.badge.forthcoming {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.council-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.council-list li {
  margin: 0;
  border-top: 1px solid var(--rule);
  padding: 0.85rem 1rem;
}

.council-list li:first-child { border-top: 0; }

.council-list a { font-weight: 600; text-decoration: none; }
.council-list a:hover { text-decoration: underline; }

.council-list p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }

.sources { font-size: 0.92rem; }
.sources ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.sources li { margin-bottom: 0.35rem; overflow-wrap: anywhere; }

.affiliate {
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  color: var(--ink);
}

.affiliate h2, .affiliate h3 { margin-top: 0; color: var(--placeholder); }
.affiliate .tag {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--placeholder);
  margin: 0 0 0.4rem;
}

footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer.site .wrap { max-width: var(--max); }
footer.site p { margin: 0 0 0.5rem; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.9rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: #f6f3ee;
  font-size: 0.85rem;
  font-weight: 650;
  display: grid;
  place-items: center;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

code {
  font-size: 0.9em;
  background: #ece7dc;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  nav a { margin-left: 0; margin-right: 0.9rem; }
  .meta-row { grid-template-columns: 1fr; }
  .meta-row dt { margin-top: 0.35rem; }
}

/* --- Launch additions --- */
.answer {
  border: 2px solid var(--accent);
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.4rem;
}
.answer .tag, .affiliate .tag {
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.35rem;
}
.answer p.big { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem; }
.answer ul { margin: 0.4rem 0 0; }
.affiliate { border: 1px solid #d9c4a6; background: #fbf6ee; border-style: solid; }
.affiliate h2 { color: var(--ink); margin-top: 0; }
.affiliate .tag { color: var(--placeholder); }
.aff-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-bottom: 0.6rem; }
.aff-item h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.button {
  display: inline-block; background: var(--accent); color: #f6f3ee; text-decoration: none;
  padding: 0.5rem 0.85rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem;
}
.button:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
.small { font-size: 0.85rem; color: var(--muted); }
.faq details { border-top: 1px solid var(--rule); padding: 0.6rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 0.5rem 0 0; }
.footer-links a { margin-right: 1rem; white-space: nowrap; }
.tip { border-left: 4px solid var(--accent); padding: 0.4rem 0 0.4rem 0.9rem; margin: 0 0 1.2rem; }

.aff-amazon-heading { margin: 0.85rem 0 0.3rem; font-size: 1.05rem; color: var(--ink); }
.aff-amazon { margin: 0.35rem 0 0.7rem; padding-left: 1.2rem; }
.aff-amazon li { margin-bottom: 0.45rem; }
