:root {
  --ink: #18201b;
  --muted: #5d665f;
  --line: #d9ded7;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --forest: #25513f;
  --sage: #8fa99a;
  --clay: #b7664f;
  --gold: #c59a45;
  --focus: #1746a2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 32, 27, 0.12);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand {
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--forest);
}

.hero,
.section,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 21px;
}

p {
  margin: 12px 0 0;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 20px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.hero-panel ul,
.check-list,
.topic-list,
.metadata-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li,
.check-list li,
.metadata-list li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--forest);
}

.band {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  text-decoration: none;
}

.topic-card:hover {
  border-color: var(--forest);
}

.topic-card .tag {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.topic-card p,
.topic-page p {
  color: var(--muted);
}

.topic-page > h2,
.topic-page > .source-list,
.topic-page > .trust-links {
  margin-top: 44px;
}

.category-intro,
.board-section {
  margin-bottom: 54px;
}

.category-intro {
  max-width: 780px;
}

.category-intro p {
  color: var(--muted);
}

.post-board {
  border-top: 1px solid var(--line);
}

.post-row {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  text-decoration: none;
}

.post-row:hover strong {
  color: var(--forest);
}

.post-row strong {
  font-size: 22px;
  line-height: 1.3;
}

.post-row span:last-child {
  max-width: 780px;
  color: var(--muted);
}

.post-meta {
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.topic-article {
  max-width: 860px;
  margin: 10px 0 54px;
}

.summary-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px 24px;
  margin: 12px 0 34px;
}

.summary-box strong {
  display: block;
  margin-bottom: 8px;
}

.summary-box p {
  margin-top: 8px;
}

.article-intro {
  max-width: 720px;
  font-size: 19px;
}

.article-section {
  margin-top: 48px;
}

.article-section h2 {
  max-width: 780px;
}

.article-section p {
  max-width: 780px;
  margin-top: 18px;
}

.step-line {
  padding-left: 14px;
  border-left: 3px solid var(--sage);
}

.faq-section {
  padding-top: 10px;
}

.mini-faq {
  margin-top: 22px;
}

.mini-faq h3 {
  font-size: 19px;
}

.inline-source {
  margin-top: 42px;
}

.inline-source a {
  color: var(--forest);
  font-weight: 800;
}

.article-cta {
  margin-top: 34px;
  color: var(--forest);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--forest);
  color: #fff;
}

.cta .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--forest);
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.trust-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.author-box {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.faq-item h3 {
  font-size: 19px;
}

.source-list a {
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 24px;
}

.footer-grid a {
  color: var(--forest);
  font-weight: 800;
}

.footer-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}

.page-title {
  max-width: 820px;
  padding-bottom: 32px;
}

.empty-state {
  border: 1px dashed var(--sage);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 28px;
}

@media (max-width: 900px) {
  .hero,
  .cta .section {
    grid-template-columns: 1fr;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid,
  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .grid,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .post-row strong {
    font-size: 20px;
  }
}
