:root {
  color-scheme: light;
  --green: #173f35;
  --ink: #26382e;
  --muted: #59665b;
  --line: #dce1d7;
  --bg: #fafaf6;
  --gold: #ad8742;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.75 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--green);
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  letter-spacing: -1.5px;
  margin: 18px 0 24px;
  max-width: 950px;
}
h2 {
  font-size: 1.55rem;
  margin: 40px 0 18px;
}
h3 {
  font-size: 1.15rem;
  margin: 25px 0 12px;
}
p {
  margin: 0 0 20px;
}
li {
  margin: 8px 0;
}
code {
  overflow-wrap: anywhere;
  font-size: 0.92em;
}
.site-header {
  max-width: 1240px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 40px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.2px;
  text-decoration: none;
}
.wordmark span {
  color: var(--gold);
}
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.site-header nav {
  font-size: 14px;
}
.site-header nav > a:not(.button) {
  text-decoration: none;
}
.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 13px 23px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.button:hover {
  background: #255746;
}
.button.small {
  padding: 10px 16px;
  font-size: 14px;
}
.editorial {
  max-width: 1140px;
  margin: auto;
  padding: 34px 40px 70px;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 35px;
  overflow-wrap: anywhere;
}
.article-header {
  max-width: 900px;
  margin-bottom: 34px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #65794f;
}
.article-meta,
.editorial-link {
  font-size: 13px;
  color: var(--muted);
}
.lead {
  font-size: 21px;
  line-height: 1.6;
  color: #3c5143;
  max-width: 880px;
}
.article-body {
  max-width: 800px;
  overflow-wrap: anywhere;
}
.article-body section {
  margin: 38px 0;
}
.article-body h2 {
  scroll-margin-top: 24px;
}
.toc {
  background: #f0f2e9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 30px;
  max-width: 800px;
  margin: 32px 0;
}
.toc h2 {
  font-size: 15px;
  margin: 0 0 12px;
}
.toc ol {
  margin-bottom: 0;
  padding-left: 22px;
  font-size: 15px;
}
.sources {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.sources h2 {
  font-size: 18px;
}
.callout {
  background: #f1f2e7;
  border-left: 4px solid var(--gold);
  padding: 25px 28px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
}
.callout h2 {
  margin-top: 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.cta {
  padding: 34px 38px;
  background: #edf1e5;
  border: 1px solid #d8e0cc;
  border-radius: 16px;
  margin: 45px 0;
  max-width: 900px;
}
.cta h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
  margin: 12px 0 18px;
}
.fine-print {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  background: #fff;
}
.guide-card h3 {
  margin: 15px 0;
}
.guide-card h3 a {
  text-decoration: none;
}
.guide-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}
.category-nav a {
  font-size: 14px;
  border: 1px solid #ccd5c7;
  border-radius: 24px;
  padding: 8px 17px;
  text-decoration: none;
}
.category-section {
  margin: 45px 0;
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: auto;
  padding: 34px 40px 50px;
}
.site-footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.site-footer nav {
  font-size: 13px;
  gap: 13px 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  text-align: left;
}
th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th {
  background: #edf1e5;
}
tr:nth-child(even) td {
  background: #f5f6f0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  padding: 10px 20px;
  background: white;
  z-index: 5;
}
.skip-link:focus {
  top: 10px;
}
@media (max-width: 800px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header {
    flex-wrap: wrap;
    padding: 22px 24px;
  }
  .site-header nav {
    gap: 15px;
  }
  .editorial {
    padding: 25px 24px 45px;
  }
  .site-footer {
    padding: 25px 24px;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .site-header nav {
    gap: 12px;
    font-size: 12px;
  }
  .site-header .button.small {
    font-size: 12px;
    padding: 8px 12px;
  }
  .lead {
    font-size: 19px;
  }
  .toc,
  .cta,
  .callout {
    padding: 22px;
  }
  .editorial {
    padding: 24px 20px 40px;
  }
  th,
  td {
    padding: 8px;
    font-size: 12px;
  }
  .article-meta {
    font-size: 12px;
  }
  .breadcrumbs {
    margin-bottom: 25px;
  }
  .category-nav a {
    font-size: 13px;
  }
  h1 {
    letter-spacing: -0.8px;
  }
  .site-footer nav {
    align-items: flex-start;
  }
  .guide-card {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
