:root {
  --ink: #17211b;
  --muted: #5c665f;
  --line: #d9ded8;
  --paper: #fbfbf7;
  --white: #ffffff;
  --forest: #1f4f3a;
  --leaf: #6a8d5d;
  --brick: #9f4935;
  --gold: #d2a84d;
  --sky: #d7e7ee;
  --shadow: 0 18px 50px rgba(24, 33, 27, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.top-disclaimer {
  background: #10261b;
  color: #eff7ef;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px clamp(16px, 4vw, 48px);
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(23, 33, 27, .1);
  background: rgba(251, 251, 247, .94);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
  min-width: 205px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}
nav a {
  padding: 9px 11px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
nav a:hover { background: #edf2eb; color: var(--ink); }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 58px));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 13, .78), rgba(10, 18, 13, .35) 50%, rgba(10, 18, 13, .08));
}
.hero-content {
  position: relative;
  width: min(920px, calc(100% - 36px));
  padding: 96px 0 118px;
  margin-left: clamp(18px, 7vw, 92px);
  color: var(--white);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}
.button.secondary { background: var(--brick); border-color: var(--brick); }
.button.ghost { background: transparent; color: var(--forest); }
.button.ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.55); }

section { padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 64px); }
.search-section {
  display: grid;
  gap: 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.search-section label {
  font-weight: 850;
  font-size: 20px;
}
.search-section input {
  width: min(920px, 100%);
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-size: 17px;
}
.search-results {
  display: none;
  width: min(920px, 100%);
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.search-results.active { display: grid; gap: 8px; }
.search-results li {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 6px;
  background: var(--white);
}
.search-results a { font-weight: 850; text-decoration: none; }
.search-results span { color: var(--muted); font-size: 14px; }

.cards-grid,
.post-grid,
.related-grid,
.guide-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card,
.post-card,
.related-grid a,
.guide-list a {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 33, 27, .06);
}
.feature-card h2,
.post-card h2,
.post-card h3 { margin: 0 0 10px; line-height: 1.2; }
.feature-card p,
.post-card p { margin: 0; color: var(--muted); }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}
.content-grid.reverse { grid-template-columns: minmax(280px, .7fr) minmax(0, 1.5fr); }
.content-grid.reverse .prose { order: 2; }
.prose,
.article {
  max-width: 960px;
}
.prose h2,
.article h2,
.section-heading h2,
.faq-block h2,
.contact-strip h2,
.site-footer h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}
.prose h3,
.article h3 { margin: 30px 0 10px; font-size: 23px; }
.prose p,
.article p { color: var(--muted); }
.lede { font-size: 21px; color: var(--ink) !important; }
.info-panel,
.quote-panel {
  position: sticky;
  top: 104px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.quote-panel {
  background: #213b2d;
  color: var(--white);
}
.quote-panel p { color: #dce8dd; }
.quote-panel h2 { color: var(--white); }
.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff7df;
  border-radius: 0 8px 8px 0;
}
.steps,
.check-list {
  padding-left: 22px;
}
.steps li,
.check-list li { margin: 12px 0; }

.band {
  background: #edf2eb;
  border-block: 1px solid var(--line);
}
.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
th, td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: #f7f8f4;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}
.source-note { color: var(--muted); font-size: 14px; }

.blog-preview,
.all-posts { background: var(--white); }
.post-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.post-card span,
.post-card h2,
.post-card h3,
.post-card p { display: block; margin-left: 18px; margin-right: 18px; }
.post-card span {
  margin-top: 16px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.post-card p { margin-bottom: 20px; }
.all-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.faq-block {
  background: var(--paper);
}
.faq-block.wide { max-width: 1100px; margin: 0 auto; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin: 10px 0;
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 850;
}
details p { color: var(--muted); margin-bottom: 0; }

.article {
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 64px);
}
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--forest);
  color: var(--white);
}
.contact-strip p { margin: 0; color: #e7f0e7; }
.contact-form-section {
  max-width: 920px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.contact-form label { display: grid; gap: 7px; font-weight: 850; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
.contact-form .checkbox input { width: auto; margin-top: 6px; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 28px;
  padding: 48px clamp(18px, 5vw, 64px);
  background: #111a15;
  color: var(--white);
}
.site-footer p { color: #cbd8ce; }
.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-links a { color: #eaf2ea; text-decoration: none; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .cards-grid,
  .post-grid,
  .guide-list,
  .all-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid,
  .content-grid.reverse,
  .site-footer { grid-template-columns: 1fr; }
  .content-grid.reverse .prose { order: 0; }
  .info-panel,
  .quote-panel { position: static; }
}

@media (max-width: 620px) {
  .top-disclaimer { text-align: left; }
  .hero { min-height: 690px; }
  .hero-content { padding: 72px 0 88px; }
  .hero-actions,
  .contact-strip { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .cards-grid,
  .post-grid,
  .related-grid,
  .guide-list,
  .all-posts { grid-template-columns: 1fr; }
  nav a { font-size: 13px; padding: 7px 8px; }
}
