/* ============================================================
   Referral Platform — Shared Styles
   Mobile-first responsive styles
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --color-primary: #b7060c;
  --color-primary-dark: #920509;
  --color-primary-rgb: 183, 6, 12;
  --color-cta: #b7060c;
  --color-cta-hover: #9c050a;
  --color-cta-rgb: 183, 6, 12;
  --color-accent: var(--color-primary);
  --color-heading: #222;
  --color-body: #555;
  --color-light-bg: #f8f9fa;
  --color-dark-bg: #1a1a2e;
  --color-white: #fff;
  --color-border: #e0e0e0;
  --color-success: #27ae60;
  --color-error: #e74c3c;
  --font-family: 'Open Sans', Arial, sans-serif;
  --font-heading: var(--font-family);
  --container-max: 1140px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

/* ----- Reset / Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4 {
  color: var(--color-heading);
  line-height: 1.2;
  font-family: var(--font-heading);
}

ul {
  list-style: none;
}

/* ----- Utility ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-body);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.section-subtitle--highlight {
  background: rgba(250, 204, 21, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}
@media (min-width: 768px) {
  .section-subtitle--highlight {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn--cta {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn--cta:hover {
  background: var(--color-cta-hover);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-body);
  border: 2px solid var(--color-border);
  padding: 12px 24px;
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.required {
  color: var(--color-error);
}

.hidden {
  display: none !important;
}

/* ----- Scroll Animations ----- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   URGENCY BANNER
   ============================================================ */
.urgency-banner:empty {
  display: none;
}
.urgency-banner {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--color-primary, #b7060c);
  color: var(--color-white, #fff);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   0. STICKY TOP BAR
   ============================================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  height: 60px;
  transition: box-shadow var(--transition);
}

.top-bar--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.top-bar__logo img {
  height: 36px;
  width: auto;
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
}

.top-bar__phone:hover {
  color: var(--color-primary);
}

.top-bar__phone svg {
  flex-shrink: 0;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 60px;
  background: var(--hero-bg, none) center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 700px;
  min-height: clamp(500px, 72vh, 760px);
  padding-bottom: clamp(78px, 13vh, 126px);
  margin: 0 auto;
  overflow-x: clip;
}

.hero__main {
  width: 100%;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero__headline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.15;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__headline strong {
  color: #ffd700;
}

.hero__sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58);
}

.hero__sub-lead {
  font-weight: inherit;
  color: inherit;
}

.hero__sub-company-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 0.18em;
}

.hero__sub-company {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.99);
}

.hero__sub-company-underline {
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.1em;
  height: 0.48em;
  width: calc(100% + 0.08em);
  pointer-events: none;
}

.hero__sub-company-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 4.4;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}

.hero__sub strong {
  color: #ffd700;
  font-weight: 700;
}

.hero__cta {
  font-size: 1.1rem;
  padding: 16px 40px;
}


.hero-rewards {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(10px, 2.5vh, 24px);
  margin-bottom: clamp(8px, 2vh, 20px);
  max-width: 620px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-rewards__title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-rewards__brands-wrapper {
  margin-top: 0;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-rewards__brands-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: carousel-scroll 24s linear infinite;
}

.hero-rewards__brands-track:hover {
  animation-play-state: paused;
}

.hero-rewards__brand-item {
  flex-shrink: 0;
  width: 78px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 252, 0.98) 100%);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 19, 34, 0.14);
}

.hero-rewards__brand-item img {
  max-width: 98%;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center;
}

/* Square-ish logos need a bump in the small hero cards */
.hero-rewards__brand-item img[alt*="Home Depot"]    { transform: scale(1.2); }
.hero-rewards__brand-item img[alt*="Target"]         { transform: scale(1.35); }
.hero-rewards__brand-item img[alt*="Bass Pro Shops"] { transform: scale(1.25); }
.hero-rewards__brand-item img[alt*="Mastercard"]     { transform: scale(1.1); }

/* ============================================================
   2. HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 60px 0;
  background: var(--color-white);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step__icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  background: rgba(var(--color-primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(var(--color-primary-rgb), 0.3);
}

.step__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--color-body);
}

.step__arrow {
  display: none;
}

/* ============================================================
   3. REWARD TIERS
   ============================================================ */
