:root {
  --ink: #19211d;
  --muted: #5c665f;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --line: #d9dfd5;
  --green: #23624f;
  --green-dark: #143b31;
  --coral: #c95d43;
  --blue: #426f8f;
  --gold: #b58a2d;
  --shadow: 0 16px 42px rgba(25, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 244, 0.93);
  border-bottom: 1px solid rgba(217, 223, 213, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
  background: #ecf1eb;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(590px, calc(100svh - 112px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #1a2a25;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 30, 25, 0.82) 0%, rgba(15, 30, 25, 0.56) 42%, rgba(15, 30, 25, 0.1) 100%),
    linear-gradient(0deg, rgba(15, 30, 25, 0.36), rgba(15, 30, 25, 0.02));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 76px);
  color: #fff;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd5c9;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.2rem, 9vw, 6.7rem);
}

.hero-copy {
  width: min(610px, 100%);
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.button.text {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--green);
}

.section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.section.tight {
  padding-top: 36px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto 24px;
}

.section-header h2,
.page-intro h1,
.article h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-header p,
.page-intro p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
}

.category-grid,
.guide-grid,
.feature-grid,
.policy-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
}

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

.category-tile {
  min-height: 155px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  overflow: hidden;
  position: relative;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
}

.category-tile:nth-child(2) {
  background: var(--blue);
}

.category-tile:nth-child(3) {
  background: var(--coral);
}

.category-tile:nth-child(4) {
  background: var(--gold);
}

.category-tile > * {
  position: relative;
}

.category-tile strong {
  font-size: 1.12rem;
}

.category-tile span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(25, 33, 29, 0.05);
}

.guide-card.featured {
  grid-column: span 2;
  min-height: 350px;
  padding: 0;
  overflow: hidden;
}

.guide-card.featured img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center right;
}

.guide-card.featured .guide-card-body {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf3ee;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.guide-card p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.guide-card a.button {
  margin-top: auto;
  align-self: flex-start;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.editor-note,
.checklist-panel,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 34px);
}

.editor-note {
  background: #f0f5ef;
}

.editor-note h2,
.checklist-panel h2,
.content-panel h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.page-intro {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 56px) 24px;
}

.guide-tools {
  width: min(1160px, 100%);
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search-field {
  flex: 1 1 280px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.article-shell {
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 56px);
}

.article {
  width: min(860px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 800;
}

.article .article-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.article-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-hero {
  width: 100%;
  height: min(380px, 55vw);
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center right;
  box-shadow: var(--shadow);
}

.article h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article h3 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
}

.article p {
  color: #303832;
}

.article a {
  color: var(--green);
  font-weight: 750;
}

.quick-box {
  margin: 28px 0;
  padding: 20px;
  border-left: 5px solid var(--coral);
  background: #fff6f2;
  border-radius: 8px;
}

.quick-box strong {
  display: block;
  margin-bottom: 8px;
}

.buy-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.buy-table th,
.buy-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.buy-table th {
  background: #eef4ef;
  color: var(--green-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.buy-table tr:last-child td {
  border-bottom: 0;
}

.link-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.retailer-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.policy-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
}

.policy-grid .content-panel p:first-child {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #19211d;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: end;
}

.empty-state {
  display: none;
  width: min(1160px, 100%);
  margin: 24px auto 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .category-grid,
  .guide-grid,
  .feature-grid,
  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 660px) {
  .brand span:last-child {
    max-width: 160px;
    line-height: 1.1;
  }

  .hero {
    min-height: 68svh;
  }

  .hero-content {
    width: min(100% - 32px, 640px);
    margin: 0 auto;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(15, 30, 25, 0.86), rgba(15, 30, 25, 0.5));
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section-header {
    display: block;
  }

  .category-grid,
  .guide-grid,
  .feature-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .guide-card.featured {
    grid-column: auto;
  }

  .guide-card.featured img {
    height: 170px;
  }

  .buy-table,
  .buy-table thead,
  .buy-table tbody,
  .buy-table th,
  .buy-table td,
  .buy-table tr {
    display: block;
  }

  .buy-table thead {
    display: none;
  }

  .buy-table td {
    border-bottom: 0;
    padding: 9px 14px;
  }

  .buy-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .buy-table tr:last-child {
    border-bottom: 0;
  }

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

  .footer-links {
    justify-content: start;
  }
}
