/* ═══════════════════════════════════════════
   WV Rewards Landing Page — Styles
   ═══════════════════════════════════════════
   Page-scoped stylesheet.
   Prefix: wv-rw-
   Theme fonts: --wv-font-primary (General Grotesque),
                --wv-font-serif  (Office Times Round),
                --wv-font-mono   (General Grotesque Mono)
   ═══════════════════════════════════════════ */


/* ── Page-Scoped Variables ── */

.wv-rw-page {
  --rw-gold: #B8860B;
  --rw-gold-light: #FDF6E3;
  --rw-gold-pale: #FFFBF0;
  --rw-gold-border: #E8D4A0;
  --rw-surface: #FDFAF5;
  --rw-border-mid: #C8C2B4;
  --rw-text-light: #A09A8E;
  --rw-text-muted: #BDB5AC;
  --rw-ink: #1E1E1C;
  --rw-teal-light: #E4F0F5;
  --rw-teal-border: #B0D0DA;
  --rw-olive-pale: #EEF1E8;
}


/* ═══════════════════════════════════════════
   1. SHARED
   ═══════════════════════════════════════════ */

.wv-rw-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 48px;
}

.wv-rw-wrap-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Eyebrow */
.wv-rw-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rw-gold);
  margin-bottom: 16px;
}

.wv-rw-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--rw-gold);
  flex-shrink: 0;
}

/* Gold Button */
.wv-rw-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--rw-gold);
  color: var(--wv-color-text-inverse);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--wv-transition-fast);
}

.wv-rw-btn-gold:hover {
  background: #9A7209;
}

/* Ghost Button — dark bg variant (white border/text) */
.wv-rw-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: transparent;
  color: var(--wv-color-text-inverse);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--wv-transition-fast), color var(--wv-transition-fast);
}

.wv-rw-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Ghost Button — light bg variant */
.wv-rw-btn-ghost--light {
  color: var(--wv-color-text-primary);
  border-color: var(--wv-color-border);
}

.wv-rw-btn-ghost--light:hover {
  border-color: var(--rw-border-mid);
  color: var(--wv-color-text-primary);
}


/* ═══════════════════════════════════════════
   2. HERO
   ═══════════════════════════════════════════ */

.wv-rw-hero {
  background: var(--rw-ink);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.wv-rw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(184, 134, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.wv-rw-hero .wv-rw-wrap {
  position: relative;
  z-index: 1;
}

.wv-rw-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Hero — Left */
.wv-rw-hero__title {
  font-family: var(--wv-font-primary);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.wv-rw-hero__sub {
  font-family: var(--wv-font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 32px;
}

.wv-rw-hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.wv-rw-hero__aside {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

/* Hero — Welcome Card */
.wv-rw-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 32px 28px;
}

.wv-rw-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wv-rw-card__row:last-child {
  border-bottom: none;
}

.wv-rw-card__label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.wv-rw-card__points {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--rw-gold);
}

.wv-rw-card__value {
  font-family: var(--wv-font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 8px;
}

.wv-rw-card__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(184, 134, 11, 0.10);
  border-radius: 8px;
}

.wv-rw-card__total .wv-rw-card__label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}


/* ═══════════════════════════════════════════
   3. HOW IT WORKS
   ═══════════════════════════════════════════ */

.wv-rw-how {
  padding: 88px 0;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-rw-how__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.wv-rw-how__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  margin: 0 0 12px;
}

.wv-rw-how__body {
  font-family: var(--wv-font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

.wv-rw-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.wv-rw-how__step {
  padding: 32px 28px;
  border-right: 1px solid var(--wv-color-border);
  text-align: center;
}

.wv-rw-how__step:last-child {
  border-right: none;
}

.wv-rw-how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rw-gold-light);
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--rw-gold);
  margin-bottom: 16px;
}

.wv-rw-how__step-title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 8px;
}

.wv-rw-how__step-body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

