/* ══════════════════════════════════════════════════════════════════════════════════════════════
   THE REWARDS CLUB PAGE (0165)

   A bespoke marketing landing page, and the only storefront page with a type system of its own.
   Every value below was measured off vapeandgo.co.uk's computed styles at a 1440px viewport rather
   than chosen — the reference is `docs/design/2026-09-11-vapeandgo-measured-design.md`, and a
   disagreement about any number here is settled by re-measuring.

   ⚠️ LOADED ONLY BY `rewards.html.twig`, never from the layout. It carries two whole typefaces and
   ~250 rules for one page; putting it in `store.css` would make every shopper on every shop
   download it to look at a product.

   ⚠️ THE FONTS ARE SELF-HOSTED, for the same reason Inclusive Sans is: the storefront's CSP is
   `default-src 'self'`, so a `fonts.googleapis.com` stylesheet and the `fonts.gstatic.com` woff2 it
   points at are both blocked outright and the page would silently fall back to whatever the device
   happened to have. Both are SIL Open Font License 1.1; the licences sit beside the faces.
   ══════════════════════════════════════════════════════════════════════════════════════════════ */

/* Outfit — display: the eyebrow, headings and buttons. Variable 300-800, one file per subset. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/outfit/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/outfit/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — the running text on this page only. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/dm-sans/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/dm-sans/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The page's own palette, scoped to it so nothing here can reach the rest of the shop. */
.vg-rw {
  --rw-ink: #0e241a;
  --rw-soft: #5c6b62;
  --rw-mint: #6fee8c;
  --rw-green: #2fc862;
  --rw-band: #f4f8f4;
  --rw-line: #e2e9e1;
  --rw-ghost: #d3dcd2;
  --rw-tint: #eafbef;
  --rw-oncta: #eafff1;
  --rw-card: #fff;

  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--rw-ink);
  /* ⚠️ FULL BLEED out of the CMS measure. The bands paint edge to edge, and this page is rendered
     inside `main.sf-wrap`, which is 1400px and padded. Without this the tinted band would stop
     short of the viewport and read as a stray grey box. */
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.vg-rw .wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ── Shared furniture ─────────────────────────────────────────────────────────────────────────── */
.vg-rw .eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700; line-height: 1.55;
  letter-spacing: 2.08px; text-transform: uppercase;
  color: var(--rw-green); margin: 0 0 14px;
}
.vg-rw h1, .vg-rw h2 { font-family: 'Outfit', sans-serif; margin: 0; text-wrap: balance; }
.vg-rw h1 { font-size: 62px; line-height: 65.1px; font-weight: 800; letter-spacing: -1.24px; }
.vg-rw h2 { font-size: 46px; line-height: 48.3px; font-weight: 700; letter-spacing: -0.5px; }
.vg-rw .sec-head { max-width: 660px; margin: 0 0 42px; }
.vg-rw .sec-head p { font-size: 17px; line-height: 1.6; color: var(--rw-soft); margin: 14px 0 0; }

.vg-rw .btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: .5px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
}
.vg-rw .btn-mint { background: var(--rw-mint); color: var(--rw-ink);
  box-shadow: 0 14px 40px rgba(47, 200, 98, .3); }
.vg-rw .btn-mint:hover { filter: brightness(1.04); }
.vg-rw .btn-ghost { background: transparent; color: var(--rw-ink); border-color: var(--rw-ghost); }
.vg-rw .btn-ghost:hover { border-color: var(--rw-ink); }

.vg-rw .band { padding: 84px 0; }
.vg-rw .band.alt { background: var(--rw-band); }

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────────── */
.vg-rw .hero { padding: 74px 0 84px; }
.vg-rw .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 544px; gap: 40px;
  align-items: center; }
.vg-rw .hero p.lede { font-size: 19px; font-weight: 300; line-height: 1.6; letter-spacing: .57px;
  color: var(--rw-soft); max-width: 520px; margin: 22px 0 0; }
.vg-rw .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.vg-rw .hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 34px 0 0; }
.vg-rw .hs-n { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; line-height: 1.1; }
.vg-rw .hs-l { font-size: 14px; color: var(--rw-soft); margin-top: 2px; }

/* The member-card mock. Not decoration: it is the one place the page SHOWS what a tier looks like. */
.vg-rw .card3d { position: relative; }
.vg-rw .vcard {
  background: linear-gradient(155deg, #123a2a 0%, #0e241a 62%);
  color: var(--rw-oncta); border-radius: 24px; padding: 26px 28px;
  box-shadow: 0 24px 60px rgba(14, 36, 26, .28);
}
.vg-rw .vc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vg-rw .vc-brand { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 800; }
.vg-rw .vc-chip { background: var(--rw-mint); color: var(--rw-ink);
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2.16px;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.vg-rw .vc-label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  opacity: .72; margin: 26px 0 2px; }
.vg-rw .vc-balance { font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 800;
  line-height: 1.05; }
/* ⚠️ A CLASS, NOT `style="margin:0 0 2px"`. The storefront CSP is `default-src 'self'` with no
   `style-src`, so an inline style attribute is BLOCKED — it never applied, and it logged a console
   violation on every render. Caught by reading the console, not by looking at the page. */
.vg-rw .vc-label--tight { margin: 0 0 2px; }
.vg-rw .vc-foot { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-top: 22px; }
.vg-rw .vc-name { font-size: 15px; font-weight: 600; }
.vg-rw .vc-tier { font-size: 13px; opacity: .8; }
/* The two pills that overlap the card corner. Absolute so they read as floating above it. */
.vg-rw .float-pill { position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--rw-ink); font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(14, 36, 26, .08), 0 2px 6px rgba(14, 36, 26, .06); }
.vg-rw .fp1 { top: -18px; right: 18px; }
.vg-rw .fp2 { bottom: -18px; left: 10px; }

