/* 1000 Savings — global stylesheet
   Brand: white background, blue #1623d3, green #69fd29
   Font: Proxima Nova with safe fallbacks
*/

:root {
  --blue: #1623d3;
  --blue-dark: #0e1aa3;
  --green: #69fd29;
  --green-dark: #4fd116;
  --ink: #14171f;
  --ink-soft: #4a5160;
  --hairline: #e8eaf2;
  --tile: #f5f7ff;
  --white: #ffffff;
}

/* Proxima Nova kit fallback chain. Adobe Typekit users can replace
   this with their kit's <link>; system stack stays similar in feel. */
@font-face {
  font-family: "Proxima Nova";
  src: local("Proxima Nova"), local("ProximaNova-Regular"),
       local("Montserrat"), local("Helvetica Neue");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: local("Proxima Nova Bold"), local("ProximaNova-Bold"),
       local("Montserrat Bold"), local("Helvetica Neue Bold");
  font-weight: 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Proxima Nova", "proxima-nova", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }

/* CC HUB placeholder hint — pointer cursor only, no visual overlay so the
   placeholder PNG itself (which has "Click to replace in CC HUB" baked in)
   stays clean. The single-click upload logic lives in the LP editor. */
img.cc-placeholder, img[data-cc-placeholder] { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------------
   Header
---------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo-link { display: inline-flex; align-items: center; gap: 10px; }
.logo-link img { width: 56px; height: 56px; }
.logo-wordmark { font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: .2px; }
.logo-wordmark .em { color: var(--blue); }

.primary-nav { display: flex; gap: 12px; align-items: stretch; }
.primary-nav a {
  color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 4px;
  text-align: center; line-height: 1.25;
  display: flex; align-items: center; justify-content: center;
}
.primary-nav a:hover { color: var(--blue); text-decoration: none; }
.nav-toggle {
  display: none; background: var(--blue); color: var(--green); border: 0;
  font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 8px;
  cursor: pointer;
}

/* ----------------------------------------------------------------------
   Breadcrumbs
---------------------------------------------------------------------- */
.breadcrumbs {
  max-width: 1180px; margin: 0 auto; padding: 14px 20px 0;
  font-size: 13px; color: var(--ink-soft);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { margin: 0 8px; color: #b9bccb; }
.breadcrumbs .here { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------
   Hero
---------------------------------------------------------------------- */
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 36px 20px 18px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center;
}
.hero h1 {
  font-size: 44px; line-height: 1.1; font-weight: 700;
  margin: 0 0 14px; color: var(--ink); letter-spacing: -0.3px;
}
.hero h1 .em { color: var(--blue); }
.hero p.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 22px; }
.hero .hero-img-wrap {
  border-radius: 14px; overflow: hidden; background: var(--tile);
  box-shadow: 0 10px 30px rgba(22,35,211,.08);
}
.hero .hero-img-wrap img { width: 100%; }

.eyebrow {
  display: inline-block; background: rgba(22,35,211,.08); color: var(--blue);
  font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ----------------------------------------------------------------------
   CTA buttons — blue with green bold text (per spec)
---------------------------------------------------------------------- */
.cta {
  display: inline-block; background: var(--blue); color: var(--green);
  font-weight: 700; font-size: 17px; letter-spacing: .3px;
  padding: 16px 28px; border-radius: 10px;
  border: 2px solid var(--blue);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 6px 18px rgba(22,35,211,.25);
  text-decoration: none;
}
.cta:hover { background: var(--blue-dark); color: var(--green); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22,35,211,.32); }
.cta.cta-block { display: block; text-align: center; width: 100%; }
.cta.cta-lg { font-size: 19px; padding: 18px 32px; }

/* ----------------------------------------------------------------------
   Category cards (homepage grid)
---------------------------------------------------------------------- */
.section-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 20px; }
.section-title {
  font-size: 30px; font-weight: 700; margin: 0 0 6px; color: var(--ink);
}
.section-sub { color: var(--ink-soft); margin: 0 0 26px; font-size: 17px; }

.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cat-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  color: var(--ink);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22,35,211,.10); border-color: var(--blue); text-decoration: none; }
.cat-card .img-wrap { background: var(--tile); aspect-ratio: 4 / 3; }
.cat-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.cat-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.cat-card .pill {
  display: inline-block; background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px;
}
/* Category-card CTA: centered green button below the card text */
.cat-card .cat-cta {
  align-self: center; margin-top: auto;
  background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 14px; letter-spacing: .2px;
  padding: 11px 24px; border-radius: 10px; border: 2px solid var(--green);
  text-align: center;
}
.cat-card:hover .cat-cta { background: #4fd116; border-color: #4fd116; }

/* ----------------------------------------------------------------------
   Article / discount list layouts
---------------------------------------------------------------------- */
.article {
  max-width: 880px; margin: 0 auto; padding: 8px 20px 40px;
}
.article h2 {
  font-size: 28px; margin: 36px 0 10px; color: var(--ink);
  border-left: 4px solid var(--blue); padding-left: 12px;
}
.article h3 { font-size: 21px; margin: 22px 0 8px; color: var(--ink); }
.article p { margin: 10px 0; color: var(--ink); }
.article ul { padding-left: 22px; }
.article li { margin: 6px 0; }
.article hr { border: 0; border-top: 1px solid var(--hairline); margin: 26px 0; }

.deal-card {
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--white); padding: 22px 22px 22px;
  margin: 18px 0; position: relative;
}
.deal-card.featured { border-color: var(--blue); box-shadow: 0 10px 28px rgba(22,35,211,.08); }
.deal-card .deal-tag {
  display: inline-block; background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.deal-card .deal-tag.blue { background: var(--blue); color: var(--green); }
.deal-card h3 { margin: 4px 0 4px; font-size: 21px; }
.deal-card .deal-amount {
  display: inline-block; font-weight: 700; color: var(--blue);
  font-size: 20px; margin: 6px 0 8px;
}
.deal-card p { margin: 8px 0; color: var(--ink-soft); font-size: 15.5px; }
.deal-card .deal-meta { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.deal-card .deal-meta strong { color: var(--ink); }
.deal-card .deal-cta-row { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

.inline-img-wrap {
  margin: 22px 0; border-radius: 14px; overflow: hidden; background: var(--tile);
}
.inline-img-wrap img { width: 100%; }
.inline-img-wrap figcaption {
  font-size: 13px; color: var(--ink-soft); text-align: center; padding: 8px 12px;
}

.callout {
  background: rgba(105,253,41,.16); border-left: 4px solid var(--green);
  padding: 16px 18px; border-radius: 10px; margin: 22px 0; color: var(--ink);
}
.callout strong { color: var(--ink); }

.toc {
  background: var(--tile); border-radius: 12px; padding: 16px 20px;
  margin: 6px 0 18px;
}
.toc h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); letter-spacing: 1.4px; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin: 4px 0; }

/* ----------------------------------------------------------------------
   Trust strip
---------------------------------------------------------------------- */
.trust-strip {
  background: var(--blue); color: var(--white);
  padding: 30px 20px; margin: 32px 0 0;
}
.trust-strip .inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.trust-strip .stat-num {
  font-size: 32px; font-weight: 700; color: var(--green); display: block; line-height: 1;
}
.trust-strip .stat-label { font-size: 13.5px; color: rgba(255,255,255,.9); letter-spacing: .3px; }

/* ----------------------------------------------------------------------
   Page footer (above legal footer) — bottom logo per brand spec
---------------------------------------------------------------------- */
.bottom-logo {
  text-align: center; padding: 28px 20px 0;
}
.bottom-logo img {
  width: 100px; height: 100px; margin: 5px auto; padding: 0; display: block;
}

/* ----------------------------------------------------------------------
   Mobile (≤860px)
---------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 22px; }
  .hero h1 { font-size: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white); padding: 14px 20px;
    border-bottom: 1px solid var(--hairline); gap: 4px;
  }
  .primary-nav.open a {
    padding: 12px 4px; border-bottom: 1px solid var(--hairline);
    width: 100%; text-align: left; display: block; line-height: 1.4;
  }
  .primary-nav.open a br { display: none; }
  .nav-toggle { display: inline-block; }
  .header-inner { position: relative; }
  .logo-wordmark { font-size: 18px; }
  body { font-size: 16px; }
  .section-title { font-size: 24px; }
  .article h2 { font-size: 23px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero { padding: 18px 18px 8px; }
  .hero h1 { font-size: 28px; }
  .cta { padding: 14px 22px; }
}
