/* ============================================================
   Presto website — multi-page prototype
   Palette per the Nov 2025 Logo Guidelines (Partners Edition)
   Mix of red brand moments + cream body sections for breathing room.
   ============================================================ */

:root {
  /* Brand */
  --presto-red:      #FA3532;
  --gradient-red:    #DA1E2C;
  --deep-red:        #91232B;
  --crimson:         #6B1015;
  --ember:           #1A0408;

  /* Surface tones */
  --white:           #FFFFFF;
  --cream:           #FAF6F1;
  --cream-warm:      #FFF3EC;
  --bone:            #FFF7F5;
  --carrot:          #F4A02A;
  --gold:            #FFD66E;

  /* Text */
  --ink:             #14202E;
  --slate:           #4A5568;
  --mute:            #707A87;
  --hairline:        #EDE6DE;
  --on-red:          rgba(255, 255, 255, 1);
  --on-red-mute:     rgba(255, 255, 255, 0.78);
  --on-red-soft:     rgba(255, 255, 255, 0.58);
  --on-red-border:   rgba(255, 255, 255, 0.22);
  --on-red-glass:    rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;            /* prevents horizontal scroll without breaking position: sticky */
  width: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a.btn:hover, a.program-pill:hover, a.cta-link:hover, a.chip:hover { text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--presto-red);
}
.on-red .eyebrow, .band.deep .eyebrow, .band.deeper .eyebrow, .band.ember .eyebrow {
  color: var(--on-red-mute);
}

/* ============================================================
   NAV
   ============================================================ */
/* Language toggle — segmented EN / 中 pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 3px;
  margin-left: 10px;
  font-family: inherit;
  gap: 2px;
}
.lang-toggle .lang-opt {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  line-height: 1;
}
.lang-toggle .lang-opt:hover { color: var(--white); }
.lang-toggle .lang-opt.active {
  background: var(--white);
  color: var(--presto-red);
}

/* Language dropdown — 3 languages (EN / BM / 中) */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  font-family: inherit;
}
.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 12px 6px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lang-dropdown-trigger:hover { background: rgba(255,255,255,0.22); }
.lang-dropdown-trigger .lang-caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.18s ease;
}
.lang-dropdown.open .lang-dropdown-trigger .lang-caret {
  transform: rotate(225deg) translateY(-1px);
}
.lang-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: 0 16px 32px -12px rgba(15,27,45,0.22);
  min-width: 170px;
  padding: 6px;
  z-index: 200;
  display: none;
}
.lang-dropdown.open .lang-dropdown-panel {
  display: block;
}
.lang-dropdown-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.lang-dropdown-panel a:hover { background: var(--bg-soft, #FFF7F0); }
.lang-dropdown-panel a.active { color: var(--presto-red); }
.lang-dropdown-panel a.active::after {
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  color: var(--presto-red);
}
.lang-dropdown-panel .lang-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
  letter-spacing: 0.06em;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250, 53, 50, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
}
/* Push body content below the fixed nav so the hero isn't hidden underneath */
body { padding-top: 66px; }
@media (max-width: 980px) {
  body { padding-top: 54px; }
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}
.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.site-nav .brand img {
  height: 30px;
  filter: brightness(0) invert(1);
}
.site-nav #nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav ul { list-style: none; }
.site-nav ul a {
  font-weight: 500;
  font-size: 14px;
  color: var(--on-red);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.site-nav ul a:hover { opacity: 1; text-decoration: none; }
.site-nav ul a.active { opacity: 1; font-weight: 700; }

/* Dropdown menu */
.site-nav li.has-dropdown {
  position: relative;
}
.site-nav li.has-dropdown > a::after {
  content: '▾';
  font-size: 9px;
  margin-left: 6px;
  opacity: 0.7;
  display: inline-block;
}
.site-nav li.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 200px;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px -14px rgba(15,27,45,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 80;
  list-style: none;
  display: block;
}
.site-nav li.has-dropdown:hover > .dropdown,
.site-nav li.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav li.has-dropdown .dropdown li {
  padding: 0;
  border: none;
  width: 100%;
}
.site-nav li.has-dropdown .dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav li.has-dropdown .dropdown a:hover {
  background: var(--cream);
  color: var(--presto-red);
}

/* Nav app CTA (Get the app button, anchored right) */
.nav-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--presto-red);
  border: 2px solid var(--white);
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  margin-left: auto;
}
.nav-app-cta:hover {
  background: var(--bone);
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-app-cta img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}
.nav-app-cta svg { display: block; }

