/* White page background on every page (preview for Mark, 31 Oct 2026).
   Only page/section/header/footer backgrounds change. Cards, buttons, orange search ring and badges are untouched.
   Load this file LAST on each page. */

/* 1. Page + section backgrounds (was Apple grey #F5F5F7) */
html,html body,html body.hhead,html body main,html body main#main,html body main>section,html body main>div,
html body .offers-band,html body .home-final,html body .section,html body .band,html body .wrap,
html body .hoffer,html body #hoffer,html body .of-cards,html body .fc-grid,html body #offers-grid,html body #results,html body .grid,
html body .member-sec,html body.hhead .member-sec,html body .comps-cta,html body.home .how-strip,html body.home .audiences,
html body.hhead .ab .ab-sec.ab-tint,html body .ab .ab-sec,html body .partner-hero,
html body section.gpage,html body section#free-comps,html body section#featured,html body section.pt-sec,
html body section.offer-page,html body section.lopage,html body section#offers{background-color:#FFFFFF!important}
html body .ab .ab-hero,html body .ab .ab-contact,html body .biz-sec{background:#FFFFFF!important}

/* 2. Header: menu bar, logo banner, search area (was #F5F5F7 / cream #FFFDF9, #F7F5F0, #FDFCFA) */
html body header.nav,html body.hhead header.nav{background:#FFFFFF!important}
html body .mark-banner,html body a.mark-banner,html body a.mark-banner.mb-a,html body.hhead a.mark-banner.mb-a{background:#FFFFFF!important}
html body .topsearch,html body .topsearch-in,html body.hhead .topsearch,html body.hhead .topsearch-in,
html body div.topsearch[role=region],html body.hhead div.topsearch[role=region],html body div.topsearch[role=region] .topsearch-in,
html body.hhead div.topsearch div.search-row,html body.hhead div.topsearch div.search-row.search-row,
html body.hhead .topsearch .gbrand,html body.hhead .topsearch .hsearch:not(form){background:#FFFFFF!important}
@media (max-width:600px){
 html body.hhead div.topsearch div.search-row.search-row{background:#FFFFFF!important}
 html body.hhead .topsearch form.hsearch.hsearch{box-shadow:none!important}
}

/* 3. Footer (was light grey #F5F5F7): white with its thin top line */
html body footer{background:#FFFFFF!important;border-top:1px solid #D0D0D5!important}

/* 4. Cards keep their look; light shadow so they stand off the white page */
html body .card,html body .fc-card,html body .fo-card,html body .of-cards>*,html body #offers-grid>*,html body .grid>.card,
html body #results>*,html body article.lv{border:1px solid #E2E2E6;box-shadow:0 2px 10px rgba(26,26,46,.07)!important}

/* green-line 2026-11-01 (Mark 02:09): no coloured bar under section headings anywhere (was styles.css .sec-head h1/h2::after, recoloured green). Keep this at the END of the last-loaded stylesheet. */
html body .sec-head h1::after,html body .sec-head h2::after,html body .sec-head h3::after,html body .center>.wrap>h2::after,html body main h1::after,html body main h2::after,html body main section h1::after,html body main section h2::after{content:none!important;display:none!important;background:none!important;width:0!important;height:0!important}

/* logo-bar 2026-11-01 (Mark 02:05/02:06): one compact logo bar on every page (home is the standard; inner pages now load hero-header.css and use .topsearch.hero).
   Desktop (>=861px): smaller logo at the left, headline + subline beside it in the same row, left-aligned; search centred below.
   Phone (<=600px): no room beside the logo, so logo sits left (after the menu button) and headline + subline are left-aligned directly under it. */
@media (min-width:861px){
html body a.mark-banner.mb-a:not(#q1):not(#q2) .mb-desk{justify-content:flex-start!important;max-width:1400px!important;margin:0 auto!important;padding:24px 24px 0!important;box-sizing:border-box!important;height:auto!important}
html body a.mark-banner.mb-a:not(#q1):not(#q2) .mb-logo{height:56px!important;width:auto!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2){position:relative!important;z-index:2!important;margin-top:-80px!important;padding:0 0 12px!important;background:transparent!important;pointer-events:none}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .topsearch-in{background:transparent!important;padding:0!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .hero-copy{display:block!important;text-align:left!important;max-width:1400px!important;margin:0 auto!important;padding:20px 24px 12px 216px!important;box-sizing:border-box!important;background:transparent!important;pointer-events:none}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .hero-h,html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .hero-sub{text-align:left!important;margin-left:0!important;margin-right:0!important;pointer-events:auto}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .hero-h{margin-top:0!important;margin-bottom:0!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .search-row,html body div.topsearch.hero[role=region]:not(#q1):not(#q2) .hero-links{pointer-events:auto}
}
@media (max-width:600px){
html body a.mark-banner.mb-a:not(#q1):not(#q2) .mb-desk{justify-content:flex-start!important;padding:14px 16px 0 72px!important}
html body a.mark-banner.mb-a:not(#q1):not(#q2) .mb-logo{height:46px!important;width:auto!important}
html body div.topsearch.hero:not(#q1):not(#q2) .hero-copy{text-align:left!important;padding:6px 16px 8px 72px!important}
html body div.topsearch.hero:not(#q1):not(#q2) .hero-h,html body div.topsearch.hero:not(#q1):not(#q2) .hero-sub{text-align:left!important}
html body div.topsearch.hero:not(#q1):not(#q2) .hero-sub{margin-top:2px!important}
}

/* center-subline 2026-11-01 (Mark 02:43): desktop only (>=1024px). Option A (default): "Free offers, savings and discounts." centred on the page; heading stays beside the logo. Option B made default 02:46 (card t1643s5378): heading centred too. Phone unchanged. */
@media (min-width:1024px){
html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3) .hero-copy{padding-right:216px!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3) .hero-sub{text-align:center!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3) .hero-h{text-align:center!important}
}

/* type-scale 2026-11-01 (Mark 02:47). Desktop / mobile (<=767px). H1 36/28 700 1.2; H2 24/20 600 1.3; H3 18/16 600 1.4; body 16/15 400 1.6; small 13/12 400 1.5.
   Offer-card titles, nav, buttons, footer headings, lede/lead/pull-quote keep their own sizes. Header "Search now. Save money." follows H1. */
html body{font-size:16px;line-height:1.6}
html body main h1:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:36px!important;font-weight:700!important;line-height:1.2!important}
html body main h2:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:24px!important;font-weight:600!important;line-height:1.3!important}
html body main h3:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:18px!important;font-weight:600!important;line-height:1.4!important}
html body main p:not(.lead):not(.ab-lede):not(.ab-pull):not(.ab-kicker):not(.small):not(.aff-note):not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *):not(button *):not(a.btn *),
html body main li:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:16px!important;font-weight:400;line-height:1.6!important}
html body small,html body .small,html body figcaption,html body .caption,html body .aff-note,html body .ab-kicker,html body .fsmall,html body .fbrand,html body .u-brand,html body .chk1,html body .fc-close,html body .adl,html body article.card.offer.u-off h3{font-size:13px!important;line-height:1.5!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3) .hero-h{font-size:36px!important;font-weight:700!important;line-height:1.2!important}
@media (max-width:767px){
html body{font-size:15px}
html body main h1:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:28px!important}
html body main h2:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:20px!important}
html body main h3:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:16px!important}
html body main p:not(.lead):not(.ab-lede):not(.ab-pull):not(.ab-kicker):not(.small):not(.aff-note):not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *):not(button *):not(a.btn *),
html body main li:not(.fcard *):not(.card *):not(.fc-card *):not(.op-card *):not(.of-cards *){font-size:15px!important}
html body small,html body .small,html body figcaption,html body .caption,html body .aff-note,html body .ab-kicker,html body .fsmall,html body .fbrand,html body .u-brand,html body .chk1,html body .fc-close,html body .adl,html body article.card.offer.u-off h3{font-size:12px!important}
html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3) .hero-h{font-size:28px!important}
}
/* type-scale (cont.): small text inside unified offer cards (B2 rules use id-chains, so match them) */
html body article.card.offer.u-off:not(#o1):not(#o2):not(#o3):not(#t1)>.body>.chk1,
html body article.fc-card.u-aw:not(#u1):not(#u2):not(#u3):not(#u4):not(#t1)>.fc-close,
html body article.fc-card.u-aw:not(#u1):not(#u2):not(#u3):not(#u4):not(#t1)>p:not(.u-brand):not(.fc-close):not(.fc-cond),
html body .fc-card:nth-child(n):not(#t1) .fc-close,html body .card.offer.slim:not(#t1) .chk1{font-size:13px!important;line-height:1.5!important}
@media (max-width:767px){
html body article.card.offer.u-off:not(#o1):not(#o2):not(#o3):not(#t1)>.body>.chk1,
html body article.fc-card.u-aw:not(#u1):not(#u2):not(#u3):not(#u4):not(#t1)>.fc-close,
html body article.fc-card.u-aw:not(#u1):not(#u2):not(#u3):not(#u4):not(#t1)>p:not(.u-brand):not(.fc-close):not(.fc-cond),
html body .fc-card:nth-child(n):not(#t1) .fc-close,html body .card.offer.slim:not(#t1) .chk1{font-size:12px!important}
}
/* type-scale (cont.) 02:55 Mark card t1645s5389: phone header "Search now. Save money." 24px, one line */
@media (max-width:767px){html body div.topsearch.hero[role=region]:not(#q1):not(#q2):not(#q3):not(#t1) .hero-h{font-size:min(24px,6.16vw)!important}}

/* footer-small 2026-11-01 (Mark t337u: "footer looks too big, make fonts smaller, use the type scale").
   Footer only. Headings 15px desktop / 14px mobile, weight 600. Links + text = 'small' 13px / 12px, line-height 1.5.
   Less vertical padding/gaps. Mobile links keep ~40px tap height via padding (not font size). Colours unchanged. Contact button unchanged. */
/* footer-small font fix: styles.css declares Inter-Bold and Inter-ExtraBold as weight 400, so "400" Inter text renders with ExtraBold glyphs.
   Footer only: real Inter Regular (400) and SemiBold (600) files under a footer-only name, so nothing outside the footer changes. Footer logo and Contact button keep their current look. */
@font-face{font-family:"BWC Footer Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/Inter-Regular.woff2") format("woff2")}
@font-face{font-family:"BWC Footer Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/Inter-SemiBold.woff2") format("woff2")}
html body footer:not(#f1),html body footer:not(#f1) :not(a.logo):not(a.logo *):not(.ce-btn){font-family:"BWC Footer Inter","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
html body footer:not(#f1) a.logo,html body footer:not(#f1) a.logo *,html body footer:not(#f1) a.ce-btn{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
html body footer:not(#f1) :is(p,li,a,span,div,ul):not(h2.fh):not(h3):not(.ce-btn):not(a.logo):not(a.logo *){font-weight:400!important}
html body footer:not(#f1){padding:40px 0 20px!important}
html body footer:not(#f1) .cols{gap:24px!important}
html body footer:not(#f1) h2.fh,html body footer:not(#f1) h3{font-size:15px!important;font-weight:600!important;line-height:1.4!important;margin:0 0 6px!important}
html body footer:not(#f1) ul{margin:0!important;padding:0!important}
html body footer:not(#f1) ul li{font-size:13px!important;line-height:1.5!important;margin:0!important;padding:2px 0!important}
html body footer:not(#f1) ul li a{font-size:13px!important;line-height:1.5!important}
html body footer:not(#f1) .cols p{font-size:13px!important;line-height:1.5!important;margin:8px 0!important}
html body footer:not(#f1) .ce-label,html body footer:not(#f1) .ce-loc{font-size:13px!important;line-height:1.5!important}
html body footer:not(#f1) .contact-email--footer{margin-top:8px!important}
html body footer:not(#f1) p.small{font-size:13px!important;line-height:1.5!important;margin:20px 0 0!important;padding:12px 0 0!important}
@media (max-width:767px){
html body footer:not(#f1){padding:28px 0 16px!important}
html body footer:not(#f1) .cols{gap:16px 20px!important}
html body footer:not(#f1) h2.fh,html body footer:not(#f1) h3{font-size:14px!important;margin:0 0 2px!important}
html body footer:not(#f1) ul li{font-size:12px!important;padding:0!important}
html body footer:not(#f1) ul li a{display:inline-block!important;font-size:12px!important;padding:11px 0!important;min-height:40px;box-sizing:border-box}
html body footer:not(#f1) .cols p,html body footer:not(#f1) .ce-label,html body footer:not(#f1) .ce-loc,html body footer:not(#f1) p.small{font-size:12px!important}
html body footer:not(#f1) p.small{margin:12px 0 0!important}
}

/* buttons-small 2026-11-01 (Mark t341u: "join free green buttons and explore offers too big at bottom of pages on how it works; any buttons like this make them smaller")
   + body-font 2026-11-01 (Mark: body text follows his guide; extra-bold removed from body text).
   Size/spacing CSS only. No HTML/JS change. Not touched: header, .topsearch/search bar, nav, footer, offer cards and their buttons
   ("See offer on ...", "Get deal"), affiliate links, the local-offers search button. Colours unchanged. */

/* 1) Body font: styles.css labels Inter-Bold and Inter-ExtraBold as weight 400, so normal text draws ExtraBold glyphs.
   Global @font-face left alone so the header renders identically. Main body content gets a separate family with the real files. */
@font-face{font-family:"BWC Body Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/Inter-Regular.woff2") format("woff2")}
@font-face{font-family:"BWC Body Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/Inter-SemiBold.woff2") format("woff2")}
@font-face{font-family:"BWC Body Inter";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/Inter-Bold.woff2") format("woff2")}
html body main:not(#b1),
html body main:not(#b1) *:not(.card):not(.card *):not(.fcard):not(.fcard *):not(.fc-card):not(.fc-card *):not(.op-card):not(.op-card *):not(.of-cards):not(.of-cards *):not(article.offer):not(article.offer *):not(.u-row):not(.u-row *):not(.mark-banner):not(.mark-banner *):not(.topsearch):not(.topsearch *):not(header):not(header *):not(nav):not(nav *):not(.btn):not(.btn *):not(button):not(button *):not(input):not(select):not(textarea){font-family:"BWC Body Inter","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
/* excluded roots keep the old stack (their children inherit it, or keep their own) */
html body main:not(#b1) :is(.card,.fcard,.fc-card,.op-card,.of-cards,article.offer,.u-row,.mark-banner,.topsearch,header,nav,.btn,button,input,select,textarea){font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
html body main:not(#b1) .mark-banner .mb-desk{font-family:"BWC Inter","Inter",system-ui,sans-serif!important}
/* no bold in body text: <strong>/<b> stay 400 as before, body p/li 400 */
/* About page kicker follows 'small' (was 12.8px / 1.4) */
html body main.ab:not(#b1) .ab-sec p.ab-kicker,html body main.ab:not(#b1) .ab-hero p.ab-kicker,html body main.ab:not(#b1) p.ab-kicker{font-size:13px!important;line-height:1.5!important}
@media (max-width:767px){html body main.ab:not(#b1) .ab-sec p.ab-kicker,html body main.ab:not(#b1) .ab-hero p.ab-kicker,html body main.ab:not(#b1) p.ab-kicker{font-size:12px!important}}

/* 2) Compact CTA buttons: ~40px tall, 0 18px, 15px, weight 600, auto width, never full width. Real SemiBold via BWC Body Inter. */
html body main:not(#b1) :is(a.btn,button.btn):not(.gobtn):not(.filters-btn):not(.card *):not(.fcard *):not(.fc-card *):not(.op-card *):not(.of-cards *):not(article.offer *):not(.u-row *):not(.topsearch *):not(.losearch *):not(header *):not(nav *){
 font-family:"BWC Body Inter","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
 min-height:40px!important;height:auto!important;padding:0 18px!important;font-size:15px!important;font-weight:600!important;line-height:1.2!important;
 width:auto!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:normal!important;text-align:center!important}
/* How it works level cards: keep Mark's 02:10 equal-size, centred, bottom-aligned buttons, just smaller (was 220x46) */
html body main:not(#b1) article.lv:not(#l1):not(#l2)>a.btn{width:200px!important;height:40px!important;min-height:40px!important;padding:0 18px!important}
html body main:not(#b1) :is(.cta-row,.home-cta,.of-actions){gap:10px!important;flex-wrap:wrap!important}
html body main:not(#b1) .biz-brands .btn.biz-contact{min-height:40px!important;padding:0 18px!important}
/* logo-up 2026-11-01 (Mark-approved header exception): move the header logo up. Asked for 1cm (~38px), but only 24px (desktop) / 15px (phone)
   of clear space exists above it, so it moves as far as it safely goes with a 3px gap: 22px desktop (861px+), 17px tablet (601-860px), 12px phone. Transform on the logo image only,
   so nothing else in the header moves. */
html body a.mark-banner:not(#b1) .mb-desk img.mb-logo{transform:translateY(-22px)}
@media (min-width:601px) and (max-width:860px){html body a.mark-banner:not(#b1) .mb-desk img.mb-logo{transform:translateY(-17px)}}
@media (max-width:600px){html body a.mark-banner:not(#b1) .mb-desk img.mb-logo{transform:translateY(-12px)}}
/* hiw-photo 2026-11-01 (Mark picked option 2, Pexels licence, no credit needed): photo beside the How it works intro (first section under the header).
   Desktop/tablet: intro text left, photo top right. Phone: photo stacks under the intro and buttons. Header untouched. */
html body main:not(#b1) #how .sec-head img.hiw-photo{display:block;width:90%;max-width:100%;height:auto;max-height:220px;object-fit:cover;object-position:50% 30%;border-radius:12px;box-shadow:none;margin:16px auto 0}
@media (min-width:768px){
html body main:not(#b1) #how .sec-head{display:grid;grid-template-columns:minmax(0,1fr) 290px;column-gap:32px;align-items:start;max-width:1100px;text-align:left}
html body main:not(#b1) #how .sec-head > :not(img){grid-column:1}
html body main:not(#b1) #how .sec-head .lead{max-width:none;margin-left:0;margin-right:0}
html body main:not(#b1) #how .sec-head .cta-row{justify-content:flex-start}
html body main:not(#b1) #how .sec-head img.hiw-photo{grid-column:2;grid-row:1 / span 3;width:100%;max-height:none;aspect-ratio:3/2;margin:18px 0 0}
}
@media (min-width:1024px){html body main:not(#b1) #how .sec-head{grid-template-columns:minmax(0,1fr) 320px}}
/* v296 smaller footer Contact form button */
html body footer .contact-email a.ce-btn:not(#z1):not(#z2):not(#z3){height:30px;min-height:30px;min-width:0;padding:0 14px;font-size:13px;line-height:1;margin:4px 0}
@media (max-width:760px){html body footer .contact-email a.ce-btn:not(#z1):not(#z2):not(#z3){height:40px;min-height:40px;padding:0 16px;font-size:14px}}

/* givingback-1112 (Mark direct yes 12 Nov 2026 13:56; desktop clarified on call 15:11): move the "Giving Back" tagline (.bwc-cp) down so it clears the logo.
   Vertical "top" only; left, size, font, colour and everything else in the header unchanged. Phone (600px and below) unchanged. */
@media (min-width:601px) and (max-width:860px){html body a.mark-banner:not(#b1) .bwc-cp{top:70px}}
@media (min-width:861px){html body a.mark-banner:not(#b1) .bwc-cp{top:67px}}
