:root {
  --green: #299618;
  --green-dark: #1d6e10;
  --green-deep: #14400c;
  --green-soft: #e8f5e3;
  --cream: #fbf7e4;
  --ink: #1f2420;
  --muted: #5a6157;
  --line: #e4e8e0;
  --white: #fff;
  --buy: #f5b700;
  --buy-dark: #dba300;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(20, 64, 12, .08);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }
svg { display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--buy); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--buy); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn-buy { background: var(--buy); color: var(--ink); box-shadow: 0 4px 12px rgba(245, 183, 0, .3); }
.btn-buy:hover { background: var(--buy-dark); transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { color: var(--white); font-weight: 800; font-size: 25px; text-decoration: none; }
.logo span { color: #d4f7a8; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { background: radial-gradient(ellipse at top, #f1f9ec, var(--cream) 70%); padding: 64px 0 56px; text-align: center; }
.hero-inner { max-width: 820px; }
.eyebrow { display: inline-block; background: var(--green-soft); color: var(--green-dark); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; margin-top: 14px; }
.hero-sub { font-size: 19px; color: var(--muted); }
.search { position: relative; max-width: 560px; margin: 26px auto 0; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; font: inherit; font-size: 17px; padding: 16px 20px 16px 52px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.search input:focus { border-color: var(--green); outline: none; }
.hero-stats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; color: var(--muted); }
.hero-stats strong { color: var(--green-dark); font-size: 22px; margin-right: 4px; }

/* Section heads */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }

/* Featured reviews */
.featured { padding: 64px 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--green); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card h3 { font-size: 22px; }
.review-card p { color: var(--muted); flex: 1; }
.rc-tag { align-self: flex-start; background: var(--green-soft); color: var(--green-dark); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.rc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Directory */
.directory { background: #f7faf5; padding: 64px 0 72px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.chip.is-active span { color: #d4f7a8; }
.no-results { text-align: center; color: var(--muted); font-size: 18px; }

.cat-block { margin-bottom: 44px; }
.cat-block[hidden] { display: none; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.cat-head h2 { font-size: 26px; margin: 0; }
.cat-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.cat-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-count { margin-left: auto; color: var(--muted); font-size: 15px; }

.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: box-shadow .15s, transform .15s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product[hidden] { display: none; }
.p-top { display: flex; align-items: center; gap: 12px; }
.p-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: 17px; display: grid; place-items: center; flex: none; }
.product h3 { font-size: 18px; margin: 0 0 2px; }
.p-cat { font-size: 13px; color: var(--muted); }
.p-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.p-actions .btn { flex: 1; }
.link-review { font-size: 14px; font-weight: 600; }

/* How */
.how { padding: 64px 0; background: var(--cream); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-item { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.how-item h3 { font-size: 21px; }
.how-item p { color: var(--muted); margin: 0; }
.how-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; margin-bottom: 12px; }
.how-note { text-align: center; color: var(--muted); max-width: 760px; margin: 28px auto 0; }

/* Footer */
.site-footer { background: var(--green-deep); color: #c3d8bd; padding: 44px 0 26px; font-size: 14px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { max-width: 980px; }
.copyright { margin: 0; opacity: .8; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: 20px; text-decoration: none; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Legal pages */
.legal { background: var(--cream); padding: 48px 0 64px; }
.legal article { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 22px; color: var(--green-dark); margin-top: 1.4em; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .review-grid, .how-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 16px; font-size: 15px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-links a:not(:first-child):not(:nth-child(2)) { display: none; }
  .logo { font-size: 22px; }
  .hero { padding: 44px 0 40px; }
  .hero-sub { font-size: 17px; }
  .product-grid { grid-template-columns: 1fr; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin: 0 -16px 28px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
  .chip { flex: none; }
  .cat-head h2 { font-size: 22px; }
  .legal article { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Blog / review pages ---------- */
.post { padding: 32px 0 64px; background: #f7faf5; }
.post-wrap { max-width: 860px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post article { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.post h1 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; margin-top: 10px; }
.post h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.6em; color: var(--green-deep); }
.post p, .post li { font-size: 18px; }
.byline { color: var(--muted); font-size: 15px; }
.lede { font-size: 20px !important; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.facts-box { background: var(--cream); border: 1px solid #ece5c3; border-radius: 14px; padding: 22px 24px; margin: 26px 0; }
.facts-title { margin: 0 0 10px !important; font-size: 22px !important; }
.facts-box dl { margin: 0; }
.facts-box dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e2dab0; }
.facts-box dl div:last-child { border-bottom: 0; }
.facts-box dt { font-weight: 700; color: var(--green-dark); }
.facts-box dd { margin: 0; }
.callout { background: var(--green-soft); border-left: 5px solid var(--green); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.ing-list { columns: 2; column-gap: 28px; padding-left: 22px; }
.ing-list li { break-inside: avoid; margin-bottom: 6px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--green); font-weight: 800; }
.check-list.warn li::before { content: "!"; color: #b7791f; left: 10px; }
.buy-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--cream); border: 2px solid var(--buy); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.buy-box strong { display: block; font-size: 20px; }
.buy-box span { color: var(--muted); font-size: 15px; }
.post .faq { display: grid; gap: 12px; }
.post .faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.post .faq summary { cursor: pointer; font-weight: 600; padding: 14px 18px; font-size: 18px; }
.post .faq details[open] summary { color: var(--green-dark); }
.post .faq details p { padding: 0 18px 14px; margin: 0; color: var(--muted); }
.related { margin-top: 36px; padding-top: 10px; border-top: 2px solid var(--line); }
.related ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; padding-left: 20px; }
.blog-h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.blog-sub { color: var(--muted); font-size: 19px; }
.blog-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.blog-group { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.blog-group h2 { font-size: 21px; margin-top: 0; color: var(--green-deep); }
.blog-group ul { padding-left: 20px; margin: 0; }
.blog-group li { padding: 3px 0; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--green-dark); text-decoration: underline; }

@media (max-width: 860px) {
  .blog-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post article { padding: 22px 18px; }
  .post p, .post li { font-size: 17px; }
  .facts-box dl div { grid-template-columns: 1fr; gap: 2px; }
  .ing-list, .related ul { columns: 1; grid-template-columns: 1fr; }
  .blog-groups { grid-template-columns: 1fr; }
  .buy-box .btn { width: 100%; white-space: normal; text-align: center; }
  .post .btn-lg { width: 100%; white-space: normal; text-align: center; }
}
