:root {
  color: #142019;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.guide-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  border-bottom: 1px solid #dde5e0;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(14px);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  text-decoration: none;
}

.brand-logo-crop {
  display: block;
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 55px;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  left: -30px;
  top: -18px;
  width: 120px;
  height: 90px;
  max-width: none;
  object-fit: contain;
}

.guide-brand small {
  display: block;
  color: #68776f;
  font-size: 0.72rem;
}

.guide-nav nav {
  display: flex;
  gap: 20px;
}

.guide-nav nav a {
  color: #506058;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 850;
  text-decoration: none;
}

.button-dark {
  background: #101714;
  color: #ffffff;
}

.button-light {
  border-color: #ccd8d1;
  background: #ffffff;
  color: #17231d;
}

.button-accent {
  background: #ffffff;
  color: #0d6f50;
}

.guide-hero,
.guide-section,
.guide-cta,
footer {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
}

.guide-hero {
  padding: 62px 0 42px;
  border-bottom: 1px solid #dfe7e2;
}

.eyebrow {
  margin: 0;
  color: #117653;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 850px;
  margin: 12px 0 18px;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 0.98;
}

.guide-hero > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #5d6c64;
  font-size: 1.12rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  border-top: 1px solid #dfe7e2;
  padding-top: 18px;
}

.readiness strong,
.readiness span {
  padding: 7px 10px;
  font-size: 0.8rem;
}

.readiness strong {
  padding-left: 0;
}

.readiness span {
  border: 1px solid #d8e4dd;
  border-radius: 999px;
  background: #f7faf8;
}

.guide-section {
  padding: 64px 0;
  border-bottom: 1px solid #dfe7e2;
  scroll-margin-top: 86px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.guide-cta h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.section-heading > p:last-child {
  color: #607069;
}

.step-list {
  display: grid;
  border-top: 1px solid #dce5df;
}

.step-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid #dce5df;
  padding: 20px 0;
}

.step-list article > span,
.reading-number {
  color: #16815f;
  font-size: 0.88rem;
  font-weight: 900;
}

.step-list h3,
.reading-grid h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.step-list p,
.reading-grid p,
.guide-note p {
  margin: 0;
  color: #607069;
}

.guide-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
  border-left: 4px solid #16815f;
  background: #f3f8f5;
  padding: 18px;
}

.score-band-list {
  display: grid;
  border-top: 1px solid #dce5df;
}

.band {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid #dce5df;
  padding: 15px 0 15px 14px;
  border-left: 5px solid;
}

.band strong {
  font-size: 1.12rem;
}

.band span {
  display: grid;
  color: #5d6c64;
}

.band span b {
  color: #1b2821;
}

.band-critical {
  border-left-color: #cf4038;
}

.band-watch {
  border-left-color: #c18a12;
}

.band-healthy {
  border-left-color: #16815f;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.reading-grid article {
  min-height: 190px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  padding: 20px;
}

.reading-number {
  display: block;
  margin-bottom: 24px;
}

.category-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dce5df;
}

.category-table > div {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid #dce5df;
  padding: 17px 18px 17px 0;
}

.category-table > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid #dce5df;
}

.category-table span {
  color: #607069;
}

.faq-list {
  border-top: 1px solid #dce5df;
}

.faq-list details {
  border-bottom: 1px solid #dce5df;
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  color: #1a2821;
  font-weight: 850;
}

.faq-list p {
  max-width: 800px;
  margin: 12px 0 0;
  color: #607069;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 54px;
  background: #101714;
  color: #ffffff;
  padding: 36px;
}

.guide-cta > div:first-child {
  max-width: 690px;
}

.guide-cta .eyebrow {
  color: #73d4ad;
}

.guide-cta h2 {
  margin-top: 7px;
}

.guide-cta p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.guide-cta .cta-actions {
  flex: 0 0 auto;
  flex-direction: column;
  margin: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 30px 0 46px;
  color: #68776f;
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .guide-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-nav nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .guide-nav > .button {
    width: 100%;
  }

  .guide-hero {
    padding-top: 55px;
  }

  .guide-hero h1 {
    font-size: 3.25rem;
  }

  .reading-grid,
  .category-table {
    grid-template-columns: 1fr;
  }

  .category-table > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .guide-note,
  .guide-cta {
    grid-template-columns: 1fr;
  }

  .guide-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 26px 20px;
  }

  .guide-cta .cta-actions {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .guide-hero,
  .guide-section,
  .guide-cta,
  footer {
    width: min(100% - 26px, 1100px);
  }

  .brand-logo-crop {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .brand-logo {
    left: -34px;
    top: -19px;
  }

  .guide-hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .band {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .guide-note {
    display: block;
  }

  .guide-note p {
    margin-top: 6px;
  }
}