.wv-rw-how__cta {
  text-align: center;
  margin-top: 40px;
}


/* ═══════════════════════════════════════════
   4. EARN POINTS
   ═══════════════════════════════════════════ */

.wv-rw-earn {
  padding: 88px 0;
  background: var(--rw-surface);
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-rw-earn__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Earn — Left: Card list */
.wv-rw-earn__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wv-rw-earn-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--wv-color-background);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
}

.wv-rw-earn-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--rw-gold-light);
  font-size: 20px;
}

.wv-rw-earn-card__info {
  flex: 1;
  min-width: 0;
}

.wv-rw-earn-card__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 2px;
}

.wv-rw-earn-card__body {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
  margin: 0;
  line-height: 1.45;
}

.wv-rw-earn-card__badge {
  flex-shrink: 0;
  text-align: right;
}

.wv-rw-earn-card__pts {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--rw-gold);
  display: block;
  line-height: 1;
}

.wv-rw-earn-card__pts-label {
  font-family: var(--wv-font-mono);
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rw-text-light);
}

/* Earn — Right: Math Card */
.wv-rw-math {
  position: sticky;
  top: 88px;
  background: var(--rw-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 14px;
  padding: 28px 24px;
}

.wv-rw-math__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 20px;
}

.wv-rw-math__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--wv-color-border);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

.wv-rw-math__row:last-of-type {
  border-bottom: none;
}

.wv-rw-math__row-value {
  font-family: var(--wv-font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
}

.wv-rw-math__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--rw-gold-light);
  border: 1px solid var(--rw-gold-border);
  border-radius: 8px;
}

.wv-rw-math__total-label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--rw-gold);
}

.wv-rw-math__total-value {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--rw-gold);
}

.wv-rw-math__note {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  color: var(--rw-text-light);
  margin: 14px 0 0;
}


/* ═══════════════════════════════════════════
   5. REDEEM
   ═══════════════════════════════════════════ */

.wv-rw-redeem {
  padding: 88px 0;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-rw-redeem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Redeem — Left */
.wv-rw-redeem__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  margin: 0 0 12px;
}

.wv-rw-redeem__body {
  font-family: var(--wv-font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--wv-color-text-secondary);
  margin: 0 0 28px;
}

.wv-rw-redeem__ctas {
  display: flex;
  gap: 12px;
}

/* Redeem — Right: Cart Mockup */
.wv-rw-cart {
  border: 1px solid var(--wv-color-border);
  border-radius: 12px;
  overflow: hidden;
}

.wv-rw-cart__header {
  background: var(--rw-ink);
  padding: 14px 20px;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wv-rw-cart__body {
  padding: 0;
}

.wv-rw-cart__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-rw-cart__item-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--rw-surface);
  object-fit: cover;
}

.wv-rw-cart__item-info {
  flex: 1;
  min-width: 0;
}

.wv-rw-cart__item-name {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 2px;
}

.wv-rw-cart__item-meta {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

.wv-rw-cart__item-price {
  font-family: var(--wv-font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
}

/* Redemption Toggle */
.wv-rw-cart__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 14px 20px;
  background: var(--rw-gold-pale);
  border-bottom: 1px solid var(--rw-gold-border);
}

.wv-rw-cart__toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.wv-rw-cart__toggle-text {
  flex: 1;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
}

.wv-rw-cart__toggle-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--rw-gold);
  color: #fff;
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: var(--wv-weight-regular);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--wv-radius-pill);
}