/* App store badges (used in About page download section) */
.app-store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease;
  min-width: 200px;
}
.app-store-badge:hover {
  background: #000;
  transform: translateY(-2px);
  text-decoration: none;
}
.app-store-badge .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.app-store-badge .text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.app-store-badge .text .small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}
.app-store-badge .text .big {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.nav-toggle svg { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--white);
  color: var(--presto-red);
}
.btn-primary:hover { background: var(--bone); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-red {
  background: var(--presto-red);
  color: var(--white);
}
.btn-red:hover { background: var(--gradient-red); }
.btn-red-outline {
  background: transparent;
  color: var(--presto-red);
  border-color: var(--presto-red);
}
.btn-red-outline:hover { background: var(--presto-red); color: var(--white); }

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.cta-link:hover { border-color: var(--white); text-decoration: none; }

.cta-link.dark {
  color: var(--presto-red);
  border-bottom-color: rgba(250,53,50,0.4);
}
.cta-link.dark:hover { border-bottom-color: var(--presto-red); }

/* ============================================================
   PAGE HEROES (used on all pages except homepage)
   ============================================================ */
.page-hero {
  padding: 56px 0 56px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,214,110,0.16), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(241,191,198,0.12), transparent 60%),
    linear-gradient(140deg, var(--presto-red) 0%, var(--gradient-red) 60%, var(--deep-red) 100%);
  color: var(--white);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 14px 0 18px;
  max-width: 1000px;
}
.page-hero p.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--on-red-mute);
  max-width: 660px;
  margin-bottom: 28px;
}
.page-hero .cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.page-hero .eyebrow { color: var(--on-red-mute); }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

/* Hero illustration — large image floated on the right of the hero */
.hero-illo {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 540px;
  z-index: 2;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
  pointer-events: none;
}
.hero-illo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.page-hero.has-illo h1,
.page-hero.has-illo p.lede,
.page-hero.has-illo .cta-row,
.page-hero.has-illo .eyebrow,
.page-hero.has-illo .cobrand {
  max-width: 55%;
}

/* Card with image header (used in three-pillar cards) */
.card-illo {
  margin: -32px -28px 18px;
  display: block;
  width: calc(100% + 56px);
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Small inline illustration (problem cards, step cards) */
.card-icon {
  width: 76px;
  height: 76px;
  display: block;
  margin: -8px 0 14px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--cream);
}
.step .step-illo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  display: block;
  background: var(--cream);
}

/* Wide editorial banner (used on About story page) */
.story-banner {
  border-radius: 24px;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto 40px;
  box-shadow: 0 28px 60px -24px rgba(15,27,45,0.22);
}
.story-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.orb.gold  { width: 360px; height: 360px; background: rgba(255, 214, 110, 0.5); top: -80px; right: -80px; }
.orb.pink  { width: 320px; height: 320px; background: rgba(241, 191, 198, 0.55); bottom: -120px; left: -60px; }
.orb.crimson { width: 480px; height: 480px; background: rgba(107, 16, 21, 0.65); top: 30%; right: -120px; }

/* ============================================================
   HOMEPAGE SPLIT HERO
   ============================================================ */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 560px;
  position: relative;
}
.hero-split .tile {
  padding: 90px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-split .tile > *:not(.bunny-mark):not(.carrot-mark):not(.phone-placeholder) {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.hero-split .tile.consumer {
  background: linear-gradient(135deg, var(--presto-red) 0%, var(--gradient-red) 70%, var(--deep-red) 100%);
  color: var(--white);
}
.hero-split .tile.merchant {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,214,110,0.20), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(244,160,42,0.18), transparent 60%),
    linear-gradient(135deg, var(--deep-red) 0%, var(--crimson) 100%);
  color: var(--white);
}
.hero-split .tile h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-split .tile p.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-red-mute);
  margin-bottom: 32px;
}
.hero-split .tile .eyebrow { margin-bottom: 18px; color: var(--on-red-mute); }

