:root {
  --green-900: #0f3b2f;
  --green-800: #165240;
  --green-700: #1f6a52;
  --accent-500: #f3a43a;
  --accent-100: #fff3df;
  --gray-50: #f8f9fa;
  --gray-100: #eef1f2;
  --gray-300: #cdd5d9;
  --gray-700: #354046;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(14, 38, 31, 0.08);
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--green-900);
  background: var(--gray-50);
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-900);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f2f6f4 0%, #f8faf8 100%);
}

.section-intro {
  max-width: 72ch;
  margin-bottom: 1.75rem;
  color: var(--gray-700);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  font-size: 0.85rem;
}

.logo-text {
  font-size: 1rem;
}

.menu-toggle {
  border: 1px solid var(--green-700);
  background: var(--white);
  color: var(--green-900);
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
}

.site-nav {
  position: absolute;
  right: 4%;
  top: 72px;
  width: min(19rem, 92%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.site-nav.open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
}

.site-nav li a {
  display: block;
  padding: 0.62rem 0.65rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
}

.site-nav li a:hover,
.site-nav li a:focus-visible {
  background: var(--accent-100);
}

.hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(243, 164, 58, 0.16), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(22, 82, 64, 0.17), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f5f8f7 100%);
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-100);
  color: #7a4b00;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

.hero-copy p {
  max-width: 58ch;
  color: var(--gray-700);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-visual {
  min-height: 210px;
  border-radius: var(--radius);
  border: 1px solid #dde7e3;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--green-900);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-800);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--green-700);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #f1f8f5;
}

.btn-small {
  margin-top: 0.8rem;
  padding: 0.55rem 0.82rem;
  background: var(--accent-500);
  color: #1b1b1b;
}

.btn-small:hover,
.btn-small:focus-visible {
  background: #e69423;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(14, 38, 31, 0.04);
}

.card:hover {
  border-color: #b7c6bf;
}

.guide-card ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0.25rem;
}

.guide-card li {
  margin-bottom: 0.4rem;
}

.product-controls {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.product-controls label {
  font-weight: 700;
  font-size: 0.95rem;
}

.product-controls select,
.product-controls input {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 0.6rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
  color: #12241f;
}

.product-card {
  border-left: 4px solid #b7d6c8;
}

.product-card.hidden {
  display: none;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid var(--green-700);
  background: #fff;
  color: var(--green-900);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}

.chip:hover,
.chip:focus-visible {
  background: #ebf5f1;
}

.inline-link {
  font-weight: 700;
  text-underline-offset: 2px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--white);
  color: var(--green-900);
  font: inherit;
  font-weight: 700;
  padding: 1rem;
  cursor: pointer;
}

.faq-question[aria-expanded="true"] {
  background: #f1f7f4;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--gray-700);
}

.faq-item.open .faq-answer {
  display: block;
}

.disclosure {
  background: #fff8ec;
  border: 1px solid #f3d6a2;
  border-radius: var(--radius);
  padding: 1rem;
  font-weight: 600;
}

.site-footer {
  background: var(--green-900);
  color: #e6efeb;
  padding: 2.6rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.35rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 0;
  background: var(--green-900);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: none;
}

.back-to-top.show {
  display: inline-grid;
  place-items: center;
}

@media (min-width: 700px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    display: block;
  }

  .site-nav ul {
    display: flex;
    gap: 0.3rem;
    padding: 0;
  }

  .site-nav li a {
    padding: 0.5rem 0.65rem;
  }

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

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