:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5b675f;
  --line: #d9dfda;
  --paper: #f8faf7;
  --panel: #ffffff;
  --green: #1d6b4f;
  --red: #b7342c;
  --gold: #b98721;
  --blue: #245f8f;
  --shadow: 0 18px 45px rgba(25, 40, 33, .12);
}

* { 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: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(248, 250, 247, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--red));
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.nav a { color: var(--ink); }
.nav .nav-cta {
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #17201b;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 14, .82), rgba(7, 18, 14, .34) 56%, rgba(7, 18, 14, .18)),
    url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=2400&q=84") center/cover;
  z-index: -1;
}
.hero-inner {
  width: min(1180px, 100%);
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 56px) clamp(36px, 7vw, 72px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 86px);
}
.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 23px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn.primary { color: #fff; background: var(--green); }
.btn.secondary { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn.plain { color: var(--green); background: #eef6f1; border-color: #cfe3d7; }

main { overflow: hidden; }
.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.section.alt { background: #eef3ef; }
.wrap { width: min(1180px, 100%); margin: 0 auto; }
.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
}
.lead {
  color: var(--muted);
  font-size: 18px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(24, 35, 29, .06);
}
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul, .content ul { padding-left: 20px; margin: 12px 0 0; }
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #edf4ef; font-size: 13px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.feature-img {
  border-radius: 8px;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.notice {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff9ed;
  border-radius: 8px;
}
.content {
  max-width: 880px;
}
.content h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
}
.content h2 { margin-top: 42px; font-size: 32px; }
.content h3 { margin-top: 28px; }
.content p { color: var(--muted); }
.content li { margin-bottom: 8px; }

.form-panel {
  background: #15251d;
  color: #fff;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}
.form-panel h2 { margin-top: 0; }
.lead-form {
  display: grid;
  gap: 12px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,.7); }
.lead-form textarea { min-height: 120px; resize: vertical; }
.form-status { min-height: 24px; color: #bfe8cf; font-weight: 700; }
.fineprint { font-size: 13px; color: rgba(255,255,255,.68); }

.footer {
  padding: 34px clamp(18px, 5vw, 56px);
  background: #111a15;
  color: rgba(255,255,255,.74);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer a { color: #bfe8cf; }
.footer-legal {
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}
.footer-legal strong { color: rgba(255, 255, 255, .82); }

/* ---- Long-form content building blocks (SEO + GEO) ---- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--line); margin: 0 8px; }

.content .lead {
  font-size: clamp(19px, 2.2vw, 22px);
  color: var(--ink);
  line-height: 1.55;
}

.content figure { margin: 28px 0; }
.content figure img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.content figure.hero-fig img { max-height: 440px; }
.content figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--faint, #7c8a81);
  font-style: italic;
}
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.img-grid img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }

.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
}
.toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 7px; break-inside: avoid; }

.takeaways {
  background: linear-gradient(180deg, #f3f9f5, #eef6f1);
  border: 1px solid #cfe3d7;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 28px 0;
}
.takeaways h2 { margin: 0 0 12px !important; font-size: 20px !important; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin-bottom: 8px; color: var(--ink); }

.keyfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.keyfacts .fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.keyfacts .num { font-size: 30px; font-weight: 800; color: var(--green); line-height: 1.1; }
.keyfacts .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

.faq { margin: 18px 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--green); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 14px 18px 18px; color: var(--muted); }

.sources { margin: 16px 0 0; padding-left: 20px; font-size: 14px; }
.sources li { margin-bottom: 8px; color: var(--muted); }
.sources a { word-break: break-word; }

.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 0;
}
.related a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  background: #fff;
  text-decoration: none;
}
.related a:hover { border-color: var(--green); }
.related .r-k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-weight: 800; margin-bottom: 6px; }
.related .r-t { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  .nav { display: none; }
  .grid.three, .grid.two, .split { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .feature-img { min-height: 280px; }
  table { min-width: 680px; }
  .img-grid, .keyfacts, .related { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
