* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6faf6;
  color: #0d241a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid #d8e5dc;
  background: rgba(255, 255, 255, .98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #0b341f;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #006d41;
  color: #fff;
  font-weight: 950;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 20px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: #667467;
  font-size: 13px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #d6e1d8;
  border-radius: 999px;
  background: #fff;
  color: #173c27;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) clamp(18px, 4vw, 58px) 24px;
  background:
    radial-gradient(circle at 64% 42%, rgba(63, 151, 79, .28) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 53%, rgba(118, 80, 43, .16) 0 9%, transparent 10%),
    linear-gradient(110deg, #ffffff 0 47%, #e5f1df 47% 73%, #f6faf6 73%);
}

.hero-copy {
  min-width: 0;
}

.breadcrumb {
  margin: 0 0 22px;
  color: #667467;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #e2f4e4;
  color: #006d41;
  font-size: 15px;
  font-weight: 950;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #08351f;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
}

.lead {
  max-width: 780px;
  margin-bottom: 24px;
  color: #223b2d;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 14px;
}

.action-card {
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 19px;
  border: 2px solid #b9d6c1;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(17, 61, 36, .08);
}

.action-card span {
  font-size: 24px;
  font-weight: 950;
}

.action-card b {
  color: #39503e;
  font-size: 15px;
  line-height: 1.45;
}

.action-blue {
  border-color: #6ea9d5;
}

.action-blue span {
  color: #12679b;
}

.action-green span {
  color: #006d41;
}

.diagnosis-card,
.panel,
.quick-answer article,
.leaf-section,
.season-section,
.decision-section,
.recovery-section,
.tool-section,
.related-section,
.sources-section {
  border: 1px solid #cbd9cf;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(12, 49, 28, .07);
}

.diagnosis-card {
  align-self: start;
  padding: 24px;
}

.card-kicker,
.section-head p {
  margin-bottom: 8px;
  color: #007047;
  font-size: 14px;
  font-weight: 950;
}

.diagnosis-card h2,
.section-head h2 {
  margin-bottom: 16px;
  color: #0d321f;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.22;
}

.check-list,
.bad-list,
.sources-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9e1dc;
  border-radius: 7px;
  background: #fff;
  color: #24382c;
  font-size: 15px;
  font-weight: 800;
}

.check-list input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 7px;
  background: #006d41;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
}

.quick-answer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 58px) 22px;
}

.quick-answer article {
  padding: 24px;
}

.quick-answer span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff1d5;
  color: #88530f;
  font-weight: 950;
}

.quick-answer h2 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.25;
}

.quick-answer p,
.leaf-grid p,
.season-grid p,
.decision-flow p,
.sources-section li,
.tool-grid span {
  color: #2f4638;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.75;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 58px) 22px;
}

.panel,
.leaf-section,
.season-section,
.decision-section,
.recovery-section,
.tool-section,
.related-section,
.sources-section {
  padding: 24px;
}

.panel.wide {
  grid-row: span 2;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d7e2d9;
  border-radius: 7px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid #e2e8e4;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.65;
}

thead th {
  background: #f0f7f1;
  color: #163923;
  font-weight: 950;
}

tbody th {
  color: #006d41;
  font-size: 17px;
  white-space: nowrap;
}

.today {
  border-color: #83b596;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 13px 14px 13px 52px;
  border-radius: 7px;
  background: #f1f8f2;
  position: relative;
}

.steps li::before {
  content: counter(steps);
  counter-increment: steps;
  position: absolute;
  left: 14px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #006d41;
  color: #fff;
  font-weight: 950;
}

.steps b {
  font-size: 18px;
}

.steps span {
  color: #3d5145;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.warning {
  border-color: #e05448;
}

.warning .section-head p,
.warning .section-head h2 {
  color: #b9291f;
}

.bad-list {
  display: grid;
  gap: 10px;
}

.bad-list li {
  padding: 12px 14px 12px 42px;
  border-radius: 7px;
  background: #fff5f3;
  color: #4c2b27;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
  position: relative;
}

.bad-list li::before {
  content: "×";
  position: absolute;
  left: 15px;
  color: #d52f27;
  font-size: 22px;
  font-weight: 950;
}

.leaf-section,
.season-section,
.decision-section,
.tool-section,
.related-section,
.sources-section {
  max-width: 1480px;
  margin: 0 auto 22px;
}

.leaf-grid,
.season-grid,
.tool-grid,
.related-grid {
  display: grid;
  gap: 14px;
}

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

.leaf-grid article,
.season-grid article {
  padding: 20px;
  border: 1px solid #d8e4dc;
  border-radius: 8px;
  background: #fbfefb;
}

.leaf-grid h3,
.season-grid h3 {
  margin-bottom: 8px;
  color: #0d321f;
  font-size: 22px;
}

.season-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.season-grid span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #ad6413;
  font-weight: 950;
}

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

.decision-flow div {
  padding: 18px;
  border: 1px solid #d6e2d9;
  border-radius: 8px;
  background: #fff;
}

.decision-flow b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #0d321f;
  color: #fff;
}

.decision-flow span,
.tool-grid b {
  display: block;
  margin-bottom: 7px;
  color: #0d321f;
  font-size: 19px;
  font-weight: 950;
}

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

.recovery-grid article {
  padding: 20px;
  border: 1px solid #d8e4dc;
  border-radius: 8px;
  background: #fff;
}

.recovery-grid h3 {
  margin-bottom: 10px;
  color: #0d321f;
  font-size: 21px;
  line-height: 1.35;
}

.recovery-grid p {
  color: #2f4638;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.75;
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-grid a,
.related-grid a {
  display: block;
  padding: 18px;
  border: 1px solid #d5e1d8;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.tool-grid a:hover,
.related-grid a:hover,
.site-nav a:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-grid a {
  color: #0b4a31;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.55;
}

.sources-section li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e8e3;
}

.sources-section li:last-child {
  border-bottom: 0;
}

.sources-section a {
  color: #0b5c8b;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 64px);
  background: #0d321f;
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 950;
}

.site-footer a {
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .content-grid,
  .quick-answer,
  .leaf-grid,
  .season-grid,
  .decision-flow,
  .recovery-grid,
  .tool-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background: linear-gradient(180deg, #ffffff 0, #eff8ee 100%);
  }

  .diagnosis-card {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand b {
    font-size: 17px;
  }

  .brand small {
    font-size: 12px;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .hero {
    padding: 26px 16px 20px;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .quick-answer,
  .content-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .leaf-section,
  .season-section,
  .decision-section,
  .tool-section,
  .related-section,
  .sources-section {
    margin-right: 16px;
    margin-left: 16px;
    padding: 18px;
  }

  .diagnosis-card,
  .panel,
  .quick-answer article {
    padding: 18px;
  }

  table {
    min-width: 720px;
  }
}
