/* Isoteh front page: calm white, very big type, the live "see your ad" stage under the headline. */
:root {
  --bg: #fbfbfc; --bg-2: #f3f4f7; --card: #fefefe; --ink: #0b0d12; --ink-2: #454b58; --mute: #7a8090; --line: #e6e8ee; --line-2: #d6d9e1;
  --sig: #3a5bff; --sig-soft: #3a5bff14; --money: #0f7a4a; --ad: #2f5d50; --ad-ink: #fbfbf8;
  --dark: #0b0d12; --dark-2: #161a23; --dark-line: #262b36; --dark-ink: #eef0f4; --dark-mute: #9aa1b0;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --r: 14px; --r-lg: 22px; --r-xl: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav: 64px; --wrap: 1200px; --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px #0b0d120a, 0 8px 24px -12px #0b0d121f;
  --shadow-lg: 0 2px 4px #0b0d1208, 0 40px 80px -40px #0b0d1240;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.dim { color: var(--mute); }

/* buttons */
.btn { --b: var(--ink); --t: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--b); background: var(--b); color: var(--t); font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px #0b0d1266; }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.inv { --b: var(--dark-ink); --t: var(--dark); }
.btn.ghost.inv { color: var(--dark-ink); border-color: var(--dark-line); background: transparent; }
.btn.ghost.inv:hover { border-color: var(--dark-ink); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--nav); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.solid { background: #fbfbfccc; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.mark svg { width: 16px; height: 16px; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.burger:hover { background: var(--bg-2); }
.sheet { display: none; }

/* reveal */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .rise:nth-child(2) { animation-delay: .08s; } .js .rise:nth-child(3) { animation-delay: .16s; } .js .rise:nth-child(4) { animation-delay: .24s; } .js .rise:nth-child(5) { animation-delay: .32s; } .js .rise:nth-child(6) { animation-delay: .38s; }
.js .demo .rise { animation-delay: .32s; } .js .demo .stage-wrap.rise { animation-delay: .42s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.display .w > span { display: inline-block; transform: translateY(105%); animation: word 1s var(--ease) forwards; }
@keyframes word { to { transform: none; } }

/* hero */
.hero { padding: calc(var(--nav) + clamp(48px, 9vh, 110px)) 0 clamp(28px, 4vh, 44px); text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 -40% 0; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, #e9ecf5 0%, transparent 70%); pointer-events: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 0 #0f7a4a66; animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #0f7a4a55; } 70%, 100% { box-shadow: 0 0 0 8px #0f7a4a00; } }
.display { font-weight: 600; font-size: clamp(44px, 8.4vw, 112px); line-height: .98; letter-spacing: -.045em; margin: 22px auto 0; max-width: 12ch; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.display.sm { font-size: clamp(40px, 6.4vw, 88px); max-width: 14ch; }
.lede { font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); max-width: 34ch; margin: 22px auto 0; text-wrap: balance; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* hero numbers */
.stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin: 48px auto 0; }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.stats dd { margin: 0; font-weight: 600; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--ink-2); font-size: 14.5px; max-width: 16ch; text-align: center; line-height: 1.35; }
.src { margin-top: 18px; font-size: 13px; color: var(--mute); }
.src a { color: var(--mute); text-underline-offset: 2px; }
.src a:hover { color: var(--ink); }

/* demo */
.demo { padding: 8px 0 clamp(64px, 10vh, 120px); }
.maker { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); transition: box-shadow .3s, border-color .3s; }
.maker:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 4px var(--sig-soft), var(--shadow); }
.maker-in { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: var(--mute); min-width: 0; }
.maker-in svg { width: 18px; height: 18px; flex: none; }
.maker input { border: 0; background: transparent; outline: none; width: 100%; min-width: 0; font-size: 16px; color: var(--ink); }
.maker input::placeholder { color: var(--mute); }
.maker-note { text-align: center; font-size: 14px; color: var(--mute); margin-top: 12px; min-height: 22px; }
.maker-note.err { color: #b4232f; }
.stage-wrap { margin-top: 28px; }
.seg { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button:hover { color: var(--ink); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px #0b0d121a, 0 4px 12px -4px #0b0d1226; transition: transform .5s var(--ease), width .5s var(--ease); }
.stage { position: relative; height: clamp(440px, 58vw, 600px); border-radius: var(--r-xl); background: linear-gradient(180deg, #eef0f5, #e5e8ef); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 #ffffffb3; pointer-events: none; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.scene[hidden] { display: grid; visibility: hidden; }
.js .scene { opacity: 0; transform: scale(.97) translateY(14px); filter: blur(6px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease), visibility 0s .7s; }
.js .scene.on { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: .12s, .12s, .12s, 0s; }
.stage-cap { text-align: center; color: var(--mute); font-size: 14.5px; margin: 16px auto 0; max-width: 56ch; min-height: 2.6em; }

/* the ad itself, in every shape */
.ad-slot { position: relative; }
.ad { --c: var(--ad); --ci: var(--ad-ink); position: relative; display: grid; gap: 0; text-decoration: none; color: var(--ink); border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ad .lab { font-size: 11.5px; color: var(--mute); letter-spacing: .01em; }
.ad .pic { background: var(--c) center / cover no-repeat; color: var(--ci); display: grid; place-items: center; font-weight: 600; letter-spacing: -.04em; }
.ad .nm { font-weight: 600; letter-spacing: -.015em; }
.ad .ln { color: var(--ink-2); }
.ad .go { font-weight: 500; font-size: 13.5px; color: var(--c); }
.ad-slot.ring::before { content: ""; position: absolute; inset: -6px; border-radius: 18px; border: 1.5px solid var(--sig); opacity: 0; animation: ring 2.6s var(--ease) .4s 2; pointer-events: none; }
@keyframes ring { 0% { opacity: 0; transform: scale(.98); } 20% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; } }
.ad.swap { animation: swap .7s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(8px) scale(.98); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
/* email block */
.ad.ad-email { grid-template-columns: 96px minmax(0, 1fr); align-items: stretch; margin: 18px 0; }
.ad.ad-email .pic { font-size: 34px; min-height: 104px; }
.ad.ad-email .tx { padding: 12px 16px; display: grid; gap: 3px; align-content: center; }
.ad.ad-email .nm { font-size: 16px; } .ad.ad-email .ln { font-size: 14px; line-height: 1.45; }
/* native card in an article */
.ad.ad-native { grid-template-columns: 120px minmax(0, 1fr); margin: 16px 0; }
.ad.ad-native .pic { font-size: 40px; min-height: 112px; }
.ad.ad-native .tx { padding: 12px 16px; display: grid; gap: 3px; align-content: center; }
.ad.ad-native .nm { font-size: 15.5px; } .ad.ad-native .ln { font-size: 13.5px; line-height: 1.45; }
/* sidebar banner 300x250 */
.ad.ad-banner { aspect-ratio: 6 / 5; grid-template-rows: minmax(0, 1fr) auto; }
.ad.ad-banner .pic { font-size: 48px; }
.ad.ad-banner .tx { padding: 10px 12px; display: grid; gap: 2px; }
.ad.ad-banner .nm { font-size: 14px; } .ad.ad-banner .ln { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* chat card */
.ad.ad-chat { grid-template-columns: 64px minmax(0, 1fr); max-width: 440px; }
.ad.ad-chat .pic { font-size: 26px; min-height: 76px; }
.ad.ad-chat .tx { padding: 10px 14px; display: grid; gap: 2px; align-content: center; }
.ad.ad-chat .nm { font-size: 15px; } .ad.ad-chat .ln { font-size: 13.5px; line-height: 1.4; }
/* billboard (html poster and the 3D board's look) */
.ad.ad-board { grid-template-columns: 42% minmax(0, 1fr); aspect-ratio: 2 / 1; border-radius: 10px; }
.ad.ad-board .pic { font-size: 54px; }
.ad.ad-board .tx { padding: 16px 18px; display: grid; gap: 4px; align-content: center; }
.ad.ad-board .nm { font-size: 22px; line-height: 1.05; } .ad.ad-board .ln { font-size: 13px; line-height: 1.4; }

/* newsletter scene */
.mail { width: min(600px, 100%); max-height: 100%; overflow: hidden; background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 30px); font-size: 15px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.mail-top { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mail-top small { display: block; color: var(--mute); font-size: 13px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--bg); background: var(--ink); flex: none; }
.av-nl { background: #c2410c; }
.mail-h { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.mail-p { color: var(--ink-2); margin-bottom: 12px; line-height: 1.55; }
.mail-p b { color: var(--ink); }

/* blog scene */
.blog { width: min(860px, 100%); height: 100%; background: var(--card); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.blog-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.bdots { display: flex; gap: 6px; } .bdots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.url { font-size: 13px; color: var(--mute); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.blog-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; padding: clamp(18px, 3vw, 32px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.blog article { font-size: 15px; color: var(--ink-2); }
.b-cat { font-size: 13px; color: #c2410c; font-weight: 500; }
.b-h { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); margin: 4px 0 6px; }
.b-meta { font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.b-hero { height: 120px; border-radius: 12px; background: linear-gradient(135deg, #7c2d12, #c2410c 55%, #f59e0b); margin-bottom: 14px; position: relative; overflow: hidden; }
.b-hero span { position: absolute; inset: auto -10% -40% 30%; height: 120%; border-radius: 50%; background: #0b0d1226; }
.blog aside { display: grid; gap: 16px; align-content: start; }
.side-lines { display: grid; gap: 8px; } .side-lines i { height: 8px; border-radius: 4px; background: var(--bg-2); } .side-lines i:nth-child(2n) { width: 70%; }

/* chat scene */
.chat-switch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); z-index: 2; box-shadow: var(--shadow); }
.chat-switch button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; white-space: nowrap; }
.chat-switch button.on { background: var(--ink); color: var(--bg); }
.chat { width: min(560px, 100%); height: calc(100% - 52px); margin-top: 52px; background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat-top { display: flex; align-items: baseline; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-top small { color: var(--mute); font-size: 12.5px; margin-left: auto; }
.hash { color: var(--mute); font-weight: 600; }
.msgs { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px 18px; }
.msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; animation: pop .5s var(--ease) both; }
.msg .av { width: 34px; height: 34px; font-size: 14px; }
.msg b { font-size: 14px; } .msg small { color: var(--mute); font-size: 12px; margin-left: 6px; }
.msg p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.msg.spon .av { background: var(--bg-2); color: var(--mute); border: 1px dashed var(--line-2); }
.msg.spon .ad { margin-top: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 8px 0; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); animation: blink 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { background: var(--mute); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.compose { margin: 0 14px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--mute); font-size: 14px; }
.chat.ai { padding: 20px; gap: 14px; justify-content: flex-start; }
.chat.ai .q { align-self: flex-end; background: var(--bg-2); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; max-width: 80%; }
.chat.ai .a { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; display: grid; gap: 12px; }
.chat.ai .a ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* game scene */
.game { position: absolute; inset: 0; background: #cfd8e6; }
.game canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; pointer-events: none; }
.hud > span { background: #0b0d12d9; color: var(--dark-ink); border-radius: 12px; padding: 8px 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hud small { display: block; color: var(--dark-mute); font-size: 11.5px; }
.hud b { font-size: 14px; font-weight: 500; }
.meter { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 0 auto; }
.m-bar { width: 90px; height: 6px; border-radius: 3px; background: #ffffff26; overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 0; background: var(--dark-ink); border-radius: 3px; transition: width .15s linear, background-color .3s; }
.meter.count .m-bar i { background: #4ade80; }
.views { text-align: right; margin-left: auto; } .views b { font-family: var(--mono); font-size: 18px; }
.game-poster { position: absolute; inset: 0; display: none; place-items: center; gap: 14px; align-content: center; padding: 24px; background: linear-gradient(#b9c7dc, #e3e8f0); }
.game-poster .ad-slot { width: min(420px, 90%); }
.game-poster p { color: var(--ink-2); font-size: 14px; text-align: center; }
.game.static .game-poster { display: grid; }
.game.static canvas, .game.static .hud { display: none; }

/* strip */
.strip { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.strip-in { display: flex; align-items: center; gap: 28px; }
.strip p { color: var(--mute); font-size: 14px; flex: none; }
.marq { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.marq li { font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: -.02em; color: var(--ink-2); }

/* section heads */
.h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; max-width: 16ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
section { position: relative; }
.how { padding: clamp(80px, 14vh, 160px) 0 0; }

/* how: pinned cutaway */
.pin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; margin-top: 20px; }
.pin-art { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); display: grid; place-items: center; perspective: 1800px; }
.cut-scale { transform-style: preserve-3d; transform: translateY(12%) scale(.8); transition: transform 1s var(--ease); }
.cut { --w: 400px; --h: 270px; --gap: 84px; --lift: 160px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-38deg); }
.layer { position: absolute; inset: 0; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); transform: translateZ(calc(var(--i) * 6px)); transition: transform 1.1s var(--ease), border-color .6s var(--ease); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: var(--ink-2); font-size: 15px; backface-visibility: hidden; box-shadow: 0 30px 40px -30px #0b0d1240; }
.layer > * { transition: opacity .6s var(--ease); }
.l-pay { --i: 0; } .l-held { --i: 1; } .l-count { --i: 2; } .l-ad { --i: 3; } .l-page { --i: 4; }
.cut.open .layer { transform: translateZ(calc(var(--i) * var(--gap))); transition-delay: calc(var(--i) * 70ms); }
.layer .tag { font-size: 13px; color: var(--mute); }
.layer .big { font-family: var(--mono); font-size: 34px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.l-pay { background: #eef7f2; border-color: #cfe6da; } .l-pay .big { color: var(--money); }
.l-held { background: var(--bg-2); }
.l-held .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.l-held .lock { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.l-count { background-image: linear-gradient(#eceef3 1px, transparent 1px), linear-gradient(90deg, #eceef3 1px, transparent 1px); background-size: 24px 24px; }
.l-count .frame { position: absolute; left: 50%; top: 14%; width: 40%; height: 40%; border: 1.5px dashed var(--sig); border-radius: 6px; }
.l-count .frame::after { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--sig-soft); }
.l-ad { background: var(--ad); border-color: var(--ad); color: var(--ad-ink); transition: transform 1.1s var(--ease), background-color .6s, border-color .6s; }
.l-ad .brand { font-weight: 600; font-size: 40px; letter-spacing: -.03em; line-height: .95; color: var(--ad-ink); overflow: hidden; text-overflow: ellipsis; }
.l-ad .brand small { display: block; font-weight: 400; font-size: 15px; letter-spacing: 0; opacity: .8; margin-top: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l-ad .tag { color: var(--ad-ink); opacity: .7; }
.l-page { justify-content: flex-start; }
.l-page .bar { height: 10px; border-radius: 4px; background: var(--line); }
.l-page .lines { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; flex: 1; margin-top: 16px; }
.l-page .lines .col > span { display: block; height: 6px; border-radius: 3px; background: var(--bg-2); margin-bottom: 12px; }
.l-page .hole { border: 1.5px dashed var(--sig); border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: var(--sig); background: var(--sig-soft); }
.cut.focus .layer > * { opacity: .2; }
.cut.focus .layer.on > * { opacity: 1; }
.cut.focus .layer.above { transform: translateZ(calc(var(--i) * var(--gap) + var(--lift))); transition-delay: 0ms; }
.cut.focus .layer.on { border-color: var(--sig); transform: translateZ(calc(var(--i) * var(--gap) + 30px)); transition-delay: 0ms; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { min-height: 78svh; display: grid; align-content: center; gap: 12px; opacity: .25; transition: opacity .6s var(--ease); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--mute); }
.steps li.on { opacity: 1; }
.steps h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; line-height: 1.05; font-weight: 600; }
.steps p { color: var(--ink-2); max-width: 32ch; font-size: 18px; }

/* why: swipe rail */
.why { padding: clamp(40px, 6vh, 72px) 0 clamp(80px, 12vh, 140px); }
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.arrows { display: flex; gap: 8px; flex: none; }
.arr { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s var(--ease); }
.arr svg { width: 18px; height: 18px; }
.arr:hover { border-color: var(--ink); }
.arr:active { transform: scale(.94); }
.arr:disabled { opacity: .35; cursor: default; border-color: var(--line-2); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 12px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.tile { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 24px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile h3 { font-size: 21px; letter-spacing: -.025em; line-height: 1.15; padding: 10px 8px 0; }
.tile p { color: var(--ink-2); font-size: 15.5px; padding: 0 8px; }
.viz { height: 200px; border-radius: 14px; background: var(--bg-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.v-track { align-content: center; gap: 6px; padding: 20px; place-items: stretch; }
.vt-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px; background: var(--card); border-radius: 10px; border: 1px solid var(--line); font-size: 14px; }
.vt-row b { font-weight: 500; } .vt-row em { font-style: normal; font-family: var(--mono); }
.vt-row.zero em { color: var(--money); }
.v-approve { gap: 14px; align-content: center; }
.va-card { width: 180px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.va-ad { height: 54px; border-radius: 8px; background: var(--ad); }
.va-l { display: grid; gap: 8px; align-content: center; } .va-l i { height: 7px; border-radius: 4px; background: var(--line); } .va-l i + i { width: 60%; }
.va-btns { display: flex; gap: 8px; } .va-btns span { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.va-btns .yes { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tile:hover .va-btns .yes, .tile.on .va-btns .yes { animation: press 1.6s var(--ease) infinite; }
@keyframes press { 40% { transform: scale(.94); } 60% { transform: none; } }
.v-held { align-content: center; gap: 12px; padding: 0 26px; place-items: stretch; }
.vh-line { position: relative; height: 4px; border-radius: 2px; background: var(--line); }
.vh-line::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--money); transform-origin: left; transform: scaleX(.1); transition: transform 1.6s var(--ease); }
.tile.on .vh-line::after { transform: scaleX(1); }
.vh-line i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid var(--money); transform: translate(-50%, -50%); z-index: 1; }
.vh-line .p1 { left: 0; } .vh-line .p2 { left: 50%; } .vh-line .p3 { left: 100%; }
.vh-labels { display: flex; justify-content: space-between; font-size: 13px; } .vh-labels em { font-style: normal; color: var(--ink-2); }
.v-small { align-content: center; gap: 0; }
.vs-n { font-size: 84px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.vs-l { color: var(--ink-2); font-size: 14px; }
.v-ai { align-content: center; gap: 10px; padding: 22px; place-items: stretch; }
.vai-q { justify-self: end; width: 55%; height: 26px; border-radius: 13px 13px 4px 13px; background: var(--line); }
.vai-a { display: grid; gap: 7px; } .vai-a i { height: 7px; border-radius: 4px; background: var(--line-2); } .vai-a i:nth-child(2) { width: 85%; } .vai-a i:nth-child(3) { width: 60%; }
.vai-card { height: 44px; border-radius: 10px; background: var(--card); border: 1px solid var(--sig); font-size: 12px; color: var(--sig); display: flex; align-items: flex-end; padding: 6px 10px; }

/* games */
.games { padding: clamp(80px, 12vh, 140px) 0; background: var(--dark); color: var(--dark-ink); }
.games-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.games-copy { display: grid; gap: 20px; }
.games-copy p { color: var(--dark-mute); font-size: 18px; max-width: 40ch; }
.code { margin: 8px 0 0; padding: 20px 22px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); font: 13.5px/1.7 var(--mono); color: var(--dark-ink); overflow-x: auto; white-space: pre; }
.code .k { color: #9fb3ff; } .code .s { color: #a7e3bd; } .code .c { color: var(--dark-mute); }
.games-art { perspective: 1200px; display: grid; place-items: center; min-height: 360px; }
.board3d { transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); transition: transform 1.2s var(--ease); width: min(460px, 100%); }
.board3d .b3-face { padding: 10px; background: #1d222d; border-radius: 14px; box-shadow: 0 50px 80px -30px #000000cc, inset 0 0 0 1px #ffffff14; }
.board3d .b3-post { width: 14px; height: 120px; margin: 0 auto; background: linear-gradient(90deg, #1d222d, #2a303d); }
.games-art.in .board3d { transform: rotateY(-12deg) rotateX(2deg); }

/* pricing */
.pricing { padding: clamp(80px, 12vh, 140px) 0; }
.pr-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pr-in > div > p { color: var(--ink-2); font-size: 18px; margin-top: 18px; max-width: 36ch; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.calc label { color: var(--ink-2); font-size: 15px; }
.calc-in { display: flex; align-items: baseline; gap: 4px; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.calc-in span { font-size: 40px; color: var(--mute); font-weight: 500; }
.calc-in input { border: 0; outline: 0; background: transparent; font-size: clamp(44px, 6vw, 64px); font-weight: 600; letter-spacing: -.04em; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 8px; }
.chips button { border: 1px solid var(--line-2); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s; }
.chips button:hover { border-color: var(--ink); }
.calc dl { margin: 6px 0 0; display: grid; gap: 0; }
.calc dl div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.calc dt { color: var(--ink-2); } .calc dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.calc .keep dt { color: var(--ink); font-weight: 500; } .calc .keep dd { color: var(--money); font-size: 22px; font-weight: 500; }
.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* compare */
.compare { padding: 0 0 clamp(80px, 12vh, 140px); }
.tbl { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.tr { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line); }
.tr:first-child { border-top: 0; }
.tr > * { padding: 18px 22px; font-size: 16px; }
.th > * { font-size: 14px; color: var(--mute); font-weight: 500; padding-block: 14px; }
.th > :nth-child(2) { color: var(--ink); }
.tr > :nth-child(2) { background: #f6f8ff; }
.y { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.y::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.2 2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px; }
.n { color: var(--mute); }

/* questions */
.faq { padding: 0 0 clamp(80px, 12vh, 140px); }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.qs { display: grid; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -.015em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 40px 22px 0; max-width: 60ch; animation: pop .45s var(--ease); }

/* end */
.end { background: var(--dark); color: var(--dark-ink); padding: clamp(90px, 16vh, 180px) 0; text-align: center; overflow: hidden; }
.end::before { content: ""; position: absolute; inset: -30% 10% auto; height: 80%; background: radial-gradient(50% 50% at 50% 50%, #3a5bff33, transparent 70%); pointer-events: none; }
.end .display { color: var(--dark-ink); margin-top: 0; }
.foot { background: var(--dark); color: var(--dark-mute); border-top: 1px solid var(--dark-line); padding: 36px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot .wordmark { color: var(--dark-ink); }
.foot .mark { background: var(--dark-ink); color: var(--dark); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--dark-mute); text-decoration: none; font-size: 14.5px; }
.foot nav a:hover { color: var(--dark-ink); }
.foot p { font-size: 13.5px; width: 100%; }

/* laptop and below */
@media (max-width: 64rem) {
  .links { display: none; }
  .nav-act .btn.ghost { display: none; }
  .burger { display: block; }
  .sheet { display: grid; position: absolute; left: 0; right: 0; top: var(--nav); background: #fbfbfcf5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 8px var(--gut) 18px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .sheet a { text-decoration: none; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .sheet a:last-child { border-bottom: 0; }
  .nav.open { background: #fbfbfcf5; }
  .nav.open .sheet { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .pin { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pin-art { height: 52svh; top: var(--nav); z-index: 1; background: linear-gradient(var(--bg) 80%, transparent); }
  .cut-scale { transform: translateY(20%) scale(.58); }
  .js .pin { display: block; height: 380svh; }
  .js .steps { position: sticky; top: calc(var(--nav) + 52svh); height: 38svh; }
  .js .steps li { position: absolute; inset: 0; min-height: 0; align-content: start; justify-items: center; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
  .js .steps li.on { opacity: 1; transform: none; }
  .steps p { margin-inline: auto; }
  .games-in, .pr-in, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .games-copy, .pr-in > div:first-child, .faq-in > .h2 { text-align: center; justify-items: center; }
  .h2 { margin-inline: auto; text-align: center; }
  .pr-in > div > p, .games-copy p { margin-inline: auto; }
  .why-head { justify-content: center; } .why-head .arrows { display: none; }
}
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .nav-act .btn.sm { padding: 0 14px; }
  .hero { padding-top: calc(var(--nav) + 40px); }
  .kicker { font-size: 13px; }
  .stats { gap: 18px; margin-top: 36px; }
  .stats dd { font-size: 30px; }
  .stats dt { font-size: 12.5px; }
  .display { font-size: clamp(42px, 12.4vw, 60px); }
  .seg button { padding: 8px 12px; font-size: 13.5px; }
  .stage { height: 500px; border-radius: 22px; }
  .scene { padding: 14px; }
  .mail { font-size: 14px; }
  .blog-body { grid-template-columns: minmax(0, 1fr); }
  .blog aside { display: none; }
  .ad.ad-email { grid-template-columns: 76px minmax(0, 1fr); } .ad.ad-email .pic { font-size: 28px; min-height: 92px; }
  .ad.ad-native { grid-template-columns: 88px minmax(0, 1fr); }
  .ad.ad-chat { grid-template-columns: 54px minmax(0, 1fr); }
  .hud { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .hud-l { display: none; }
  .meter { margin: 0; }
  .m-bar { width: 56px; }
  .strip-in { flex-direction: column; gap: 12px; text-align: center; }
  .marq { justify-content: center; gap: 10px 22px; }
  .pin-art { height: 46svh; } .js .steps { top: calc(var(--nav) + 46svh); height: 44svh; }
  .cut-scale { transform: translateY(26%) scale(.46); }
  .cut { --gap: 64px; --lift: 90px; }
  .layer .tag { font-size: 22px; } .layer .big { font-size: 52px; } .l-ad .brand { font-size: 58px; } .l-ad .brand small { font-size: 22px; } .l-page .hole { font-size: 22px; }
  .steps h3 { font-size: 26px; } .steps p { font-size: 16px; }
  .rail { grid-auto-columns: 82%; }
  .tr { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .tr > * { padding: 14px 12px; font-size: 14px; }
  .y::before { display: none; }
  summary { font-size: 17px; }
  .games-art { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rise, .js .rv { opacity: 1; transform: none; }
  .display .w > span { transform: none; }
}