.hero-split .bunny-mark {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 380px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

/* Phone placeholder lives inside the consumer tile, right side */
.hero-split .phone-placeholder {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  z-index: 2;
  background: rgba(0,0,0,0.22);
  border: 2px dashed rgba(255,255,255,0.55);
  color: var(--white);
}

/* Big carrot mark on merchant tile */
.hero-split .carrot-mark {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  height: 240px;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
}

.enterprise-strap {
  text-align: center;
  padding: 22px 28px;
  font-size: 13px;
  color: var(--mute);
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.enterprise-strap a {
  color: var(--presto-red);
  font-weight: 700;
  margin-left: 6px;
  border-bottom: 1px solid rgba(250,53,50,0.35);
}
.enterprise-strap a:hover { border-color: var(--presto-red); text-decoration: none; }

/* ============================================================
   SECTION CONTAINERS — colour variants
   ============================================================ */
section.band {
  padding: 56px 0;
  position: relative;
}
/* Tighten the typical centered section-head wrapper used in inline styles across pages.
   Targets <div style="text-align: center; max-width: 760px; margin: 0 auto 56px;"> and similar. */
section.band > .container > div[style*="text-align: center"][style*="margin: 0 auto"] {
  margin-bottom: 40px !important;
}
section.band.cream { background: var(--cream); color: var(--ink); }
section.band.cream-warm { background: var(--cream-warm); color: var(--ink); }
section.band.white-band { background: var(--white); color: var(--ink); }
section.band.red       { background: var(--presto-red); color: var(--white); }
section.band.deep      { background: var(--gradient-red); color: var(--white); }
section.band.deeper    { background: var(--crimson); color: var(--white); }
section.band.ember     { background: var(--ember); color: var(--white); }
section.band.ink-band  { background: #0F1B2D; color: var(--white); }

section.band.red .eyebrow,
section.band.deep .eyebrow,
section.band.deeper .eyebrow,
section.band.ember .eyebrow,
section.band.ink-band .eyebrow {
  color: var(--on-red-mute);
}
section.band.red .eyebrow.gold,
section.band.deep .eyebrow.gold,
section.band.deeper .eyebrow.gold {
  color: var(--gold);
}

h2.section-head {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}
.section-lede {
  font-size: 17px;
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 28px;
}
section.band.cream .section-lede,
section.band.cream-warm .section-lede,
section.band.white-band .section-lede { color: var(--slate); }
section.band.red .section-lede,
section.band.deep .section-lede,
section.band.deeper .section-lede,
section.band.ember .section-lede,
section.band.ink-band .section-lede { color: var(--on-red-mute); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 48px 28px;
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-strip .caption {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 700;
  margin-bottom: 22px;
}
.program-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.program-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  background: var(--white);
  transition: all 0.15s ease;
}
.program-pill:hover {
  border-color: var(--presto-red);
  color: var(--presto-red);
  text-decoration: none;
}
.program-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--presto-red);
}

/* ============================================================
   FEATURE GRID (two-column)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-grid.reverse > div:first-child { order: 2; }
.feature-grid h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.feature-grid p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
}
section.band.cream .feature-grid p,
section.band.cream-warm .feature-grid p,
section.band.white-band .feature-grid p { color: var(--slate); }
section.band.red .feature-grid p,
section.band.deep .feature-grid p,
section.band.deeper .feature-grid p,
section.band.ember .feature-grid p,
section.band.ink-band .feature-grid p { color: var(--on-red-mute); }

.feature-grid ul.checks {
  list-style: none;
  margin: 24px 0 32px;
}
.feature-grid ul.checks li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-weight: 500;
  align-items: flex-start;
}
.feature-grid ul.checks li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--presto-red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M6 12l3.5 3.5L18 8' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
section.band.red .feature-grid ul.checks li::before,
section.band.deep .feature-grid ul.checks li::before,
section.band.deeper .feature-grid ul.checks li::before {
  background-color: var(--white);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M6 12l3.5 3.5L18 8' stroke='%23FA3532' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
}

/* ============================================================
   COMBINE-POINTS VISUAL (Multi-Loyalty illustration)
   ============================================================ */
.combine-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 30px 80px -24px rgba(15,27,45,0.18);
}
section.band.red .combine-visual,
section.band.deep .combine-visual,
section.band.deeper .combine-visual { box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45); }
.combine-visual .stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}
.program-stack { display: flex; flex-direction: column; gap: 10px; }
.program-card {
  background: #FFF5F3;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.program-card .left { display: flex; align-items: center; gap: 12px; }
.program-card .swatch { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
.program-card.bonus .swatch { background: #FF6B35; }
.program-card.klean .swatch { background: #2BB673; }
.program-card.rise  .swatch { background: #FFC93C; }
.program-card.carrots .swatch { background: var(--carrot); }
.program-card .pts { color: rgba(0,0,0,0.5); font-weight: 600; }
.arrow { font-size: 32px; color: var(--presto-red); font-weight: 700; }
.wallet-card {
  background: linear-gradient(135deg, var(--presto-red), var(--gradient-red));
  color: var(--white);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
}
.wallet-card .label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 6px;
}
.wallet-card .balance { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.wallet-card .small { font-size: 11px; opacity: 0.9; }
.out-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.product-tile {
  background: #FFF5F3;
  border-radius: 12px;
  padding: 18px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate);
}
.product-tile .emoji { font-size: 26px; display: block; margin-bottom: 6px; }

/* ============================================================
   APP-SCREENSHOT PLACEHOLDER (phone mockup)
   ============================================================ */
.phone-placeholder {
  width: 280px;
  aspect-ratio: 9/19.5;
  background: rgba(0,0,0,0.18);
  border: 2px dashed rgba(255,255,255,0.5);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
.phone-placeholder.dark-on-light {
  background: rgba(15,27,45,0.06);
  border-color: rgba(15,27,45,0.25);
  color: var(--slate);
}
.phone-placeholder .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.85;
}
.phone-placeholder.in-hero {
  position: absolute;
  right: 56px;
  top: 90px;
  width: 240px;
  z-index: 2;
  background: rgba(0,0,0,0.22);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

/* Real screenshot frame — for catalogue UI shots */
.screenshot-frame {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -24px rgba(15,27,45,0.25);
}
section.band.red .screenshot-frame,
section.band.deep .screenshot-frame,
section.band.deeper .screenshot-frame {
  border-color: transparent;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   MERCHANT VISUAL (dashboard mockup)
   ============================================================ */
.carrots-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 30px 80px -24px rgba(15,27,45,0.18);
}
section.band.red .carrots-visual,
section.band.deep .carrots-visual,
section.band.deeper .carrots-visual { box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4); }
.cobrand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.carrots-visual .cobrand {
  padding-bottom: 20px;
  border-bottom: 1px solid #F2DDDF;
  margin-bottom: 22px;
}
.cobrand img.presto { height: 80px; }
.cobrand .divider { width: 1px; height: 64px; background: #F2DDDF; }
.cobrand img.carrot { height: 80px; }
.cobrand.hero-cobrand img.presto { height: 96px; }
.cobrand.hero-cobrand img.carrot { height: 96px; }
.cobrand.hero-cobrand .divider { height: 72px; background: var(--on-red-border); }
.merchant-card {
  background: #FFF5F3;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.merchant-card .label { font-size: 12px; color: rgba(0,0,0,0.55); font-weight: 600; }
.merchant-card .value { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 2px; }
.merchant-card .delta { color: #2BB673; font-weight: 700; font-size: 13px; }
.merchant-card .delta.neutral { color: rgba(0,0,0,0.55); }

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 24px -12px rgba(15,27,45,0.08);
}
section.band.red .card,
section.band.deep .card,
section.band.deeper .card,
section.band.ember .card { box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45); border-color: transparent; }
.card .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--presto-red);
  background: rgba(250, 53, 50, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 18px;
}
.card a.card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--presto-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card a.card-link:hover { text-decoration: underline; }

/* Glass cards — for use directly on red background */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--on-red-border);
  border-radius: 20px;
  padding: 32px 28px;
  color: var(--white);
}
.glass-card .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--on-red-glass);
  border: 1px solid var(--on-red-border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.glass-card h3 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.glass-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-red-mute);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
section.band.cream .stats-grid,
section.band.cream-warm .stats-grid,
section.band.white-band .stats-grid {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
section.band.red .stats-grid,
section.band.deep .stats-grid,
section.band.deeper .stats-grid,
section.band.ember .stats-grid {
  border-top: 1px solid var(--on-red-border);
  border-bottom: 1px solid var(--on-red-border);
}
.stat {
  padding: 40px 28px;
  text-align: center;
}
section.band.cream .stat:not(:last-child),
section.band.cream-warm .stat:not(:last-child),
section.band.white-band .stat:not(:last-child) { border-right: 1px solid var(--hairline); }
section.band.red .stat:not(:last-child),
section.band.deep .stat:not(:last-child),
section.band.deeper .stat:not(:last-child),
section.band.ember .stat:not(:last-child) { border-right: 1px solid var(--on-red-border); }
.stat .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--presto-red);
}
section.band.red .stat .num,
section.band.deep .stat .num,
section.band.deeper .stat .num,
section.band.ember .stat .num { color: var(--white); }
.stat .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
section.band.red .stat .label,
section.band.deep .stat .label,
section.band.deeper .stat .label,
section.band.ember .stat .label { color: var(--on-red-mute); }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 16px;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
  color: var(--ink);
}
.category-card:hover {
  border-color: var(--presto-red);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(15,27,45,0.18);
}
section.band.red .category-card,
section.band.deep .category-card,
section.band.deeper .category-card {
  background: var(--on-red-glass);
  border-color: var(--on-red-border);
  color: var(--white);
}
section.band.red .category-card:hover,
section.band.deep .category-card:hover,
section.band.deeper .category-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--white);
}
.category-card .emoji { font-size: 32px; display: block; margin-bottom: 8px; }
.category-card span { font-size: 13px; font-weight: 700; }

