:root {
  --ink: #18211d;
  --muted: #63706a;
  --line: #dce3df;
  --paper: #ffffff;
  --soft: #f3f6f4;
  --green: #1f6b4f;
  --green-dark: #164b39;
  --sky: #dceef4;
  --coral: #f2a07b;
  --yellow: #f4c95d;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(24, 33, 29, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.menu-open, body.search-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-row { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 820; font-size: 18px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--ink); color: white; font-size: 13px; letter-spacing: 0; }
.brand-logo { width: 34px; height: 34px; border-radius: 6px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.desktop-nav a { color: #34423b; font-size: 14px; font-weight: 650; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; }
.icon-button:hover { background: var(--soft); }
.menu-button { display: none; }

.hero { min-height: clamp(480px, 65vh, 680px); position: relative; display: flex; align-items: end; background-size: cover; background-position: center; color: white; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,14,.9) 0%, rgba(10,18,14,.65) 48%, rgba(10,18,14,.15) 100%); }
.hero-inner { position: relative; padding: 80px 0 72px; max-width: 720px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0; }
.hero .eyebrow { color: #b9e7d3; }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 20px; }
.hero p { max-width: 620px; margin: 0 0 28px; color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 22px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border-radius: 6px; border: 1px solid transparent; background: var(--green); color: white; font-weight: 760; }
.button:hover { background: var(--green-dark); }
.button.secondary { background: white; color: var(--ink); }
.button.secondary:hover { background: var(--soft); }
.button.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.outline:hover { background: var(--ink); color: white; }
.button svg { width: 18px; height: 18px; }

.section { padding: 76px 0; }
.section.compact { padding: 54px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: white; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.section-head p { max-width: 500px; margin: 0; color: var(--muted); }
.text-link { color: var(--green); font-weight: 760; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-card-image { aspect-ratio: 4 / 3; background: #eef2f0; overflow: hidden; display: grid; place-items: center; }
.review-card-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.review-card-image.photo img { object-fit: cover; mix-blend-mode: normal; }
.review-card-body { padding: 20px; }
.tag { display: inline-block; margin-bottom: 6px; color: var(--green); font-size: 12px; font-weight: 820; text-transform: uppercase; letter-spacing: 0; }
.card-date { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 650; }
.review-card h3 { font-size: 21px; margin-bottom: 10px; }
.review-card p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius); color: white; background: var(--ink); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,18,15,.92), rgba(11,18,15,.08) 75%); }
.category-card:hover img { transform: scale(1.035); }
.category-card-copy { position: absolute; inset: auto 24px 24px; z-index: 2; }
.category-card .eyebrow { color: #c8e9d8; }
.category-card h3 { font-size: 28px; margin-bottom: 10px; }
.category-card p { margin: 0; color: rgba(255,255,255,.78); }

.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.method-grid h2 { font-size: clamp(34px, 5vw, 54px); }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #b9e7d3; font-weight: 800; }
.step h3 { font-size: 19px; margin: 3px 0 6px; }
.step p { margin: 0; color: rgba(255,255,255,.68); }

.page-hero { position: relative; min-height: 390px; display: flex; align-items: end; background-size: cover; background-position: center; color: white; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,23,19,.9), rgba(14,23,19,.38)); }
.page-hero .container { position: relative; padding-block: 70px; }
.page-hero h1 { max-width: 760px; font-size: clamp(42px, 6vw, 68px); margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--green); }
.article-head { padding: 54px 0 32px; }
.article-head h1 { max-width: 920px; font-size: clamp(38px, 6vw, 66px); margin-bottom: 18px; }
.article-dek { max-width: 800px; font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 16px; height: 16px; }
.research-note { margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--yellow); background: #fff9e8; color: #4e4734; font-size: 14px; }

