/*
 * Rewardwell theme (on top of theme-brand.css), measured from rewardwell.co.uk (:root variables and computed styles):
 *  - Epilogue (bundled, SIL Open Font Licence), semi-bold ink #041011 headings with tight tracking, muted #536462 secondary text
 *  - warm paper #fffaf7 header and page headers with a hairline, as on the site; mint #e7f2f0 sections
 *  - teal #007188 buttons with white text (5.6:1), 5px corners, weight 650; ink #041011 footer and call-to-action band
 * Contrast: ink on paper 18.4:1; muted on paper 6.0:1, on mint 5.5:1; teal text on paper 5.4:1, on mint 4.9:1;
 * light teal #7fd3e0 on ink 11:1; footer links #d1dfdc on ink 14:1.
 */
@font-face {
  font-family: "Epilogue";
  src: url("../fonts/Epilogue-Variable.woff2?v=1") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.wl-theme-rewardwell {
  background: #fffaf7;
  /* Light page headers (light-bands.css): warm paper, ink text, teal highlight, as the site's hero */
  --wl-lb-bg: #fffaf7;
  --wl-lb-ink: #041011; --wl-lb-sub: #536462; --wl-lb-hl: #007188;
  --wl-lb-tile: #fff; --wl-lb-line: #d6e1de;
  --wl-grad-band: #041011;
}

/* Logo (when one is uploaded): the site shows it about 59px tall on desktop, 52px on phones */
.wl-theme-rewardwell .wl-logo { height: 40px; width: auto; }
.wl-theme-rewardwell header .header-logo .wl-logo { height: 52px; max-height: 52px; }
@media (max-width: 767px) { .wl-theme-rewardwell header .header-logo .wl-logo { height: 44px; max-height: 44px; } }

/* Type: semi-bold ink headings with tight tracking (site: h1 64px/650 desktop, 39px phones; h2 34px/600; h3 22px/600) */
.wl-theme-rewardwell :is(h1, h2, h3, .wl-h3, .wl-h4) { font-weight: 600; letter-spacing: -0.02em; }
.wl-theme-rewardwell :is(.hero-content, .hero-section, .wl-welcome, .page-hero, .subpage-brand-banner) h1 { font-size: 36px; line-height: 1.14; font-weight: 650; }
@media (min-width: 992px) { .wl-theme-rewardwell :is(.hero-content, .hero-section, .wl-welcome, .page-hero, .subpage-brand-banner) h1 { font-size: 56px; line-height: 1.12; } }
.wl-theme-rewardwell main :is(h1, h2, h3, .wl-h3):not(.cta-section *):not(.wl-feat-band *):not(.wl-bp-calc-result *):not(.cashback-estimator__summary *) { color: #041011; }
.wl-theme-rewardwell main :is(.wl-sub, .wl-lede, .section-sub) { color: #536462; }

/* Buttons: teal with white text, 5px corners */
.wl-theme-rewardwell :is(.btn, .dark-green-btn, .light-green-btn, .white-btn, .voucher-continue-btn, .wl-buy-bar-btn, .wl-usual-btn, .amount-chip, .wl-spot-btn, .wl-balance-save),
.wl-theme-rewardwell .header-search-form button,
.wl-theme-rewardwell .wl-welcome-search button { border-radius: 5px !important; }
.wl-theme-rewardwell :is(.dark-green-btn, .light-green-btn, .voucher-continue-btn, .wl-buy-bar-btn, .wl-spot-btn) { background: #007188 !important; color: #fff !important; border: 1px solid #007188 !important; font-weight: 650; }
.wl-theme-rewardwell :is(.dark-green-btn, .light-green-btn, .voucher-continue-btn, .wl-buy-bar-btn, .wl-spot-btn):hover { background: #005c6f !important; border-color: #005c6f !important; }
.wl-theme-rewardwell .white-btn { background: #fff !important; color: #041011 !important; border: 1px solid #9eb2ad !important; font-weight: 650; }

/* Header: warm paper bar with a hairline, ink links */
.wl-theme-rewardwell header#header { background: #fffaf7; box-shadow: 0 1px 0 #d6e1de; }
.wl-theme-rewardwell header#header :is(a:not(.menu-btn):not(.wl-account-chip), .menu-toggle) { color: #041011; }
.wl-theme-rewardwell header#header .wl-back-bar a, .wl-theme-rewardwell .wl-back-bar a { color: #041011; }

/* Ink call-to-action band and feature panels, white text; highlights in light teal */
.wl-theme-rewardwell :is(.cta-section, .wl-feat-band, .support-panel) { background: #041011; color: #fff; }
.wl-theme-rewardwell :is(.cta-section, .wl-feat-band, .support-panel) :is(h1, h2, h3, p, li) { color: #fff; }
.wl-theme-rewardwell .wl-feat-band { --color-accent: #7fd3e0; --color-accent-strong: #a6e2eb; --color-on-accent: #041011; }
.wl-theme-rewardwell :is(.cta-section, .wl-feat-band) .white-btn { background: #fff !important; color: #041011 !important; border: 0 !important; }
.wl-theme-rewardwell :is(.wl-spot-kicker, .wl-bp-calc-total, .wl-bp-lead strong) { color: #7fd3e0; }

/* Footer: ink, as on rewardwell.co.uk */
.wl-theme-rewardwell footer#footer { background: #041011; color: #fff; }
.wl-theme-rewardwell footer#footer a { color: #d1dfdc; }
.wl-theme-rewardwell footer#footer a:hover { color: #fff; }
.wl-theme-rewardwell .legal-nav { background: #041011; }

/* Small text kept readable */
.wl-theme-rewardwell .wl-amount-panel .min-max-text, .wl-theme-rewardwell .min-max-text { color: #536462; opacity: 1; }
.wl-theme-rewardwell .slick-slide .link, .wl-theme-rewardwell .wl-first-faq-more a { color: #007188; }
