/* Launch look for the two pitch pages (/ and /for-places/). Loaded only when
   Base gets `launch`, and it forces the dark palette so the shared header and
   footer follow along. */

html.launch {
  --ink: #f4efe8;
  --ink-2: #c9c2b8;
  --ink-3: #8d867c;
  --paper: #07060a;
  --card: #111015;
  --line: #24212a;
  --cream: #0e0d12;
  --orange-soft: #2a140a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --glow: #ff6b35;
  --violet: #8b5cf6;
  --lime: #c6f24e;
  color-scheme: dark;
}
html.launch body { background: var(--paper); }
html.launch body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.launch .btn-dark { background: #f4efe8; color: #07060a; }
html.launch .btn-ghost { border-color: #3a3640; color: #f4efe8; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mono b { color: var(--glow); font-weight: 600; }
.o { color: var(--glow); }

/* ---------- Hero ---------- */
.lx-hero { position: relative; overflow: hidden; padding: 72px 0 40px; isolation: isolate; }
.lx-hero::before, .lx-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.lx-hero::before { width: 620px; height: 620px; background: radial-gradient(circle, #ff6b35, transparent 65%); top: -160px; right: -120px; }
.lx-hero::after { width: 520px; height: 520px; background: radial-gradient(circle, #6d3bff, transparent 65%); bottom: -220px; left: -160px; animation-delay: -9s; opacity: .4; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

.lx-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.lx-hero h1 {
  font: 800 clamp(54px, 9.4vw, 136px)/.88 var(--display); letter-spacing: -.055em; margin: 22px 0 0;
}
.lx-hero h1 .line { display: block; }
.lx-hero h1 .out { color: transparent; -webkit-text-stroke: 2px #f4efe8; }
.lx-hero h1 .grad {
  background: linear-gradient(92deg, #ffb27a, #ff6b35 40%, #ff3d7f 75%, #a374ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lx-hero .sub { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-2); max-width: 34ch; margin: 28px 0 30px; line-height: 1.5; }
.lx-hero .sub b { color: var(--ink); font-weight: 600; }
.lx-hero .note { color: var(--ink-3); font-size: 14px; margin-top: 16px; font-family: var(--mono); letter-spacing: .04em; }

/* ---------- Animated demo phone ---------- */
.demo { position: relative; display: grid; place-items: center; min-height: 560px; }
.demo-phone {
  width: 268px; height: 548px; border-radius: 44px; padding: 10px; position: relative;
  background: linear-gradient(160deg, #2a2730, #0b0a0e); box-shadow: 0 0 0 1px #34303b, 0 60px 120px -30px rgba(255, 107, 53, .45), 0 30px 60px -20px #000;
}
.demo-phone .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #000; border-radius: 20px; z-index: 5; }
.demo-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #000; }
.ds { position: absolute; inset: 0; opacity: 0; animation: ds 16s infinite; display: flex; flex-direction: column; color: #fff; font-size: 13px; line-height: 1.35; }
.ds:nth-child(1) { animation-delay: 0s; }
.ds:nth-child(2) { animation-delay: 4s; }
.ds:nth-child(3) { animation-delay: 8s; }
.ds:nth-child(4) { animation-delay: 12s; }
@keyframes ds { 0% { opacity: 0; transform: scale(1.04); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }

.ds-video { justify-content: flex-end; padding: 18px; background: radial-gradient(120% 70% at 50% 30%, #c2551f 0%, #5a2410 45%, #120806 80%); }
.ds-video .dish { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); font-size: 120px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateX(-50%) translateY(-8px) rotate(-3deg); } }
.ds-video .steam { position: absolute; top: 14%; left: 50%; width: 120px; height: 80px; transform: translateX(-50%); background: radial-gradient(ellipse at 30% 80%, rgba(255,255,255,.25), transparent 50%), radial-gradient(ellipse at 70% 60%, rgba(255,255,255,.18), transparent 50%); filter: blur(8px); animation: steam 3s ease-in-out infinite; }
@keyframes steam { 50% { transform: translateX(-50%) translateY(-14px); opacity: .5; } }
.ds-video .bar { position: absolute; top: 12px; left: 16px; right: 16px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.ds-video .bar i { display: block; height: 100%; width: 0; background: #fff; animation: prog 4s linear infinite; }
@keyframes prog { to { width: 100%; } }
.ds-video .rail { position: absolute; right: 12px; bottom: 120px; display: grid; gap: 16px; text-align: center; font-size: 11px; font-weight: 700; }
.ds-video .rail span { display: block; font-size: 22px; }
.ds .who { font-size: 12px; opacity: .85; }
.ds .cap { font-weight: 700; font-size: 15px; margin: 4px 0 12px; max-width: 80%; }
.ds .order { background: var(--glow); border-radius: 14px; padding: 12px 14px; font-weight: 800; display: flex; justify-content: space-between; box-shadow: 0 10px 30px -6px rgba(255,107,53,.7); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.04); } }

.ds-sheet { background: #0f0e13; padding: 54px 16px 16px; gap: 10px; }
.ds-sheet h5 { font: 700 20px var(--display); margin: 0 0 4px; }
.opt { border: 1px solid #2c2933; border-radius: 14px; padding: 12px; display: flex; justify-content: space-between; align-items: center; }
.opt.on { border-color: var(--glow); background: rgba(255,107,53,.1); }
.opt small { display: block; color: #9a948c; font-size: 11px; }
.ds-sheet .pay { margin-top: auto; background: var(--glow); border-radius: 14px; padding: 14px; text-align: center; font-weight: 800; }
.ds-sheet .line { display: flex; justify-content: space-between; color: #c9c2b8; font-size: 12px; }

.ds-track { background: #0d1117; }
.ds-track .map { flex: 1; position: relative; background:
  linear-gradient(90deg, transparent 49%, #1d2633 49% 51%, transparent 51%) 0 0/60px 60px,
  linear-gradient(0deg, transparent 49%, #1d2633 49% 51%, transparent 51%) 0 0/60px 60px, #0f151e; }
.ds-track .route { position: absolute; left: 22%; top: 24%; width: 56%; height: 46%; border: 3px dashed var(--glow); border-left: 0; border-bottom: 0; border-radius: 0 40px 0 0; }
.ds-track .pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.ds-track .rider { position: absolute; font-size: 22px; animation: ride 4s linear infinite; }
@keyframes ride { 0% { left: 18%; top: 20%; } 50% { left: 70%; top: 20%; } 100% { left: 74%; top: 62%; } }
.ds-track .card { background: #15141a; border-radius: 22px 22px 0 0; padding: 16px; }
.ds-track .eta { font: 800 30px var(--display); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 10px; }
.steps4 i { height: 4px; border-radius: 4px; background: #2c2933; }
.steps4 i.on { background: var(--glow); }

.ds-done { justify-content: center; align-items: center; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 40%, #ff6b35, #7a1f00 70%, #1a0700); }
.ds-done .big { font-size: 80px; animation: pop .6s ease-out; }
@keyframes pop { from { transform: scale(.4); } }
.ds-done h5 { font: 800 30px/1 var(--display); margin: 12px 0 8px; letter-spacing: -.03em; }

.demo-tags { position: absolute; inset: 0; pointer-events: none; }
.demo-tags span {
  position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; background: rgba(20,19,25,.8); border: 1px solid #34303b; backdrop-filter: blur(8px); white-space: nowrap;
}
.demo-tags span b { color: var(--glow); }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: #0b0a0f; }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 700 clamp(20px, 2.6vw, 30px) var(--display); letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker span::after { content: "✦"; color: var(--glow); font-size: .7em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: 130px 0 110px; }
.manifesto .q { font: 800 clamp(38px, 6.4vw, 92px)/.95 var(--display); letter-spacing: -.045em; max-width: 15ch; }
.manifesto .q em { font-style: normal; color: var(--ink-3); }
.apps { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 26px; }
.apps span {
  font: 600 clamp(15px, 1.6vw, 19px) var(--body); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--glow); text-decoration-thickness: 2px;
}
.apps .one { text-decoration: none; background: var(--glow); color: #fff; border-color: var(--glow); font-weight: 800; }
.manifesto .kicker-line { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-2); max-width: 40ch; }

/* ---------- "Crazy" scenes ---------- */
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 110px 0; border-top: 1px solid var(--line); position: relative; }
.scene.flip > .scene-copy { order: 2; }
.scene .idx { font: 800 clamp(80px, 11vw, 160px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px #3a3640; letter-spacing: -.06em; display: block; margin-bottom: 18px; }
.scene h2 { font: 800 clamp(40px, 5.6vw, 80px)/.92 var(--display); letter-spacing: -.045em; }
.scene h2 .o { display: block; }
.scene p.say { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin: 22px 0 22px; max-width: 34ch; line-height: 1.5; }
.scene .wow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 10px; }
.scene .wow::before { content: ""; width: 26px; height: 1px; background: var(--lime); }

.viz { position: relative; border-radius: 32px; min-height: 480px; padding: 32px 22px; display: grid; place-items: center; overflow: hidden; background: #0f0e13; border: 1px solid var(--line); isolation: isolate; }
.viz::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 70% 30%, rgba(255,107,53,.35), transparent 45%); }
.viz.v-violet::before { background: radial-gradient(circle at 30% 70%, rgba(139,92,246,.4), transparent 50%); }
.viz.v-lime::before { background: radial-gradient(circle at 60% 40%, rgba(198,242,78,.22), transparent 50%); }
.viz.photo { padding: 0; place-items: end start; }
.viz.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: saturate(1.1) contrast(1.05); }
.viz.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7,6,10,.9)); }
.viz.photo::before { display: none; }

.glass { background: rgba(22,21,28,.78); border: 1px solid #34303b; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; padding: 18px; width: 100%; max-width: 330px; color: #f4efe8; font-size: 14px; box-shadow: 0 30px 60px -30px #000; }
.glass + .glass { margin-top: 12px; }
.glass .t { font: 700 17px var(--display); }
.glass .s { color: #9a948c; font-size: 12.5px; }
.glass .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #26232c; }
.glass .r:last-child { border-bottom: 0; }
.chip2 { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #26232c; color: #f4efe8; white-space: nowrap; }
.chip2.hot { background: var(--glow); color: #fff; }
.chip2.ok { background: rgba(198,242,78,.15); color: var(--lime); }
.chip2.v { background: rgba(139,92,246,.2); color: #c4b0ff; }
.col { display: flex; flex-direction: column; align-items: center; width: 100%; }
.thumb { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #3a2316, #c2551f); }

.bubble2 { background: rgba(255,107,53,1); color: #fff; border-radius: 18px 18px 4px 18px; padding: 11px 14px; margin: 0 0 10px auto; max-width: 86%; font-size: 13.5px; }
.bubble2.bot { background: #1f1d25; color: #f4efe8; border-radius: 18px 18px 18px 4px; margin: 0 auto 10px 0; }
.bubble2.bot u { text-decoration-color: var(--glow); text-underline-offset: 3px; font-weight: 700; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a948c; animation: typ 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 50% { opacity: .2; transform: translateY(-3px); } }

.card3d { width: 100%; max-width: 340px; aspect-ratio: 1.6; border-radius: 22px; padding: 22px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ff8a4c, #ff3d7f 55%, #7b4dff); box-shadow: 0 40px 80px -30px rgba(255,61,127,.6); transform: rotate(-6deg); }
.card3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); animation: shine 4s ease-in-out infinite; }
@keyframes shine { from { transform: translateX(-100%); } 60%, to { transform: translateX(100%); } }
.card3d .bal { font: 800 44px/1 var(--display); letter-spacing: -.03em; margin-top: 26px; }
.card3d .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.card3d .foot { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }

.wait { font: 800 clamp(90px, 12vw, 150px)/.85 var(--display); letter-spacing: -.06em; }
.wait small { font-size: .3em; letter-spacing: -.02em; color: var(--ink-3); }

/* ---------- Industries ---------- */
.industries { padding: 120px 0; }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; margin-top: 48px; }
.ind { background: var(--paper); padding: 30px 26px 32px; position: relative; transition: background .25s; }
.ind:hover { background: #0f0e13; }
.ind .mono { display: block; margin-bottom: 18px; }
.ind h3 { font: 800 30px/1 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.ind .old { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--glow); font-size: 15px; display: block; margin-bottom: 8px; }
.ind .new { color: var(--ink); font-size: 16px; }
.lx-head { max-width: 900px; }
.lx-head h2 { font: 800 clamp(42px, 6.6vw, 96px)/.92 var(--display); letter-spacing: -.05em; margin-top: 16px; }
.lx-head p { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); margin-top: 22px; max-width: 46ch; }

/* ---------- Big numbers ---------- */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 90px 0; }
.bignums div { border-top: 1px solid var(--line); padding-top: 20px; }
.bignums b { display: block; font: 800 clamp(64px, 9vw, 130px)/.9 var(--display); letter-spacing: -.06em; }
.bignums b.o { color: var(--glow); }
.bignums span { color: var(--ink-2); font-size: 17px; display: block; margin-top: 10px; max-width: 26ch; }

/* ---------- Compare (places) ---------- */
.split-math { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.split-math > div { border-radius: 26px; padding: 30px; border: 1px solid var(--line); background: #0f0e13; }
.split-math .them b { color: var(--ink-3); }
.split-math .us { background: linear-gradient(150deg, #ff6b35, #d9381e); border-color: transparent; color: #fff; }
.split-math b { display: block; font: 800 clamp(64px, 8vw, 110px)/.9 var(--display); letter-spacing: -.06em; margin: 14px 0 8px; }
.split-math .mono { color: inherit; opacity: .8; }
.split-math p { font-size: 17px; opacity: .9; }

/* ---------- Stack replace (places) ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.stack-grid div { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #0d0c11; }
.stack-grid h4 { font: 700 19px var(--display); margin: 14px 0 6px; }
.stack-grid p { color: var(--ink-3); font-size: 14.5px; }
.stack-grid .ic { background: rgba(255,107,53,.12); color: var(--glow); }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; padding: 140px 0; text-align: center; isolation: isolate; }
.finale::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,107,53,.45), transparent 60%); filter: blur(40px); z-index: -1; }
.finale h2 { font: 800 clamp(48px, 8.4vw, 124px)/.9 var(--display); letter-spacing: -.055em; max-width: 13ch; margin: 18px auto 30px; }
.finale .btn-row { justify-content: center; }
.finale p { color: var(--ink-2); font-size: 19px; margin-bottom: 30px; }

html.launch .faq summary { font-size: 21px; }
html.launch .cta-block { background: linear-gradient(150deg, #ff6b35, #c92f14); }
html.launch .form input, html.launch .form select, html.launch .form textarea { background: rgba(0,0,0,.25); color: #fff; border-color: rgba(255,255,255,.35); }

@media (max-width: 960px) {
  .lx-hero-grid, .scene, .split-math { grid-template-columns: minmax(0, 1fr); }
  .scene { gap: 34px; padding: 80px 0; }
  .scene.flip > .scene-copy { order: 0; }
  .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bignums { grid-template-columns: minmax(0, 1fr); padding: 60px 0; }
  .demo { min-height: 600px; }
  .viz { min-height: 400px; }
  .manifesto { padding: 90px 0 80px; }
}
@media (max-width: 520px) {
  .stack-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-tags span { font-size: 10px; padding: 6px 10px; }
  .lx-hero h1 .out { -webkit-text-stroke: 1.5px #f4efe8; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .lx-hero::before, .lx-hero::after, .ds-video .dish, .ds .order, .card3d::after { animation: none; }
  .ds { animation: none; } .ds:nth-child(1) { opacity: 1; }
}

/* ---------- Scroll morph (Morph.astro + morph.js) ---------- */
.morph { position: relative; height: calc(var(--steps) * 100vh); border-bottom: 1px solid var(--line); }
.morph-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.morph-stage::before { content: ""; position: absolute; left: 50%; top: 47%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #ff6b35, transparent 62%); filter: blur(30px); opacity: var(--glow, 0); z-index: -1; }
.morph-hook { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.morph-hook h2 { font: 800 clamp(44px, 8vw, 120px)/.92 var(--display); letter-spacing: -.055em; max-width: 13ch; margin: 18px 0 0; }
.morph-hook .hook-sub { color: var(--ink-2); font-size: clamp(18px, 2.2vw, 24px); margin-top: 22px; max-width: 32ch; }
.scroll-cue { position: absolute; bottom: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 34px; background: linear-gradient(var(--ink-3), transparent); margin: 10px auto 0; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(8px); opacity: .4; } }

.mtile { position: absolute; left: var(--x); top: var(--y); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; will-change: transform, opacity; transition: filter .3s; }
.mtile-ic { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 26%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #2b2833, #15141a); border: 1px solid #3a3640; box-shadow: 0 20px 40px -18px #000; }
.mtile:nth-child(3n+1) .mtile-ic { background: linear-gradient(150deg, #3a2b55, #1a1426); }
.mtile:nth-child(3n+2) .mtile-ic { background: linear-gradient(150deg, #4a2a1c, #1d120d); }
.mtile-name { font: 600 13px var(--body); color: var(--ink-2); white-space: nowrap; }
.mtile.now .mtile-ic { border-color: var(--glow-c, #ff6b35); box-shadow: 0 0 0 4px rgba(255,107,53,.25), 0 24px 50px -16px rgba(255,107,53,.6); }
.mtile.now .mtile-name { color: #fff; }
.mtile.dim { filter: grayscale(1) brightness(.55); }

.mcap { position: absolute; left: 50%; top: 47%; transform: translate(-50%, 0); margin: 0; width: min(92vw, 760px); text-align: center; opacity: 0; translate: 0 -50%; pointer-events: none; }
.mcap .did { display: block; font: 800 clamp(30px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.mcap .pain { display: block; font: 700 clamp(22px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink-3); margin-top: 12px; }
.mroll { position: absolute; left: 50%; top: 47%; margin: 0; opacity: 0; width: min(92vw, 1000px); text-align: center; font: 800 clamp(40px, 7vw, 104px)/.95 var(--display); letter-spacing: -.05em; }
.mroll.q { color: var(--glow-c, #ff6b35); }
html.launch .mroll.q { color: #ff6b35; }
.morph-reveal { position: absolute; left: 50%; top: 70%; opacity: 0; text-align: center; width: min(92vw, 900px); }
.morph-reveal h2 { font: 800 clamp(52px, 8vw, 112px)/.9 var(--display); letter-spacing: -.055em; margin-top: 8px; }
.morph-reveal .sub { color: var(--ink-2); font-size: clamp(17px, 2vw, 22px); margin: 14px auto 0; max-width: 34ch; }

/* The logo the apps turn into. Parts are animated by morph.js. */
.morph-logo { position: absolute; left: 0; top: 0; width: 300px; height: 300px; opacity: 0; transform-origin: 50% 50%; pointer-events: none; z-index: 1; }
.morph-logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo .lg-pin { transform-box: fill-box; transform-origin: 50% 100%; }
.morph.on .logo .lg-bg, .morph.on .logo .lg-bar1, .morph.on .logo .lg-bar2, .morph.on .logo .lg-pin { opacity: 0; }
.morph-pins { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.mpin { position: absolute; left: 0; top: 0; width: 40px; height: 50px; opacity: 0; transform-origin: 50% 100%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.mpin svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #1d222f; }
.mpin-ic { position: absolute; left: 0; right: 0; top: 7px; display: grid; place-items: center; color: #fff; }
.morph-tiles { position: absolute; inset: 0; z-index: 3; }
.morph-tiles, .morph-tiles .mtile { pointer-events: none; }
.morph-caps, .morph-roll { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.mcap .did, .mcap .pain, .mroll { text-shadow: 0 2px 20px #07070a, 0 0 40px #07070a; }
.mcap .when { display: block; font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #ff6b35; margin-bottom: 16px; }
.mtile.done { filter: brightness(.8); }
.morph-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.morph-links line { stroke: #ff6b35; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; opacity: 0; }
.morph-reel { position: absolute; inset: 0; opacity: 0; z-index: 2; pointer-events: none; }
.rcard { position: absolute; overflow: hidden; background: #999ca2; box-shadow: 0 .4em 1.2em rgba(0,0,0,.3); }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard::after { content: ""; position: absolute; inset: 0; background: #999ca2; opacity: var(--bar, 0); }
.rcard.dark::after { background: #61646d; }

/* No JS or reduced motion: a plain stacked version. */
.morph:not(.on), .morph.static { height: auto; }
.morph:not(.on) .morph-stage, .morph.static .morph-stage { position: static; height: auto; overflow: visible; padding: 100px 0; }
.morph:not(.on) .morph-hook, .morph.static .morph-hook { position: static; }
.morph:not(.on) .scroll-cue, .morph.static .scroll-cue, .morph:not(.on) .morph-tiles, .morph.static .morph-tiles, .morph:not(.on) .mroll:not(.q), .morph.static .mroll:not(.q), .morph:not(.on) .morph-pins, .morph.static .morph-pins, .morph:not(.on) .morph-reel, .morph.static .morph-reel, .morph:not(.on) .morph-links, .morph.static .morph-links { display: none; }
.morph:not(.on) .mcap, .morph.static .mcap, .morph:not(.on) .mroll, .morph.static .mroll, .morph:not(.on) .morph-reveal, .morph.static .morph-reveal { position: static; opacity: 1; transform: none; translate: none; margin: 40px auto 0; }
.morph:not(.on) .morph-logo, .morph.static .morph-logo { position: static; opacity: 1; width: 140px; height: 140px; margin: 70px auto 0; }

@media (max-width: 700px) {
  .mtile-ic { width: 52px; height: 52px; }
  .mtile-ic svg { width: 22px; height: 22px; }
  .mtile-name { font-size: 11px; opacity: 0; transition: opacity .2s; }
  .mtile.now .mtile-name { opacity: 1; }
  .mpin { width: 32px; height: 40px; }
  .mpin-ic { top: 5px; }
  .mpin-ic svg { width: 13px; height: 13px; }
}

/* ---------- Real app recordings ---------- */
.realphone { width: min(300px, 78vw); aspect-ratio: 1080 / 2424; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a2730, #0b0a0e);
  box-shadow: 0 0 0 1px #34303b, 0 60px 120px -40px rgba(255, 107, 53, .45), 0 30px 60px -20px #000; position: relative; z-index: 1; }
.realphone video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #000; display: block; }
.viz.phone-viz { padding: 40px 20px; }

.lx-logo { display: grid; place-items: center; }
.lx-logo svg { width: min(360px, 70vw); height: auto; filter: drop-shadow(0 40px 90px rgba(255,107,53,.45)); }

/* ---------- The film (Film.astro + film.js) ---------- */
.film { position: relative; background: #07070a; }
.fs { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #140F24; }
.fs-stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.fs-stage .actor { filter: drop-shadow(0 3px 0 rgba(0,0,0,.3)); }
.fs-cap { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); white-space: nowrap; bottom: 18px; display: flex; align-items: baseline; gap: 12px; padding: 8px 14px; border-radius: 14px; background: rgba(7,7,10,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fs-time { font: 600 12px var(--mono); letter-spacing: .14em; color: #ff6b35; }
.fs-title { font: 800 clamp(16px, 2vw, 24px)/1.1 var(--display); letter-spacing: -.02em; color: #fff; }
/* Point-of-view shot: the scene blurs behind, and the character's own hands hold the phone in the middle of the screen. */
.fs-phone { position: absolute; z-index: 4; left: 50%; top: 50%; height: min(84%, 780px); aspect-ratio: 432 / 935; opacity: 0; pointer-events: none;
  transform: translate(-50%, -38%) scale(.75) rotate(-3deg); transition: transform .5s cubic-bezier(.2,1.2,.4,1), opacity .25s; --skin: #E8B48A; --sleeve: #5C6B7A; }
.fs-phone.show { opacity: 1; transform: translate(-50%, -50%) rotate(-1.5deg); }
.fs-phone[data-who="now"] { --skin: #C68642; --sleeve: #FF6B35; }
.fs-hands { position: absolute; left: -53.3%; top: -7.7%; width: 206.7%; height: 153.8%; z-index: 3; pointer-events: none; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.fs-stage { transition: filter .35s, transform .5s cubic-bezier(.3,.8,.3,1); transform-origin: 50% 60%; }
.fs.pov .fs-stage { filter: blur(10px) brightness(.55) saturate(1.1); transform: scale(1.18); }
.fs.pov .fs-cap { opacity: 0; }
.fs-cap { transition: opacity .3s; }
.fs-who { position: absolute; z-index: 5; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; opacity: 0; }
.fs-who.now { background: #ff6b35; color: #fff; } .fs-who.then { background: #2a2a30; color: #fff; }
.fs-phone[data-who="now"] .fs-who.now, .fs-phone[data-who="then"] .fs-who.then { opacity: 1; }
.fs-slot { position: absolute; inset: 0; opacity: 0; }
.fs-slot.on { opacity: 1; }
.fs-slot .appdemo { width: calc(100% - 20px); border-radius: 30px; box-shadow: none; }
.fs-phone.zoomout { transition: transform .9s cubic-bezier(.6,0,.4,1), opacity .9s; transform: translate(-50%, -50%) scale(3) !important; opacity: 0 !important; }
.film-hud { position: fixed; z-index: 40; left: 50%; top: 12px; transform: translate(-50%, -80px); display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(20,19,24,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #2a2830; transition: transform .3s; max-width: calc(100vw - 24px); }
.film-hud.show { transform: translate(-50%, 0); }
.fh-play, .fh-skip { border: 0; background: #2a2830; color: #fff; border-radius: 999px; height: 30px; padding: 0 12px; font: 600 12px var(--body); cursor: pointer; }
.fh-play .i-play { display: none; } .fh-play.paused .i-play { display: inline; } .fh-play.paused .i-pause { display: none; }
.fh-time { font: 600 12px var(--mono); color: #ff6b35; min-width: 56px; }
.fh-dots { display: flex; gap: 5px; }
.fh-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #3a3840; cursor: pointer; }
.fh-dot.on { background: #ff6b35; width: 20px; border-radius: 4px; }
/* Portrait: the camera follows whoever is acting in the top part of the screen; the phone pops up below. */
@media (max-aspect-ratio: 1/1) {
  .fs-stage { height: 62%; top: 12%; }
  .fs-phone { height: min(66%, calc(92vw * 935 / 432 * .78)); top: 56%; }
  .fs-chat { top: 70px !important; }
  .fs-cap { left: 50%; right: auto; bottom: auto; top: 58px; }
  .fs-chat { top: 104px !important; bottom: auto; left: 5% !important; right: 5% !important; width: auto !important; }
  .fh-dots { display: none; }
}

/* ---------- Launch page after the film ---------- */
.lsec { padding: 110px 0 90px; border-top: 1px solid var(--line); }
.launch-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.lsec h1 { font: 800 clamp(44px, 7vw, 100px)/.92 var(--display); letter-spacing: -.055em; margin: 18px 0 22px; }
.lsec h1 .o { color: #ff6b35; }
.lsec .sub { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 40ch; margin-bottom: 28px; }
.feat { padding: 90px 0; border-top: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 40px; }
.feat-group { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #0f0e13; }
.feat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.feat-head .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,107,53,.15); color: #ff6b35; }
.feat-head h3 { font: 800 22px var(--display); letter-spacing: -.02em; }
.feat-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feat-group li b { display: block; font-size: 16px; margin-bottom: 2px; }
.feat-group li span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .launch-grid { grid-template-columns: minmax(0, 1fr); } .lsec .lx-logo { order: -1; } }

/* The logo animation plays by itself (morph.js), in one screen. */
.morph.auto { height: 100vh; height: 100svh; }
.morph.auto .morph-stage { position: relative; }

/* Chat bubbles: what's being typed on the phone, floating in the scene. */
.fs-chat { position: absolute; z-index: 5; top: 18%; width: min(340px, 34vw); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.fs-chat.left, .fs-chat.right { left: calc(50% + min(84svh, 780px) * .231 + 90px); right: auto; }
.fs-msg { max-width: 100%; padding: 10px 14px; border-radius: 20px; font: 600 16px/1.35 var(--body); box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .3s, transform .35s cubic-bezier(.2,1.3,.4,1); }
.fs-msg.on { opacity: 1; transform: none; }
.fs-msg.me { align-self: flex-end; color: #fff; border-bottom-right-radius: 6px; }
.fs-msg.me.now { background: #FF6B35; } .fs-msg.me.then { background: #0A84FF; }
.fs-msg.in { align-self: flex-start; background: #E9E9EB; color: #111; border-bottom-left-radius: 6px; }
/* Until the film and the logo animation have played, the rest of the page stays hidden. */
html.film-lock .after-film > :not(.morph), html.film-lock footer { display: none; }
@media (max-aspect-ratio: 1/1) {
  .fs-msg { font-size: 12.5px; padding: 7px 11px; border-radius: 16px; max-width: 78%; }
  .fs-chat { gap: 5px; }
}

/* Style variants of the film (see /styles/). */
.fs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(1.1); }
.fs[data-style="footage"] { background: #000; }
.fs[data-style="footage"] .fs-stage { background: transparent; }
.fs[data-style="sketch"] { background: #F3EFE6; }
.fs[data-style="sketch"] .fs-stage { filter: url(#sketchy) grayscale(.55) contrast(1.05); }
.fs[data-style="sketch"].pov .fs-stage { filter: url(#sketchy) grayscale(.55) blur(8px) brightness(.7); }
.fs[data-style="sketch"] .fs-stage rect, .fs[data-style="sketch"] .fs-stage circle, .fs[data-style="sketch"] .fs-stage ellipse, .fs[data-style="sketch"] .fs-stage path { stroke: #2b2b2b; stroke-width: 2.5; }
.fs[data-style="smooth"] .fs-stage .actor { filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }
.morph-reveal .ml { display: inline-block; will-change: transform, opacity; }

/* ---------- Intro overlay: the film plays over the site, then fades away ---------- */
html.film-lock, html.film-lock body { overflow: hidden; height: 100%; }
.film.intro { position: fixed; inset: 0; z-index: 200; background: #07070a; transition: opacity .8s ease, transform .9s cubic-bezier(.6,0,.3,1); }
.film.intro[hidden] { display: none; }
.film.intro.out { opacity: 0; transform: scale(1.06); pointer-events: none; }
.film.intro > .fs, .film.intro > .morph { position: absolute; inset: 0; height: 100%; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; border: 0; }
.film.intro > .fs.on, .film.intro > .morph.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.film.intro .morph .morph-stage { height: 100%; }
.film.intro .film-hud { position: absolute; z-index: 10; }
.fh-skip { background: #fff; color: #111; }

/* ---------- The site (after the intro): a clean launch page ---------- */
.sx-hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.sx-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,53,.28), transparent 60%); filter: blur(20px); pointer-events: none; }
.sx-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.sx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid #2c2932; background: rgba(255,255,255,.03); font: 600 13px var(--body); color: var(--ink-2); }
.sx-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3FD07A; box-shadow: 0 0 0 4px rgba(63,208,122,.18); animation: sxpulse 2s infinite; }
@keyframes sxpulse { 50% { box-shadow: 0 0 0 8px rgba(63,208,122,0); } }
.sx-hero h1 { font: 800 clamp(46px, 7.2vw, 104px)/.92 var(--display); letter-spacing: -.055em; margin: 22px 0 22px; }
.sx-hero h1 .grad { background: linear-gradient(90deg, #ff6b35, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 42ch; line-height: 1.5; }
.sx-cta { margin-top: 30px; }
.sx-replay { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ink-2); font: 600 15px var(--body); cursor: pointer; padding: 0; }
.sx-replay span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1a1820; color: #fff; font-size: 11px; }
.sx-replay:hover { color: #fff; }
.sx-hero-phone, .sx-row-phone { display: grid; place-items: center; }
.sx-hero-phone .appdemo { width: min(320px, 76vw); }
.sx-show { padding: 40px 0 60px; }
.sx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.sx-row.flip .sx-row-copy { order: 2; }
.sx-k { display: inline-block; font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #ff6b35; margin-bottom: 14px; }
.sx-row h2 { font: 800 clamp(34px, 4.6vw, 64px)/.95 var(--display); letter-spacing: -.045em; }
.sx-row p { color: var(--ink-2); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; max-width: 38ch; margin-top: 18px; }
.sx-row-phone .appdemo { width: min(290px, 72vw); }
.sx-faq { padding: 80px 0; border-top: 1px solid var(--line); }
.sx-final { padding: 40px 0 100px; }
.sx-final-card { text-align: center; border-radius: 36px; padding: 60px 24px; background: radial-gradient(circle at 50% 0%, rgba(255,107,53,.25), transparent 60%), #0f0e13; border: 1px solid var(--line); display: grid; justify-items: center; gap: 22px; }
.sx-final-card .lx-logo svg { width: 120px; }
.sx-final-card h2 { font: 800 clamp(32px, 4.6vw, 60px)/1 var(--display); letter-spacing: -.045em; max-width: 18ch; }
@media (max-width: 860px) {
  .sx-hero { padding-top: 50px; }
  .sx-hero-grid, .sx-row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sx-row.flip .sx-row-copy { order: 0; }
  .sx-row { padding: 50px 0; }
}

/* ---------- "Who are you?" before the intro ---------- */
.film-pick { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 50% 35%, rgba(255,107,53,.22), transparent 60%), #07070a; transition: opacity .5s, visibility 0s .5s; }
.film:not(.picking) .film-pick, .film-pick.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.film.picking .film-hud { display: none; }
.fp-in { width: min(640px, 100%); text-align: center; }
.fp-logo { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px; display: block; }
.fp-in h2 { font: 800 clamp(30px, 5vw, 52px)/1.02 var(--display); letter-spacing: -.045em; color: #fff; }
.fp-in p { color: var(--ink-2); margin: 12px auto 26px; max-width: 40ch; }
.fp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-btn { display: grid; gap: 6px; justify-items: center; padding: 26px 16px; border-radius: 24px; border: 1px solid #2c2932; background: #121118; color: #fff; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.fp-btn:hover, .fp-btn:focus-visible { transform: translateY(-3px); border-color: #ff6b35; background: #1a1418; }
.fp-e { font-size: 44px; line-height: 1; }
.fp-btn b { font: 800 22px var(--display); letter-spacing: -.03em; }
.fp-btn small { color: var(--ink-2); font-size: 13.5px; }
.fp-skip { margin-top: 22px; background: none; border: 0; color: var(--ink-2); font: 600 14px var(--body); text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) { .fp-btns { grid-template-columns: 1fr; } .fp-btn { padding: 18px 14px; } .fp-e { font-size: 34px; } }

/* ---------- The decision card at the start of each scene ---------- */
.fs-card { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: rgba(7,7,10,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.fs.carding .fs-card { opacity: 1; visibility: visible; transition: opacity .45s; }
.fs.carding .fs-cap { opacity: 0; }
.fs-ctime { font: 600 14px var(--mono); letter-spacing: .16em; color: #ff6b35; }
.fs-ck { font: 600 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #8a8692; }
.fs-cq { font: 800 clamp(28px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: -.045em; color: #fff; max-width: 18ch; }
.fs-cquip { font-size: clamp(15px, 1.8vw, 19px); color: #cfcad6; max-width: 40ch; }
.fs.carding .fs-cq { animation: fscq .6s cubic-bezier(.2,1.2,.4,1) both; }
.fs.carding .fs-cquip { animation: fscq .6s .35s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes fscq { from { opacity: 0; transform: translateY(16px) scale(.97); } }
