/* PAIRED home: hero, product tiles that tilt flat on scroll, the pinned story, word reveal, live boards. */
.hero { text-align: center; padding: 92px 0 0; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 980px; margin: 0 auto; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.38em); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.hero h1.go .w { opacity: 1; transform: none; filter: none; }
.hero h1 .g { background: linear-gradient(92deg, #fff 10%, #9ff0c6 55%, #3ee08f 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 640px; margin: 22px auto 0; opacity: 0; transform: translateY(14px); transition: all 1s var(--ease) .45s; }
.hero .cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; opacity: 0; transform: translateY(14px); transition: all 1s var(--ease) .6s; }
.hero.go .lead, .hero.go .cta { opacity: 1; transform: none; }
.hero .cta .pill { height: 46px; padding: 0 22px; font-size: 14.5px; }

/* the product tiles: tilted back, they lie down flat as the page scrolls (Apple's product shot) */
.deck { perspective: 1800px; margin-top: 64px; }
.deck-in { transform-origin: 50% 0; will-change: transform; transform: rotateX(22deg) scale(.92) translateY(10px); }
.bento { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 248px 196px; gap: 14px; }
.bento .tile { display: flex; flex-direction: column; }
.bento .t-coins { grid-row: span 2; padding: 0; }
.t-coins .mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 10px; overflow: hidden;
  -webkit-mask: linear-gradient(180deg, transparent, #000 14%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 14%, #000 70%, transparent); }
.mosaic .col { display: flex; flex-direction: column; gap: 10px; animation: colup 46s linear infinite; }
.mosaic .col:nth-child(even) { animation-name: coldown; animation-duration: 54s; }
@keyframes colup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes coldown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.mosaic .mc { aspect-ratio: 1; border-radius: 14px; background: var(--tile); overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.05); flex: none; }
.mosaic .mc img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .mc.xs { display: grid; place-items: center; background: #141414; }
.mosaic .mc.xs img { width: 46%; height: 46%; object-fit: contain; border-radius: 50%; }
.mosaic .mc span { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 500; background: rgba(0,0,0,.6); padding: 2px 7px; border-radius: 99px; backdrop-filter: blur(6px); }
.t-coins .foot2 { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 13px; color: var(--mut);
  background: linear-gradient(0deg, rgba(18,18,18,.95), transparent); }
.t-coins .foot2 b { display: block; color: #fff; font-size: 15px; font-weight: 500; }
.t-paid .big { margin-top: auto; }
.t-paid .flow { display: flex; gap: 3px; margin-top: 14px; height: 6px; }
.t-paid .flow i { flex: 1; border-radius: 9px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.t-paid .flow i::after { content: ''; position: absolute; inset: 0; background: var(--green); transform: translateX(-101%); animation: fill 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes fill { 0% { transform: translateX(-101%); } 45%, 70% { transform: none; } 100% { transform: translateX(101%); } }
.t-paid .row2 { display: flex; gap: 22px; margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.t-paid .row2 b { color: #fff; font-weight: 500; margin-right: 4px; }
.t-next { flex-direction: row !important; align-items: center; gap: 18px; }
.ring { width: 118px; height: 118px; flex: none; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: rgba(255,255,255,.07); }
.ring .fg { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-next .txt { font-size: 13.5px; color: var(--mut); line-height: 1.55; }
.t-next .txt b { color: #fff; font-weight: 500; display: block; font-size: 15px; margin-bottom: 4px; }

/* ------------------------------------------------------------------ the story, pinned while it plays */
.story { position: relative; height: 420vh; margin-top: 120px; }
.story .pin { position: sticky; top: var(--top); height: calc(100vh - var(--top)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.story .steps { position: relative; height: 150px; max-width: 760px; margin: 0 auto 10px; text-align: center; }
.story .step { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.story .step.on { opacity: 1; transform: none; filter: none; }
.story .step .n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.story .step h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 8px 0 10px; letter-spacing: -.03em; }
.story .step p { color: var(--mut); font-size: 15.5px; line-height: 1.6; }
.stage { position: relative; width: min(1060px, 100%); aspect-ratio: 1060 / 470; margin: 0 auto; }
.stage svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage svg.lines path { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.4; }
.stage svg.lines path.hot { stroke: rgba(62,224,143,.55); }
.stage svg.lines circle { fill: var(--green); filter: drop-shadow(0 0 6px rgba(62,224,143,.9)); }
.stage svg.lines circle.w { fill: #fff; filter: drop-shadow(0 0 5px rgba(255,255,255,.8)); }
.node { position: absolute; transform: translate(-50%, -50%); will-change: transform, opacity; }
.n-xs { width: 112px; text-align: center; }
.n-xs .disc { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto; background: #151515; border: 1px solid var(--line2); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.n-xs .disc img { width: 52px; height: 52px; border-radius: 50%; }
.n-xs b { display: block; margin-top: 10px; font-weight: 500; font-size: 14px; }
.n-xs span { font-size: 12px; color: var(--dim); }
.ncard { width: 210px; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, #1a1a1a, #121212); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.ncard .hd { display: flex; align-items: center; gap: 10px; }
.ncard .av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 13px; letter-spacing: -.02em; flex: none; }
.ncard .hd b { display: block; font-weight: 500; font-size: 15px; }
.ncard .hd div span { font-size: 12px; color: var(--dim); }
.n-base { width: 248px; }
.n-base .av { background: #fff; color: #000; width: 46px; height: 46px; }
.pot { margin-top: 14px; }
.pot .lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); margin-bottom: 7px; }
.pot .lbl b { color: var(--green); font-weight: 500; font-family: var(--mono); font-size: 11.5px; }
.pot .bar { height: 8px; border-radius: 9px; background: rgba(255,255,255,.07); overflow: hidden; }
.pot .bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, #1f8f5a, var(--green)); box-shadow: 0 0 18px rgba(62,224,143,.6); }
.n-pair { width: 196px; }
.n-pair .av { background: #262626; color: #fff; border: 1px solid var(--line2); }
.n-pair .split { display: flex; height: 7px; border-radius: 9px; overflow: hidden; margin-top: 12px; background: rgba(255,255,255,.06); }
.n-pair .split i { display: block; height: 100%; width: 0; }
.n-pair .split .c { background: #fff; }
.n-pair .split .h { background: var(--green); margin-left: 2px; }
.n-pair .who2 { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); margin-top: 7px; opacity: 0; transition: opacity .5s; }
.n-pair .who2.on { opacity: 1; }
.n-pair .who2 b { color: #fff; font-weight: 500; }
.trade { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 11px; color: var(--green); white-space: nowrap; pointer-events: none; opacity: 0; }

/* ------------------------------------------------------------------ the sentence that lights up word by word */
.say { padding: 150px 0 120px; }
.say p { font-size: clamp(28px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.03em; line-height: 1.18; max-width: 1000px; }
.say p span { color: rgba(255,255,255,.16); transition: color .25s; }
.say p span.lit { color: #fff; }
.say p span.lit.g { color: var(--green); }

/* ------------------------------------------------------------------ the two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 80px; }
.door { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); padding: 34px; min-height: 280px; display: flex; flex-direction: column;
  transition: border-color .3s, transform .5s var(--ease); }
.door:hover { border-color: var(--line2); transform: translateY(-4px); }
.door h3 { font-size: 30px; letter-spacing: -.03em; font-weight: 500; }
.door p { color: var(--mut); margin-top: 10px; max-width: 380px; font-size: 15px; }
.door .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.door .go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.door:hover .go svg { transform: translateX(4px); }
.door .art { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; opacity: .9; pointer-events: none; }
.door .art i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); transition: transform 1s var(--ease); }
.door .art i:nth-child(1) { width: 200px; height: 200px; right: 70px; bottom: 50px; }
.door .art i:nth-child(2) { width: 200px; height: 200px; right: 10px; bottom: 50px; border-color: rgba(62,224,143,.5); }
.door:hover .art i:nth-child(1) { transform: translateX(-14px); }
.door:hover .art i:nth-child(2) { transform: translateX(14px); }
.door.l .art i:nth-child(2) { display: none; }
.door.l .art i:nth-child(1) { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.12), transparent 60%); }

@media (max-width: 900px) {
  .hero { padding-top: 54px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: 300px auto auto; }
  .bento .t-coins { grid-row: auto; }
  .story { height: 380vh; margin-top: 70px; }
  .story .steps { height: 190px; }
  .stage { aspect-ratio: 360 / 520; }
  .story .pin { justify-content: flex-start; padding-top: 12px; }
  .ncard { width: 150px; padding: 10px; border-radius: 16px; }
  .n-base { width: 172px; }
  .n-pair { width: 128px; }
  .ncard .av { width: 30px; height: 30px; border-radius: 9px; font-size: 10.5px; }
  .n-base .av { width: 34px; height: 34px; }
  .ncard .hd b { font-size: 13px; } .ncard .hd div span { font-size: 10.5px; }
  .n-pair .hd div span { display: none; }
  .n-xs .disc { width: 60px; height: 60px; } .n-xs .disc img { width: 36px; height: 36px; }
  .say { padding: 90px 0 70px; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 220px; padding: 26px; }
}
