:root {
  --bg: #F4F7F4;
  --bg-panel: #EAEFE9;
  --ink: #16231C;
  --ink-soft: #5C6B62;
  --green: #2E6F52;
  --green-dark: #204F3B;
  --amber: #C97A2B;
  --rule: #D6DED7;
  --max: 1100px;
  --measure: 680px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Source Serif 4', serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--green-dark); }
a:hover { color: var(--amber); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.measure { max-width: var(--measure); }

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { flex: none; }
nav.site a {
  margin-left: 20px;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-soft);
}
nav.site a:hover { color: var(--green-dark); }

main { padding: 0 0 80px; }

.hero-band {
  position: relative;
  background: var(--bg-panel);
  overflow: hidden;
  padding: 52px 0 44px;
  margin-bottom: 44px;
}
.hero-deco {
  position: absolute;
  top: 0;
  right: -20px;
  width: 380px;
  height: 100%;
  pointer-events: none;
}
.hero { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  max-width: 18ch;
}
.hero .subhead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-top: 14px;
}
.meta-line {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 18px;
}
.breadcrumb {
  font-size: 0.85rem;
  margin: 0 0 16px;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }

.disclosure {
  max-width: var(--measure);
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--rule);
  padding-left: 14px;
  margin: 28px 0 0;
}

.takeaways {
  max-width: var(--measure);
  margin: 40px 0;
  padding: 24px 26px;
  background: var(--bg-panel);
  border-top: 2px solid var(--green);
}
.takeaways p.label {
  font-size: 0.82rem;
  color: var(--green-dark);
  font-weight: 600;
  margin: 0 0 10px;
}
.takeaways ul { margin: 0; padding: 0; list-style: none; }
.takeaways li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}
.takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
}

.toc {
  max-width: var(--measure);
  margin: 40px 0 56px;
}
.toc h2 {
  font-size: 1rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 1;
}
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

article section {
  max-width: var(--measure);
  margin: 52px 0;
  scroll-margin-top: 24px;
}
article section h2 {
  font-size: 1.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
article section p { margin: 0 0 16px; }
article section ul, article section ol { padding-left: 22px; margin: 0 0 16px; }
article section li { margin-bottom: 8px; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}
table.compare th {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 8px;
}
.btn {
  display: inline-block;
  padding: 11px 20px;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
}
.btn:hover { background: var(--green); color: #fff; }
.btn.secondary {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
}
.btn.secondary:hover { background: var(--bg-panel); color: var(--green-dark); }

.faq dt {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  margin-top: 20px;
}
.faq dd { margin: 6px 0 0; color: var(--ink); }

.related {
  max-width: var(--max);
  margin: 64px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.related h2 { font-size: 1.15rem; }
.related ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px 28px;
}
.related li a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}
.related li a:hover { color: var(--green-dark); }
.related li span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 4px;
}

footer.site {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  nav.site a { margin-left: 14px; }
  .hero-deco { display: none; }
}
