/* Openstring · Separatit. The film's look: black, the app's green, heavy Inter set tight. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #F5F5F7;
  --grey: #A1A1A6;
  --dim: #6E6E73;
  --green: #12CF52;
  --gold: #FFC44D;
  --nav-h: 56px;
  --sub-h: 48px;
  --pad: clamp(24px, 5vw, 72px);
  --wide: max(24px, calc((100vw - 1232px) / 2));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-feature-settings: "cv11", "ss01"; }
body.sheet-open { overflow: hidden; }
img, video, canvas, svg { display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
section[id], article[id] { scroll-margin-top: var(--sub-h); }

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------------ type */
.display { margin: 0; font-size: clamp(50px, min(7.3vw, 12.6vh), 136px); font-weight: 800; letter-spacing: -.048em; line-height: .95; }
.display .line { display: block; white-space: nowrap; }
.headline { margin: 0; font-size: clamp(40px, 5.6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.eyebrow { margin: 0 0 20px; font-size: 16px; font-weight: 600; letter-spacing: -.005em; color: var(--green); }
.lede { margin: 0; font-size: clamp(19px, 1.65vw, 25px); font-weight: 500; line-height: 1.45; color: var(--grey); letter-spacing: -.012em; }
.green { color: var(--green); }
:lang(zh-CN) .display, :lang(zh-CN) .headline, :lang(zh-CN) .step-title { letter-spacing: -.02em; }
:lang(zh-CN) .display { line-height: 1.12; font-size: clamp(46px, min(7vw, 11.4vh), 128px); }
:lang(zh-CN) .headline { font-size: clamp(32px, 5.6vw, 92px); }
/* Chinese titles break after punctuation, not inside a phrase, unless the phrase is wider than the screen. */
:lang(zh-CN) .step-title { word-break: keep-all; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn-green { background: var(--green); color: #03170A; }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(18, 207, 82, .16), 0 14px 40px rgba(18, 207, 82, .35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 14px; font-size: 13px; }

/* ------------------------------------------------------------------ reveals (only once the script runs) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .focus:not(.split) { opacity: 0; }
/* The film's text comes into focus a word, or a character, at a time. */
.focus .w { display: inline-block; opacity: 0; filter: blur(16px); transform: translateY(.32em) scale(1.08); transition: opacity .8s var(--ease), filter .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.focus.in .w { opacity: 1; filter: blur(0); transform: none; }

/* ------------------------------------------------------------------ progress and navigation */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(18, 207, 82, .8); }

.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease); }
.nav-row { position: relative; z-index: 2; height: var(--nav-h); display: flex; align-items: center; gap: 20px; padding: 0 var(--wide); transition: background-color .4s, backdrop-filter .4s, box-shadow .4s; }
.nav.scrolled .nav-row { background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.past.hide-main { transform: translateY(calc(-1 * var(--nav-h))); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.mark { width: 30px; height: 30px; overflow: visible; }
.mark circle { fill: #fff; }
.mark-string { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; transform-origin: 16px 16px; }
.brand:hover .mark-string { animation: pluck 1s var(--ease); }
@keyframes pluck { 0% { transform: scaleY(1); } 12% { transform: scaleY(-1.1); } 26% { transform: scaleY(.85); } 40% { transform: scaleY(-.6); } 55% { transform: scaleY(.4); } 70% { transform: scaleY(-.22); } 100% { transform: scaleY(1); } }

.menu { position: relative; display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.menu-pill { position: absolute; left: 0; top: 50%; height: 34px; width: 0; margin-top: -17px; border-radius: 999px; background: rgba(255, 255, 255, .1); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), width .4s var(--ease), opacity .25s; }
.menu-pill.jump { transition: opacity .25s; }
.menu-item { position: relative; }
.menu-top { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .8); font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: color .2s; }
.menu-top:hover, .menu-item.open .menu-top { color: #fff; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.menu-item.open .chev { transform: rotate(180deg); }

.panel { position: absolute; top: 100%; left: 50%; padding-top: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: 50% 0; transition: opacity .2s, transform .3s var(--ease), visibility 0s linear .3s; }
.menu-item.open .panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .22s, transform .45s var(--ease), visibility 0s; }
.panel-card { min-width: 300px; padding: 10px; border-radius: 22px; background: rgba(24, 24, 27, .86); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .6); }
.panel-products { display: grid; grid-template-columns: 300px 260px; gap: 6px; }
.product { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 16px; color: #fff; text-decoration: none; background: radial-gradient(120% 110% at 0% 0%, rgba(18, 207, 82, .26), rgba(18, 207, 82, 0) 62%), rgba(255, 255, 255, .04); transition: background-color .3s, transform .4s var(--ease); }
.product:hover { background-color: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.product img { width: 60px; height: 60px; filter: drop-shadow(0 8px 22px rgba(18, 207, 82, .3)); }
.product strong { display: block; font-size: 21px; letter-spacing: -.025em; }
.product-text > span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--grey); }
.product-text > .tags { display: flex; gap: 6px; margin-top: 16px; }
.tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #fff; font-size: 12px; font-weight: 600; }
.tag-beta { background: rgba(255, 196, 77, .14); color: var(--gold); }
.panel-links { margin: 0; padding: 4px; list-style: none; }
.panel-links a { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 12px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.panel-links a small { font-size: 13px; font-weight: 500; color: var(--dim); }
.panel-links a:hover { background: rgba(255, 255, 255, .07); transform: translateX(3px); }
.menu-item.open .panel-links li { animation: rise .5s var(--ease) both; }
.menu-item.open .panel-links li:nth-child(2) { animation-delay: 35ms; }
.menu-item.open .panel-links li:nth-child(3) { animation-delay: 70ms; }
.menu-item.open .panel-links li:nth-child(4) { animation-delay: 105ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { height: 34px; min-width: 54px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.lang:hover { background: rgba(255, 255, 255, .15); }
.burger { display: none; width: 40px; height: 34px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.6px; margin: 0 auto; background: #fff; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* Separatit's own row, under the global one once past the hero */
.subnav { position: relative; z-index: 1; opacity: 0; transform: translateY(-12px); pointer-events: none; background: rgba(12, 12, 13, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); transition: opacity .35s, transform .5s var(--ease); }
.nav.past .subnav { opacity: 1; transform: none; pointer-events: auto; }
.subnav-inner { height: var(--sub-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--wide); }
.subnav-name { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.subnav-links { display: flex; gap: 24px; margin-left: auto; }
.subnav-links a { position: relative; padding: 14px 0; color: rgba(255, 255, 255, .66); font-size: 13.5px; text-decoration: none; transition: color .2s; }
.subnav-links a:hover, .subnav-links a.active { color: #fff; }
.subnav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .45s var(--ease); }
.subnav-links a.active::after { transform: scaleX(1); }

.sheet { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 40px; overflow: auto; background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.sheet-link { display: block; padding: 12px 0; font-size: 26px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.sheet details { border-top: 1px solid rgba(255, 255, 255, .08); padding: 10px 0; }
.sheet summary { list-style: none; cursor: pointer; font-size: 20px; font-weight: 600; color: var(--grey); padding: 6px 0; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet details a { display: block; padding: 8px 0; color: var(--grey); text-decoration: none; font-size: 17px; }
.sheet .btn { margin-top: 12px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(20px, 5vh, 56px)) 0 clamp(72px, 10vh, 104px); overflow: clip; }
.hero-glow { position: absolute; right: -18vw; top: -14vh; width: 86vw; height: 86vw; max-width: 1300px; max-height: 1300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 207, 82, .2), rgba(18, 207, 82, .06) 48%, rgba(18, 207, 82, 0) 72%); pointer-events: none; }
.hero-grid { position: relative; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "copy visual" "pay pay"; align-items: center; column-gap: 32px; row-gap: clamp(28px, 6vh, 64px); }
.hero-copy { grid-area: copy; will-change: transform, opacity; }
.pay-wrap { grid-area: pay; }
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(22px, 4.4vh, 40px); font-size: 32px; font-weight: 700; letter-spacing: -.035em; }
.app-id img { width: 64px; height: 64px; filter: drop-shadow(0 0 30px rgba(18, 207, 82, .28)); }
.hero .lede { margin: clamp(18px, 3vh, 28px) 0 0; }
.hero .film-link { margin-top: clamp(20px, 3.6vh, 32px); }
.hero .app-id { --d: 0ms; }
.hero .line.green { --d: 260ms; }
.hero .lede { --d: 480ms; }
.hero .film-link { --d: 580ms; }
.hero .pay { --d: 700ms; }
.film-link { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--grey); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .2s; }
.film-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.film-dot svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.film-link:hover { color: #fff; }
.film-link:hover .film-dot { background: var(--green); color: #04150A; transform: scale(1.08); }
.hero-visual { grid-area: visual; position: relative; aspect-ratio: 1 / .66; }

/* Pay what you want, in the hero */
.pay-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 14px 14px 14px 30px; border-radius: 28px; background: linear-gradient(90deg, rgba(18, 207, 82, .07), rgba(18, 207, 82, 0) 40%), rgba(22, 22, 24, .68); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .45); }
.pay-label { display: flex; flex-direction: column; gap: 3px; margin: 0; }
#pay { scroll-margin-top: calc(var(--nav-h) + var(--sub-h) + 12px); }
.pay-label h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.pay-label p { margin: 0; font-size: 1rem; color: var(--grey); }
.pay-actions:has(a:not([hidden])) { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.pay-actions { display: none; }
.pay-fine { margin: 14px 0 0 30px; font-size: 14px; color: var(--grey); }
.pay-fine a { margin-left: 8px; color: #fff; font-weight: 600; white-space: nowrap; }
.pay-fine a:hover { color: var(--green); }
canvas.split { width: 100%; height: 100%; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.scroll-cue i { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(15px); opacity: 0; } }

/* ------------------------------------------------------------------ how it works: pinned while it plays out */
.pin { position: relative; height: calc(var(--len) * 100vh); }
.pin .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.how-stage { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(24px, 4vw, 72px); max-width: 1480px; margin: 0 auto; padding: calc(var(--sub-h) + 32px) var(--pad) 32px; }
.how-copy { display: grid; grid-template-columns: 4px 1fr; column-gap: 30px; align-items: center; }
.how-copy .eyebrow { grid-column: 2; }
.steps { position: relative; grid-column: 2; min-height: 15em; }
.step { position: absolute; inset: 0 0 auto 0; opacity: 0; filter: blur(12px); transform: translateY(26px); transition: opacity .55s var(--ease), filter .65s var(--ease), transform .85s var(--ease); pointer-events: none; }
.step.on { opacity: 1; filter: none; transform: none; }
.step.past { transform: translateY(-26px); }
.step-title { margin: 0 0 22px; font-size: clamp(40px, 4.9vw, 82px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.step p { max-width: 25em; margin: 0; font-size: 19px; line-height: 1.55; color: var(--grey); }
.step-rail { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.step-rail li { position: relative; width: 4px; height: 30px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.step-rail li::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleY(var(--f, 0)); transform-origin: 50% 0; }
.how-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.how-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 207, 82, .16), rgba(18, 207, 82, 0) 70%); opacity: .35; transition: opacity 1s var(--ease); pointer-events: none; }
.how-stage:has(.mixer.on) .how-glow { opacity: 1; }

/* The app's window */
.mixer { position: relative; width: min(500px, 100%); scale: var(--ms, 1.22); padding: 14px 20px; border-radius: 18px; background: #1E1E20; color: #F5F5F7; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 100px rgba(0, 0, 0, .7); }
.mixer-chrome { display: flex; gap: 7px; margin-bottom: 12px; }
.mixer-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.mixer-chrome i:nth-child(2) { background: #FEBC2E; }
.mixer-chrome i:nth-child(3) { background: #28C840; }
.mixer-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 6px; }
.mixer-head strong { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.mixer-head small { display: block; margin-top: 3px; font-size: 12.5px; color: #98989D; }
.mixer-switch { display: flex; align-items: center; gap: 9px; margin-top: 4px; font-size: 13px; font-weight: 600; }
.switch { position: relative; width: 40px; height: 23px; border-radius: 999px; background: #3A3A3C; transition: background-color .35s; }
.switch b { position: absolute; left: 2.5px; top: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.mixer.on .switch { background: var(--green); }
.mixer.on .switch b { transform: translateX(17px); }
.mrow { display: grid; grid-template-columns: 76px 1fr 44px 20px; grid-template-rows: 20px 5px; align-items: center; column-gap: 12px; row-gap: 3px; padding: 8px 0 4px; }
.mname { font-size: 14px; transition: color .3s; }
.mslider { position: relative; height: 20px; }
.mslider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #48484A; }
.mfill { position: absolute; left: 0; top: 50%; width: 66.7%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #F5F5F7; transition: background-color .3s; }
.mknob { position: absolute; top: 50%; left: 66.7%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #F5F5F7; transition: background-color .3s, box-shadow .3s; }
.mval { text-align: right; color: #98989D; font-variant-numeric: tabular-nums; }
.mmute { width: 18px; height: 18px; fill: none; stroke: #C7C7CC; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mmute .fill { fill: #C7C7CC; stroke: none; }
.mmute .slash { display: none; }
.mrow.muted .mmute .wave { display: none; }
.mrow.muted .mmute .slash { display: inline; }
.mrow.muted .mname, .mrow.muted .mval { color: #8E8E93; }
.mrow.muted .mfill { background: #636366; }
.mrow.muted .mknob { background: #1E1E20; box-shadow: inset 0 0 0 1.5px #8E8E93; }
.mmeter { position: relative; grid-column: 2; grid-row: 2; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 4px); }
.mmeter i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .78) 0 2px, transparent 2px 4px); clip-path: inset(0 100% 0 0); }
.mixer.on .mmeter i { background: repeating-linear-gradient(90deg, var(--green) 0 2px, transparent 2px 4px); }

/* The pointer that works the window, and its click */
.cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 24px; height: 24px; overflow: visible; translate: 440px 330px; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); transition: translate .6s var(--ease), opacity .4s; }
.cursor path { fill: #fff; stroke: #000; stroke-width: 1.3; stroke-linejoin: round; }
.cursor.in { opacity: 1; }
.cursor.press { animation: press .3s ease-out; }
@keyframes press { 40% { scale: .82; } }
.tap { position: absolute; left: -16px; top: -16px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(18, 207, 82, .45); opacity: 0; pointer-events: none; }
.tap.go { animation: tap .7s var(--ease); }
@keyframes tap { from { opacity: 1; scale: .2; } to { opacity: 0; scale: 1.7; } }.mixer-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; color: #98989D; }
.mixer-foot .chev { display: inline-block; vertical-align: -1px; }
.mfoot-right { display: flex; align-items: center; gap: 10px; }
.rec { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.rec::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #FF453A; }
.jam { display: inline-flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #F5F5F7; font-weight: 600; }

/* ------------------------------------------------------------------ features */
.features { padding: 18vh var(--pad) 16vh; }
.section-head { max-width: 1280px; margin: 0 auto 8vh; }
.section-head.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1320px; margin: 0 auto; }
.fcard { padding: 12px 12px 28px; border-radius: 30px; background: #0E0E10; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .6s var(--ease), box-shadow .4s, opacity 1s var(--ease); }
.js .fcard.reveal.in:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(18, 207, 82, .4), 0 30px 70px rgba(0, 0, 0, .55); }
.fmedia { position: relative; margin: 0 0 22px; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 22px; background: #000; isolation: isolate; }
.media-in { position: absolute; inset: -10% 0; will-change: transform; }
.fmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.fcard:hover .fmedia img { transform: scale(1.06); }
.fcard:first-child .fmedia img { object-position: 30% 40%; }
.fcard h3 { margin: 0 16px 8px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.fcard p { margin: 0 16px; font-size: 16px; line-height: 1.5; color: var(--grey); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1320px; margin: 10vh auto 0; padding: 0; }
.fact { padding: 0 0 0 20px; box-shadow: inset 2px 0 0 rgba(18, 207, 82, .7); }
.fact dt { font-size: clamp(34px, 3.6vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.fact dd { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--grey); }

/* ------------------------------------------------------------------ footer */
.footer { padding: 64px var(--pad) 40px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1232px; margin: 0 auto; }
.footer-brand p { max-width: 24em; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--dim); }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #fff; }
.footer nav a { color: var(--dim); font-size: 14px; text-decoration: none; cursor: pointer; transition: color .2s; }
.footer nav a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 1232px; margin: 48px auto 0; font-size: 13px; color: var(--dim); }
.lang-foot { margin-left: auto; }

/* ------------------------------------------------------------------ the film, over the page */
.film-dialog { width: min(1280px, 92vw); max-width: none; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 160px rgba(0, 0, 0, .8); }
.film-dialog::backdrop { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.film-dialog[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.film-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-close { position: absolute; right: 14px; top: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.film-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.film-close:hover { background: rgba(255, 255, 255, .2); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .pay-bar { gap: 14px 18px; padding-left: 24px; }
  .pay-fine { margin-left: 24px; }
  .menu { display: none; }
  .burger { display: inline-flex; }
  .subnav-links { display: none; }
  .subnav-inner .btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .fcard:last-child { grid-column: 1 / -1; }
  .cards .fcard:last-child .fmedia { aspect-ratio: 16 / 7; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "pay" "visual"; row-gap: 28px; }
  .hero-visual { aspect-ratio: 1 / .72; }
  .pay-bar { flex-direction: column; align-items: stretch; padding: 20px; border-radius: 24px; }
  .pay-label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .pay-actions:has(a:not([hidden])) { margin-left: 0; }
  .pay-fine { margin-left: 4px; }
  .app-id { margin-bottom: 28px; font-size: 26px; }
  .app-id img { width: 52px; height: 52px; }
  .how-stage { grid-template-columns: 1fr; align-content: center; gap: 8px; padding-top: calc(var(--sub-h) + 16px); }
  .how-copy { column-gap: 20px; }
  .steps { min-height: 11em; }
  .step-title { font-size: clamp(34px, 9vw, 54px); margin-bottom: 14px; }
  .step p { font-size: 17px; }
  .how-visual { min-height: 0; margin-top: 18px; }
  .mixer { --ms: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pay-actions .btn { width: 100%; }
  .pay-bar { padding: 18px; }
  .cards { grid-template-columns: 1fr; }
  .cards .fcard:last-child .fmedia { aspect-ratio: 4 / 3.4; }
}
@media (max-height: 820px) and (min-width: 901px) {
  .mixer { --ms: 1.05; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .focus .w { transform: none !important; filter: none !important; transition: opacity .4s !important; }
  .scroll-cue i { animation: none; }
  .step { filter: none; transform: none; }
}
