/* Chipo home. Section families: split hero with a world stage, hairline proof row, device split, one pinned
   scroll story, horizontal card rail, route diagram, display split, 2x2 facts, CTA band. */

/* Soft grounds bleed past their boxes by design; sections clip them sideways so phones never scroll. */
#main > section { overflow-x: clip; }
/* Below the fold the browser skips style, layout and paint (and the looping sprites) until a section nears view. */
#main > section:not(.hero):not(.story) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- hero: text left, a stage that reads as a world (no box) right */
.hero { padding: clamp(112px, 14vh, 150px) 0 40px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.1vw, 88px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 26px; }
.hero h1 .tone { color: var(--accent-text); }
.hero .lede { font-size: 20px; margin-bottom: 30px; max-width: 26.52em; }
.hero .btn-row { gap: 8px 20px; }
.quote { margin: 30px 0 0; max-width: 30.5em; }
.quote-line { font-size: 17px; line-height: 1.45; margin: 0 0 6px; letter-spacing: -0.01em; }
.quote-line .num { font-size: 17px; font-weight: 500; color: var(--ink); }
.quote-meta { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; min-height: 1.5em; }

.world { position: relative; aspect-ratio: 1 / 1; isolation: isolate; cursor: pointer; margin-right: -4%; }
.world::before { content: ''; position: absolute; inset: -18%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--sky-deep) 0%, var(--sky) 52%, transparent 100%); }
.hero-ring { position: absolute; left: 50%; top: 48%; width: 84%; aspect-ratio: 1; height: auto; transform: translate(-50%, -50%); z-index: 0; overflow: visible; }
.hr-track { fill: none; stroke: rgba(var(--tint), 0.10); stroke-width: 3.9; }
.hr-seg { fill: none; stroke: var(--accent); stroke-width: 3.9; }
.hero-shadow { position: absolute; left: 50%; top: var(--shadow-top, 83%); height: 5.5%; aspect-ratio: 6.2; width: auto; z-index: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 80, 140, 0.42), rgba(28, 80, 140, 0)); opacity: var(--shadow-o, 0.85); transform: translate(-50%, -50%) scale(var(--shadow-scale, 1)); transition: transform .14s var(--ease), opacity .14s var(--ease); }
.hero-bob { position: absolute; inset: 0; z-index: 3; }
.hero-fig { position: absolute; inset: 0; will-change: transform; transition: transform .12s var(--ease); transform-origin: 50% 80%; }
.hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
/* the video loop is shot on #EAF4FF: a round soft mask melts its square into the world ground */
.hero-clip { position: absolute; inset: 0; z-index: 1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-video { -webkit-mask-image: radial-gradient(circle closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 72%, transparent 100%); }
/* light: a lit floor. #EAF4FF at the centre to the page white at 70% of the stage, a faint vignette ring at the disc edge */
.world[data-video]::before { background: radial-gradient(circle closest-side, #EAF4FF 0%, #EAF4FF 42%, rgba(234, 244, 255, 0.6) 58%, rgba(234, 244, 255, 0) 70%); inset: -10%; }
.world[data-video]::after { content: ''; position: absolute; inset: 10%; z-index: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle closest-side, transparent 78%, rgba(var(--tint), 0.07) 90%, transparent 100%); }
.hero-contact { position: absolute; left: 50%; top: 80%; width: 26%; height: 5%; z-index: 2; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(28, 80, 140, .34), rgba(28, 80, 140, 0)); mix-blend-mode: multiply; pointer-events: none; }
.world[data-video] .hero-ring { width: 78%; top: 50%; z-index: 2; }
.hero-frame { visibility: hidden; }
.hero-frame.is-on { visibility: visible; }
/* props: three depth layers; the outer box takes pointer parallax, the image drifts */
.props { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.prop { position: absolute; transform: translate3d(calc(var(--px, 0) * var(--depth) * 1px), calc(var(--py, 0) * var(--depth) * 1px), 0); transition: transform .6s var(--ease); }
.prop img { position: relative; z-index: 1; width: 100%; height: auto; }
.prop-shadow { position: absolute; left: 18%; right: 18%; bottom: 2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 80, 140, .26), transparent); }
.prop[data-layer="far"] { z-index: 0; } /* behind the stage: they peek past the disc; depth by size and parallax, no blur */
.prop[data-layer="near"] { z-index: 4; }
@media (prefers-reduced-motion: no-preference) {
  html.js .world:not(.ring-in) .hr-seg { opacity: 0; }
  .world.ring-in .hr-seg { animation: seg-in 140ms ease-out both; animation-delay: calc(900ms * (1 - (1 - var(--i) / 36) * (1 - var(--i) / 36)) - 120ms); }
  .hero-bob { animation: hero-bob 2.8s ease-in-out infinite; }
  .hero-shadow { animation: hero-shadow 2.8s ease-in-out infinite; }
  .world.is-dancing .hero-bob, .world.is-paused .hero-bob, .world.is-paused .hero-shadow, .world.is-paused .prop img { animation-play-state: paused; }
  .world.is-dancing .hero-shadow { animation: none; }
  .prop img { animation: drift var(--drift, 7s) ease-in-out infinite alternate; }
}
@keyframes seg-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hero-shadow { 0%, 100% { transform: translate(-50%, -50%) scale(var(--shadow-scale, 1)); } 50% { transform: translate(-50%, -50%) scale(calc(var(--shadow-scale, 1) * 0.92)); } }
@keyframes drift { from { transform: translateY(-6px) rotate(-2deg); } to { transform: translateY(6px) rotate(2deg); } }

