:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18252b;
  background: #f7f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #18252b;
  --muted: #65747c;
  --accent: #d9f56f;
  --line: #e2e7ec;
  --surface: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { max-width: 1200px; margin: auto; padding: 24px 32px; }
.brand { font-size: 1.35rem; font-weight: 850; letter-spacing: -0.08em; text-decoration: none; }
.brand span { color: #6d8b13; }
.site-header nav, .footer-links { display: flex; gap: 24px; }
.site-header nav a, .footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover { color: var(--ink); }
.hero { padding: 94px max(32px, calc((100vw - 1136px) / 2)) 100px; background: #17333a; color: white; }
.eyebrow { margin: 0 0 16px; color: #789020; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .99; letter-spacing: -.07em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 570px; margin: 24px 0 30px; color: #d3dee0; font-size: 1.08rem; line-height: 1.7; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 0 21px; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { background: var(--accent); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-outline { border-color: #cfd7d9; background: white; color: var(--ink); }
.offers-section { max-width: 1200px; margin: auto; padding: 82px 32px 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.45rem); letter-spacing: -.05em; }
.search { display: flex; width: min(100%, 330px); min-height: 48px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: white; }
.search-icon { color: var(--muted); font-size: 1.5rem; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 32px 0 20px; }
.filter-button { min-height: 39px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: white; color: #4d5a60; font-size: .88rem; }
.filter-button.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.results-count { min-height: 20px; color: var(--muted); font-size: .86rem; }
.merchant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.merchant-card { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--surface); }
.merchant-card[hidden] { display: none; }
.merchant-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #eff5d8; color: #425b0b; font-size: .88rem; font-weight: 850; }
.merchant-card .eyebrow { margin: 22px 0 7px; font-size: .68rem; }
.merchant-card h3 { margin: 0 0 9px; font-size: 1.3rem; letter-spacing: -.04em; }
.merchant-card > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card-bottom { width: 100%; margin-top: auto; }
.card-cta { width: 100%; }
.affiliate-disclosure { margin: 10px 0 0 !important; color: #59666b !important; font-size: .75rem !important; line-height: 1.45 !important; }
.card-title-link { text-decoration: none; }
.card-title-link:hover { text-decoration: underline; }
.empty-state { margin: 30px 0; color: var(--muted); }
.load-more { display: flex; margin: 32px auto 0; }
.load-more[hidden] { display: none; }
.submit-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 72px max(32px, calc((100vw - 1136px) / 2)); background: #eaf0e4; }
.submit-section > div > p:not(.eyebrow) { max-width: 450px; color: var(--muted); line-height: 1.7; }
.submit-form { display: grid; gap: 16px; }
.submit-form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 700; }
.submit-form input, .submit-form textarea { width: 100%; border: 1px solid #d6ded2; border-radius: 12px; padding: 13px; background: white; }
.submit-form textarea { resize: vertical; }
.submit-form .button { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .78rem; }
.form-status { margin: 0; color: #294b12; font-weight: 700; }
.form-status[hidden] { display: none; }
.site-footer { flex-wrap: wrap; max-width: 1200px; margin: auto; padding: 40px 32px; }
.site-footer > p { max-width: 440px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.site-footer small { width: 100%; color: var(--muted); }
.brand-footer { font-size: 1.15rem; }
.cookie-banner { position: fixed; z-index: 5; right: 20px; bottom: 20px; left: 20px; display: flex; max-width: 940px; align-items: center; justify-content: space-between; gap: 24px; margin: auto; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: white; box-shadow: 0 12px 50px #142b2b26; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.cookie-banner p { max-width: 520px; margin: 7px 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.cookie-banner a { color: #49670b; font-size: .82rem; }
.cookie-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 9px; }
.cookie-actions .button { min-height: 42px; padding: 0 15px; font-size: .82rem; }
.merchant-detail { max-width: 760px; min-height: 65vh; margin: auto; padding: 48px 24px 80px; }
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; }
.detail-card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); background: white; }
.detail-card h1 { margin: 8px 0 16px; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.06em; }
.detail-benefit { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.offer-code { margin: 25px 0 18px; }
.merchant-terms, .updated-date { color: var(--muted); font-size: .86rem; line-height: 1.6; }
.detail-card .affiliate-disclosure { margin: 16px 0 !important; }
.legal-page { max-width: 820px; margin: auto; padding: 60px 28px 100px; }
.legal-page h1 { margin: 0 0 28px; font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -.07em; }
.legal-page h2 { margin: 34px 0 12px; font-size: 1.35rem; }
.legal-page p { color: #4c5b61; line-height: 1.8; }
.legal-page a { color: #49670b; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 800px) {
  .merchant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-section { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .site-header { padding: 20px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: .82rem; }
  .hero { padding: 72px 24px; }
  .offers-section { padding: 60px 20px 72px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .merchant-grid { grid-template-columns: 1fr; }
  .submit-section { padding: 56px 24px; }
  .site-footer { padding: 32px 24px; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .button { padding: 0 9px; }
}