/* ============================================================
   BRAND PARTNERS GRID
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.brand-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: 1px solid var(--hairline);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(15,27,45,0.16);
}
section.band.red .brand-card,
section.band.deep .brand-card,
section.band.deeper .brand-card { border-color: transparent; }
.brand-card.ghost {
  background: rgba(250,53,50,0.06);
  color: var(--presto-red);
  border: 1.5px dashed rgba(250,53,50,0.35);
}
section.band.red .brand-card.ghost,
section.band.deep .brand-card.ghost,
section.band.deeper .brand-card.ghost {
  background: var(--on-red-glass);
  color: var(--white);
  border: 1px solid var(--on-red-border);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  color: var(--ink);
}
section.band.red .step,
section.band.deep .step,
section.band.deeper .step {
  background: var(--on-red-glass);
  border-color: var(--on-red-border);
  color: var(--white);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--presto-red);
  display: block;
  margin-bottom: 14px;
}
section.band.red .step::before,
section.band.deep .step::before,
section.band.deeper .step::before { color: var(--gold); }
.step h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
}
section.band.red .step p,
section.band.deep .step p,
section.band.deeper .step p { color: var(--on-red-mute); }

/* ============================================================
   COMPARISON COLUMNS
   ============================================================ */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vs-col {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.vs-col header {
  padding: 24px 28px;
  background: var(--ink);
  color: var(--white);
  border-bottom: 4px solid var(--presto-red);
}
.vs-col.alt header {
  background: var(--presto-red);
  border-bottom-color: var(--carrot);
}
.vs-col header .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.vs-col header h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.vs-col ul {
  list-style: none;
  padding: 24px 28px;
}
.vs-col ul li {
  padding: 14px 0;
  border-bottom: 1px solid #F2DDDF;
}
.vs-col ul li:last-child { border-bottom: none; }
.vs-col ul li b {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.vs-col ul li span {
  color: var(--slate);
  font-size: 14px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  padding: 22px 0;
}
section.band.cream .faq-item,
section.band.cream-warm .faq-item,
section.band.white-band .faq-item { border-bottom: 1px solid var(--hairline); }
section.band.red .faq-item,
section.band.deep .faq-item,
section.band.deeper .faq-item,
section.band.ember .faq-item { border-bottom: 1px solid var(--on-red-border); }
.faq-item summary {
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
section.band.cream .faq-item summary::after,
section.band.cream-warm .faq-item summary::after,
section.band.white-band .faq-item summary::after { color: var(--mute); }
section.band.red .faq-item summary::after,
section.band.deep .faq-item summary::after,
section.band.deeper .faq-item summary::after { color: var(--on-red-mute); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 14px;
  line-height: 1.65;
}
section.band.cream .faq-item p,
section.band.cream-warm .faq-item p,
section.band.white-band .faq-item p { color: var(--slate); }
section.band.red .faq-item p,
section.band.deep .faq-item p,
section.band.deeper .faq-item p { color: var(--on-red-mute); }

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--ember) 0%, var(--crimson) 100%);
  padding: 72px 28px;
  text-align: center;
  color: var(--white);
}
.final-cta h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.final-cta p {
  font-size: 18px;
  color: var(--on-red-mute);
  max-width: 640px;
  margin: 0 auto 36px;
}
.final-cta .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A0102;
  color: rgba(255,255,255,0.78);
  padding: 48px 28px 22px;
  font-size: 14px;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 28px 32px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  font-weight: 800;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}
