*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #102a3a;
  --ink-soft: #3d5567;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --brand: #0b6e99;
  --brand-dark: #084c6b;
  --accent: #f4a261;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; padding-bottom: 1rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { color: var(--brand); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-dropdown { position: relative; }

.nav-trigger {
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}
.nav-trigger:hover { background: #f1f5f9; color: var(--ink); }

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel { display: flex; }

.nav-panel a {
  font-size: 0.85rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  color: var(--ink-soft);
}
.nav-panel a:hover { background: #f1f5f9; color: var(--ink); }

.main-nav > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.main-nav > a:hover { background: #f1f5f9; color: var(--ink); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  max-width: 1200px;
  margin-inline: auto;
  padding: 4.5rem 1.5rem 3rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.hero-stats span { font-size: 0.8rem; color: var(--muted); }

.product-section {
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem 1.5rem 4rem;
}

.section-header { margin-bottom: 2rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.section-header p { color: var(--muted); max-width: 65ch; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

.card-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  z-index: 1;
}

.card-image {
  background: #f1f5f9;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.card-image img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-dark);
  background: #dff1f8;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  flex: 1;
}

.pros h4, .cons h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.pros h4 { color: #1b7a3d; }
.cons h4 { color: #a13d3d; }

.pros ul, .cons ul { list-style: none; }
.pros li, .cons li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
  line-height: 1.4;
}
.pros li::before { content: "✓"; position: absolute; left: 0; color: #1b7a3d; font-weight: 700; }
.cons li::before { content: "✕"; position: absolute; left: 0; color: #a13d3d; font-weight: 700; }

.amazon-btn {
  display: block;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  margin-top: auto;
  transition: background 0.2s ease;
}
.amazon-btn:hover { background: var(--brand-dark); color: #fff; }

.review-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.6rem;
}
.review-link:hover { color: var(--brand); }

.methodology {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.methodology h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.methodology p { color: var(--muted); max-width: 75ch; margin-bottom: 0.75rem; }
.methodology p:last-child { margin-bottom: 0; }

.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 1.5rem 1.5rem;
  flex-shrink: 0;
}

.footer-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.85rem; color: #94a3b8; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 94%);
  background: var(--ink);
  color: #e2e8f0;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  font-size: 0.9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie-inner p { flex: 1 1 320px; }
.cookie-inner a { color: #7dd3fc; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-secondary { background: #e2e8f0; color: var(--ink); }
.btn-link { background: transparent; color: #7dd3fc; text-decoration: underline; padding-inline: 0; }

.cookie-preferences {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  gap: 0.5rem;
}
.cookie-preferences[hidden] { display: none; }
.cookie-preferences label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding-top: 3rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .product-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}