/* Home page only. Motion comes from CSS; landing.js only adds classes and a few variables
   (scroll progress, pointer position). Everything is static with prefers-reduced-motion. */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.landing { --ease: cubic-bezier(.16, 1, .3, 1); --wrap: 1200px; }
.landing main { max-width: none; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.block { padding-top: 140px; }
.landing h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 800; }
.landing h3 { letter-spacing: -0.01em; }
.eyebrow { margin: 0 0 14px; color: var(--accent-hover); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 620px; }

/* ---- Top bar + progress ---------------------------------------------------------------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: calc(var(--scroll, 0) * 100%); background: linear-gradient(90deg, #e11d48, #fb7185); z-index: 60; }
.topbar { position: sticky; top: 0; z-index: 50; max-width: none; margin: 0; padding: 18px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.topbar.scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(7, 7, 10, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: rgba(255, 255, 255, .06); }
.topbar nav a:not(.button) { position: relative; }
.topbar nav a:not(.button)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.topbar nav a:not(.button):hover::after { transform: scaleX(1); }

/* ---- Buttons --------------------------------------------------------------------------- */
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.button:hover svg { transform: translateX(4px); }
.button { transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .3s; }
.button:not(.secondary):hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(225, 29, 72, .7); }
.button.shine { position: relative; overflow: hidden; isolation: isolate; }
.button.shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.button.ghost-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.button.ghost-light:hover { background: rgba(255, 255, 255, .2); border-color: #fff; box-shadow: none; }

/* ---- Hero ------------------------------------------------------------------------------ */
.hero { position: relative; min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 40px 0 90px; margin-top: -72px; padding-top: 140px; }
.aurora { position: absolute; inset: -20% -10% -10%; z-index: -2; filter: blur(70px) saturate(1.3); opacity: .75; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: 40%; top: 0; background: radial-gradient(circle, rgba(225, 29, 72, .55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; left: 62%; top: 30%; background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; left: 10%; top: 45%; background: radial-gradient(circle, rgba(244, 63, 94, .22), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-18vw, -10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(14vw, -14vh) scale(1.2); } }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 3px 3px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero-inner { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero .hero-title { font-size: clamp(40px, 5.2vw, 72px); line-height: .98; letter-spacing: -0.045em; font-weight: 800; margin: 18px 0 24px; }
.hero .hero-title .line { display: block; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; color: var(--text); backdrop-filter: blur(8px); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(225, 29, 72, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); }
.hero .actions { margin-top: 32px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 34px 0 0; }
.chips li { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: rgba(21, 21, 28, .7); font-size: 13px; font-weight: 600; color: var(--muted); }

/* Rotating last line: every word sits in the same grid cell, so the line keeps the widest one's size. */
.rotator { display: inline-grid !important; overflow: hidden; padding-bottom: .08em; color: var(--accent); }
.rot { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; white-space: nowrap;
  background: linear-gradient(90deg, #e11d48, #fb7185 55%, #f43f5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot.on { transform: none; opacity: 1; }
.rot.out { transform: translateY(-105%); opacity: 0; }

/* Intro: text lines and devices arrive one after another. */
.intro { opacity: 0; transform: translateY(28px); filter: blur(6px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.fly { opacity: 0; animation: fly 1.3s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 140ms + 300ms); }
@keyframes fly { from { opacity: 0; translate: 0 60px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* Device stage: tilts towards the pointer (landing.js sets --rx/--ry). */
.stage { perspective: 1800px; height: clamp(320px, 42vw, 560px); position: relative; }
.devices { position: absolute; inset: 0; transform-style: preserve-3d; }
.devices, .slot { transform-style: preserve-3d; }
.devices { transform: rotateX(calc(6deg + var(--rx, 0deg))) rotateY(calc(-16deg + var(--ry, 0deg))); transition: transform .8s var(--ease); }
.dev { background: #0d0d11; border: 1px solid #2a2a33; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.dev img { display: block; width: 100%; height: auto; }
.dev.tv { border-radius: 14px; padding: 7px; position: relative; }
.dev.tv img { border-radius: 7px; }
.dev.tv .stand { position: absolute; left: 50%; bottom: -26px; width: 22%; height: 22px; transform: translateX(-50%); background: linear-gradient(#1b1b22, #0b0b0f); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.dev.phone { border-radius: 30px; padding: 6px; border-color: #33333d; }
.dev.phone img { border-radius: 24px; }
.dev.win { border-radius: 10px; overflow: hidden; }
.dev.win .bar { height: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 10px; background: #121218; border-bottom: 1px solid #23232c; }
.dev.win .bar i { width: 9px; height: 1px; background: #6b6b75; display: block; }
.dev.win .bar i.sq { width: 8px; height: 8px; background: none; border: 1px solid #6b6b75; }
.dev.win .bar b { color: #8b8b95; font-weight: 400; font-size: 14px; line-height: 1; }
/* A slot places a device and brings it in; the device inside floats. */
.slot { position: absolute; }
.s-tv { width: 82%; left: 12%; top: 14%; transform: translateZ(40px); }
.s-win { width: 58%; left: 40%; top: -2%; transform: translateZ(-120px); }
.s-win .dev { opacity: .9; }
.s-phone { width: 21%; left: 0; top: 34%; transform: translateZ(140px); }
.s-live { right: 2%; top: 72%; transform: translateZ(200px); }
.s-resume { left: 26%; top: 3%; transform: translateZ(180px); }
.bob { animation: bob 7s ease-in-out infinite; }
.s-win .bob { animation-duration: 9s; animation-direction: reverse; }
.s-phone .bob { animation-duration: 6s; animation-delay: .6s; }
.s-live .bob { animation-duration: 5s; animation-delay: .3s; }
.s-resume .bob { animation-duration: 6.5s; animation-delay: 1s; }
@keyframes bob { 50% { translate: 0 -12px; } }
.float-card { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; background: rgba(21, 21, 28, .78); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); white-space: nowrap; }
.float-card svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-hover); stroke-width: 2.2; stroke-linecap: round; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---- Marquee --------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); background: rgba(21, 21, 28, .5); padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-size: 17px; font-weight: 700; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Stats ----------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 96px; }
.stat { padding: 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); border: 1px solid rgba(255, 255, 255, .07); }
.stat b { display: block; font-size: clamp(48px, 6vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff, #a1a1aa); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 500; }

/* ---- Story (sticky) -------------------------------------------------------------------- */
.story { height: 420vh; margin-top: 120px; position: relative; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-sticky::before { content: ""; position: absolute; right: -10%; top: 10%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(225, 29, 72, .16), transparent 60%); pointer-events: none; }
.story-grid { width: 100%; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.story-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 6px; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.story-steps::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--story, 0) * 100%); background: linear-gradient(var(--accent), #fb7185); border-radius: 2px; }
.story-steps li { padding: 14px 0 14px 26px; opacity: .35; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(0); }
.story-steps li.active { opacity: 1; transform: translateX(6px); }
.story-steps h3 { margin: 0 0 4px; font-size: 21px; }
.story-steps p { margin: 0; color: var(--muted); }
.story-screen { position: relative; }
.dev.tv.big { transform: perspective(1600px) rotateY(calc(-8deg + var(--story, 0) * 16deg)) rotateX(4deg); transition: transform .2s linear; }
.screens { position: relative; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.screens img.active { opacity: 1; transform: none; }
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.story-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); transition: width .4s var(--ease), background .4s; }
.story-dots i.active { width: 28px; background: var(--accent); }

/* ---- Bento ----------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tile { position: relative; overflow: hidden; padding: 30px; border-radius: 24px; background: #111117; border: 1px solid rgba(255, 255, 255, .07); min-height: 250px; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .14); }
.tile.t-wide { grid-column: span 2; }
.tile.t-full { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
.tile.t-full .icon { margin: 0; grid-row: span 2; }
.tile.t-full h3 { margin: 0; align-self: end; }
.tile.t-full p { align-self: start; }
.tile.t-full .tile-art { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
.tile h3 { margin: 0 0 8px; font-size: 21px; }
.tile p { margin: 0; color: var(--muted); max-width: 440px; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 29, 72, .16), transparent 45%); }
.spot:hover::before { opacity: 1; }
.icon { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, rgba(225, 29, 72, .25), rgba(225, 29, 72, .08)); border: 1px solid rgba(225, 29, 72, .3); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.icon svg { width: 22px; height: 22px; stroke: #fb7185; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-art { margin-top: auto; padding-top: 26px; }
.screens-row { display: flex; align-items: flex-end; gap: 14px; }
.screens-row .s { display: block; border: 2px solid rgba(255, 255, 255, .18); border-radius: 6px; background: linear-gradient(160deg, rgba(225, 29, 72, .35), rgba(124, 58, 237, .15)); transition: transform .5s var(--ease); }
.screens-row .tv { width: 120px; height: 70px; }
.screens-row .lap { width: 90px; height: 56px; }
.screens-row .tab { width: 52px; height: 68px; border-radius: 8px; }
.screens-row .ph { width: 30px; height: 56px; border-radius: 8px; }
.tile:hover .screens-row .s { transform: translateY(-6px); }
.tile:hover .screens-row .s:nth-child(2) { transition-delay: .05s; }
.tile:hover .screens-row .s:nth-child(3) { transition-delay: .1s; }
.tile:hover .screens-row .s:nth-child(4) { transition-delay: .15s; }
.progress-art { height: 6px; }
.progress-art span { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.progress-art span::after { content: ""; position: absolute; inset: 0; width: 62%; background: linear-gradient(90deg, #e11d48, #fb7185); border-radius: 6px; animation: fill 4s var(--ease) infinite; }
@keyframes fill { 0% { width: 8%; } 70%, 100% { width: 72%; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.bars i { width: 8px; border-radius: 3px; background: var(--accent); animation: eq 1.2s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 60%; animation-delay: .15s; } .bars i:nth-child(3) { height: 90%; animation-delay: .3s; } .bars i:nth-child(4) { height: 50%; animation-delay: .45s; } .bars i:nth-child(5) { height: 75%; animation-delay: .6s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.bars i { transform-origin: bottom; }
.lock span { display: inline-flex; padding: 12px 18px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); letter-spacing: .3em; color: #fb7185; font-weight: 700; }

/* ---- Split sections (phones, Windows) -------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.fan { position: relative; height: 560px; display: flex; justify-content: center; align-items: center; }
.fan .phone { position: absolute; width: 34%; max-width: 230px; transition: transform 1.2s var(--ease), opacity 1s; }
.fan .phone:nth-child(2) { z-index: 2; }
.fan:not(.open) .phone:nth-child(1), .fan:not(.open) .phone:nth-child(3) { opacity: 0; }
.fan.open .phone:nth-child(1) { transform: translateX(-62%) rotate(-9deg) translateY(30px); }
.fan.open .phone:nth-child(2) { transform: translateY(-14px); }
.fan.open .phone:nth-child(3) { transform: translateX(62%) rotate(9deg) translateY(30px); }
.tilt-in { position: relative; padding-bottom: 60px; }
.tilt-in .win { transform: perspective(1400px) rotateY(14deg) rotateX(4deg) translateX(-40px); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s; }
.tilt-in .win.small { position: absolute; width: 46%; right: -4%; bottom: 0; transition-delay: .2s; }
.tilt-in.open .win { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); opacity: 1; }

/* ---- Platforms ------------------------------------------------------------------------- */
.platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.platform { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 22px; background: #111117; border: 1px solid rgba(255, 255, 255, .07); transition: transform .4s var(--ease), border-color .3s; }
.platform:hover { transform: translateY(-6px); border-color: rgba(225, 29, 72, .4); }
.platform > svg { width: 38px; height: 38px; fill: none; stroke: #fb7185; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.platform h3 { margin: 0; font-size: 18px; }
.platform p { flex: 1; margin: 0; font-size: 14px; color: var(--muted); }
.platform .button { width: 100%; }
.tag { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: #fb7185; letter-spacing: .02em; }

/* ---- Roadmap --------------------------------------------------------------------------- */
.roadmap { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(225, 29, 72, .1)); }
.roadmap li { position: relative; padding-top: 52px; }
.roadmap li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.roadmap h3 { margin: 12px 0 6px; font-size: 18px; }
.roadmap p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Steps ----------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; overflow: hidden; background: #111117; border: 1px solid rgba(255, 255, 255, .07); border-radius: 22px; padding: 30px; }
.steps li::before { content: "0" counter(step); display: block; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 18px; background: linear-gradient(180deg, #fb7185, rgba(225, 29, 72, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* ---- License --------------------------------------------------------------------------- */
.license { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.glow-border { position: relative; border-radius: 26px; padding: 1.5px; background: conic-gradient(from var(--angle), rgba(225, 29, 72, .1), #e11d48, #fb7185, rgba(124, 58, 237, .6), rgba(225, 29, 72, .1) 60%); animation: spin 6s linear infinite; }
@keyframes spin { to { --angle: 360deg; } }
.buy-inner { border-radius: 25px; background: linear-gradient(160deg, #18181f, #0e0e13); padding: 38px; display: grid; gap: 18px; }
.buy-inner h3 { font-size: 26px; margin: 0; }
.buy-inner p { margin: 0; color: var(--muted); }
.buy-inner .button { justify-self: start; }

/* ---- FAQ ------------------------------------------------------------------------------- */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq summary:hover { color: #fb7185; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--accent-hover), var(--accent-hover)) center / 12px 2px no-repeat, linear-gradient(var(--accent-hover), var(--accent-hover)) center / 2px 12px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 820px; animation: rise .5s var(--ease); }

/* ---- Final call ------------------------------------------------------------------------ */
.final { position: relative; overflow: hidden; isolation: isolate; margin-top: 140px; padding: 80px 40px; border-radius: 32px; text-align: center; background: linear-gradient(135deg, #be123c, #7f1d3f 55%, #1e1b4b); }
.final .aurora.small { inset: -40%; opacity: .6; z-index: -1; }
.final h2 { margin-bottom: 12px; }
.final p { margin: 0 auto; max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 18px; }
.final .actions { justify-content: center; margin-top: 30px; }

/* ---- Footer ---------------------------------------------------------------------------- */
.site-footer { max-width: none; margin-top: 100px; padding: 56px 0 30px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-grid .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; margin-bottom: 12px; }
.foot-grid .brand img { border-radius: 8px; }
.foot-grid > div { max-width: 520px; }
.foot-grid nav { display: grid; gap: 10px; align-content: start; }
.foot-grid nav a { color: var(--muted); text-decoration: none; }
.foot-grid nav a:hover { color: var(--text); }
.copy { margin-top: 36px; font-size: 13px; color: var(--dim); }

/* ---- Scroll reveal --------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.seen { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .roadmap::before { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero-inner, .split, .split.flip, .license { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
  .stage { height: 66vw; margin-top: 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile.t-wide { grid-column: auto; }
  .tile.t-full { display: flex; }
  .tile.t-full .icon { margin-bottom: 22px; }
  .tile.t-full h3 { margin-bottom: 8px; }
  .tile.t-full h3, .tile.t-full p { align-self: auto; }
  .tile.t-full .tile-art { margin-top: auto; padding-top: 26px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none; }
  /* The story keeps its sticky screen; the text under it shows only the current step. */
  .story { height: 360vh; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-text { order: 2; }
  .story-text h2 { font-size: 28px; }
  .story-steps li { display: none; }
  .story-steps li.active { display: block; transform: none; }
  .story-dots { margin-top: 30px; }
  .fan { height: 120vw; max-height: 560px; }
  .block { padding-top: 100px; }
}
@media (max-width: 600px) {
  .topbar { padding: 12px 16px; }
  .topbar.scrolled { padding: 8px 16px; }
  .topbar nav { gap: 10px; }
  .topbar .button.small { white-space: nowrap; padding: 6px 14px; }
  .tile.t-full { align-items: stretch; }
  .roadmap li { padding: 0 0 0 30px; }
  .roadmap li::before { top: 4px; }
  .roadmap h3 { margin-top: 10px; }
  .wrap, .hero-inner { padding: 0 16px; }
  .platforms, .roadmap { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 20px; }
  .float-card { font-size: 12px; padding: 7px 11px; }
  .final { padding: 56px 22px; border-radius: 24px; }
  .story-sticky { align-items: flex-start; padding-top: 80px; }
}

@media (max-width: 440px) {
  .topbar .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
  .intro, .fly { opacity: 1; transform: none; filter: none; }
  .js .reveal { opacity: 1; transform: none; }
  .fan .phone { opacity: 1 !important; }
  .fan .phone:nth-child(1) { transform: translateX(-62%) rotate(-9deg) translateY(30px); }
  .fan .phone:nth-child(3) { transform: translateX(62%) rotate(9deg) translateY(30px); }
  .tilt-in .win { opacity: 1; transform: none; }
  .rot { transition: none; }
}

/* The contact form: a comfortable width for its fields. */
.contact-card { max-width: 640px; }

/* ---- First screen: stores, then the note under them ------------------------------------ */
.hero .get { margin-top: 32px; }
.get-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.get-note .tick { width: 12px; height: 7px; border-left: 2.5px solid #34d399; border-bottom: 2.5px solid #34d399; transform: rotate(-45deg) translateY(-2px); margin-right: -4px; }
.get-note a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .28); padding-bottom: 1px; transition: border-color .2s; }
.get-note a:hover { border-color: var(--accent-hover); }
.hero .chips { margin-top: 26px; }

/* ---- Guides ---------------------------------------------------------------------------- */
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 36px; }
.guide-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(21, 21, 28, .8); color: var(--text); text-decoration: none; transition: transform .25s var(--ease), border-color .2s, background .2s; }
.guide-item:hover { transform: translateY(-3px); border-color: rgba(244, 63, 94, .6); background: var(--raised); }
.guide-item b { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.guide-item span { flex: none; font-size: 12px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.guide-item.guide-all { border-style: dashed; background: transparent; }
.guide-item.guide-all b { color: var(--accent-hover); font-weight: 700; }
.guide-item.guide-all span { font-size: 18px; color: var(--accent-hover); }
.win-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--dim); }

/* ---- "Download the Windows version?" --------------------------------------------------- */
.ask { width: min(460px, calc(100vw - 32px)); padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.ask::backdrop { background: rgba(4, 4, 6, .72); backdrop-filter: blur(6px); }
.landing .ask h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 10px; }
.ask p { margin: 0; color: var(--muted); line-height: 1.6; }
.ask .actions { justify-content: flex-end; margin-top: 24px; }
.ask[open] { animation: ask-in .25s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .ask[open] { animation: none; } }