.footer-grid a:hover { color: var(--white); text-decoration: none; }
.footer-brand img {
  height: 30px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}
.footer-trust {
  margin-top: 12px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  display: inline-block;
}
.footer-trust b { color: var(--white); font-weight: 800; }

.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--presto-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.socials a:hover { background: var(--presto-red); color: var(--white); transform: translateY(-2px); }
.socials svg { display: block; }

/* ----- Footer App Strip (Get the Presto app row) — compact ----- */
.footer-app-strip {
  max-width: 1240px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-app-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-app-strip-text { flex: 1 1 auto; min-width: 220px; }
.footer-app-strip-text h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-app-strip-text p {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  max-width: 380px;
}
.footer-app-strip-qr {
  background: white;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 0;
}
.footer-app-strip-qr svg { width: 58px !important; height: 58px !important; }
.footer-app-strip-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.footer-app-strip-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0F1B2D;
  color: white;
  padding: 7px 11px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s;
}
.footer-app-strip-buttons a:hover { background: #1a2a44; transform: translateY(-1px); }
.footer-app-strip-buttons span { line-height: 1.05; display: flex; flex-direction: column; }
.footer-app-strip-buttons .small { font-size: 8px; font-weight: 500; opacity: 0.85; }
.footer-app-strip-buttons .big { font-size: 12px; }
.footer-app-strip-buttons svg { width: 16px; height: 16px; }

.footer-legal {
  max-width: 1240px;
  margin: 20px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal a { color: rgba(255,255,255,0.55); }

/* ============================================================
   PARTNERS PAGE
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-bar .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 10px 12px;
}
section.band.cream .filter-bar .label,
section.band.cream-warm .filter-bar .label { color: var(--mute); }
section.band.red .filter-bar .label,
section.band.deep .filter-bar .label,
section.band.deeper .filter-bar .label { color: var(--on-red-soft); }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover {
  color: var(--presto-red);
  border-color: var(--presto-red);
  text-decoration: none;
}
.chip.active {
  background: var(--presto-red);
  color: var(--white);
  border-color: var(--presto-red);
}
section.band.red .chip,
section.band.deep .chip,
section.band.deeper .chip {
  background: transparent;
  color: var(--on-red-mute);
  border-color: var(--on-red-border);
}
section.band.red .chip:hover,
section.band.deep .chip:hover,
section.band.deeper .chip:hover {
  color: var(--white);
  border-color: var(--white);
}
section.band.red .chip.active,
section.band.deep .chip.active,
section.band.deeper .chip.active {
  background: var(--white);
  color: var(--presto-red);
  border-color: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.partner-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: left;
  border: 1px solid var(--hairline);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -14px rgba(15,27,45,0.2);
  text-decoration: none;
}
.partner-card .partner-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 6px;
}
.partner-card .partner-logo-img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  margin: 4px 0 14px;
  padding: 0;
  overflow: hidden;
}
.partner-card .partner-logo-img img {
  height: 40px !important;       /* fixed height — every logo renders at exactly 40px tall */
  width: auto !important;         /* width follows naturally → preserves original aspect ratio */
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.partner-card .cat-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--presto-red);
  background: rgba(250,53,50,0.1);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.partner-card p {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}
.partner-card .programs {
  display: flex;
  gap: 6px;
  margin-top: auto;
  flex-wrap: wrap;
}
.partner-card .prog-dot {
  font-size: 10px;
  font-weight: 700;
  color: var(--slate);
  padding: 4px 8px;
  background: #FFF5F3;
  border-radius: 999px;
}

/* ============================================================
   About page story block
   ============================================================ */
.story-block {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}
section.band.cream .story-block,
section.band.cream-warm .story-block,
section.band.white-band .story-block { color: var(--slate); }
section.band.cream .story-block strong,
section.band.cream-warm .story-block strong,
section.band.white-band .story-block strong { color: var(--ink); font-weight: 700; }
section.band.red .story-block,
section.band.deep .story-block,
section.band.deeper .story-block { color: var(--on-red-mute); }
section.band.red .story-block strong,
section.band.deep .story-block strong,
section.band.deeper .story-block strong { color: var(--white); }
.story-block p { margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .container { padding: 0 22px; }
  .nav-toggle { display: inline-flex; }
  /* Mobile: hide top nav by default, show as left-aligned drawer when .open */
  .site-nav #nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ember);
    padding: 8px 18px max(28px, env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .site-nav #nav-menu.open { display: flex; }
  .site-nav #nav-menu > li {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav #nav-menu > li:last-child { border-bottom: none; }
  .site-nav #nav-menu > li > a {
    display: block;
    padding: 16px 4px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    opacity: 1;
  }
  /* Hide dropdown carets and sub-dropdowns on mobile — top-level link goes to the section page */
  .site-nav #nav-menu li.has-dropdown > a::after { display: none; }
  .site-nav #nav-menu li.has-dropdown .dropdown {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 0 0 10px 12px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav #nav-menu li.has-dropdown .dropdown li { border: none; }
  .site-nav #nav-menu li.has-dropdown .dropdown a {
    padding: 8px 4px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    background: transparent;
  }
  .site-nav #nav-menu li.has-dropdown .dropdown a:hover {
    color: var(--white);
    background: transparent;
  }

  .hero-split { grid-template-columns: 1fr; }
  .hero-split .tile { padding: 56px 32px; min-height: auto; }
  .hero-split .carrot-mark { height: 84px; right: 32px; top: 32px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse > div:first-child { order: 0; }
  .cards-grid, .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat:not(:last-child) { border-right: none !important; border-bottom: 1px solid var(--hairline); }
  section.band.red .stat:not(:last-child),
  section.band.deep .stat:not(:last-child),
  section.band.deeper .stat:not(:last-child) { border-bottom: 1px solid var(--on-red-border); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .vs-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tighter footer for mobile — 2-col link grid, smaller text */
  .site-footer { padding: 44px 22px 22px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  .footer-brand img { height: 30px; margin-bottom: 12px; }
  .footer-brand p { font-size: 12px; line-height: 1.5; max-width: 100%; margin-bottom: 12px; }
  .footer-trust { font-size: 10px; padding: 8px 10px; margin-top: 10px; }
  .socials { margin-top: 14px; gap: 8px; }
  .socials a { width: 32px; height: 32px; }
  .footer-grid h4 { font-size: 11px; margin-bottom: 10px; letter-spacing: 0.12em; }
  .footer-grid ul li { margin-bottom: 6px; }
  .footer-grid a { font-size: 12px; }
  .footer-app-strip { margin-top: 28px; padding-top: 20px; }
  .footer-app-strip-inner { gap: 18px; }
  .footer-app-strip-text h4 { font-size: 15px; }
  .footer-app-strip-text p { font-size: 12px; }
  .footer-app-strip-qr svg { width: 74px !important; height: 74px !important; }
  .footer-app-strip-buttons { gap: 8px; }
  .footer-app-strip-buttons a { padding: 6px 10px; }
  .footer-legal { margin-top: 20px; padding-top: 16px; font-size: 11px; gap: 8px; }

  section.band { padding: 32px 0; }
  .page-hero { padding: 14px 0 24px; }
  .final-cta { padding: 40px 22px; }
  /* Compact nav on mobile */
  .site-nav-inner { padding: 10px 14px 10px 18px; }
  .site-nav .brand img { height: 26px; }
  /* Hero typography — smaller for narrow phones so headlines don't overflow */
  .page-hero h1 { font-size: clamp(28px, 8vw, 38px); margin: 10px 0 14px; line-height: 1.08; overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
  h2, h2.section-head { overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
  .page-hero p.lede, p { overflow-wrap: break-word; word-break: break-word; }
  .page-hero p.lede { font-size: 15px; margin-bottom: 20px; }
  .page-hero .cta-row { gap: 10px; }
  .page-hero .cta-row .btn { padding: 10px 18px; font-size: 14px; }
  /* Section heads — smaller still on mobile */
  h2.section-head { font-size: clamp(22px, 5.6vw, 28px); }
  .section-lede { font-size: 15px; margin-bottom: 20px; }
  /* Stats — 2 cols on phones for any count (handles 3 or 4 stats cleanly) */
  .stats-grid,
  .stats-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
  .stat { padding: 22px 8px; }
  .stat .num { font-size: clamp(22px, 6vw, 32px); }
  .stat .label { font-size: 10px; letter-spacing: 0.08em; }
  /* All stat dividers as right-borders again on mobile */
  .stat:not(:last-child) { border-right: 1px solid var(--hairline) !important; border-bottom: none !important; }
  section.band.red .stat:not(:last-child),
  section.band.deep .stat:not(:last-child),
  section.band.deeper .stat:not(:last-child) { border-right: 1px solid var(--on-red-border) !important; border-bottom: none !important; }
  /* Cap hero illustration on phone */
  .hero-illo { max-width: 280px; margin-top: 18px; }
  /* Inline goodies-promo card flex stacks on mobile */
  .goodies-promo-card { flex-direction: column !important; gap: 14px !important; padding: 18px !important; text-align: center; }
  .goodies-promo-card img { width: 100% !important; max-width: 220px; margin: 0 auto; }
  /* Problem cards (Carrots) — 2-per-row tile grid on mobile, vertical card layout */
  .cards-grid:has(.card-icon) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .card .card-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 10px;
  }
  .cards-grid .card:has(.card-icon) {
    padding: 14px 14px;
  }
  .card:has(.card-icon) .badge { margin: 0 0 6px; padding: 3px 8px; font-size: 9px; }
  .card:has(.card-icon) > h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.2; }
  .card:has(.card-icon) > p { margin: 0; font-size: 11.5px; line-height: 1.45; }
  /* Override inline grid-template-columns on .cards-grid (e.g. cols-4 with repeat(5)) on mobile */
  .cards-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  /* Override inline `padding: 0` band overrides — keep them but cap */
  /* Hero CTA buttons should be full-width on mobile so they wrap nicely */
  .page-hero .cta-row .btn { flex: 1 1 auto; }
  /* Tighter card padding on mobile to reduce wasted space */
  .card { padding: 22px 20px; }
  /* Brand grid -> 2 cols on mobile (was 3) for readability */
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  /* Partner brand directory — 2 tiles per row on mobile (compact, scannable) */
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .partner-card { padding: 14px 14px; }
  .partner-card .cat-chip { font-size: 9px; padding: 4px 8px; margin-bottom: 8px; }
  .partner-card .partner-logo-img { height: 44px; margin: 4px 0 10px; }
  .partner-card .partner-logo-img img { height: 32px !important; }
  .partner-card .partner-logo { font-size: 15px; margin-top: 4px; }
  .partner-card p { font-size: 12px; line-height: 1.4; }
  .partner-card .prog-dot { font-size: 9px; padding: 3px 6px; }
  /* Catalogue problem cards (inline 120px icons) — shrink on mobile */
  .card img[style*="width: 120px"] { width: 56px !important; }
  /* About trust icons (96px on desktop) — shrink on mobile too */
  .card img[style*="width: 96px"] { width: 56px !important; }
  /* Carrots icon-* features (72px) — shrink on mobile */
  .card img[style*="width: 72px"] { width: 52px !important; }
  /* Carrots three-pillar tryptych panels — cap height on mobile (each panel is 724x724 square) */
  .card img[src*="pillar-"] { max-height: 180px; width: auto !important; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 14px !important; }
  /* Loyalty program cards on mobile: compact 2-column tile grid (logo + name only, hide description) */
  .cards-grid:has(.program-card-link),
  .cards-grid:has(.program-card-coming) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .cards-grid .card.program-card-link,
  .cards-grid .card.program-card-coming {
    flex-direction: column;
    align-items: stretch;
  }
  .program-card-logo {
    height: 76px;
    width: auto;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--hairline);
    border-right: none;
    padding: 12px 14px;
  }
  .program-card-logo img { max-height: 44px; }
  .program-card-logo-empty {
    border-bottom: 1px dashed rgba(15,27,45,0.15);
    border-right: none;
  }
  .cards-grid .card.program-card-link > :not(.program-card-logo),
  .cards-grid .card.program-card-coming > :not(.program-card-logo) {
    padding-left: 12px;
    padding-right: 12px;
  }
  .cards-grid .card.program-card-link > h3,
  .cards-grid .card.program-card-coming > h3 {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
    padding-bottom: 14px;
  }
  /* Hide the long description on mobile — tile shows logo + name only */
  .cards-grid .card.program-card-link > p,
  .cards-grid .card.program-card-coming > p { display: none; }
  .cards-grid .card.program-card-link::after { top: 6px; right: 8px; font-size: 12px; }
  .phone-placeholder.in-hero { position: relative; right: auto; top: auto; margin: 30px auto 0; }

  /* Hero illustration: stack BELOW text on mobile — text leads, image supports */
  .page-hero.has-illo {
    display: flex;
    flex-direction: column;
  }
  .page-hero.has-illo .container { order: 1; }
  .hero-illo {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 320px;
    margin: 22px auto 4px;
    order: 2;
  }
  .page-hero.has-illo h1,
  .page-hero.has-illo p.lede,
  .page-hero.has-illo .cta-row,
  .page-hero.has-illo .eyebrow,
  .page-hero.has-illo .cobrand { max-width: 100%; }
  .card-illo { height: 140px; }
  /* Cobrand (Presto + Carrot logos) — shrink to fit viewport on phones; allow wrap */
  .cobrand { gap: 10px; flex-wrap: wrap; }
  .cobrand img.presto,
  .cobrand img.carrot,
  .cobrand.hero-cobrand img.presto,
  .cobrand.hero-cobrand img.carrot { height: 52px !important; max-width: 45vw; object-fit: contain; }
  .cobrand .divider,
  .cobrand.hero-cobrand .divider { height: 40px; }

  /* Mobile nav: hide the "Get the app" CTA — too cramped next to hamburger */
  .nav-app-cta { display: none !important; }
  .site-nav-inner { padding-right: 14px; }
  .nav-toggle { margin-left: auto; }
}


/* ============================================================
   Legal documents (Terms of Use, Privacy Policy)
   ============================================================ */
.legal-doc { font-size: 15px; line-height: 1.7; color: var(--ink); }
.legal-doc h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--presto-red);
  border-top: 1px solid rgba(15,27,45,0.08);
  padding-top: 32px;
  margin-top: 36px;
  margin-bottom: 18px;
}
.legal-doc h3:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc p strong { color: var(--ink); }
.legal-doc p.legal-meta {
  padding: 18px 22px;
  background: var(--white);
  border-left: 4px solid var(--presto-red);
  border-radius: 8px;
  margin-bottom: 28px;
}
.legal-doc ol.toc-list {
  background: var(--white);
  border: 1px solid rgba(15,27,45,0.08);
  border-radius: 14px;
  padding: 20px 26px 20px 44px;
  margin: 8px 0 24px;
  column-count: 2;
  column-gap: 32px;
}
.legal-doc ol.toc-list li {
  padding: 5px 0;
  break-inside: avoid;
  font-size: 14px;
}
.legal-doc ol.toc-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted rgba(15,27,45,0.25);
}
.legal-doc ol.toc-list a:hover { color: var(--presto-red); border-bottom-color: var(--presto-red); }