/* ---------- proof: four live figures on hairlines */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
.stat { padding: 26px 24px 22px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-label { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.stat-value { font-family: var(--mono); font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 8px; }
.stat-sub { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; min-height: 3em; }

/* ---------- watch it work: copy and a phone running the pocket */
.watch { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.watch h2 { margin-bottom: 22px; max-width: 8.08em; }
.watch p { color: var(--muted); font-size: 19px; max-width: 26.52em; }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 24px 0; }
.phone-wrap::before { content: ''; position: absolute; inset: 0 6%; border-radius: var(--r-outer); background: radial-gradient(closest-side, var(--sky-deep), transparent); z-index: -1; }
.phone { width: min(330px, 86vw); aspect-ratio: 9 / 19; border-radius: 52px; /* shape-lock exception: the phone mockup bezel and screen follow a device, not the site */ padding: 11px; background: #0C0F14; box-shadow: inset 0 0 0 1.5px #2A3039, 0 40px 80px -36px rgba(var(--tint), .55), 0 12px 24px -16px rgba(var(--tint), .4); }
.phone-screen { position: relative; height: 100%; border-radius: 42px; /* device exception */ overflow: hidden; background: var(--surface); color: var(--ink); padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; border-radius: var(--r-control); background: #0C0F14; transform: translateX(-50%); }
.pp-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.pp-head b { color: var(--ink); font-weight: 500; font-size: 15px; }
.pp-ring { position: relative; width: 74%; aspect-ratio: 1; margin: 0 auto; }
.pp-ring svg.ring-svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.pp-ring .track { stroke: var(--line); }
.pp-ring .fill { stroke: var(--accent); transition: stroke-dashoffset .9s var(--ease); }
.pp-ring[data-over="true"] .fill { stroke: var(--loss); }
.pp-ring .chipo { position: absolute; width: 50%; left: 50%; top: 50%; transform: translate(-50%, -54%); }
.pp-figure { text-align: center; }
.pp-figure b { display: block; font-family: var(--mono); font-weight: 500; font-size: 28px; letter-spacing: -0.04em; }
.pp-figure span { font-size: 13px; color: var(--muted); }
.pp-mood { align-self: center; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: var(--r-control); background: var(--band); }
.pp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 12px; border-radius: var(--r-inner); background: var(--band); font-size: 14px; }
.pp-list li small { grid-column: 1; color: var(--muted); font-size: 12px; }
.pp-list li .num { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
@media (prefers-reduced-motion: no-preference) {
  .pp-list li.new { animation: slip-in .5s var(--ease) both; }
}
@keyframes slip-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- the pinned story: a lit disc, a 3D pose per beat, objects at stage scale */
.story { padding: 0; }
.story-pin { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding: 96px 0 48px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.story h2 { margin-bottom: 40px; max-width: 8.08em; }
.story-steps { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.beat-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.beat-rail::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line-strong); }
.beat-rail li { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--mono); font-size: 13px; color: var(--muted); transition: background-color .3s var(--ease), color .3s var(--ease); }
.beat-rail li.is-on { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.beat-rail li.done { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.beats { list-style: none; margin: 0; padding: 0; position: relative; min-height: 240px; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.beat.is-on { opacity: 1; transform: none; }
.beat h3 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.035em; margin-bottom: 14px; line-height: 1.04; }
.beat p { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 23.87em; margin: 0; }
.story-stage { position: relative; aspect-ratio: 1 / 1; isolation: isolate; }
/* the stage is a lit floor in both schemes, so everything on it keeps the light tokens */
/* the stage and the route band under it are a lit floor in both schemes, so they keep the light tokens */
.story-visual { --surface: #FFFFFF; --ink: #0E1116; --muted: #5B6470; --line: rgba(14, 17, 22, 0.09); --line-strong: rgba(14, 17, 22, 0.16); --tint: 28, 111, 184; --on-accent: #0E1116; color: var(--ink); position: relative; width: min(100%, calc(100vh - 290px), calc(100dvh - 290px)); margin-inline: auto; }
.story-stage::before { content: ''; position: absolute; inset: -4%; z-index: -1; border-radius: 50%; background: radial-gradient(circle closest-side, #EAF4FF 0%, #EAF4FF 46%, rgba(234, 244, 255, .55) 64%, rgba(234, 244, 255, 0) 72%); }
.story-stage::after { content: ''; position: absolute; inset: 6%; z-index: -1; border-radius: 50%; background: radial-gradient(circle closest-side, transparent 80%, rgba(var(--tint), .07) 92%, transparent 100%); }
.ss-ring { position: absolute; inset: 7%; overflow: visible; }
.ss-ring .ss-track { fill: none; stroke: rgba(var(--tint), .10); stroke-width: 3.9; }
.ss-ring .ss-seg { fill: none; stroke: var(--accent); stroke-width: 3.9; opacity: 0; }
.ss-poses { position: absolute; left: 28%; right: 28%; top: 30%; bottom: 12%; z-index: 3; }
.ss-pose { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transition: opacity .3s var(--ease); filter: drop-shadow(0 18px 18px rgba(28, 80, 140, .22)); }
.ss-pose.is-on { opacity: 1; }
.ss-orbit { position: absolute; inset: 0; z-index: 4; }
.ss-chip { position: absolute; left: 50%; top: 50%; padding: 13px 21px; border-radius: var(--r-control); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); font-weight: 500; font-size: 19px; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(calc(var(--a) * 72deg - 90deg)) translateX(var(--r, 40cqw)) rotate(calc(var(--a) * -72deg + 90deg)); }
.ss-chip.on { background: var(--accent); color: var(--on-accent); }
.story-stage { container-type: inline-size; }
/* the counter is a pill on the band under the disc (the route's slot, a different beat): never over the ring or a pose */
.ss-counter { position: absolute; left: 0; right: 0; z-index: 1; width: max-content; margin: 14px auto 0; padding: 12px 26px; border-radius: var(--r-control); background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(28, 111, 184, .45); display: flex; align-items: baseline; gap: 12px; opacity: 0; }
.ss-counter b { font-family: var(--mono); font-weight: 500; font-size: 32px; letter-spacing: -0.04em; line-height: 1; }
.ss-counter span { font-size: 15px; color: var(--muted); }
.ss-ticket { position: absolute; left: 14%; right: 14%; top: 58%; padding: 26px 30px; border-radius: var(--r-outer); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; opacity: 0; z-index: 5; }
.ss-ticket b { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.ss-ticket small { color: var(--muted); font-size: 17px; }
.ss-ticket .num { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 38px; }
.ss-cards { position: absolute; left: 0; right: 0; bottom: 10%; height: 50%; z-index: 5; }
.ss-card { position: absolute; left: 50%; bottom: 0; width: 44%; margin-left: -22%; border-radius: var(--r-outer); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); opacity: 0; transform-origin: 50% 120%; }
.ss-card img { width: 100%; height: auto; aspect-ratio: 240 / 144; object-fit: cover; }
.ss-card span { display: block; padding: 12px 16px 14px; font-size: 17px; font-weight: 500; }
/* the route sits fully below the disc on its own white band */
.ss-route { position: relative; margin-top: 14px; padding: 16px 8px 14px; border-radius: var(--r-outer); background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(28, 111, 184, .45); display: grid; grid-template-columns: repeat(3, 1fr); opacity: 0; }
.ss-line { position: absolute; left: 16.6%; right: 16.6%; top: 43px; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.ss-node { position: relative; text-align: center; opacity: 0; padding: 0 6px; }
.ss-node i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); font-style: normal; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.ss-node:nth-child(3) i { background: var(--accent); color: var(--on-accent); }
.ss-node b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; letter-spacing: -0.04em; line-height: 1.2; }
.ss-node span { font-size: 14px; color: var(--muted); }
/* without motion or without GSAP: the five beats are a plain list and the stage stays out */
.story.is-static .story-pin { min-height: 0; padding: 128px 0 40px; }
.story.is-static .story-grid { grid-template-columns: 1fr; }
.story.is-static .story-visual, .story.is-static .beat-rail { display: none; }
.story.is-static .story-steps { grid-template-columns: 1fr; }
.story.is-static .beats { min-height: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.story.is-static .beat { position: static; opacity: 1; transform: none; }
.story.is-static .beat h3 { font-size: 28px; }

/* ---------- the scene strip: the one marquee on the page */
.strip-sec { padding: 128px 0 0; }
.strip-sec h2 { margin-bottom: 40px; max-width: 10.77em; }
.strip { overflow: hidden; }
.strip-track { list-style: none; margin: 0; padding: 0 0 12px; display: flex; gap: 20px; width: max-content; }
.strip-track li { flex: none; }
.strip-track img { height: 320px; width: auto; aspect-ratio: 640 / 794; object-fit: cover; border-radius: var(--r-outer); background: var(--band); box-shadow: 0 24px 40px -28px rgba(var(--tint), .45); }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: marquee 70s linear infinite; }
  .strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- deals rail */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.rail-head h2 { max-width: 10.77em; }
.rail-head p { color: var(--muted); margin: 14px 0 0; max-width: 29.17em; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 264px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(16px, calc((100vw - var(--wrap)) / 2)) 36px; scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); scrollbar-width: thin; }
.rail-source { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- pay: the Relay route as a live diagram */
.pay { position: relative; border-radius: var(--r-outer); background: var(--band); padding: 72px 64px; overflow: hidden; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; align-items: end; }
.pay h2 { max-width: 10.1em; margin-bottom: 16px; }
.pay > .pay-grid p { color: var(--muted); max-width: 30.5em; font-size: 18px; }
.pay-coin { width: auto; height: auto; max-height: 360px; margin: -24px 12% -40px auto; filter: drop-shadow(0 24px 30px rgba(28, 80, 140, .25)); }
.route-map { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 48px; position: relative; }
.route-map::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 33px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-text)); transform-origin: left; transform: scaleX(var(--drawn, 1)); transition: transform 1.1s var(--ease); }
html.js .route-map:not(.in) { --drawn: 0; }
.hop { position: relative; text-align: center; padding: 0 12px; }
.hop i { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); font-style: normal; font-family: var(--mono); font-weight: 500; font-size: 13px; }
.hop.mid i { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px rgba(77, 184, 255, .2); }
.hop b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.04em; margin-bottom: 4px; }
.hop span { font-size: 14px; color: var(--muted); }
.pay-source { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 36px 0 0; text-align: center; }

/* ---------- gadget: the display and the five pixel faces */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.amoled { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: #05080C; box-shadow: 0 0 0 12px #1B2028, 0 0 0 13px var(--line-strong), 0 50px 90px -40px rgba(var(--tint), .55); overflow: hidden; }
.amoled img, .amoled video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
@media (prefers-reduced-motion: no-preference) {
  .amoled .df { opacity: 0; animation: frame 0.96s steps(1, end) infinite; }
  .amoled .df:nth-child(2) { animation-delay: .24s; }
  .amoled .df:nth-child(3) { animation-delay: .48s; }
  .amoled .df:nth-child(4) { animation-delay: .72s; }
}
@keyframes frame { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }
.desk h2 { margin-bottom: 18px; }
.desk > div > p { color: var(--muted); font-size: 18px; max-width: 29.17em; }
.moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 28px 0; max-width: 460px; }
.moods figure { margin: 0; text-align: center; }
.moods img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; background: #05080C; image-rendering: pixelated; box-shadow: 0 0 0 4px #1B2028; }
.moods figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.console { margin: 0 0 18px; }
.pair { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 15.5px; }
.pair li { margin-bottom: 4px; }

/* the pay loop has a counter across its lower third: a framed card with a soft inner edge */
.pay-card { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin-left: auto; border-radius: var(--r-outer); overflow: hidden; background: #EAF4FF; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(var(--tint), .5); }
.pay-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 28px 6px rgba(234, 244, 255, .55); pointer-events: none; }
.pay-poster, .pay-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- muse: two by two with variation */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.fact { border-radius: var(--r-outer); padding: 30px; background: var(--band); display: grid; align-content: start; gap: 10px; transition: transform .2s var(--ease); }
.fact:hover { transform: translateY(-2px); }
.fact-date { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.fact p { margin: 0; font-size: 17px; max-width: 30.5em; }
.fact.tint { background: var(--accent-wash); }
.fact.tint .fact-date { color: var(--ink); } /* accent text on the accent wash is 4.40:1 */
.fact.photo { padding: 0; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: center; }
.fact.photo img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.fact.photo .cap { padding: 22px 30px 28px; display: grid; gap: 10px; }
.fact.ink { background: var(--night); color: var(--night-text); box-shadow: 0 0 0 1px var(--line); }
.fact.ink .fact-date { color: #7CC9FF; }
.fact.ink p { color: var(--night-text); }

/* ---------- CTA band: a tinted radial ground and the 3D toy on a soft shadow */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 56px 72px; border-radius: var(--r-outer); overflow: hidden;
  background: radial-gradient(70% 120% at 78% 60%, #EAF4FF 0%, var(--sky) 45%, var(--band) 100%); }
.cta h2 { font-size: 48px; max-width: 8.08em; margin-bottom: 26px; }
.cta-figure { position: relative; width: 250px; margin: 8px 0 18px; }
.cta-figure img { position: relative; z-index: 1; width: 100%; height: auto; }
.cta-shadow { position: absolute; left: 22%; right: 22%; bottom: -10px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 80, 140, .32), transparent); }

/* ---------- responsive */
/* the world bleeds 4% past the column only while the page has room for it: below 1320 the controller prop
   (right edge at 100% of the stage) would meet the viewport edge and clip */
@media (max-width: 1320px) { .world { margin-right: 0; } }
@media (max-width: 1080px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .watch, .desk { gap: 40px; }
  .pay { padding: 56px 36px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; margin-bottom: 4px; }
  .hero-media { order: 2; margin: 0 -16px 8px; }
  .hero .lede { order: 3; }
  .hero .btn-row { order: 4; }
  .hero .quote { order: 5; }
  .quote-meta { min-height: 3em; } /* the live quote line takes two lines here: reserve them so its arrival moves nothing */
  .world { aspect-ratio: auto; height: 62vw; min-height: 240px; margin: 0; }
  .world::before { inset: -10% 0; }
  .hero-ring { width: auto; height: 92%; }
  .hero-bob { inset: 6% 0 2% 0; }
  .prop.mobile-hide { display: none; }
  .prop:not(.mobile-hide) { transform: scale(1.3); }
  .watch, .desk, .story-grid { grid-template-columns: 1fr; }
  .watch h2 { max-width: none; }
  .story-pin { padding: 76px 0 24px; align-items: start; }
  .story-grid { gap: 12px; }
  .story-visual { order: -1; width: min(100%, 56vw + 100px, calc(100vh - 430px), calc(100dvh - 430px)); min-width: 240px; }
  .story-stage::before { inset: -2% 0; }
  .ss-counter { margin-top: 8px; padding: 8px 18px; gap: 8px; }
  .ss-counter b { font-size: 22px; }
  .ss-counter span { font-size: 12px; }
  .ss-route { margin-top: 8px; padding: 10px 4px; }
  .ss-node b { font-size: 16px; }
  .ss-card { width: 36%; margin-left: -18%; }
  .ss-chip { font-size: 14px; padding: 9px 14px; }
  /* phones: the merchant on one line (ellipsis), the category and the amount on the next; never wraps at 320 */
  .ss-ticket { left: 10%; right: 10%; padding: 12px 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .ss-ticket b, .ss-ticket small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .ss-ticket b { grid-column: 1 / -1; font-size: 17px; }
  .ss-ticket small { grid-row: 2; grid-column: 1; align-self: baseline; font-size: 12px; }
  .ss-ticket .num { grid-row: 2; grid-column: 2; align-self: baseline; font-size: 18px; }
  .ss-node i { width: 38px; height: 38px; font-size: 10px; margin-bottom: 4px; } .ss-line { top: 29px; }
  .ss-node span { font-size: 12px; }
  .story h2 { margin-bottom: 14px; font-size: 32px; }
  .story-steps { gap: 16px; }
  .beat-rail li { width: 26px; height: 26px; font-size: 11px; } .beat-rail::before { left: 12px; }
  .beats { min-height: 150px; }
  .beat h3 { font-size: 26px; }
  .beat p { font-size: 16px; }
  .strip-sec { padding-top: 80px; }
  .strip-sec h2 { margin-bottom: 24px; }
  .strip-track img { height: 220px; }
  .rail-head { flex-direction: column; align-items: start; }
  .pay { padding: 44px 22px; border-radius: var(--r-outer); }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-coin { max-height: 220px; margin: 8px auto 0; }
  .pay-card { margin: 8px auto 0; width: min(300px, 100%); }
  .gworld { width: min(420px, 100%); }
  .route-map { grid-template-columns: 1fr; gap: 26px; }
  .route-map::before { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact.photo { grid-template-columns: 1fr; }
  .fact.photo img { max-height: 280px; }
  .cta { grid-template-columns: 1fr; padding: 40px 24px; }
  .cta-figure { width: 190px; justify-self: center; }
  .cta h2 { font-size: 36px; }
}
@media (max-width: 560px) {
  .proof { grid-template-columns: 1fr; }
  .proof .stat, .proof .stat + .stat { padding-left: 0; border-left: 0; }
  .proof .stat + .stat { border-top: 1px solid var(--line); }
  .moods { gap: 6px; }
  .rail { grid-auto-columns: 232px; }
}

/* dark: the clips are shot on a light ground, so their glow fades out over a longer, softer radius */
@media (prefers-color-scheme: dark) {
  .world[data-video]::before { background: radial-gradient(circle closest-side, rgba(234, 244, 255, 0.95) 0%, rgba(234, 244, 255, 0.9) 40%, rgba(170, 205, 240, 0.35) 66%, rgba(77, 184, 255, 0.08) 84%, rgba(77, 184, 255, 0) 100%); }
}