/* ── Points → money ───────────────────────────────────────────────────────────────────────────── */
.vg-rw .redeem-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.vg-rw .rd { background: var(--rw-card); border: 1px solid var(--rw-line); border-radius: 24px;
  padding: 28px 24px; text-align: center; }
.vg-rw .rd .pt { font-size: 17px; font-weight: 700; color: var(--rw-soft); }
.vg-rw .rd .arrow { color: var(--rw-green); font-size: 20px; line-height: 1; margin: 10px 0; }
.vg-rw .rd .gbp { font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 800;
  line-height: 1.55; }
.vg-rw .calc { max-width: 840px; margin: 28px auto 0; background: var(--rw-card);
  border: 1px solid var(--rw-line); border-radius: 34px; padding: 38px;
  box-shadow: 0 6px 18px rgba(14, 36, 26, .08); }
.vg-rw .calc-top { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; }
.vg-rw .calc-lbl { font-size: 14px; color: var(--rw-soft); }
.vg-rw .calc-pts, .vg-rw .money { font-family: 'Outfit', sans-serif; font-size: 40px;
  font-weight: 800; line-height: 1.2; }
.vg-rw .calc-out { text-align: right; }
.vg-rw .money { color: var(--rw-green); }
.vg-rw .ticks { display: flex; justify-content: space-between; margin-top: 14px;
  font-size: 13px; color: var(--rw-soft); }

/* ── Tier comparison ──────────────────────────────────────────────────────────────────────────── */
.vg-rw .btable-scroll { overflow-x: auto; }
.vg-rw .btable { width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--rw-card); border: 1px solid var(--rw-line); border-radius: 24px;
  overflow: hidden; font-size: 14.5px; }
.vg-rw .btable th, .vg-rw .btable td { padding: 15px 18px; text-align: left;
  border-bottom: 1px solid var(--rw-line); }
.vg-rw .btable tr:last-child th, .vg-rw .btable tr:last-child td { border-bottom: 0; }
.vg-rw .btable thead th { background: var(--rw-band); font-weight: 600; vertical-align: bottom; }
.vg-rw .btable tbody th { background: var(--rw-band); font-weight: 500; }
.vg-rw .btable td { font-weight: 600; }
.vg-rw .tn { display: flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif;
  font-size: 17px; font-weight: 700; }
.vg-rw .tier-dot { width: 11px; height: 11px; border-radius: 999px; flex: 0 0 auto; }
.vg-rw .tier-dot.bronze { background: #c98a4b; }
.vg-rw .tier-dot.silver { background: #9aa7b0; }
.vg-rw .tier-dot.gold   { background: #e3b341; }
.vg-rw .tspend { font-size: 13px; font-weight: 400; color: var(--rw-soft); margin-top: 4px; }
.vg-rw .dash { color: var(--rw-soft); }

/* ── Ways to earn ─────────────────────────────────────────────────────────────────────────────── */
.vg-rw .earn-grid { display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vg-rw .ec { background: var(--rw-card); border: 1px solid var(--rw-line); border-radius: 24px;
  padding: 26px; display: flex; flex-direction: column; }
.vg-rw .ec-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.vg-rw .ec-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--rw-tint);
  color: var(--rw-green); display: grid; place-items: center; font-size: 22px; }
.vg-rw .ec-val { background: var(--rw-mint); color: var(--rw-ink);
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 800;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.vg-rw .ec h3 { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700;
  margin: 18px 0 8px; }
.vg-rw .ec p { font-size: 14.5px; line-height: 1.6; color: var(--rw-soft); margin: 0; }
.vg-rw .ec-tiers { padding-top: 6px; margin-top: auto; font-size: 13px; color: var(--rw-soft); }

/* ── Closing call to action ───────────────────────────────────────────────────────────────────── */
.vg-rw .cta-band { padding: 24px 0 96px; }
.vg-rw .cta-card { background: var(--rw-ink); color: var(--rw-oncta); border-radius: 34px;
  padding: 64px; text-align: center; }
.vg-rw .cta-card .eyebrow { color: var(--rw-mint); }
.vg-rw .cta-card p { font-size: 17px; line-height: 1.6; margin: 16px auto 0; max-width: 620px;
  color: rgba(234, 255, 241, .82); }
.vg-rw .cta-card .hero-cta { justify-content: center; }
.vg-rw .cta-card .btn-ghost { color: var(--rw-oncta); border-color: rgba(234, 255, 241, .38); }
.vg-rw .cta-card .btn-ghost:hover { border-color: var(--rw-oncta); }

/* ── Narrower screens ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .vg-rw .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .vg-rw .card3d { order: -1; max-width: 460px; }
  .vg-rw .redeem-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
}
@media (max-width: 720px) {
  .vg-rw h1 { font-size: 42px; line-height: 46px; letter-spacing: -.8px; }
  .vg-rw h2 { font-size: 32px; line-height: 36px; }
  .vg-rw .hero { padding: 48px 0 56px; }
  .vg-rw .band { padding: 56px 0; }
  .vg-rw .cta-card { padding: 40px 24px; }
  .vg-rw .calc { padding: 26px; }
  .vg-rw .hero p.lede { font-size: 17px; }
}
