:root {
  --bg: #f6f0e6;
  --paper: #fffdf8;
  --ink: #1c241f;
  --muted: #5c675f;
  --line: #d9d0c3;
  --green: #145c4b;
  --green-deep: #0d3f34;
  --sand: #c9a779;
  --cta: #e24a2f;
  --cta-hover: #c53d25;
  --cream: #efe6d4;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(28, 36, 31, 0.08);
  --font: "Figtree", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cta); }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Header */
.topbar {
  background: var(--green-deep);
  color: #f6f0e6;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #f6f0e6; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 20px; padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: 0 0 auto;
}
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; color: var(--ink); }
.brand-name span { display: block; font-family: var(--font); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-toggle {
  margin-left: auto; border: 1px solid var(--line); background: var(--paper);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; display: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav > a, .drop > button {
  font: 650 13px/1 var(--font);
  color: var(--ink);
  background: none; border: 0;
  padding: 10px 12px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
}
.nav > a:hover, .drop > button:hover, .nav > a.is-active { background: var(--cream); color: var(--green); }
.drop { position: relative; }
.drop-menu {
  display: none; position: absolute; top: calc(100% - 4px); left: 0;
  min-width: 230px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 30;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 13px;
}
.drop-menu a:hover { background: var(--cream); }

/* Hero */
.hero { padding: 42px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--cream); color: var(--green-deep); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08;
  margin: 14px 0 12px; font-weight: 600;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 52ch; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-size: 13px; font-weight: 650;
}
.hero-art {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/2;
  border: 1px solid var(--line);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* Offers */
.section { padding: 18px 0 40px; }
.offer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 16px;
  overflow: hidden;
}
.offer-grid {
  display: grid;
  grid-template-columns: 64px 160px 1fr 120px 160px;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 8px;
}
.offer-rank {
  font-family: var(--display); font-size: 1.6rem; color: var(--sand); text-align: center;
}
.offer-brand { display: grid; justify-items: center; gap: 8px; }
.offer-logo {
  width: 140px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); padding: 8px;
}
.offer-logo.plate-dark { background: #0d3f34; border-color: #0d3f34; }
.badge {
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green); color: #fff; padding: 4px 8px; border-radius: 999px;
}
.badge.gold { background: #b45309; }
.badge.rise { background: #0f766e; }
.badge.fast { background: #1d4ed8; }
.offer-deal h3 { margin: 0 0 6px; font-size: 1.15rem; font-family: var(--display); font-weight: 600; }
.kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.min { margin: 0; color: var(--muted); font-size: 13px; }
.score { text-align: center; }
.ring {
  width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--cream) 0);
  font-family: var(--display); font-size: 1.25rem; font-weight: 700;
}
.ring span {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); display: grid; place-items: center;
}
.votes { margin: 0; font-size: 12px; color: var(--muted); }
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  background: var(--cta); color: #fff !important; text-decoration: none !important;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px;
  padding: 14px 16px; border-radius: 12px; border: 0; width: 100%; cursor: pointer;
  box-shadow: 0 8px 18px rgba(226, 74, 47, .25);
}
.btn:hover { background: var(--cta-hover); }
.offer-cta small { display: block; text-align: center; margin-top: 6px; color: var(--muted); font-size: 11px; }
.offer-terms { border-top: 1px dashed var(--line); padding: 8px 18px 14px; }
.terms-toggle {
  background: none; border: 0; color: var(--green); font-weight: 700; cursor: pointer; padding: 0;
  font-family: inherit;
}
.terms-body { display: none; margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.offer.open .terms-body { display: block; }

/* Cards / editorial */
.grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); color: inherit; text-decoration: none; display: block;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-3px); color: inherit; }
.card img { width: 100%; height: 160px; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.15rem; }
.prose { max-width: 74ch; }
.prose h2 { font-family: var(--display); font-size: 1.8rem; margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--display); margin: 1.3em 0 .4em; }
.prose p, .prose li { color: #334039; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }

/* Footer */
.site-footer { background: var(--green-deep); color: #efe6d4; margin-top: 40px; padding: 36px 0 18px; }
.site-footer a { color: #efe6d4; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.foot-brand img { width: 36px; height: 36px; }
.rg-strip {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  background: #fffdf8; border-radius: 16px; padding: 16px; margin-top: 28px;
}
.rg-strip a { display: grid; place-items: center; min-height: 42px; padding: 4px 10px; }
.rg-strip img { height: 34px; width: auto; max-width: 150px; }
.legal-line { text-align: center; font-size: 12px; color: #c9a779; margin-top: 18px; }
.foot-nav { display: grid; gap: 6px; }
.foot-nav a { text-decoration: none; font-size: 14px; }

/* Age + cookies */
.age-gate, .cookie-banner { position: fixed; z-index: 80; }
.age-gate {
  inset: 0; background: rgba(13, 63, 52, .88); display: grid; place-items: center; padding: 20px;
}
.age-box, .cookie-banner {
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 24px; max-width: 480px;
  box-shadow: var(--shadow);
}
.age-box h2 { font-family: var(--display); margin-top: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  font-weight: 700; cursor: pointer; font-family: inherit;
}
.cookie-banner {
  left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
  display: none; z-index: 70;
}
.cookie-banner.is-on { display: block; }
.hidden { display: none !important; }

.page-hero { padding: 28px 0 8px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 10px 0; }
.crumbs { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 16px 20px;
  }
  .nav.is-open { display: flex; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .drop.open .drop-menu { display: block; }
  .nav.is-open .drop-menu { display: block; }
  .offer-grid { grid-template-columns: 48px 1fr; }
  .offer-deal, .score, .offer-cta { grid-column: 1 / -1; }
  .offer-cta { max-width: 280px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-row { padding: 8px 0; }
}
