:root {
  --void: #040309;
  --card: rgba(12, 9, 22, 0.94);
  --text: #F4F2FA;
  --muted: #C6C0D9;
  --soft: #A9A3BE;
  --flare: #FF3D5A;
  --nebula: #A855F7;
  --pulsar: #3D7BFF;
  --nova: linear-gradient(90deg, #FF3D5A, #C44DFF 50%, #3D7BFF);
  --display: 'Michroma', sans-serif;
  /* Sky colours as RGB triplets; each app page swaps these for its own. */
  --c1: 255,61,90; --c2: 168,85,247; --c3: 61,123,255; --c4: 224,69,158;
  --accent: var(--nova);
  --accent-soft: #C9B5FF;
}
body.theme-jolt { --c1: 168,85,247; --c2: 107,59,245; --c3: 61,123,255; --c4: 196,77,255;
  --accent: linear-gradient(90deg, #A855F7, #3D7BFF); --accent-soft: #C9B5FF; }
body.theme-stallwise { --c1: 255,61,90; --c2: 255,138,61; --c3: 45,190,150; --c4: 255,184,77;
  --accent: linear-gradient(90deg, #FF3D5A, #FF8A3D); --accent-soft: #FFB3A0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--text);
  font: 17px/1.6 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); }
a:hover { color: #FFB3C0; }
img { display: block; }

/* ---------- Moving background ---------- */
.page { position: relative; overflow: clip; min-height: 100vh; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.hue { position: absolute; inset: 0; animation: hue 12s ease-in-out infinite; }
.blob { position: absolute; border-radius: 50%; filter: blur(65px); }
.b1 { left: 0; top: -140px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(var(--c1),.85), rgba(var(--c1),0) 68%); animation: drift1 14s ease-in-out infinite alternate; }
.b2 { left: 34%; top: -60px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(var(--c2),.85), rgba(var(--c2),0) 68%); animation: drift2 17s ease-in-out infinite alternate; }
.b3 { right: -6%; top: -100px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(var(--c3),.85), rgba(var(--c3),0) 68%); animation: drift3 12s ease-in-out infinite alternate; }
.b4 { left: 20%; top: 600px; width: 640px; height: 640px; filter: blur(70px); background: radial-gradient(circle, rgba(var(--c4),.6), rgba(var(--c4),0) 68%); animation: drift3 17s ease-in-out infinite alternate; }
.b5 { left: -10%; top: 1250px; width: 900px; height: 900px; filter: blur(80px); background: radial-gradient(circle, rgba(var(--c4),.55), rgba(var(--c4),0) 68%); animation: drift2 14s ease-in-out infinite alternate; }
.b6 { right: -12%; top: 1650px; width: 900px; height: 900px; filter: blur(80px); background: radial-gradient(circle, rgba(var(--c3),.55), rgba(var(--c3),0) 68%); animation: drift1 12s ease-in-out infinite alternate; }
.swirl { position: absolute; left: 50%; top: 520px; border-radius: 50%; transform: translate(-50%, -50%); }
.swirl.big { width: 1600px; height: 1600px; filter: blur(55px); background: conic-gradient(from 0deg, rgba(var(--c1),.38), rgba(var(--c2),.06), rgba(var(--c3),.38), rgba(var(--c4),.06), rgba(var(--c1),.38)); animation: spin 28s linear infinite; }
.swirl.small { width: 1000px; height: 1000px; filter: blur(45px); background: conic-gradient(from 90deg, rgba(var(--c3),0), rgba(var(--c2),.35), rgba(var(--c3),0), rgba(var(--c1),.3), rgba(var(--c3),0)); animation: spin-back 40s linear infinite; }
.pulse { position: absolute; left: 50%; top: 360px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; filter: blur(30px); background: radial-gradient(circle, rgba(var(--c2),.5), rgba(var(--c1),.15) 45%, rgba(4,3,9,0) 70%); animation: pulse 6s ease-in-out infinite; }
.stars {
  position: absolute; inset: 0;
  background-image: radial-gradient(1.4px 1.4px at 20px 30px, rgba(255,255,255,.75), rgba(255,255,255,0)), radial-gradient(1.1px 1.1px at 140px 90px, rgba(255,255,255,.6), rgba(255,255,255,0));
  background-size: 200px 200px, 300px 300px;
  animation: twinkle 4s ease-in-out infinite, stars 90s linear infinite;
}
.comet { position: absolute; left: 0; width: 260px; height: 2px; border-radius: 2px; opacity: 0; animation: comet 9s ease-in infinite; }
.comet.one { top: 520px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,180,200,.9), #fff); box-shadow: 0 0 12px rgba(255,140,180,.8); }
.comet.two { top: 1100px; width: 200px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(160,190,255,.9), #fff); box-shadow: 0 0 12px rgba(120,160,255,.8); animation-delay: 4.5s; }

@keyframes drift1 { 0%{transform:translate(0,0) scale(1)} 25%{transform:translate(55%,25%) scale(1.3)} 50%{transform:translate(85%,-10%) scale(.85)} 75%{transform:translate(30%,45%) scale(1.2)} 100%{transform:translate(-20%,15%) scale(1)} }
@keyframes drift2 { 0%{transform:translate(0,0) scale(1.1)} 25%{transform:translate(-50%,35%) scale(.85)} 50%{transform:translate(-80%,-5%) scale(1.35)} 75%{transform:translate(-20%,-30%) scale(.95)} 100%{transform:translate(35%,20%) scale(1.15)} }
@keyframes drift3 { 0%{transform:translate(0,0) scale(.9)} 25%{transform:translate(-60%,-20%) scale(1.3)} 50%{transform:translate(-95%,30%) scale(1)} 75%{transform:translate(-40%,55%) scale(1.25)} 100%{transform:translate(10%,20%) scale(.9)} }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes spin-back { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes hue { 0%,100%{filter:hue-rotate(0deg)} 50%{filter:hue-rotate(-35deg)} }
@keyframes pulse { 0%,100%{opacity:.55;transform:scale(1)} 50%{opacity:1;transform:scale(1.12)} }
@keyframes twinkle { 0%,100%{opacity:.3} 50%{opacity:.9} }
@keyframes stars { to { background-position: 200px -200px, -300px 300px; } }
@keyframes comet { 0%{transform:translate(-30vw,0) rotate(-18deg);opacity:0} 6%{opacity:1} 22%{transform:translate(130vw,-38vh) rotate(-18deg);opacity:0} 100%{transform:translate(130vw,-38vh) rotate(-18deg);opacity:0} }

/* Phones: fewer, lighter layers so scrolling stays smooth */
@media (max-width: 700px) {
  .b4, .b6, .swirl.small { display: none; }
  .blob { width: 460px !important; height: 460px !important; filter: blur(50px); }
  .swirl.big { width: 900px; height: 900px; top: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .hue, .blob, .swirl, .pulse, .stars { animation: none; }
  .comet { display: none; }
}

/* ---------- Layout ---------- */
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header.top { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 32px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand span { font-family: var(--display); font-size: 18px; letter-spacing: .08em; }
nav.links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
nav.links a { color: #D3CEE4; text-decoration: none; }
nav.links a:hover { color: #fff; }
.pill-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 90px 0 120px; }
.badge { margin-top: 44px; padding: 1.5px; border-radius: 999px; background: var(--nova); }
.badge span { display: block; padding: 9px 18px; border-radius: 999px; background: rgba(10,8,20,.9); font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #E6E0F7; }
h1 { margin: 34px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5.2vw, 68px); line-height: 1.18; letter-spacing: .01em; }
.glow-text { background: linear-gradient(90deg, #FF3D5A 0%, #E0459E 30%, #A855F7 60%, #3D7BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 28px 0 0; max-width: 620px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; height: 56px; padding: 0 30px; border-radius: 999px; font-size: 17px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--nova); color: #fff; box-shadow: 0 10px 44px rgba(224,69,158,.5); }
.btn.ghost { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn:hover { color: #fff; filter: brightness(1.08); }

section.block { padding: 40px 0 100px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; }
h2 { margin: 12px 0 36px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3vw, 38px); }

.apps { display: flex; flex-wrap: wrap; gap: 24px; }
.app { flex: 1 1 460px; min-width: 0; padding: 1.5px; border-radius: 28px; }
.app.jolt { background: linear-gradient(120deg, #A855F7, #3D7BFF 70%); box-shadow: 0 0 70px rgba(124,92,255,.25), 0 0 120px rgba(61,123,255,.18); }
.app.stallwise { background: linear-gradient(120deg, #FF3D5A, #FF8A3D 70%); box-shadow: 0 0 70px rgba(255,61,90,.25), 0 0 120px rgba(255,138,61,.15); }
.app-inner { height: 100%; border-radius: 27px; background: var(--card); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.app-head { display: flex; align-items: center; gap: 20px; }
.app-head img { width: 88px; height: 88px; border-radius: 22px; flex: none; }
.app-name { font-family: var(--display); font-size: 24px; }
.app-for { font-size: 15px; font-weight: 700; margin-top: 6px; }
.jolt .app-for { color: #B79BFF; }
.stallwise .app-for { color: #FF8FA3; }
.app p { margin: 0; font-size: 18px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 600; color: #E6E0F7; }
.app .btn.light { margin-top: auto; align-self: flex-start; height: 52px; padding: 0 24px; font-size: 16px; background: var(--text); color: #0C0916; }
.app .btn.light:hover { color: #0C0916; }
.next { flex: 1 1 100%; border-radius: 28px; border: 1.5px dashed rgba(255,255,255,.22); background: rgba(12,9,22,.6); padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.next strong { font-family: var(--display); font-weight: 400; font-size: 18px; }
.next p { margin: 0; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.value { border-radius: 24px; background: rgba(14,11,26,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: 30px; }
.value i { display: block; width: 44px; height: 6px; border-radius: 3px; }
.value h3 { font-family: var(--display); font-weight: 400; font-size: 18px; margin: 20px 0 0; }
.value p { margin: 10px 0 0; color: var(--muted); }

.contact { border-radius: 32px; padding: 1.5px; background: var(--nova); }
.contact-inner { border-radius: 31px; background: rgba(10,8,20,.92); padding: 56px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.contact h2 { margin: 0; font-size: clamp(20px, 2.8vw, 34px); }
.contact p { margin: 0; max-width: 520px; font-size: 18px; color: var(--muted); }
.contact .btn { margin-top: 8px; word-break: break-all; }

footer.bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 32px 0 48px; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; color: var(--soft); }
footer.bottom .mark { display: flex; align-items: center; gap: 12px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
footer.bottom nav a { color: var(--muted); text-decoration: none; }

@media (max-width: 560px) {
  header.top { flex-wrap: nowrap; padding: 24px 0; }
  .brand span { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  nav.links a:not(.pill-btn) { display: none; }
  .badge span { font-size: 11px; letter-spacing: .06em; padding: 8px 14px; }
  .hero { padding: 56px 0 90px; }
  .app-inner { padding: 26px; }
  .app-head img { width: 72px; height: 72px; border-radius: 18px; }
  .btn { height: 52px; padding: 0 22px; font-size: 16px; }
  .app .btn.light { white-space: nowrap; height: 48px; padding: 0 18px; font-size: 14.5px; }
}

/* ---------- Scroll effects ---------- */
.reveal { opacity: 0; transform: translateY(48px) scale(.98); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-mark { will-change: transform, opacity; }
.warm-text { background: linear-gradient(90deg, #FF3D5A, #FF8A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* A statement that lights up word by word */
.statement { position: relative; height: 220vh; }
.statement-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.statement-text { max-width: 1050px; margin: 0; text-align: center; font-family: var(--display); font-size: clamp(26px, 4.4vw, 58px); line-height: 1.3; }
.statement-text span { color: rgba(244,242,250,.14); transition: color .5s ease, text-shadow .5s ease; }
.statement-text span.lit { color: #F4F2FA; text-shadow: 0 0 30px rgba(196,77,255,.35); }

/* App showcases: the phone stays put while screens and features change */
.show { position: relative; height: 460vh; }
.show-stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; overflow: hidden; }
.show-title { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; margin: 14px 0 34px; }
.steps { position: relative; padding-left: 28px; display: flex; flex-direction: column; gap: 18px; }
.steps .bar { position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.steps .bar i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); }
.jolt-show .bar i { background: linear-gradient(#A855F7, #3D7BFF); }
.stallwise-show .bar i { background: linear-gradient(#FF3D5A, #FF8A3D); }
.step { display: flex; gap: 18px; opacity: .32; transform: translateX(0); transition: opacity .5s ease, transform .5s ease; }
.step.on { opacity: 1; transform: translateX(8px); }
.step b { font-family: var(--display); font-weight: 400; font-size: 14px; padding-top: 5px; color: var(--soft); }
.step.on b { color: #fff; }
.step h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 16px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .5s ease; }
.step.on p { max-height: 80px; opacity: 1; }

.show-visual { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }
.orbit { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; border-radius: 50%; transform: translate(-50%, -50%); filter: blur(30px); opacity: .9; }
.jolt-show .orbit { background: conic-gradient(from 0deg, rgba(168,85,247,.55), rgba(61,123,255,.08), rgba(61,123,255,.55), rgba(196,77,255,.08), rgba(168,85,247,.55)); }
.stallwise-show .orbit { background: conic-gradient(from 0deg, rgba(255,61,90,.55), rgba(255,138,61,.08), rgba(255,138,61,.5), rgba(29,185,140,.15), rgba(255,61,90,.55)); }
.phone { position: relative; width: min(340px, 30vw, 36vh); aspect-ratio: 9 / 19.5; padding: 12px; border-radius: 54px; background: #15111F; box-shadow: 0 0 0 2px #2D2640, 0 50px 120px rgba(0,0,0,.65); will-change: transform; transform-style: preserve-3d; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #0C0916; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(14%) scale(1.04); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.screen img.on { opacity: 1; transform: none; }
.screen img.past { transform: translateY(-10%) scale(.96); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(20,16,34,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 700; font-size: 15px; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.chip.c1 { left: 2%; top: 26%; }
.chip.c2 { right: 0; bottom: 22%; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #3EE68F; box-shadow: 0 0 10px #3EE68F; }

@media (max-width: 900px) {
  .show-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 8px; padding-top: 32px; }
  .show-copy { position: relative; z-index: 2; }
  .show-title { margin: 8px 0 14px; }
  .steps { gap: 0; min-height: 86px; }
  .step { display: none; }
  .step.on { display: flex; transform: none; }
  .step.on p { max-height: none; }
  .show-visual { align-items: flex-start; padding-top: 10px; }
  .phone { width: min(250px, 62vw, 31vh); }
  .orbit { width: 420px; height: 420px; }
  .chip { font-size: 13px; padding: 9px 14px; }
  .chip.c1 { left: 0; top: 12%; }
  .chip.c2 { right: 0; bottom: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip { opacity: 1; }
  .screen img { transition: opacity .3s; transform: none; }
}

/* Stallwise screens are a touch wider than Jolt's, so its phone matches their shape and nothing is trimmed */
.stallwise-show .phone { aspect-ratio: 9 / 17.4; }
.stallwise-show .screen img { object-fit: cover; object-position: center top; }

/* "Coming soon" label beside an app's name */
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 4px 10px; border-radius: 999px; font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.1); color: #E6E0F7; }

/* Plain pages: privacy, not found */
.plain { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.plain h1 { font-size: clamp(28px, 4vw, 44px); margin: 40px 0 8px; }
.plain .updated { color: var(--soft); font-size: 15px; margin: 0 0 28px; }
.plain h2 { font-size: clamp(18px, 2vw, 22px); margin: 34px 0 10px; }
.plain p, .plain li { color: var(--muted); }
.plain ul { padding-left: 20px; }
.plain a { color: #C9B5FF; }
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.notfound h1 { margin: 0; }

/* =========================================================
   App pages (Jolt Code, Stallwise): the same system, tinted per app
   ========================================================= */
nav.links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 rgba(var(--c1), .9); padding-bottom: 4px; }
.accent-text { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shimmer { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* Hero: floating icon with an orbiting ring, name, line, and the main action */
.app-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 70px 0 90px; }
.app-hero .eyebrow { color: var(--accent-soft); }
.app-hero h1 { margin: 16px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; }
.app-hero .lede { margin: 22px 0 0; text-align: left; }
.app-hero .actions { justify-content: flex-start; }
.app-title { display: flex; align-items: center; gap: 22px; }
.icon-orbit { position: relative; flex: none; width: 104px; height: 104px; }
.icon-orbit img { position: relative; width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 50px rgba(var(--c1), .45); animation: float 5s ease-in-out infinite; }
.icon-orbit::before { content: ""; position: absolute; inset: -14px; border-radius: 34px; padding: 2px; background: conic-gradient(from 0deg, rgba(var(--c1),0), rgba(var(--c1),1), rgba(var(--c3),1), rgba(var(--c1),0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-flat 4s linear infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes spin-flat { to { transform: rotate(360deg); } }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 14px; font-weight: 700; color: #E6E0F7; }
.soon-pill i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--c3), 1); box-shadow: 0 0 10px rgba(var(--c3), 1); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Jolt: an editor that types a program, then "runs" it */
.demo-card { position: relative; border-radius: 24px; padding: 1.5px; background: var(--accent); box-shadow: 0 0 80px rgba(var(--c1), .3), 0 30px 80px rgba(0,0,0,.5); }
.demo-inner { border-radius: 23px; background: #0B0916; overflow: hidden; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; font-weight: 700; color: #C9C4DC; }
.demo-bar .run { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #FFD60A; color: #1A0F33; font-weight: 800; font-size: 13px; transition: transform .2s; }
.demo-bar .run.pressed { transform: scale(.9); }
.demo-code { margin: 0; padding: 16px 18px; min-height: 200px; font: 14.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; color: #E9E6F5; white-space: pre; overflow: hidden; }
.demo-code .k { color: #B98CFF; } .demo-code .f { color: #5FD4F4; } .demo-code .n { color: #FF6B8A; } .demo-code .s { color: #FFD60A; } .demo-code .c { color: #7D7894; }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: #FFD60A; animation: blink 1s steps(1) infinite; }
.demo-term { border-top: 1px solid rgba(255,255,255,.07); padding: 12px 18px 16px; min-height: 108px; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: #9FF0B5; background: #08060F; }
.demo-term .muted { color: #7D7894; }

/* Stallwise: a result card whose numbers count up */
.profit-card .demo-inner { padding: 22px; }
.profit-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #FFB3A0; }
.profit-event { font-family: var(--display); font-size: 20px; margin-top: 6px; }
.profit-big { margin-top: 18px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #F2553A, #FF8A3D); color: #fff; }
.profit-big .amount { font-family: var(--display); font-size: 46px; line-height: 1; }
.profit-big .per { margin-top: 10px; font-weight: 700; opacity: .95; }
.profit-rows { margin-top: 16px; display: grid; gap: 8px; font-size: 15px; color: #C6C0D9; }
.profit-rows div { display: flex; justify-content: space-between; }
.profit-rows b { color: #F4F2FA; }
.verdict { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(45,190,150,.14); color: #8FF0CF; font-weight: 800; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; }
.verdict.in { opacity: 1; transform: none; }

/* A ticker of what the app works with, gliding sideways */
.ticker { position: relative; overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.08); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; animation: ticker 30s linear infinite; font-family: var(--display); font-size: 15px; letter-spacing: .08em; color: #B9B3CC; }
.ticker-track span::before { content: "✦"; margin-right: 44px; color: rgba(var(--c1), 1); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Feature cards that tilt toward the cursor and glow where it points */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { position: relative; border-radius: 24px; padding: 28px; background: rgba(14,11,26,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--c1), .22), transparent 60%); opacity: 0; transition: opacity .3s; }
.feature:hover { box-shadow: inset 0 0 0 1px rgba(var(--c1), .45), 0 20px 50px rgba(0,0,0,.4); }
.feature:hover::before { opacity: 1; }
.feature .tag { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.feature h3 { position: relative; font-family: var(--display); font-weight: 400; font-size: 18px; margin: 14px 0 0; }
.feature p { position: relative; margin: 10px 0 0; color: var(--muted); }

/* Numbered steps */
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.howto li { list-style: none; counter-increment: s; position: relative; border-radius: 22px; padding: 26px 24px 24px 74px; background: rgba(14,11,26,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--muted); }
.howto li::before { content: counter(s); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; color: #fff; background: var(--accent); box-shadow: 0 0 22px rgba(var(--c1), .55); }
.howto strong { color: var(--text); display: block; margin-bottom: 6px; }
.howto { padding: 0; margin: 0; }

/* Questions and answers that open smoothly */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(14,11,26,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-soft); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Call to action with a glowing border that travels around it */
.glow-border { position: relative; border-radius: 32px; padding: 1.5px; overflow: hidden; }
.glow-border::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 60%, rgba(var(--c1),1) 75%, rgba(var(--c3),1) 85%, transparent 100%); animation: spin-flat 5s linear infinite; }
.glow-border > .inner { position: relative; border-radius: 31px; background: rgba(10,8,20,.96); padding: 56px 28px; text-align: center; }
.glow-border h2 { margin: 0 0 10px; }
.glow-border .inner > p { margin: 0 auto; max-width: 540px; color: var(--muted); }

/* The waitlist form, on the dark design */
.waitlist { max-width: 520px; margin: 28px 0 0; }
.glow-border .waitlist { margin: 28px auto 0; }
.waitlist .launch { margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--accent-soft); text-transform: uppercase; }
.waitlist .field { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type=email] { flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-size: 17px;
  background: rgba(255,255,255,.08); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.waitlist input[type=email]::placeholder { color: #8E88A6; }
.waitlist input[type=email]:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(var(--c1), 1); }
.waitlist button { flex: 0 0 auto; height: 56px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700;
  color: #fff; background: var(--accent); box-shadow: 0 10px 40px rgba(var(--c1), .45); }
.waitlist button:disabled { opacity: .7; cursor: default; }
.waitlist .note { margin: 12px 0 0; font-size: 14px; color: #A9A3BE; }
.waitlist .note.error { color: #FF9AAE; font-weight: 700; }
.waitlist .count { margin: 8px 0 0; font-size: 14px; font-weight: 800; color: var(--accent-soft); }
.waitlist.done .field { display: none; }
.waitlist.done .note { font-size: 18px; font-weight: 800; color: var(--text); }
.waitlist .hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.glow-border .waitlist .field { justify-content: center; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .app-hero { grid-template-columns: 1fr; padding: 40px 0 70px; gap: 40px; }
}
@media (max-width: 560px) {
  .app-title { gap: 16px; }
  .icon-orbit, .icon-orbit img { width: 76px; height: 76px; }
  .icon-orbit img { border-radius: 18px; }
  .demo-code { font-size: 12.5px; min-height: 180px; }
  .profit-big .amount { font-size: 38px; }
  .waitlist button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer, .icon-orbit img, .icon-orbit::before, .ticker-track, .glow-border::before, .soon-pill i, .caret { animation: none; }
  .feature { transform: none; }
}