/* Definition paragraphs (Section 1) */
.legal-doc p.defn {
  padding: 10px 14px 10px 18px;
  border-left: 3px solid rgba(15,27,45,0.08);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.45);
  border-radius: 0 6px 6px 0;
}
.legal-doc p.defn strong { color: var(--presto-red); font-weight: 700; }

/* Numbered clauses (1.1, 3.2.1, etc.) */
.legal-doc p.clause {
  margin-bottom: 16px;
  padding-left: 0;
}
.legal-doc p.clause .clause-num {
  display: inline-block;
  min-width: 44px;
  font-weight: 700;
  color: var(--presto-red);
  margin-right: 6px;
}

/* (a), (b), (c) lettered list items */
.legal-doc p.sub-item {
  margin: 8px 0 10px 28px;
  padding-left: 4px;
}
.legal-doc p.sub-item .sub-label {
  display: inline-block;
  min-width: 30px;
  font-weight: 600;
  color: rgba(15,27,45,0.7);
}

/* (i), (ii), (iii) roman-numeral list items — nested deeper */
.legal-doc p.sub-item.sub-roman {
  margin-left: 56px;
  font-size: 14.5px;
}

/* Standalone numbered items (PDPA list etc.) */
.legal-doc p.num-item {
  margin: 10px 0 12px 4px;
}
.legal-doc p.num-item strong {
  display: inline-block;
  min-width: 26px;
  color: var(--presto-red);
}

