:root {
  --green: #14803c;
  --green-d: #0c5e2b;
  --green-l: #d8f0e1;
  --orange: #ff7a1a;
  --orange-d: #e0660b;
  --ink: #1a2630;
  --muted: #5a6b78;
  --line: #e3e8ec;
  --bg: #fafbfa;
  --card: #ffffff;
  --shadow: 0 1px 3px rgba(20, 30, 40, .06), 0 6px 20px rgba(20, 30, 40, .04);
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.row { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) {
  .row.with-sidebar { grid-template-columns: 1fr 320px; }
}

/* Header */
.topbar { background: var(--green-d); color: #fff; font-size: 13px; padding: 7px 0; }
.topbar a { color: #fff; opacity: .9; }
.topbar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow);
}
.brand-mark::after { content: "%"; color: var(--orange); font-size: 1.1rem; }
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green-d); }
.search-form { display: flex; gap: 6px; }
.search-form input {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: .92rem;
  width: 220px; background: #f7f9f8;
}
.search-form button {
  background: var(--green); color: #fff; border: 0; border-radius: 8px;
  padding: 8px 14px; font-weight: 600; cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(12,94,43,.92) 0%, rgba(20,128,60,.85) 100%),
    url('/assets/hero.png') center/cover no-repeat;
  color: #fff; padding: 56px 0 64px; margin-bottom: 36px;
}
.hero h1 { color: #fff; font-size: 2.6rem; max-width: 720px; }
.hero .lede { font-size: 1.15rem; opacity: .94; max-width: 640px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.4fr 1fr; } }

/* Lead form */
.lead-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.lead-card h3 { color: var(--ink); margin-top: 0; }
.lead-card .pill {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px;
}
.lead-card label { display: block; font-size: .82rem; font-weight: 600; margin: 10px 0 4px; color: var(--muted); }
.lead-card input, .lead-card select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .95rem; background: #f7f9f8;
}
.lead-card button {
  width: 100%; margin-top: 14px; background: var(--orange); color: #fff;
  border: 0; border-radius: 8px; padding: 12px; font-size: 1rem; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 16px rgba(255,122,26,.32);
}
.lead-card button:hover { background: var(--orange-d); }
.trust-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.trust-row span { display: inline-flex; gap: 6px; align-items: center; }
.trust-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Sections */
.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 600; font-size: .92rem; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .meta { font-size: .78rem; color: var(--muted); display: flex; gap: 10px; margin-bottom: 8px; }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card .price-tag {
  display: inline-block; background: var(--green-l); color: var(--green-d);
  padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: .85rem;
}
.card .verified { color: var(--green); font-weight: 600; font-size: .8rem; }
.expired-tag { color: var(--muted); font-weight: 600; font-size: .8rem; }
.expired-date { color: var(--muted); }
.card .footer-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .82rem; color: var(--muted); }

/* Store grid (chips) */
.chip-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.chip:hover { border-color: var(--green); text-decoration: none; }
.chip .name { font-weight: 700; color: var(--ink); }
.chip .count { font-size: .82rem; color: var(--muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.box h4 { margin: 0 0 12px; font-size: 1rem; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box ul li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.box ul li:last-child { border-bottom: 0; }
.cashback-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-d) 100%);
  color: #fff; border: 0;
}
.cashback-cta h4, .cashback-cta p { color: #fff; }
.cashback-cta a.btn {
  display: inline-block; background: #fff; color: var(--orange-d);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; margin-top: 8px;
}
.cc-card {
  background: linear-gradient(135deg, #1a2630 0%, #2c3e50 100%);
  color: #fff;
}
.cc-card h4, .cc-card p { color: #fff; }
.cc-card .badge { background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .78rem; font-weight: 700; }
.cc-card a.btn {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 700; margin-top: 10px;
}

/* Coupon detail */
.coupon-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.coupon-detail .code-box {
  background: #f7f9f8; border: 2px dashed var(--green); border-radius: 10px;
  padding: 22px; text-align: center; margin: 22px 0;
}
.coupon-detail .code-box .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.6rem; font-weight: 800; letter-spacing: .14em; color: var(--green-d);
}
.coupon-detail .copy-btn {
  background: var(--green); color: #fff; border: 0; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; cursor: pointer; margin-top: 10px;
}
.coupon-detail ol { padding-left: 22px; }
.coupon-detail ol li { margin-bottom: 8px; }

/* Press strip */
.press-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 32px 0; }
.press-strip .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.press-strip .label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.press-strip .name { color: var(--muted); font-weight: 700; font-size: 1rem; opacity: .8; }

/* Adsense placeholder */
.ad-slot {
  background: repeating-linear-gradient(45deg, #f4f6f5, #f4f6f5 10px, #ecefee 10px, #ecefee 20px);
  border: 1px dashed #c7d0cd; border-radius: 8px; color: #8a9692; font-size: .78rem;
  padding: 22px; text-align: center; margin: 18px 0; letter-spacing: .04em;
}

/* Footer */
.footer { background: #142028; color: #c8d2d9; padding: 40px 0 20px; margin-top: 40px; }
.footer .grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer h5 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 4px 0; font-size: .9rem; }
.footer a { color: #c8d2d9; }
.footer a:hover { color: #fff; }
.footer .legal { border-top: 1px solid #2a3942; margin-top: 26px; padding-top: 16px; font-size: .8rem; color: #8b9aa3; text-align: center; }

/* Pagination */
.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pager a, .pager span {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font-weight: 600;
}
.pager .current { background: var(--green); color: #fff; border-color: var(--green); }

/* Article */
.article { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.article h2 { margin-top: 1.6em; }
.article p { font-size: 1.03rem; }
.article-img { width: 100%; height: auto; border-radius: 10px; margin: 18px 0 8px; display: block; }
.article-img-cap { font-size: .82rem; color: var(--muted); margin: 0 0 1.4em; }

/* Misc */
.muted { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { background: var(--green-l); color: var(--green-d); font-size: .76rem; padding: 3px 9px; border-radius: 4px; font-weight: 600; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.notice { background: #fff8e6; border-left: 3px solid var(--orange); padding: 12px 14px; border-radius: 4px; font-size: .92rem; margin: 14px 0; }
