:root { --story-step-duration: 3800ms; --story-transition: 600ms; --story-exit: 160ms; --story-enter: 440ms; --story-progress: 0; }
.hero { background: var(--surface); color: var(--foreground); padding-block: 80px 0; }
.hero-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; padding-bottom: 64px; }
.hero .eyebrow { color: var(--brand-primary); margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px, 4.3vw, 64px); line-height: 1.25; }
.hero h1 em { color: var(--brand-primary); }
.hero h1 em::after { display: none; }
.hero-explanation { padding-bottom: 8px; }
.hero-explanation p { font-size: 19px; color: var(--secondary-foreground); line-height: 1.8; }
.hero-explanation .text-link { margin-top: 20px; }
.hero a:focus-visible, .hero button:focus-visible { outline-color: var(--brand-primary); }
.journey { position: relative; color: var(--foreground); }
.journey-stage { position: relative; height: 480px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.journey-photographs { position: relative; overflow: hidden; border-radius: var(--mobile-radius-surface); background: var(--surface-subtle); }
.scene-photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--story-transition) var(--motion-ease); pointer-events: none; }
.scene-photo.is-active { opacity: 1; }
.scene-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-photo figcaption { position: absolute; inset: auto 0 0; display: block; padding: 16px 24px; background: var(--surface); color: var(--foreground); opacity: 0; transition: opacity var(--story-exit) ease; }
.scene-photo.is-active figcaption { opacity: 1; transition: opacity var(--story-enter) var(--motion-ease) var(--story-exit); }
.scene-photo figcaption span { display: none; }
.scene-photo figcaption strong { font-size: 17px; line-height: 1.5; font-weight: 600; }
.journey-phone-area { display: grid; place-content: center; position: relative; padding: 24px; background: var(--surface-subtle); border-radius: var(--mobile-radius-surface); }
.story-phone { width: 240px; height: 400px; padding: 20px; border: 1px solid var(--border); border-radius: var(--mobile-radius-surface); background: var(--surface); color: var(--foreground); overflow: hidden; }
.story-phone-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; font-size: 13px; color: var(--brand-primary); font-weight: 750; border-bottom: 1px solid var(--border); }
.story-phone-top img { width: 24px; height: 24px; border-radius: var(--mobile-radius-control); }
.story-screens { height: 275px; position: relative; }
.story-screen { position: absolute; inset: 0; padding-top: 28px; opacity: 0; transform: translateY(8px); transition: opacity var(--story-exit) ease, transform var(--story-exit) ease; pointer-events: none; }
.story-screen.is-active { opacity: 1; transform: translateY(0); transition: opacity var(--story-enter) var(--motion-ease) var(--story-exit), transform var(--story-enter) var(--motion-ease) var(--story-exit); }
.screen-eyebrow { color: var(--secondary-foreground); font-size: 12px; }
.screen-title { font-size: 25px; line-height: 1.35; margin-top: 8px; font-weight: 750; }
.screen-amount { display: block; font-size: 36px; color: var(--brand-primary); line-height: 1.25; margin-top: 20px; font-weight: 850; font-variant-numeric: tabular-nums; }
.screen-amount small { font-size: 18px; }
.screen-divider { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--secondary-foreground); }
.screen-confirm { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--brand-primary); padding: 12px 0; margin-top: 20px; }
.screen-confirm svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; flex: 0 0 auto; }
.screen-coin { width: 48px; height: 48px; display: grid; place-items: center; color: var(--brand-primary); background: var(--brand-primary-surface); border-radius: 50%; font-size: 28px; font-weight: 850; margin-bottom: 12px; }
.screen-coin svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.scan-graphic { width: 112px; height: 112px; margin: 16px auto 8px; color: var(--brand-primary); }
.scan-graphic path { stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; }
.scan-graphic rect { fill: currentColor; }
.phone-note { font-size: 11px; color: var(--muted-foreground); text-align: center; margin-top: 12px; }
.journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 16px; }
.story-step { font-family: inherit; cursor: pointer; appearance: none; border: 0; text-align: left; position: relative; color: inherit; background: transparent; }
.journey-steps .story-step { padding: 16px 0; min-height: 80px; color: var(--secondary-foreground); border-bottom: 1px solid var(--border); }
.story-step::after { content: ''; position: absolute; height: 2px; inset: auto 0 -1px; background: var(--brand-primary); transform: scaleX(0); transform-origin: left; }
.story-ready .story-step.is-active::after { transform: scaleX(var(--story-progress, 0)); }
.story-step .step-number { display: block; font-size: 11px; line-height: 1; margin-bottom: 8px; }
.journey-steps .story-step strong { font-size: 17px; }
.journey-steps .story-step.is-active { color: var(--foreground); }
.journey-steps .story-step.is-active .step-number { color: var(--brand-primary); }
.journey-steps .story-step:focus-visible { outline-color: var(--brand-primary); outline-offset: 4px; }
.journey-note { font-size: 11px; color: var(--muted-foreground); margin-top: 12px; text-align: right; }

