:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --text: #2b2118;
  --muted: #6d5d4e;
  --accent: #a4472a;
  --accent-2: #5d7a3a;
  --border: #e6d9c6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1510;
    --surface: #261e17;
    --text: #f2e8da;
    --muted: #b8a892;
    --accent: #e0825f;
    --accent-2: #9bbd6c;
    --border: #3b2f24;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding: .75rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: system-ui, sans-serif;
}
.brand { font-weight: 700; font-size: 1.2rem; color: var(--accent); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--accent); }
main { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
section { padding: 3rem 0 1rem; }
h1, h2 { line-height: 1.15; }
h2 { font-size: 2rem; margin: 0 0 .25rem; color: var(--accent); }
.lead { color: var(--muted); margin-top: 0; }
.hero { padding: 5rem 0 3rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin: 0 0 1rem; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { max-width: 36rem; font-size: 1.15rem; }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  padding: .7rem 1.3rem; border-radius: 999px;
  font: 600 1rem system-ui, sans-serif; text-decoration: none;
}
.btn:hover { filter: brightness(1.1); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: .35rem .9rem; border-radius: 999px; cursor: pointer;
  font: .9rem system-ui, sans-serif;
}
.chip.active { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.1rem;
}
.card .dot { width: 2.2rem; height: 1.4rem; border-radius: 50%; margin-bottom: .6rem; border: 1px solid rgba(0,0,0,.2); }
.card h3 { margin: 0 0 .3rem; }
.card p { margin: 0 0 .6rem; font-size: .95rem; color: var(--muted); }
.tag { font: .75rem system-ui, sans-serif; color: var(--accent-2); margin-right: .5rem; }
.bars { display: grid; gap: .8rem; margin: 1.2rem 0; }
.bar { font-family: system-ui, sans-serif; font-size: .9rem; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: .2rem; }
.track { background: var(--border); border-radius: 999px; height: 12px; overflow: hidden; }
.fill { height: 100%; width: 0; background: var(--accent-2); border-radius: 999px; transition: width .9s ease; }
.note { color: var(--muted); font-style: italic; }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .7rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; margin: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }
.timeline { list-style: none; padding: 0 0 0 1.2rem; border-left: 3px solid var(--accent); }
.timeline li { margin-bottom: 1.1rem; }
.timeline time { display: block; font: 700 .85rem system-ui, sans-serif; color: var(--accent); }
.fact {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; font-size: 1.2rem; margin-bottom: 1rem; min-height: 5.5rem;
}
footer { text-align: center; padding: 3rem 1rem; color: var(--muted); font-family: system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fill { transition: none; } }