@media (max-width: 700px) {
  .legal-doc ol.toc-list { column-count: 1; padding: 16px 18px 16px 32px; }
  .legal-doc h3 { font-size: 19px; padding-top: 24px; margin-top: 28px; }
  .legal-doc p.sub-item { margin-left: 18px; }
  .legal-doc p.sub-item.sub-roman { margin-left: 36px; }
  .legal-doc p.defn { padding: 10px 12px 10px 14px; }
}

/* Loyalty program card — full-width logo header + content below */
.cards-grid .card.program-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.cards-grid .card.program-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -16px rgba(15,27,45,0.22);
  border-color: var(--presto-red);
  text-decoration: none;
}
.cards-grid .card.program-card-link::after {
  content: '↗';
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mute);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.cards-grid .card.program-card-link:hover::after {
  opacity: 1;
  color: var(--presto-red);
}
.program-card-logo {
  height: 110px;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  position: relative;
}
.program-card-logo img {
  max-width: 100%;
  max-height: 72px;       /* uniform visual weight regardless of source aspect */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.cards-grid .card.program-card-link > :not(.program-card-logo) {
  padding-left: 24px;
  padding-right: 24px;
}
.cards-grid .card.program-card-link > .badge {
  margin-top: 22px;
}
.cards-grid .card.program-card-link > h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 6px;
}
.cards-grid .card.program-card-link > p {
  font-size: 14px;
  margin-bottom: 16px;
}
.cards-grid .card.program-card-link > .visit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--presto-red);
  padding: 0 0 22px;
  margin-top: auto;
}
.cards-grid .card.program-card-link:hover > .visit-link {
  color: var(--gradient-red);
}