.product-lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 42px; align-items: start; padding: 28px 0 62px; }
.product-image { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--soft); border-radius: var(--radius); }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-snapshot { border-top: 4px solid var(--green); padding: 24px; background: var(--soft); border-radius: 0 0 var(--radius) var(--radius); }
.product-snapshot h2 { font-size: 25px; margin-bottom: 18px; }
.snapshot-row { padding: 14px 0; border-top: 1px solid var(--line); }
.snapshot-row strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0; color: var(--green); margin-bottom: 4px; }
.snapshot-row p { margin: 0; }
.product-snapshot .button { width: 100%; margin-top: 18px; }
.commerce-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 80px; align-items: start; }
.article-body { font-size: 17px; }
.article-body h2 { margin-top: 48px; margin-bottom: 14px; font-size: 34px; }
.article-body h3 { margin-top: 32px; font-size: 23px; }
.article-body p { color: #39463f; }
.highlight-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 22px 0; }
.highlight-list li { padding: 14px 15px; background: var(--soft); border-radius: 6px; font-weight: 680; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pros-cons > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.pros-cons h3 { margin: 0 0 12px; font-size: 19px; }
.pros-cons ul { margin: 0; padding-left: 20px; color: #39463f; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table th, .spec-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 36%; color: var(--muted); font-size: 13px; }
.source-list { padding-left: 20px; }
.source-list a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-aside { position: sticky; top: 100px; padding-top: 48px; }
.article-aside nav { display: grid; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.article-aside strong { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.article-aside a { font-size: 14px; color: var(--muted); }
.article-aside a:hover { color: var(--green); }

.content-page { padding: 70px 0 90px; }
.content-page header { max-width: 780px; margin-bottom: 42px; }
.content-page h1 { font-size: clamp(42px, 6vw, 68px); }
.content-page .lede { font-size: 20px; color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin: 42px 0 12px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose p, .prose li { color: #3d4943; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-box { padding: 26px; background: var(--soft); border-left: 4px solid var(--green); }

.plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; padding: 0; list-style: none; counter-reset: plan; }
.plan-list li { counter-increment: plan; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-list li::before { content: counter(plan, decimal-leading-zero); color: var(--green); font-weight: 800; font-size: 13px; }

.site-footer { background: #101713; color: white; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.62); }
.footer-col h3 { margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0; color: rgba(255,255,255,.55); }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; color: rgba(255,255,255,.5); font-size: 12px; }

.mobile-panel { position: fixed; inset: 68px 0 0; z-index: 50; padding: 28px 20px; background: white; display: none; }
.mobile-panel.open { display: block; }
.mobile-panel nav { display: grid; gap: 6px; }
.mobile-panel a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 760; }
.search-panel { position: fixed; inset: 0; z-index: 60; background: rgba(16,23,19,.94); display: none; color: white; }
.search-panel.open { display: block; }
.search-inner { width: min(calc(100% - 40px), 760px); margin: 12vh auto 0; }
.search-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search-top h2 { margin: 0; font-size: 30px; }
.search-panel .icon-button { background: transparent; color: white; border-color: rgba(255,255,255,.3); }
.search-input { width: 100%; border: 0; border-bottom: 2px solid rgba(255,255,255,.35); background: transparent; color: white; font-size: clamp(24px, 5vw, 44px); padding: 16px 0; outline: none; }
.search-input:focus { border-color: #b9e7d3; }
.search-results { display: grid; gap: 8px; margin-top: 24px; max-height: 52vh; overflow: auto; }
.search-result { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.search-result strong { display: block; }
.search-result span { color: rgba(255,255,255,.58); font-size: 13px; }
.search-empty { color: rgba(255,255,255,.62); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 120px); padding: 12px 16px; background: var(--ink); color: white; border-radius: 6px; box-shadow: var(--shadow); transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-button { display: grid; }
  .review-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid, .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-aside { display: none; }
  .product-lead { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-row { height: 62px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-logo { width: 31px; height: 31px; }
  .hero { min-height: 560px; }
  .hero::before { background: linear-gradient(0deg, rgba(10,18,14,.92), rgba(10,18,14,.35)); }
  .hero-inner { padding: 74px 0 52px; }
  h1 { font-size: 42px; }
  .section { padding: 58px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .review-grid, .category-grid, .plan-list { grid-template-columns: 1fr; }
  .category-card { min-height: 330px; }
  .method-grid { gap: 28px; }
  .page-hero { min-height: 430px; }
  .article-head { padding-top: 40px; }
  .article-dek { font-size: 18px; }
  .product-lead { gap: 22px; padding-bottom: 46px; }
  .product-image { aspect-ratio: 1 / 1; }
  .highlight-list, .pros-cons { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 29px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .mobile-panel { top: 62px; }
}

.empty-state {
  padding: 44px 24px;
  border: 1px dashed #bcc8c1;
  border-radius: 8px;
  text-align: center;
  background: var(--soft);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--muted); }
.cms-content > :first-child { margin-top: 0; }
.cms-content blockquote {
  margin: 28px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--green);
  background: var(--soft);
}
.cms-content img { margin: 26px 0; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
