/* Homepage entry points for Scan & Pay. */
.scan-pay-card{isolation:isolate}
.scan-pay-card>p{max-width:370px}
.scan-payment-art{position:absolute;right:24px;bottom:66px;width:min(88%,390px);height:208px;z-index:0;pointer-events:none}
.scan-payment-art>svg{width:100%;height:100%;overflow:visible}

.hero-cafe .hero-copy .hero-canadian-badge{gap:6px;padding:5px 9px;font-size:11px}
.hero-cafe .hero-copy .hero-canadian-badge .maple{width:14px;height:14px}
.hero-cafe .hero-copy h1{font-size:clamp(41px,4.55vw,66px)}
.hero-cafe .hero-copy h1 .hero-interest{display:block;color:var(--paper);font-size:.69em;line-height:1.1}
.hero-cafe .hero-copy h1 .hero-account{display:block;margin-top:.12em;color:var(--lime);font-weight:600;white-space:nowrap}
.hero-cafe .hero-copy h1 .hero-audience{display:table;max-width:100%;margin-top:18px;padding:7px 12px;border-left:2px solid var(--lime);border-radius:0 7px 7px 0;background:rgba(209,255,113,.09);color:var(--paper);font-size:clamp(16px,1.58vw,21px);line-height:1.45;letter-spacing:-.02em}
.hero-cafe .hero-hi-offer{
  width:min(390px,calc(100% - 48px));
  padding:14px 16px;
  border:1px solid var(--lime);
  border-radius:12px;
  background:linear-gradient(135deg,#1b342b,#0b1b1c 75%);
  box-shadow:0 10px 32px #0006;
}
.hero-hi-offer>div{width:100%;min-width:0}
.hero-hi-offer strong{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600;line-height:1.25}
.hero-hi-offer strong span{text-wrap:balance}
.hero-hi-offer strong b{padding:6px 9px;border-radius:6px;background:var(--lime);color:var(--ink);font-size:22px;font-weight:700;letter-spacing:-.04em;white-space:nowrap}
.hero-hi-offer small{font-size:12px;line-height:1.45}

@media(min-width:981px){
  .hero-cafe .hero-art{object-position:40% center}
  .hero-cafe .photo-caption{right:16px;bottom:90px}
}

/* Keep the expanded desktop navigation comfortable on smaller laptops. */
@media(min-width:981px) and (max-width:1200px){
  .header-inner{gap:18px}
  .main-nav{gap:16px}
  .header-actions{gap:15px}
}

@media(min-width:681px) and (max-width:980px){
  .scan-payment-art{right:8px;bottom:64px;width:calc(100% - 16px);height:180px}
}

@media(max-width:680px){
  .hero-cafe .hero-copy h1{font-size:clamp(26px,9.7vw,48px)}
  .hero-cafe .hero-photo{order:-1;height:auto}
  .hero-cafe .hero-art{
    display:block;
    height:auto;
    min-height:245px;
    object-position:56% center;
    mask-image:linear-gradient(to bottom,#000 89%,#000e 93%,transparent);
  }
  .hero-cafe .hero-photo::after{content:none}
  .hero-cafe .hero-content,.hero-cafe .hero-copy{position:static}
  .hero-cafe .hero-content{padding-top:12px}
  .hero-cafe .hero-copy .hero-canadian-badge{position:absolute;top:16px;left:20px;z-index:3;gap:5px;padding:4px 8px;font-size:10px}
  .hero-cafe .hero-copy .hero-canadian-badge .maple{width:13px;height:13px}
  .hero-cafe .hero-hi-offer{position:relative;inset:auto;width:min(340px,calc(100% - 28px));margin:-10px 14px 0 auto;padding:9px 11px}
  .hero-cafe .hero-hi-offer strong{font-size:13px}
  .hero-hi-offer strong b{font-size:19px}
  .hero-hi-offer small{font-size:11px}
  .scan-pay-card{min-height:560px}
  .scan-payment-art{right:16px;bottom:66px;width:min(92%,390px);height:196px}
}

@media(max-width:370px){
  .hero-cafe .hero-copy .hero-canadian-badge{left:16px}
}

/* Welcome offer eligibility, November 2026. */
.hero-hi-offer .welcome-bonus-asterisk{font-size:.7em;vertical-align:super;text-decoration:none;margin-left:1px;scroll-margin-top:100px}
.hero-hi-offer .welcome-bonus-asterisk:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.home-welcome-bonus-terms{font-size:14px;line-height:1.7;color:#c6d7cc;padding-bottom:24px;scroll-margin-top:100px}
.home-welcome-bonus-terms strong{font-weight:600}

/* First-deposit cashback welcome offer. */
.hero-hi-offer .home-cashback-terms{display:inline-block;margin-top:7px;font-size:14px;color:var(--lime);text-decoration:underline;text-underline-offset:3px}
.hero-hi-offer strong b{font-size:24px}
.hero-hi-offer small{display:block;margin-top:7px;font-size:14px}
@media(max-width:680px){.hero-cafe .hero-hi-offer{width:min(350px,calc(100% - 28px));padding:12px 14px}.hero-hi-offer strong b{font-size:23px}.hero-hi-offer small{font-size:13px}}
