:root {
  --green: #2f7d6d;
  --green-dark: #1f5a4e;
  --accent: #f59e0b;
  --bg: #f7faf9;
  --text: #1f2933;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e3ebe8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding-bottom: 70px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }

.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 14px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; margin: 0; }
.logo span { color: var(--green); }
.nav nav a { margin-left: 18px; text-decoration: none; color: var(--text); font-size: .95rem; }
.nav nav a:hover { color: var(--green); }
.ad-bar { background: #eef5f3; text-align: center; font-size: .8rem; color: var(--muted); padding: 6px 12px; }

/* Sections */
main section { margin: 44px 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; margin: 8px 0 14px; }
h2 { font-size: 1.6rem; margin: 0 0 14px; }
h3 { margin: 0 0 6px; }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; margin: 0; }
.lead { font-size: 1.15rem; color: #374151; }
.muted { color: var(--muted); font-size: .92rem; }
.small { font-size: .8rem; }

.byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .92rem; }
.byline span { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }

.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px dashed var(--border); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: #fff; background: var(--green); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; top: 10px; }

/* Product card */
.product-card { background: #fff; border: 2px solid var(--green); border-radius: 16px; padding: 28px; position: relative; box-shadow: 0 10px 30px rgba(47,125,109,.1); }
.badge { position: absolute; top: -14px; left: 24px; background: var(--accent); color: #fff; font-weight: 700; padding: 4px 14px; border-radius: 20px; font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: center; }
.product-img { background: #f1f7f5; border-radius: 12px; padding: 16px; }
.score-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.score { font-size: 2.4rem; font-weight: 800; color: var(--green); }
.score span { font-size: 1rem; color: var(--muted); }
.score-label { color: var(--muted); font-size: .9rem; }
.features { padding-left: 20px; }
.features li { margin-bottom: 4px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 10px; transition: transform .15s, background .15s; }
.btn:hover { background: #d97706; transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.big { font-size: 1.1rem; padding: 16px 30px; }

/* Ingredients */
.ingredients { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.ing { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: 12px; padding: 18px; }
.ing p { margin: 0; font-size: .92rem; color: #4b5563; }
.note { background: #fff8eb; border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; font-size: .95rem; }

.steps li { margin-bottom: 8px; }

/* Ratings */
.ratings { display: grid; gap: 12px; }
.rating { display: grid; grid-template-columns: 170px 1fr 40px; align-items: center; gap: 12px; }
.bar { height: 10px; background: var(--border); border-radius: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 10px; }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pros, .cons { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
.pros { border-top: 4px solid #16a34a; }
.cons { border-top: 4px solid #dc2626; }
.pros li::marker { content: "+  "; color: #16a34a; font-weight: 700; }
.cons li::marker { content: "–  "; color: #dc2626; font-weight: 700; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0; }
.pkg { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px 18px; text-align: center; position: relative; }
.pkg.popular { border: 2px solid var(--accent); transform: scale(1.03); }
.pkg .price { font-size: 2rem; font-weight: 800; margin: 6px 0 0; color: var(--green-dark); }
.pkg .old { text-decoration: line-through; color: var(--muted); margin: 0 0 8px; }
.tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.tag.alt { background: var(--green); }

/* Criteria */
.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.criteria div { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.criteria h3 { font-size: 1rem; color: var(--green-dark); }
.criteria p { margin: 0; font-size: .92rem; }

/* Verdict */
.verdict { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border-radius: 16px; padding: 32px; text-align: center; }
.verdict p { max-width: 680px; margin: 0 auto 20px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: #4b5563; }

/* Footer */
.site-footer { background: #1f2933; color: #cbd5e1; padding-block: 36px; margin-top: 60px; font-size: .88rem; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #cbd5e1; }

/* Top 5 ranking cards */
.rank-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin: 26px 0; position: relative; }
.rank-card.first { border: 2px solid var(--green); box-shadow: 0 10px 30px rgba(47,125,109,.12); }
.rank-num { position: absolute; top: -14px; left: -10px; background: var(--green-dark); color: #fff; font-weight: 800; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; }
.rank-card .badge { left: 44px; }
.rank-grid { display: grid; grid-template-columns: 180px 1fr 150px; gap: 22px; align-items: center; }
.rank-img { background: #f1f7f5; border-radius: 12px; padding: 10px; }
.rank-img img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.rank-img.placeholder { aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--green-dark); font-weight: 700; border: 2px dashed var(--border); }
.rank-body h3 { font-size: 1.2rem; }
.rank-body h3 a { color: var(--text); text-decoration: none; }
.rank-body h3 a:hover { color: var(--green); }
.rank-body .features { font-size: .93rem; margin: 8px 0; }
.drawback { font-size: .88rem; color: #7f1d1d; background: #fef2f2; border-radius: 8px; padding: 8px 12px; margin: 0; }
.rank-side { text-align: center; }
.rank-side .score { font-size: 2.2rem; font-weight: 800; color: var(--green); }
.rank-side .btn { display: block; margin-top: 8px; }
.stars { color: var(--accent); letter-spacing: 2px; }
.rank-side .score-label { margin: 2px 0 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; }
.compare td:first-child { text-align: left; font-weight: 600; }
.compare th { background: #f1f7f5; }
.compare .hl { background: #e8f5f1; color: var(--green-dark); font-weight: 700; }
.compare th.hl { background: var(--green); color: #fff; }

/* Winner deep dive */
.winner-section { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px; }
.winner-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; align-items: start; }
.winner-grid img { border-radius: 12px; }
.winner-grid h3 { color: var(--green-dark); margin-top: 14px; }
.mt { margin-top: 28px; }
.deal { text-align: center; background: #fff8eb; border-radius: 12px; padding: 22px; margin-top: 24px; }
.deal-price { font-size: 2rem; font-weight: 800; color: var(--green-dark); margin: 0; }
.deal-price .old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-weight: 400; margin-right: 8px; }

.why-best { font-size: .9rem; color: #14532d; background: #ecfdf3; border-radius: 8px; padding: 8px 12px; margin: 0; }

/* Popup */
[hidden] { display: none !important; }
.popup-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.6); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .3s ease; }
.popup { background: #fff; border-radius: 18px; max-width: 420px; width: 100%; padding: 28px 24px 20px; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: pop .35s ease; }
.popup img { max-width: 180px; margin: 8px auto 6px; border-radius: 10px; }
.popup h2 { margin: 6px 0 4px; font-size: 1.7rem; }
.popup h2 span { color: #dc2626; }
.popup-price { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); margin: 0 0 6px; }
.popup-price .old { font-size: 1rem; color: var(--muted); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.popup .btn { display: block; margin-top: 12px; }
.popup-tag { display: inline-block; background: #dc2626; color: #fff; font-weight: 700; font-size: .75rem; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.popup-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.popup-skip { border: 0; background: none; color: var(--muted); margin-top: 10px; cursor: pointer; font-size: .85rem; text-decoration: underline; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== Polish ===== */
h1, h2, h3 { letter-spacing: -.02em; }
h2 { font-size: 1.8rem; }
.card, .rank-card, .winner-section, .pkg, .ing, details { box-shadow: 0 2px 10px rgba(16,24,40,.04); }
.rank-card { transition: transform .2s, box-shadow .2s; }
.rank-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,24,40,.09); }
.btn { box-shadow: 0 6px 16px rgba(245,158,11,.3); }
.btn.outline { box-shadow: none; }

/* Hero band */
.hero-band { background: radial-gradient(1200px 400px at 80% -10%, #cfeee4 0%, transparent 60%), linear-gradient(180deg, #eaf6f2 0%, var(--bg) 100%); padding-block: 48px 40px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.hero-band h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 14px 0; }
.pill { display: inline-block; background: #fff; border: 1px solid #bfe3d7; color: var(--green-dark); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin: 0; }
.hero-winner { display: block; background: #fff; border-radius: 20px; padding: 22px; text-align: center; text-decoration: none; color: var(--text); box-shadow: 0 20px 50px rgba(31,90,78,.18); border: 2px solid var(--green); position: relative; transition: transform .2s; }
.hero-winner:hover { transform: translateY(-4px); }
.hero-winner img { max-width: 190px; margin: 6px auto; border-radius: 12px; }
.hw-name { font-weight: 800; margin: 8px 0 0; }
.hw-score { font-size: 1.8rem; font-weight: 800; color: var(--green); margin: 0 0 10px; }
.hw-score span { font-size: .9rem; color: var(--muted); }
.hw-score em { font-style: normal; color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.award { position: absolute; top: -22px; right: -18px; width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 70%); color: #78350f; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(245,158,11,.45); border: 3px solid #fff; transform: rotate(10deg); }
.award-year { font-weight: 800; font-size: 1.15rem; line-height: 1; }
.award-title { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* Study section */
.study { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; margin-top: 40px; box-shadow: 0 10px 30px rgba(16,24,40,.06); border-top: 6px solid var(--green); }
.study-head h2 { margin-top: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.stat { background: var(--bg); border-radius: 14px; padding: 18px 12px; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--green-dark); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.stat.win { background: var(--green); }
.stat.win b, .stat.win span { color: #fff; }
.study-results { display: grid; gap: 10px; margin-bottom: 22px; }
.result { display: grid; grid-template-columns: 150px 1fr 40px; gap: 12px; align-items: center; font-weight: 600; }
.result .bar { height: 14px; }
.result .bar i { background: #9cc9bd; }
.result.top .bar i { background: linear-gradient(90deg, var(--green), #34b39a); }
.result.top span, .result.top b { color: var(--green-dark); font-weight: 800; }
.findings { background: #f1f9f6; border-radius: 14px; padding: 18px 22px; }
.findings ul { margin: 0; padding-left: 20px; }
.findings li { margin-bottom: 8px; }
.small-note { margin: 14px 0 0; font-size: .82rem; }

/* Sticky CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(16,24,40,.08); z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sticky-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; }
.sc-price { color: var(--muted); margin-left: 8px; }
.sc-price s { margin-right: 4px; }
.sticky-cta .btn { padding: 10px 18px; white-space: nowrap; }

/* Legal / contact pages */
.legal-page { padding-bottom: 0; }
.legal { max-width: 760px; padding-block: 40px 20px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.contact-card { margin: 20px 0; }
.contact-card h2 { margin-top: 0; }
.contact-email { font-size: 1.3rem; font-weight: 700; color: var(--green-dark); margin: 0 0 4px; }

/* Mobile */
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-winner { max-width: 340px; margin: 16px auto 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .result { grid-template-columns: 110px 1fr 34px; font-size: .88rem; }
  .study { padding: 22px 18px; }
  .sc-price { display: block; margin: 0; font-size: .85rem; }
  .rank-grid { grid-template-columns: 1fr; }
  .rank-img { max-width: 240px; margin: 0 auto; }
  .winner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .product-grid, .proscons { grid-template-columns: 1fr; }
  .rating { grid-template-columns: 110px 1fr 34px; font-size: .9rem; }
  .nav nav a { margin: 0 14px 0 0; }
  .pkg.popular { transform: none; }
}