/* Cart Total */
.wv-rw-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.wv-rw-cart__total-label {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

.wv-rw-cart__total-prices {
  text-align: right;
}

.wv-rw-cart__total-original {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--rw-text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.wv-rw-cart__total-final {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--rw-gold);
}


/* ═══════════════════════════════════════════
   6. SUBSCRIBE
   ═══════════════════════════════════════════ */

.wv-rw-subscribe {
  background: var(--rw-ink);
  padding: 88px 0;
}

.wv-rw-subscribe__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Subscribe — Left */
.wv-rw-subscribe .wv-rw-eyebrow {
  color: var(--rw-olive-pale);
}

.wv-rw-subscribe .wv-rw-eyebrow::before {
  background: var(--rw-olive-pale);
}

.wv-rw-subscribe__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.wv-rw-subscribe__body {
  font-family: var(--wv-font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 28px;
}

.wv-rw-subscribe__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--wv-color-primary);
  color: var(--wv-color-text-inverse);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--wv-transition-fast);
}

.wv-rw-subscribe__cta:hover {
  background: var(--wv-color-primary-hover);
}

/* Subscribe — Right: Perk Cards */
.wv-rw-subscribe__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wv-rw-perk {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
}

.wv-rw-perk__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--rw-olive-pale);
  font-size: 18px;
  margin-bottom: 14px;
}

.wv-rw-perk__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.wv-rw-perk__body {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}


/* ═══════════════════════════════════════════
   7. DETAILS
   ═══════════════════════════════════════════ */

.wv-rw-details {
  padding: 72px 0;
  background: var(--rw-surface);
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-rw-details__eyebrow {
  text-align: center;
  margin-bottom: 36px;
}

.wv-rw-details__eyebrow .wv-rw-eyebrow {
  justify-content: center;
}

.wv-rw-details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wv-rw-detail {
  background: var(--rw-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 24px;
}

.wv-rw-detail__icon {
  font-size: 22px;
  margin-bottom: 12px;
}

.wv-rw-detail__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 6px;
}

.wv-rw-detail__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wv-color-text-secondary);
  margin: 0;
}


/* ═══════════════════════════════════════════
   8. FINAL CTA
   ═══════════════════════════════════════════ */

.wv-rw-final {
  padding: 96px 0;
  text-align: center;
}

.wv-rw-final__inner {
  max-width: 560px;
  margin: 0 auto;
}

.wv-rw-final__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--wv-color-text-primary);
  margin: 0 0 16px;
}

.wv-rw-final__body {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--wv-color-text-secondary);
  margin: 0 0 32px;
}

.wv-rw-final__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.wv-rw-final__note {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: var(--rw-text-light);
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (768–1279px)
   ═══════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1279px) {
  .wv-rw-hero__grid {
    gap: 40px;
  }

  .wv-rw-earn__grid {
    gap: 40px;
  }

  .wv-rw-redeem__grid {
    gap: 40px;
  }

  .wv-rw-subscribe__grid {
    gap: 40px;
  }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (max-width 767px)
   ═══════════════════════════════════════════ */

@media (max-width: 767px) {
  .wv-rw-wrap,
  .wv-rw-wrap-narrow {
    padding: 0 20px;
  }

  /* Hero */
  .wv-rw-hero {
    padding: 56px 0;
  }

  .wv-rw-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wv-rw-hero__title {
    font-size: 36px;
  }

  /* How It Works */
  .wv-rw-how__grid {
    grid-template-columns: 1fr;
  }

  .wv-rw-how__step {
    border-right: none;
    border-bottom: 1px solid var(--wv-color-border);
    padding: 24px 0;
  }

  .wv-rw-how__step:last-child {
    border-bottom: none;
  }

  /* Earn Points */
  .wv-rw-earn__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wv-rw-math {
    position: static;
  }

  /* Redeem */
  .wv-rw-redeem__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Subscribe */
  .wv-rw-subscribe__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wv-rw-subscribe__perks {
    grid-template-columns: 1fr;
  }

  /* Details */
  .wv-rw-details__grid {
    grid-template-columns: 1fr;
  }

  /* Final CTA */
  .wv-rw-final__title {
    font-size: 36px;
  }

  .wv-rw-final__ctas {
    flex-direction: column;
    align-items: center;
  }
}