/* Coming Soon card — matches the program-card layout, dashed border */
.cards-grid .card.program-card-coming {
  padding: 0;
  display: flex;
  flex-direction: column;
  border-style: dashed;
  border-color: rgba(15, 27, 45, 0.18);
  background: var(--surface-soft, #F7F8FA);
}
.program-card-logo-empty {
  background: rgba(15,27,45,0.03);
  border-bottom: 1px dashed rgba(15,27,45,0.15);
}
.cards-grid .card.program-card-coming > :not(.program-card-logo) {
  padding-left: 24px;
  padding-right: 24px;
}
.cards-grid .card.program-card-coming > .badge {
  margin-top: 22px;
}
.cards-grid .card.program-card-coming > h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}
.cards-grid .card.program-card-coming > p {
  font-size: 14px;
  margin-bottom: 22px;
  color: var(--slate);
}
.badge.badge-soft {
  background: rgba(15,27,45,0.06);
  color: var(--mute);
}

/* For light/outline brand logos that wash out on white — tint the whole logo container so the colors stand out cleanly */
.program-card-logo:has(img.logo-with-bg) {
  background: linear-gradient(180deg, #2A3142 0%, #1B2231 100%);
}
.program-card-logo img.logo-with-bg {
  max-height: 78px !important;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}