.rewards {
  padding: 60px 0;
  background: var(--color-light-bg);
}

.reward-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

@media (min-width: 480px) {
  .reward-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reward-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.reward-card:hover {
  box-shadow: var(--shadow-lg);
}

.reward-card__header {
  padding: 6px 0 0;
}

.reward-card--bronze .reward-card__header {
  border-top: 6px solid;
  border-image: linear-gradient(135deg, #b87333, #d4a574, #b87333) 1;
}

.reward-card--silver .reward-card__header {
  border-top: 6px solid;
  border-image: linear-gradient(135deg, #a8a8a8, #d4d4d4, #a8a8a8) 1;
}

.reward-card--gold .reward-card__header {
  border-top: 6px solid;
  border-image: linear-gradient(135deg, #d4a017, #ffd700, #d4a017) 1;
}

.reward-card--platinum .reward-card__header {
  border-top: 6px solid;
  border-image: linear-gradient(135deg, #6e7b8b, #b0c4de, #e8e8e8, #b0c4de, #6e7b8b) 1;
}

.reward-card--platinum {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1e2a3a, #2a3a4e 40%, #1e2a3a);
  box-shadow: var(--shadow);
}

.reward-card--platinum .reward-card__tier {
  color: #c8d6e5;
}

.reward-card--platinum .reward-card__referrals {
  color: #8a9bb5;
}

.reward-card--platinum .reward-card__amount--travel {
  color: #e8e8e8;
}

.reward-card--platinum .reward-card__body {
  padding-bottom: 2.5rem;
}


.reward-card__tier {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-body);
}

.reward-card--bronze .reward-card__tier { color: #b87333; }
.reward-card--silver .reward-card__tier { color: #8a8a8a; }
.reward-card--gold .reward-card__tier { color: #c49a1a; }

.reward-card__body {
  padding: 1rem 1.25rem;
}

.reward-card__referrals {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.reward-card__amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.1;
  font-family: var(--font-heading);
  margin-bottom: 0.15rem;
}

.reward-card__amount--travel {
  font-size: 1.25rem;
  color: #e8e8e8;
}

.reward-card__watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  pointer-events: none;
  color: #6e8caa;
  transform: rotate(-25deg);
}

.reward-card__watermark svg {
  width: 100%;
  height: 100%;
}

.reward-card__type {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.rewards__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-body);
}

.rewards__note a {
  text-decoration: underline;
}

.reward-mockups {
  margin-top: 2rem;
}

.reward-mockups__inner {
  display: grid;
  gap: 1.25rem;
}

.reward-mockup {
  margin-top: 0;
}

.reward-mockup__eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.reward-schedules {
  display: grid;
  gap: 1rem;
}

.reward-schedule {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.reward-schedule__header {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0.8rem;
  border-top: 6px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
}

.reward-schedule--bronze .reward-schedule__header {
  border-image: linear-gradient(135deg, #b87333, #d4a574, #b87333) 1;
}

.reward-schedule--silver .reward-schedule__header {
  border-image: linear-gradient(135deg, #a8a8a8, #d4d4d4, #a8a8a8) 1;
}

.reward-schedule--gold .reward-schedule__header {
  border-image: linear-gradient(135deg, #d4a017, #ffd700, #d4a017) 1;
}

.reward-schedule--platinum .reward-schedule__header {
  border-image: linear-gradient(135deg, #6e7b8b, #b0c4de, #e8e8e8, #b0c4de, #6e7b8b) 1;
  background: linear-gradient(160deg, #1e2a3a, #2a3a4e 40%, #1e2a3a);
}

.reward-schedule__tier {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.reward-schedule__range {
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
}

.reward-schedule--platinum .reward-schedule__tier,
.reward-schedule--platinum .reward-schedule__range {
  color: #e8eef7;
}

.reward-schedule__columns {
  display: none;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.reward-schedule--platinum .reward-schedule__columns {
  color: #c8d6e5;
}

.reward-schedule__body {
  display: grid;
}

.reward-schedule__row {
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-top: 1px solid #edf1f6;
}

.reward-schedule__row--milestone {
  background: rgba(var(--color-primary-rgb), 0.04);
}

.reward-schedule__cell {
  display: grid;
  gap: 0.15rem;
}

.reward-schedule__cell strong {
  color: var(--color-heading);
  font-size: 0.95rem;
}

.reward-schedule__cell span {
  color: #64748b;
  font-size: 0.82rem;
}

.reward-schedule__cell--you strong {
  color: var(--color-primary);
}

.reward-schedule--platinum .reward-schedule__row {
  background: linear-gradient(160deg, rgba(30, 42, 58, 0.92), rgba(42, 58, 78, 0.92));
  border-top-color: rgba(176, 196, 222, 0.12);
}

.reward-schedule--platinum .reward-schedule__cell strong,
.reward-schedule--platinum .reward-schedule__cell span {
  color: #f8fafc;
}

.reward-schedule--platinum .reward-schedule__cell--you strong {
  color: #e8eef7;
}

.reward-hybrid-compact__lead,
.reward-mockup__note {
  color: #64748b;
  font-size: 0.88rem;
  text-align: center;
  margin-top: 0.7rem;
}

.reward-hybrid-compact__lead {
  margin-bottom: 0.85rem;
}

.program-snapshot {
  max-width: 760px;
  margin: 1.25rem auto;
  padding: 1rem 1.1rem;
  border: 1px solid #dbe4ef;
  border-radius: var(--radius);
  background: var(--color-white);
}

.program-snapshot__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.program-snapshot__list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.program-snapshot__list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-body);
}

.program-snapshot__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ── Mockup option labels ── */
/* ── YOU GET: bar chart ── */
.rw-track {
  max-width: 500px;
  margin: 0 auto 0;
}

.rw-track__section-label {
  text-align: center;
  margin-bottom: 10px;
}

.rw-chart {
  width: 100%;
  margin: 0 auto;
}

.rw-track__you {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a1a;
  font-family: var(--font-heading);
}

.rw-track__sublabel {
  font-size: 1.2rem;
  font-weight: 400;
  color: #999;
  font-style: italic;
  font-family: var(--font-family);
}

/* Bar chart container */
.rw-bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, 1vw, 6px);
}

/* Single bar */
.rw-bar {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.rw-bar__icon {
  width: 18px;
  height: 18px;
  color: #C8C1B5;
  flex-shrink: 0;
}

.rw-bar__column {
  width: 100%;
  height: 40px;
  background: #E4DED4;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.rw-bar__amount {
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-family);
  color: #A09888;
  white-space: nowrap;
}

/* Baseline floor line */
.rw-bars-floor {
  height: 2px;
  background: #E0DAD0;
  width: 100%;
  margin: 0;
}

/* Ordinal labels row */
.rw-bar-labels {
  display: flex;
  gap: clamp(3px, 1vw, 6px);
  margin-top: 4px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.rw-bar__label {
  flex: 1 1 0;
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--font-family);
  font-weight: 400;
  color: #999;
}

/* Milestone bars — shared */
.rw-bar--milestone .rw-bar__amount {
  font-size: 0.85rem;
  color: #fff;
}

.rw-bar--milestone__label {
  font-weight: 700;
  color: #555;
}

/* Silver milestone */
.rw-bar--silver .rw-bar__icon { color: #a8a8a8; }
.rw-bar--silver .rw-bar__column {
  background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
}

/* Gold milestone */
.rw-bar--gold .rw-bar__icon { color: #C4A035; }
.rw-bar--gold .rw-bar__column {
  background: linear-gradient(180deg, #dbb42c, #b8922a);
}

/* Platinum milestone — metallic sheen */
.rw-bar--platinum .rw-bar__icon { color: #1e2a3a; }
.rw-bar--platinum .rw-bar__column {
  background: linear-gradient(160deg, #1e2a3a 0%, #4a6a8a 20%, #b0c4de 50%, #4a6a8a 80%, #1e2a3a 100%);
}

/* YOUR FRIEND GETS section */
.rw-friend {
  max-width: 500px;
  margin: 28px auto 0;
}

.rw-friend__section-label {
  text-align: center;
  margin-bottom: 10px;
}

.rw-friend__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2A6B4F;
  font-family: var(--font-heading);
}

.rw-friend__sublabel {
  font-size: 1.2rem;
  font-weight: 400;
  color: #78A98B;
  font-style: italic;
  font-family: var(--font-family);
}

.rw-friend__box {
  background: #2A6B4F;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rw-friend__amount {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}

.rw-friend__desc {
  font-size: 0.85rem;
  font-family: var(--font-family);
  color: rgba(255, 255, 255, 0.4);
}

/* Footnote */
.rw-footnote {
  max-width: 500px;
  margin: 1rem auto 0;
  font-size: 0.82rem;
  font-family: var(--font-family);
  color: #888;
  text-align: center;
}

.rw-footnote a {
  text-decoration: underline;
  color: #888;
}

/* ============================================================
   4. TRUST / SOCIAL PROOF
   ============================================================ */
.trust {
  display: none; /* Hidden: referrers already trust the company. Kept in DOM for future A/B testing. */
  padding: 60px 0;
  background: var(--color-light-bg);
  border-top: 1px solid #e7edf4;
}

.trust__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-white);
  border-radius: var(--radius);
}

.trust__item svg {
  flex-shrink: 0;
}

.trust__item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-heading);
}

.trust__item p {
  font-size: 0.9rem;
  color: var(--color-body);
  margin: 0;
}

/* ============================================================
   5. GIFT CARD CAROUSEL
   ============================================================ */
.carousel {
  padding: 60px 0;
  background: var(--color-light-bg);
  overflow: hidden;
}

.carousel__track-wrapper {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel__track {
  display: flex;
  gap: 2rem;
  animation: carousel-scroll 30s linear infinite;
  width: max-content;
}

.carousel__track:hover {
  animation-play-state: paused;
}

.carousel__item {
  flex-shrink: 0;
  width: 150px;
  height: 90px;
  background: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.carousel__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.carousel__brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
  opacity: 0.7;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   6. REFERRAL FORM
   ============================================================ */
.form-section {
  padding: 60px 0;
  background: var(--color-white);
}

.referral-form {
  max-width: 560px;
  margin: 0 auto;
}

.referral-form .form-group {
  margin-bottom: 0.45rem;
}

.referral-form .form-error {
  min-height: 0.4em;
}


.form-section .section-title {
  margin-bottom: 0.5rem;
}

.form-section .section-subtitle {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.form-reassurance {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-body);
  margin: -0.75rem 0 0.85rem;
}

.form-reassurance a {
  font-weight: 700;
  color: var(--color-heading);
}

/* Progress dots */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0.95rem 0;
}

.form-progress__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--color-border);
  color: var(--color-body);
  transition: all var(--transition);
  cursor: pointer;
  user-select: none;
}

.form-progress__dot--active {
  background: var(--color-primary);
  color: var(--color-white);
}

.form-progress__line {
  width: 52px;
  height: 3px;
  background: var(--color-border);
  transition: background var(--transition);
}

.form-progress__line--active {
  background: var(--color-primary);
}

/* Fieldsets / steps */
.form-step {
  border: none;
  display: none;
}

.form-step--active {
  display: block;
}

.form-step__legend {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  width: 100%;
  text-align: center;
}

.form-step__hint {
  font-size: 0.82rem;
  color: var(--color-body);
  margin: -0.6rem 0 1rem 0;
  font-weight: 400;
  text-align: center;
}

/* Form groups */
.form-group {
  margin-bottom: 0.7rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.form-optional {
  font-weight: 400;
  color: var(--color-body);
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-heading);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
  border-color: var(--color-error);
}

.form-group input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.form-group textarea {
  resize: vertical;
  min-height: 64px;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.3rem;
  min-height: 1.2em;
}

.form-group--checkbox {
  margin-bottom: 0.7rem;
}

.form-group--checkbox label {
  margin-bottom: 0;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-heading);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  appearance: auto;
  -webkit-appearance: checkbox;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.form-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.form-actions .btn--full {
  flex: 1;
}

.form-actions .btn--outline {
  flex-shrink: 0;
}

.form-risk-reversal {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-heading);
  font-weight: 600;
  margin-top: 0.65rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-body);
  margin-top: 0.35rem;
}

.form-section .btn {
  padding: 11px 20px;
  font-size: 0.88rem;
}

/* Success state */
.form-success {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 0;
}

.form-success__icon {
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-success);
}

.form-success p {
  font-size: 1.05rem;
  color: var(--color-body);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============================================================
   7. FAQ
   ============================================================ */
.faq {
  padding: 60px 0;
  background: var(--color-light-bg);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.faq__item[open] {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq__question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-heading);
  padding: 1.25rem 1.5rem;
  margin: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  -webkit-user-select: none;
}

.faq__item > .faq__question { list-style-type: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; content: ""; }
.faq__item::marker { display: none; content: ""; }
.faq__item::-webkit-details-marker { display: none; }

.faq__question::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.faq__item[open] > .faq__question::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.faq__answer {
  font-size: 0.95rem;
  color: var(--color-body);
  line-height: 1.6;
  margin: 0;
  padding: 0 1.5rem 1.25rem;
}

/* ============================================================
   8. PROGRAM TERMS
   ============================================================ */
.terms {
  padding: 60px 0;
  background: var(--color-white);
}

.terms__list {
  max-width: 720px;
  margin: 0 auto;
}

.terms__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-body);
  line-height: 1.6;
}

.terms__list li:last-child {
  margin-bottom: 0;
}

.terms__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 48px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  align-items: start;
  text-align: center;
}

.footer__brand img {
  margin-bottom: 0.75rem;
  max-height: 48px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
}

.footer__brand p {
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer__contact p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
  color: var(--color-white);
}

.footer__social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer__social-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__social-links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  text-align: center;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer__bottom a:hover {
  color: var(--color-white);
}

/* ============================================================
   TABLET — 768px+
   ============================================================ */
@media (min-width: 768px) {

  .section-title {
    font-size: 2rem;
  }

  .hero__headline {
    font-size: 2.75rem;
  }

  .hero__sub {
    font-size: 1.2rem;
  }

  .hero-rewards__brand-item {
    width: 86px;
    height: 46px;
  }

  .hero-rewards__brand-item img {
    max-height: 20px;
  }

  .form-section {
    padding: 60px 0;
  }

  .form-section .section-subtitle {
    margin-bottom: 1.5rem;
  }

  .form-reassurance {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .form-progress {
    margin: 1.5rem 0;
  }

  .form-step__legend {
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 13px;
    font-size: 0.98rem;
  }

  .steps {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .step__arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .reward-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
  }

  .reward-schedule__header {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
  }

  .reward-schedule__columns {
    display: grid;
  }

  .reward-schedule__row {
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    align-items: center;
  }

  .reward-schedule__cell--you,
  .reward-schedule__cell--friend {
    text-align: right;
  }

  .program-snapshot {
    padding: 1.15rem 1.25rem;
  }

  .program-snapshot__title {
    font-size: 1.06rem;
  }

  .program-snapshot__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .trust__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__brand img {
    margin-left: 0;
    margin-right: 0;
  }

  .footer__social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .referral-form {
    max-width: 500px;
  }

  .form-section .section-title {
    margin-bottom: 0.35rem;
  }

  .reward-mockup {
    padding: 0.95rem 1rem;
  }
}

/* ============================================================
   DESKTOP — 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
  }

  .section-subtitle {
    margin-top: -1.25rem;
    margin-bottom: 2rem;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__headline {
    font-size: 3rem;
  }


  .hero__content {
    padding-bottom: clamp(110px, 16vh, 160px);
  }

  .steps {
    gap: 1.5rem;
  }

  .step {
    max-width: 260px;
  }

  .reward-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: 660px;
  }

  .trust__items {
    grid-template-columns: repeat(4, 1fr);
  }

  .how-it-works,
  .rewards,
  .faq,
  .terms,
  .trust,
  .carousel {
    padding: 80px 0;
  }

  .footer {
    padding-top: 60px;
  }

  .footer__inner {
    padding-bottom: 3rem;
    gap: 4rem;
    max-width: 900px;
  }

  .form-section {
    padding: 80px 0;
  }
}