.business-section { padding-block: 144px; }
.business-section .section-intro { margin-bottom: 48px; }
.business-section h2 { font-size: clamp(32px, 3.3vw, 46px); }
.brand-definitions { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.brand-definition { padding-block: 32px; border-top: 1px solid var(--border); }
.brand-definition > span { display: block; font-size: 13px; color: var(--secondary-foreground); }
.brand-definition h3 { font-size: 40px; color: var(--brand-primary); margin: 8px 0 16px; }
.brand-definition > p { color: var(--secondary-foreground); font-size: 17px; }
.brand-definition .text-link { margin-top: 16px; }
.business-connection { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.business-connection p { font-size: 22px; font-weight: 650; }
.business-connection span { color: var(--brand-primary); }
.business-connection small { font-size: 14px; color: var(--secondary-foreground); }
.pay-section { padding-top: 128px; background: var(--surface); }
.pay-section .chapter-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; text-align: left; margin-bottom: 64px; }
.pay-section .chapter-heading h2 { font-size: clamp(64px, 8vw, 112px); line-height: 1.1; }
.pay-chapter-message > p { color: var(--foreground); font-size: clamp(28px, 2.8vw, 40px); font-weight: 750; line-height: 1.4; margin-bottom: 20px; }
.pay-chapter-message > span { color: var(--secondary-foreground); font-size: 17px; line-height: 1.8; }
.pay-story { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.pay-story-steps { display: flex; flex-direction: column; }
.pay-story .story-step { color: var(--secondary-foreground); padding: 24px 0; border-bottom: 1px solid var(--border); min-height: 126px; transition: color var(--motion); }
.pay-story .story-step .step-number { color: var(--secondary-foreground); font-size: 12px; }
.pay-story .story-step.is-active .step-number { color: var(--brand-primary); }
.pay-story .story-step strong { font-size: 25px; line-height: 1.4; display: block; }
.pay-story .story-step > span:last-child { font-size: 15px; display: block; margin-top: 8px; }
.pay-story .story-step.is-active { color: var(--foreground); }
.pay-story .story-step::after { background: var(--brand-primary); }
.pay-stage { min-height: 560px; display: grid; place-content: center; background: var(--surface-subtle); border-radius: var(--mobile-radius-surface); padding: 32px; }
.pay-stage .story-phone { width: 286px; height: 426px; padding: 24px; }
.pay-stage .story-phone .story-screens { height: 320px; }
.pay-stage .story-screen { padding-top: 32px; }
.pay-stage .screen-amount { font-size: 44px; }
.pay-stage .screen-title { font-size: 28px; }
.pay-stage .scan-graphic { width: 136px; height: 136px; }
.pay-stage .phone-note { color: var(--secondary-foreground); }
.pay-story-link { margin-top: 24px; }
.calculator-block { padding-top: 80px; border-top: 1px solid var(--border); }
.calculator-block .about-copy h3 { font-size: 36px; }
.merchant-grid h3 { font-size: clamp(32px, 3.3vw, 44px); }
@media (max-width: 1100px) {
  .hero-heading { gap: 40px; }
  .journey-stage { grid-template-columns: 1.25fr 1fr; }
  .pay-story { gap: 48px; }
}
@media (max-width: 899px) {
  .hero { padding-top: 48px; }
  .hero-heading { grid-template-columns: 1fr; gap: 24px; }
  .hero-explanation p br { display: none; }
  .hero-explanation .text-link { margin-top: 8px; }
  .journey-stage { height: 440px; }
  .scene-photo figcaption { inset: auto 0 0; padding: 16px; }
  .scene-photo figcaption strong { font-size: 16px; }
  .journey-phone-area { padding: 24px 16px; }
  .story-phone { width: 220px; height: 384px; padding: 16px; }
  .pay-story { gap: 32px; }
  .pay-stage { padding: 24px 12px; min-height: 500px; }
  .pay-stage .story-phone { width: 250px; }
  .pay-story .story-step strong { font-size: 22px; }
  .brand-definitions { gap: 40px; }
  .business-connection { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 749px) {
  .pay-section .chapter-heading { grid-template-columns: 1fr; gap: 40px; }
  .pay-section .chapter-heading h2 { font-size: 64px; }
  .pay-chapter-message > p { font-size: 30px; }
  .pay-story { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .hero-heading { padding-bottom: 32px; gap: 20px; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 48px); }
  .hero-explanation p { font-size: 16px; }
  .journey-stage { grid-template-columns: 1fr; height: auto; gap: 16px; }
  .journey { display: flex; flex-direction: column; }
  .journey-steps { order: -1; gap: 16px; margin-top: 0; margin-bottom: 20px; }
  .journey-photographs { height: 232px; }
  .scene-photo figcaption { padding: 12px 0; inset: auto 0 0; }
  .scene-photo figcaption span { font-size: 10px; }
  .scene-photo figcaption strong { font-size: 15px; }
  .journey-phone-area { display: block; padding: 20px; }
  .journey-phone-area .story-phone { height: 220px; width: 100%; padding: 16px; border-width: 1px; }
  .journey-phone-area .story-phone-top { padding-bottom: 12px; }
  .journey-phone-area .story-screen { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 8px; }
  .journey-phone-area .screen-coin, .journey-phone-area .screen-confirm { display: none; }
  .journey-phone-area .screen-eyebrow { grid-column: 1 / -1; }
  .journey-phone-area .screen-title { font-size: 20px; margin: 0; }
  .journey-phone-area .screen-amount { margin-top: 0; font-size: 28px; align-self: center; }
  .journey-phone-area .screen-divider { grid-column: 1 / -1; margin-top: 0; padding-top: 8px; }
  .journey-phone-area [data-story-panel="1"] .screen-amount { grid-column: 1 / -1; }
  .journey-steps .story-step { padding: 12px 0; min-height: 68px; }
  .journey-steps .story-step strong { font-size: clamp(11px, 3.4vw, 13px); }
  .journey-note { font-size: 10px; }
  .business-section { padding-block: 88px; }
  .brand-definitions { gap: 0; grid-template-columns: 1fr; }
  .brand-definition + .brand-definition { border-top: 0; }
  .brand-definition { padding-block: 24px; }
  .brand-definition h3 { font-size: 32px; }
  .brand-definition > p { font-size: 16px; }
  .business-connection { margin-top: 32px; }
  .business-connection p { font-size: 19px; }
  .pay-section { padding-top: 80px; }
  .pay-section .chapter-heading { text-align: left; margin-bottom: 40px; }
  .pay-section .chapter-heading > p:not(.eyebrow) { font-size: 36px; }
  .pay-story { grid-template-columns: 1fr; gap: 24px; }
  .pay-story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pay-story .story-step { padding: 12px 0; min-height: 90px; }
  .pay-story .story-step strong { font-size: 15px; }
  .pay-story .story-step > span:last-child { display: none; }
  .pay-stage { min-height: 460px; padding: 24px; }
  .pay-stage .story-phone { width: 240px; height: 400px; padding: 20px; }
  .pay-stage .screen-title { font-size: 25px; }
  .pay-story-link { margin-top: 0; }
  .calculator-block { padding-top: 48px; }
  .calculator-block .about-copy h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-screen, .story-screen.is-active, .scene-photo, .scene-photo figcaption, .scene-photo.is-active figcaption { transition: none; transform: none; }
  .story-ready .story-step.is-active::after { transform: scaleX(1); }
}
