:root {
  --ink: #17211d;
  --muted: #5c6861;
  --paper: #ffffff;
  --soft: #f5f2eb;
  --soft-2: #edf4ef;
  --line: #d8ded7;
  --green: #1f5d45;
  --green-2: #2c8063;
  --gold: #a6752a;
  --rust: #9a4f32;
  --blue: #245d84;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.brand img { width: 38px; height: 38px; }
.footer-brand img { width: 34px; height: 34px; }
.brand:hover, .footer-brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  font-weight: 650;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  background: linear-gradient(180deg, #f8f6ef 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px 46px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 38px;
  align-items: center;
}

.hero-copy p {
  max-width: 66ch;
  color: var(--muted);
  margin: 0 0 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 { margin: 0 0 18px; font-size: 50px; }
h2 { margin: 0 0 14px; font-size: 32px; }
h3 { margin: 0 0 10px; font-size: 21px; }

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(23, 33, 29, 0.16);
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  font-weight: 800;
}
.button.secondary { background: #fff; color: var(--green); }
.button:hover { text-decoration: none; background: var(--green-2); color: #fff; }

.section { padding: 48px 0; }
.category-band { background: var(--soft-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { max-width: 720px; margin-bottom: 22px; }
.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card, .topic-tile, .checklist-panel, .note-panel, .related-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card { padding: 22px; }
.card p, .topic-tile p { color: var(--muted); margin: 0 0 14px; }
.card h3 a { color: var(--ink); }
.card-meta { color: var(--muted); font-size: 14px; }

.topic-tile {
  display: block;
  padding: 20px;
  color: var(--ink);
  min-height: 220px;
}
.topic-tile:hover { text-decoration: none; border-color: var(--green); }
.topic-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfaf6;
  margin-bottom: 16px;
}
.topic-tile span, .tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1eb;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.topic-tile strong { display: block; font-size: 19px; line-height: 1.2; margin-bottom: 10px; }

.trust-section { background: #fbfaf6; border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 34px; align-items: start; }
.trust-grid p { color: var(--muted); }
.checklist-panel, .note-panel { padding: 22px; }
.checklist-panel ul, .article-shell ul { padding-left: 22px; }
.checklist-panel li, .article-shell li { margin: 8px 0; }

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { padding-top: 44px; padding-bottom: 42px; }
.page-hero.compact h1 { max-width: 780px; }
.page-hero p { max-width: 760px; color: var(--muted); }

.content-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 46px 22px 64px;
}
.content-page p { color: var(--muted); }
.content-page h1 { font-size: 42px; }
.content-page h2 { margin-top: 34px; font-size: 27px; }

.article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px 64px;
  display: grid;
  grid-template-columns: minmax(0, 790px) 300px;
  gap: 44px;
  align-items: start;
}
.article-shell article { min-width: 0; }
.article-shell h1 { font-size: 46px; }
.article-shell h2 { margin-top: 36px; font-size: 28px; }
.article-shell p { color: var(--muted); }
.article-lede { font-size: 20px; color: var(--muted); }
.article-meta, .breadcrumb { color: var(--muted); font-size: 14px; }
.article-meta { margin: 10px 0 16px; }
.breadcrumb { display: inline-block; margin-bottom: 16px; font-weight: 700; }
.note-panel { margin: 24px 0; color: var(--muted); background: #fbfaf6; }
.article-visual {
  margin: 26px 0;
}
.article-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}
.article-visual figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.article-visual-hero {
  margin-top: 22px;
}
.product-picks {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}
.product-picks li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}
.product-picks strong {
  display: inline;
  color: var(--ink);
}
.product-picks span {
  color: var(--green);
  font-weight: 800;
}
.product-picks p {
  margin: 8px 0 0;
}
.update-note {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #fbfaf6;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.article-shell table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.article-shell th,
.article-shell td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
  padding: 12px;
  overflow-wrap: anywhere;
  word-break: normal;
}
.article-shell th {
  background: #fbfaf6;
  color: var(--ink);
}
.sources-block {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 8px;
}

.faq-block details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq-block details:last-child { border-bottom: 1px solid var(--line); }
.faq-block summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.related-panel {
  position: sticky;
  top: 90px;
  padding: 20px;
}
.related-panel h2 { font-size: 21px; margin-bottom: 12px; }
.related-list { display: grid; gap: 12px; font-size: 15px; }

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #17211d;
  color: #e8eee9;
}
.site-footer p { color: #b9c5bd; margin-bottom: 0; }
.site-footer a { color: #e8eee9; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 28px;
}
.footer-col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer-col strong { color: #fff; }

@media (max-width: 980px) {
  h1 { font-size: 39px; }
  .hero-grid, .trust-grid, .article-shell { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 30px; }
  .grid.three, .grid.four, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-panel { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav-links { justify-content: flex-start; gap: 12px; }
  h1, .article-shell h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero-grid { gap: 24px; }
  .grid.three, .grid.four, .article-grid { grid-template-columns: 1fr; }
  .topic-tile { min-height: 0; }
  .split-heading { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
