[hidden] { display: none !important; }

.rewards-page { background: var(--paper); }
.rewards-page .site-header { background: rgba(251, 248, 239, 0.94); }
.rewards-page .header-cta { white-space: nowrap; }

.rewards-hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  align-items: stretch;
}

.rewards-hero__intro {
  padding: clamp(88px, 10vw, 154px) clamp(50px, 8vw, 126px) clamp(72px, 8vw, 120px) 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.rewards-hero h1 {
  max-width: 720px;
  font-size: clamp(3.8rem, 6.6vw, 7.5rem);
  line-height: 0.93;
  letter-spacing: -0.067em;
}

.rewards-hero__intro > p:not(.rewards-hero__microcopy) {
  max-width: 680px;
  margin-top: 34px;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.58;
}

.rewards-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.rewards-hero__microcopy { margin-top: 22px; color: rgba(35, 31, 32, 0.68); font-size: 0.86rem; }

.rewards-lookup {
  padding: clamp(78px, 9vw, 142px) clamp(42px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.rewards-lookup h2 {
  font-size: clamp(2.25rem, 3.4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.rewards-lookup__heading > p { margin-top: 18px; line-height: 1.55; color: rgba(35, 31, 32, 0.72); }
.rewards-form { margin-top: 48px; }

.rewards-field { display: grid; gap: 11px; }
.rewards-field span { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.035em; }
.rewards-field input {
  width: 100%;
  min-height: 54px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: 600 1.1rem/1.2 "Metropolis", "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
  outline: none;
}
.rewards-field input::placeholder { color: rgba(35, 31, 32, 0.34); }
.rewards-field input:focus { border-bottom-color: var(--sun-warm); box-shadow: 0 3px 0 var(--sun); }
.rewards-birthday { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }

.rewards-form__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rewards-form__actions > a,
.rewards-form__reset {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--glass-paper);
  box-shadow: var(--shadow-control);
  font: 800 0.8rem/1 "Metropolis", "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
  text-underline-offset: 6px;
  cursor: pointer;
}
.rewards-form__status { min-height: 24px; margin-top: 22px; font-size: 0.86rem; line-height: 1.5; }
.rewards-form__privacy { max-width: 560px; margin-top: 8px; color: rgba(35, 31, 32, 0.58); font-size: 0.75rem; line-height: 1.55; }
.rewards-form__privacy a { text-underline-offset: 3px; }

.rewards-results {
  grid-column: 1 / -1;
  padding: clamp(78px, 8vw, 124px) clamp(24px, 5vw, 78px);
  border-top: 1px solid var(--ink);
  animation: rewards-result-in 560ms var(--ease) both;
}

@keyframes rewards-result-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.rewards-results__head,
.rewards-wallet,
.rewards-movements__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.rewards-label { margin-bottom: 13px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.rewards-results__head h2 { font-size: clamp(2.5rem, 4vw, 5rem); line-height: 0.95; letter-spacing: -0.055em; }
.rewards-muted { margin-top: 12px; color: rgba(35, 31, 32, 0.62); }
.rewards-level { min-height: 44px; padding: 12px 0; border-bottom: 2px solid var(--sun); font-size: 0.9rem; }

.rewards-wallet { margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rewards-wallet > div:first-child { max-width: 520px; }
.rewards-wallet p:not(.rewards-label) { color: rgba(35, 31, 32, 0.68); line-height: 1.5; }
.rewards-wallet__links { display: flex; flex-wrap: wrap; gap: 12px; }

.wallet-badge {
  min-height: 52px;
  padding: 8px 17px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  transition: transform 180ms var(--ease), opacity 180ms ease;
}
.wallet-badge:hover { transform: translateY(-2px); }
.wallet-badge[disabled] { opacity: 0.52; cursor: wait; }
.wallet-badge__icon { position: relative; width: 27px; height: 25px; flex: 0 0 27px; border: 1px solid rgba(255,255,255,.6); border-radius: 5px; overflow: hidden; }
.wallet-badge__icon i { position: absolute; right: 3px; left: 3px; height: 4px; border-radius: 4px; }
.wallet-badge__icon i:nth-child(1) { top: 4px; background: #60c4e8; }
.wallet-badge__icon i:nth-child(2) { top: 10px; background: #f2c94c; }
.wallet-badge__icon i:nth-child(3) { top: 16px; background: #f36f56; }
.wallet-badge__icon--google i:nth-child(1) { background: #34a853; }
.wallet-badge__icon--google i:nth-child(2) { background: #fbbc04; }
.wallet-badge__icon--google i:nth-child(3) { background: #4285f4; }
.wallet-badge__text { display: grid; text-align: left; }
.wallet-badge__text small { font-size: 0.62rem; line-height: 1; }
.wallet-badge__text strong { margin-top: 3px; font-size: 0.84rem; line-height: 1; }

.rewards-balances {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.rewards-balances > div { min-height: 165px; padding: 24px clamp(22px, 4vw, 56px); display: grid; align-content: center; gap: 18px; }
.rewards-balances > div:first-child { padding-left: 0; }
.rewards-balances > div + div { border-left: 1px solid var(--sun); }
.rewards-balances span,
.rewards-result__secondary span { font-size: 0.82rem; font-weight: 800; }
.rewards-balances strong { font-size: clamp(2.5rem, 5.5vw, 6rem); line-height: 0.95; letter-spacing: -0.055em; }

.rewards-result__secondary { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.rewards-result__secondary > div { padding: 28px clamp(22px, 4vw, 56px); display: grid; gap: 8px; }
.rewards-result__secondary > div:first-child { padding-left: 0; }
.rewards-result__secondary > div + div { border-left: 1px solid var(--line); }
.rewards-result__secondary strong { font-size: 1.45rem; }
.rewards-result__secondary small { color: rgba(35,31,32,.64); line-height: 1.45; }
.rewards-result__meta { padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(35,31,32,.62); font-size: .78rem; border-bottom: 1px solid var(--line); }

.rewards-movements { margin-top: 74px; }
.rewards-movements__head { padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.rewards-movements__head h3 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.04em; }
.rewards-movements__head span { align-self: end; font-size: 0.72rem; font-weight: 800; }
.rewards-movement-list { display: grid; }
.rewards-portal__movement,
.rewards-portal__movement-empty { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rewards-portal__movement-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.rewards-portal__movement-main > div:first-child { display: grid; gap: 5px; }
.rewards-portal__movement-main span,
.rewards-portal__movement time,
.rewards-portal__movement-note,
.rewards-portal__movement-empty { color: rgba(35,31,32,.62); font-size: .78rem; line-height: 1.45; }
.rewards-portal__movement time { display: block; margin-top: 10px; }
.rewards-portal__movement-amount { font-weight: 900; }
.rewards-portal__movement-note { margin-top: 8px; }

.rewards-how {
  padding: clamp(82px, 9vw, 138px) clamp(24px, 5vw, 78px);
  border-top: 1px solid var(--line);
}
.rewards-how > h2,
.rewards-help h2 { font-size: clamp(2.7rem, 4.5vw, 5.6rem); line-height: 0.97; letter-spacing: -0.058em; }
.rewards-how__steps { margin-top: 68px; display: grid; grid-template-columns: repeat(3, 1fr); }
.rewards-how__steps article { position: relative; min-height: 230px; padding: 26px clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 28px; }
.rewards-how__steps article:first-child { padding-left: 0; }
.rewards-how__steps article + article { border-left: 1px solid var(--sun); }
.rewards-how__number { position: absolute; top: 0; left: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--sun-warm); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.rewards-how__steps article:not(:first-child) .rewards-how__number { left: clamp(24px, 4vw, 56px); }
.rewards-how svg { width: 52px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rewards-how h3 { font-size: 1.25rem; }
.rewards-how article p { margin-top: 12px; max-width: 300px; color: rgba(35,31,32,.68); line-height: 1.55; }

.rewards-help {
  padding: clamp(82px, 9vw, 138px) clamp(24px, 5vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(60px, 10vw, 160px);
  border-top: 1px solid var(--line);
}
.rewards-faq { margin-top: 56px; }
.rewards-faq details { border-bottom: 1px solid var(--ink); }
.rewards-faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; font-weight: 700; cursor: pointer; }
.rewards-faq summary::-webkit-details-marker { display: none; }
.rewards-faq summary span { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.rewards-faq summary span::before,
.rewards-faq summary span::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 2px; background: var(--ink); transition: transform 180ms var(--ease); }
.rewards-faq summary span::after { transform: rotate(90deg); }
.rewards-faq details[open] summary span::after { transform: rotate(0); }
.rewards-faq details > p { max-width: 700px; padding: 0 36px 24px 0; color: rgba(35,31,32,.68); line-height: 1.6; }
.rewards-help__activation { align-self: center; padding: 42px 0 42px clamp(34px, 5vw, 78px); border-left: 1px solid var(--sun); }
.rewards-help__activation h2 { font-size: clamp(2.2rem, 3.7vw, 4.3rem); }
.rewards-help__activation p { margin: 24px 0 30px; line-height: 1.55; }

.rewards-footer { width: 100%; }

@media (max-width: 980px) {
  .rewards-hero { grid-template-columns: 1fr 1fr; }
  .rewards-hero__intro { padding-left: 24px; padding-right: 40px; }
  .rewards-lookup { padding-inline: 36px; }
  .rewards-balances strong { font-size: clamp(2.3rem, 7vw, 4.4rem); }
  .rewards-how__steps article { grid-template-columns: 1fr; align-content: center; }
  .rewards-help { gap: 50px; }
}

@media (max-width: 760px) {
  .rewards-hero { min-height: auto; grid-template-columns: 1fr; }
  .rewards-hero__intro { padding: 70px 20px 58px; }
  .rewards-hero h1 { font-size: clamp(3.15rem, 13.4vw, 4.9rem); }
  .rewards-hero__intro > p:not(.rewards-hero__microcopy) { margin-top: 26px; }
  .rewards-hero__actions { width: 100%; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .rewards-hero__actions .button { padding-inline: 10px; }
  .rewards-lookup { padding: 58px 20px 70px; border-top: 1px solid var(--line); border-left: 0; }
  .rewards-lookup h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .rewards-form { margin-top: 36px; }
  .rewards-form__actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .rewards-form__actions .button { width: 100%; }
  .rewards-form__actions > a,
  .rewards-form__reset { justify-content: center; }

  .rewards-results { padding: 68px 20px 78px; }
  .rewards-results__head,
  .rewards-wallet { display: grid; }
  .rewards-level { justify-self: start; }
  .rewards-wallet { margin-top: 42px; }
  .rewards-wallet__links { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-badge { padding-inline: 10px; }
  .rewards-balances { margin-top: 48px; }
  .rewards-balances > div { min-height: 135px; padding: 18px 14px; gap: 12px; }
  .rewards-balances > div:first-child { padding-left: 0; }
  .rewards-balances span { font-size: .7rem; line-height: 1.35; }
  .rewards-balances strong { font-size: clamp(1.45rem, 7.5vw, 2.2rem); }
  .rewards-result__secondary { grid-template-columns: 1fr; }
  .rewards-result__secondary > div { padding-inline: 0; }
  .rewards-result__secondary > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .rewards-movements { margin-top: 54px; }

  .rewards-how { padding: 72px 20px 80px; }
  .rewards-how__steps { margin-top: 46px; grid-template-columns: 1fr; }
  .rewards-how__steps article { min-height: 180px; padding: 42px 0 30px; grid-template-columns: 58px 1fr; }
  .rewards-how__steps article + article { border-top: 1px solid var(--sun); border-left: 0; }
  .rewards-how__steps article:not(:first-child) .rewards-how__number { left: 0; }
  .rewards-how__number { top: 14px; }

  .rewards-help { padding: 72px 20px 82px; grid-template-columns: 1fr; gap: 64px; }
  .rewards-help__activation { padding: 46px 0 0; border-top: 1px solid var(--sun); border-left: 0; }
}

@media (max-width: 430px) {
  .rewards-page .header-cta { min-height: 44px; padding-inline: 12px; font-size: .72rem; }
  .rewards-birthday { gap: 24px; }
  .rewards-wallet__links { grid-template-columns: 1fr; }
  .rewards-balances > div { padding-inline: 10px; }
  .rewards-balances span { min-height: 38px; }
  .rewards-footer { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rewards-results { animation: none; }
}
