:root {
  --leaf: #1f5a43;
  --leaf-2: #2f7a59;
  --mint: #dcebd6;
  --soil: #34291f;
  --clay: #8f5d3e;
  --tomato: #c94f32;
  --sun: #f2c14e;
  --sky: #d9edf2;
  --paper: #fffdf6;
  --panel: #ffffff;
  --line: #d7dfd0;
  --ink: #17241d;
  --muted: #5d6b60;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, .button { min-height: 44px; border: 1px solid var(--leaf); border-radius: 6px; padding: 0 16px; background: var(--leaf); color: white; font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
button.ghost, .button.secondary { background: transparent; color: var(--leaf); border-color: var(--line); }
input, select { min-height: 44px; border: 1px solid #b7c9b4; border-radius: 6px; padding: 0 12px; background: white; color: var(--ink); font: inherit; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(242, 193, 78, 0.7); outline-offset: 2px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { color: var(--soil); font-size: 23px; font-weight: 950; text-decoration: none; letter-spacing: 0; }
.brand span { color: var(--leaf); }
nav { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 750; }
nav a { text-decoration: none; }
.quick-lookup, .hero-lookup { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quick-lookup input { width: 94px; }

main { min-height: 72vh; }
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 6vw, 84px) 32px;
  background:
    linear-gradient(90deg, rgba(255,253,246,0.98), rgba(255,253,246,0.72) 48%, rgba(255,253,246,0.12)),
    radial-gradient(circle at 20% 20%, rgba(242,193,78,0.18), transparent 34%),
    var(--paper);
}
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid rgba(52,41,31,0.12); box-shadow: 0 24px 80px rgba(31,90,67,0.18); }
.hero h1, .answer-card h1, .section h1, .article h1 { margin: 0 0 16px; color: var(--soil); font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: 0; max-width: 950px; }
.hero p, .lead { max-width: 760px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #35463a; }
.eyebrow { margin: 0 0 12px; color: var(--leaf); font-size: 12px; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-lookup { margin-top: 28px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 50px rgba(31,90,67,0.14); width: min(100%, 720px); }
.hero-lookup input { width: 140px; font-size: 20px; font-weight: 800; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust-strip span { padding: 14px 16px; background: #f7fbf4; color: var(--leaf); font-size: 13px; font-weight: 900; text-align: center; }

.section, .answer-card, .cards { padding: 42px clamp(20px, 6vw, 84px); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; }
.cards.compact { padding: 0; margin-top: 22px; }
.card, article, .quote-card, .data-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 34px rgba(38, 68, 48, 0.08);
}
.card { min-height: 172px; padding: 22px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: transform 160ms ease, box-shadow 160ms ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(38,68,48,0.13); }
.card strong { color: var(--soil); font-size: 22px; line-height: 1.15; }
.card span, .card small { color: var(--muted); line-height: 1.4; }
article, .quote-card { padding: 26px; }
article h2, .section h2, .signup h2 { margin: 0 0 12px; color: var(--soil); font-size: clamp(25px, 3vw, 40px); line-height: 1.08; letter-spacing: 0; }
article p, .section p { line-height: 1.65; color: #394a3f; }

.answer-card { display: grid; grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr); gap: 26px; align-items: start; background: linear-gradient(180deg, #fbfff8, var(--paper)); }
.answer-copy { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 12px; }
.timeline div { min-height: 116px; padding: 18px; border-radius: 8px; border: 1px solid #cbdcc8; background: linear-gradient(180deg, #ffffff, #eef7ec); border-left: 7px solid var(--leaf-2); }
.timeline span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.timeline strong { display: block; margin-top: 8px; color: var(--soil); font-size: 26px; line-height: 1.05; }
.data-panel { overflow: auto; }
table { width: 100%; min-width: 600px; border-collapse: collapse; background: white; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--soil); background: #f4f8f1; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

.signup { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto; gap: 14px; align-items: end; margin-top: 4px; padding: 24px; border: 1px solid #c4d8bd; border-radius: 8px; background: #f7fff3; }
.signup p { margin: 0; }
.form-status { grid-column: 1 / -1; min-height: 22px; color: var(--leaf); font-weight: 850; }
.disclosure, .source-note { grid-column: 1 / -1; padding: 16px; border: 1px solid #eadcc8; border-radius: 8px; background: #fff8ea; color: #5c4c34; }
.ad-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.ad-slot { min-height: 150px; padding: 20px; border: 1px dashed #a9b9a4; border-radius: 8px; background: repeating-linear-gradient(135deg, #fbfdf8, #fbfdf8 12px, #f0f6ed 12px, #f0f6ed 24px); color: var(--muted); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.ad-slot span { color: var(--soil); font-weight: 900; }

.article { max-width: 900px; margin: 0 auto; padding: 54px clamp(20px, 6vw, 84px); border: 0; box-shadow: none; background: transparent; }
.article h1 { font-size: clamp(38px, 6vw, 72px); }
.article h2 { margin-top: 34px; }
.byline { color: var(--muted); font-weight: 800; }
.guide-list { background: #f5f9f1; border-block: 1px solid var(--line); }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 16px 60px rgba(0,0,0,0.16);
}
.cookie-banner p { margin: 0; line-height: 1.45; }
.cookie-banner button { min-height: 38px; }
.cookie-banner[hidden] { display: none; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: #17241d;
  color: #f2f6ed;
}
.site-footer p { max-width: 680px; color: #cbd9cd; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; justify-content: end; }
.footer-links a { color: #e6f2df; }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr; align-items: stretch; }
  nav { order: 3; }
  .hero, .answer-card, .two-col, .signup, .site-footer { grid-template-columns: 1fr; }
  .hero img { order: -1; }
  .ad-grid, .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .hero h1, .answer-card h1, .section h1, .article h1 { font-size: 38px; }
  .quick-lookup input, .quick-lookup select, .quick-lookup button, .hero-lookup input, .hero-lookup select, .hero-lookup button { width: 100%; }
  .timeline, .ad-grid, .trust-strip { grid-template-columns: 1fr; }
  .section, .answer-card, .cards { padding-inline: 16px; }
  .cookie-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 8px; font-size: 13px; }
  .cookie-banner p { grid-column: 1 / -1; }
}
