/* Proscena's landing page: white paper with the stage gold of Studio's icon (1.405); the stage itself (the
   program monitor, the phone, the effects' previews, the Stream Deck, Studio's window, the sign-up card) stays the night. */
:root {
  --night: #07050f;
  --night-2: #0f0a22;
  --violet: #34206e;
  --violet-2: #5b3fb8;
  --paper: #ffffff;
  --paper-2: #f6f5fa;
  --ink: #17131f;
  --muted: #5d5872;
  --dim: #8b86a0;
  --gold: #ffd27a;
  --gold-2: #eaa93c;
  --gold-hi: #fff4c9;
  --tile: #6fb7ff;
  --red: #ff4d5e;
  --gold-ink: #a8660c; /* (gold as text on white: the icon's darker gold, to be read) */
  --gold-text: linear-gradient(180deg, #f0b13c 0%, #c97f1c 55%, #8f5414 100%);
  --line: rgba(23, 19, 40, .1);
  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(23, 19, 40, .05), 0 10px 30px rgba(23, 19, 40, .06);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --glide: cubic-bezier(.45, 0, .55, 1);
  color-scheme: light;
}
/* the stage: the night's own colours inside it */
.monitor, .phone, .card-art, .fx-art, .deck, .access-card, .plan.plus, .gate-card, .feature {
  --ink: #f6f1ff; --muted: #a99fc4; --dim: #6f6690; --line: rgba(255, 255, 255, .09); --card: rgba(22, 15, 48, .62); --gold-ink: var(--gold);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-style: italic; color: var(--gold-ink); }

/* ── The sky: warm light from above, and spotlight beams sweeping slowly ── */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(120% 70% at 70% -10%, #fff3d9 0%, #fffaf0 30%, var(--paper) 62%); }
.beams { position: absolute; inset: -20% -10% 0; background:
  conic-gradient(from 168deg at 72% -6%, transparent 0deg, rgba(255, 220, 140, .10) 6deg, transparent 13deg, transparent 20deg, rgba(255, 220, 140, .07) 25deg, transparent 31deg),
  conic-gradient(from 178deg at 24% -8%, transparent 0deg, rgba(160, 140, 255, .09) 5deg, transparent 11deg);
  filter: blur(6px); animation: sweep 18s var(--glide) infinite alternate; transform-origin: 70% 0; }
@keyframes sweep { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--display); font-stretch: 112%; letter-spacing: .01em; }
.brand b { color: var(--gold-ink); font-weight: 800; }
.brand img { border-radius: 9px; box-shadow: 0 0 24px rgba(255, 210, 122, .25); }
.nav nav { display: flex; gap: clamp(14px, 1.6vw, 22px); margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
/* (1.407: where they all don't fit, the in-page ones go first, and what's left scrolls, its edge fading) */
@media (max-width: 1240px) { .nav nav .nav-x { display: none; } .nav nav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 22px; } }
.nav nav a { white-space: nowrap; flex: none; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.nav .brand, .nav-cta { flex: none; white-space: nowrap; }
.nav-cta { text-decoration: none; font: 700 12px/1 var(--display); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-2)); padding: 11px 16px; border-radius: 10px; box-shadow: 0 6px 24px rgba(234, 169, 60, .3); }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1440px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px) 32px; }
.eyebrow { margin: 0 0 16px; font: 700 11.5px/1 var(--display); font-stretch: 118%; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { color: var(--gold-ink); margin: 0 6px; }
h1 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 72%; line-height: .9; font-size: clamp(30px, 3.4vw, 48px); text-transform: uppercase; letter-spacing: -.005em; }
h1 span { display: block; }
.h-ink { color: var(--ink); }
.h-solid { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 30px rgba(255, 196, 90, .25)); }
.lede { max-width: 34em; margin: 22px 0 28px; color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.ticket { --notch: 12px; position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 17px 30px; text-decoration: none; color: var(--night); border: 0; cursor: pointer;
  font: 800 italic 15px/1 var(--display); font-stretch: 105%; letter-spacing: .09em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 40%, var(--gold-2));
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  filter: drop-shadow(0 10px 30px rgba(234, 169, 60, .35)); transition: transform .25s var(--glide), filter .25s; }
.ticket:hover { transform: translateY(-2px) rotate(-.6deg); filter: drop-shadow(0 14px 40px rgba(255, 210, 122, .5)); }
.ticket-star { font-size: 13px; opacity: .7; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 9px; bottom: 9px; border-left: 2px dashed rgba(7, 5, 15, .28); }
.ticket::before { left: 44px; } .ticket::after { right: 44px; }
.ticket.small { padding: 14px 24px; font-size: 14px; }
.ghost { color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 210, 122, .5); padding-bottom: 2px; }
.ghost:hover { color: var(--gold-ink); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.facts b { color: var(--ink); font-weight: 600; }
.facts li::before { content: "✦"; color: var(--gold-ink); margin-right: 8px; font-size: 11px; }

/* ── The demo: a program monitor and a phone, both drawn by main.js ── */
.hero-demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 18px 22px; align-items: end; }
.monitor { border-radius: 16px; background: linear-gradient(180deg, #1b1438, #110c25); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(23, 19, 40, .22), 0 0 0 1px rgba(23, 19, 40, .12), 0 0 90px rgba(91, 63, 184, .12); overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 12px; padding: 9px 14px; font: 700 11px/1 var(--display); font-stretch: 115%; letter-spacing: .18em; color: var(--muted); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3058; }
.chrome-title { margin-left: 6px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; background: rgba(255, 77, 94, .16); border: 1px solid rgba(255, 77, 94, .5); padding: 4px 8px; border-radius: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.clock { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--ink); }
.screen { position: relative; overflow: hidden; background: radial-gradient(100% 120% at 50% 0%, #241a4f, #0b0819 70%); }
.monitor .screen { aspect-ratio: 16 / 9; }
.phone { position: relative; width: clamp(130px, 14vw, 210px); padding: 9px; border-radius: 28px; background: linear-gradient(160deg, #2c2450, #120d26); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 26px 60px rgba(23, 19, 40, .28), inset 0 0 0 1px rgba(0, 0, 0, .5); }
.phone .screen { aspect-ratio: 9 / 16; border-radius: 20px; }
.phone-notch { position: absolute; z-index: 3; top: 14px; left: 50%; width: 34%; height: 10px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #120d26; }
.phone-tag { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font: 800 italic 12px/1 var(--display); letter-spacing: .2em; color: var(--gold-ink); }
.phone.big { width: min(300px, 70vw); margin: 0 auto; }
.switcher { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.switcher button { font: 700 12px/1 var(--display); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: all .25s var(--glide); }
.switcher button:hover { color: var(--ink); border-color: rgba(23, 19, 40, .25); }
.switcher button[aria-pressed="true"] { color: var(--night); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 24px rgba(255, 210, 122, .35); }

/* tiles (positioned by main.js) */
/* (1.420: as Studio draws a tile: round corners (the same on both sides: 6 % of its width, 10.7 % of its height), a thin
   bright blue rim and a soft glow; the light that swept across every tile is gone, it read as a fault in the video) */
.tile { position: absolute; border-radius: 6% / 10.7%; overflow: hidden; background: #2a2050; box-shadow: 0 0 0 1.5px rgba(122, 200, 255, .8), 0 0 9px rgba(80, 170, 255, .4); will-change: left, top, width, height; }
.tile svg, .tile img, .tile canvas, .you-pic { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile img { object-fit: cover; } /* (1.421: the people's loops painted on canvases from People's players: demo-stage.js) */
/* you on the left, the right side darkened behind your slide, fading into your side (Studio's Me + slides) */
.you-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 9, 32, 0) 30%, rgba(12, 9, 32, .5) 46%, rgba(12, 9, 32, .86) 66%, #0c0920 80%); }
/* (1.410: a place nobody sits in, Studio's logo tile) */
.tile.seat { background: radial-gradient(80% 90% at 50% 38%, #2c2060, #120c2a); }
.tile.seat img { inset: 16% 0; height: 68%; object-fit: contain; }
.tile.speaking { box-shadow: 0 0 0 2px #9fd2ff, 0 0 18px 4px rgba(111, 183, 255, .75), 0 0 40px rgba(111, 183, 255, .45); z-index: 2; }
.tile.you { z-index: 3; border-radius: 2.6% / 4.6%; box-shadow: 0 0 0 1.5px rgba(255, 210, 122, .7), 0 0 30px rgba(255, 196, 90, .25); }
.react { position: absolute; z-index: 5; font-size: 18px; pointer-events: none; animation: rise 2.2s var(--glide) forwards; }
@keyframes rise { 0% { transform: translate(-50%, 0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, -10px) scale(1.1); } 100% { transform: translate(-50%, -90px) scale(1); opacity: 0; } }
.backdrop { position: absolute; inset: -12%; filter: blur(14px) brightness(.7) saturate(.8); opacity: .9; }

/* ── Marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper-2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 48s linear infinite; font: 800 italic 16px/1 var(--display); font-stretch: 80%; text-transform: uppercase; color: rgba(23, 19, 40, .42); }
.marquee-track i { color: var(--gold-ink); font-style: normal; font-size: 16px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Blocks ── */
.block { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 68px) clamp(16px, 4vw, 48px) 0; }
.block-head { max-width: 880px; margin-bottom: 24px; }
.kicker { margin: 0 0 12px; font: 800 11.5px/1 var(--display); font-stretch: 118%; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); }
h2 { margin: 0 0 16px; font: 900 clamp(22px, 2.2vw, 29px)/1.06 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.005em; }
h2 em { font-weight: 900; }
.block-head p:last-child, .split-copy > p { color: var(--muted); font-size: 16px; }
h3 { margin: 0 0 6px; font: 800 17px/1.2 var(--display); font-stretch: 100%; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: transform .35s var(--glide), border-color .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 210, 122, .35); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-art { position: relative; height: 170px; margin: -6px -6px 20px; border-radius: 12px; background: radial-gradient(120% 120% at 50% 0%, #2a1e5c, #0d0920); overflow: hidden; border: 1px solid var(--line); }
/* (1.420: the three cards under "A room full of people" are live pictures of the class, room-cards.js; they were boxes drawn here) */
.card-art .room-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.layout-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; padding: 0; margin: 36px 0 0; color: var(--muted); font-size: 15px; }
.layout-list b { display: block; color: var(--ink); font: 800 16px/1.2 var(--display); font-stretch: 105%; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold-ink); }

/* the Stream Deck */
.deck { max-width: 460px; margin: 0 auto; padding: 22px; border-radius: 26px; background: linear-gradient(170deg, #26203f, #0f0c1c); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px rgba(23, 19, 40, .3); transform: perspective(900px) rotateX(14deg) rotateZ(-3deg); }
.deck-keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.key { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(160deg, #241c48, #130e28); border: 1px solid rgba(255, 255, 255, .1); font: 800 13px/1.05 var(--display); text-align: center; color: #d9d2f0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35); }
.key small { display: block; font-weight: 600; font-size: 10px; color: var(--muted); }
.k-on { background: linear-gradient(160deg, #3b5ec2, #1a2a66); box-shadow: 0 0 22px rgba(111, 183, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .35); color: #fff; }
.k-on small { color: #cfe3ff; }
.k-gold { background: linear-gradient(160deg, #ffd27a, #b8761f); color: var(--night); } .k-gold small { color: #4a2c06; }
.k-red { background: linear-gradient(160deg, #ff6b78, #9b1c2b); color: #fff; } .k-red small { color: #ffd6da; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { display: block; margin-bottom: 12px; font: 900 italic 36px/1 var(--display); font-stretch: 70%; color: transparent; -webkit-text-stroke: 1.4px var(--gold-ink); }

.for { text-align: center; }
.for-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 .1em; margin: 0; font: 900 italic clamp(22px, 2.7vw, 34px)/1.05 var(--display); font-stretch: 70%; text-transform: uppercase; }
.for-list span { background: linear-gradient(180deg, #17131f, #5b3fb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.for-list i { color: var(--gold-ink); font-style: normal; font-size: .35em; vertical-align: middle; margin: 0 .35em; }
.for-note { color: var(--muted); font-size: 16px; margin: 12px 0 0; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 4px 22px; box-shadow: var(--card-shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font: 700 16px/1.3 var(--display); font-stretch: 102%; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 22px; line-height: 1; transition: transform .3s var(--glide); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

.access { padding: clamp(44px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.access-card { position: relative; max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: radial-gradient(120% 100% at 50% 0%, #3b2783, #140d2c 60%); border: 1px solid rgba(255, 210, 122, .25); box-shadow: 0 40px 100px rgba(23, 19, 40, .25), 0 0 120px rgba(255, 196, 90, .12); overflow: hidden; }
.access-card::before { content: ""; position: absolute; left: 50%; top: -60%; width: 60%; height: 120%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 228, 160, .22), transparent); pointer-events: none; }
.access-card img { margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 0 50px rgba(255, 210, 122, .35); }
.access-card > p { color: #d3cae9; max-width: 34em; margin: 0 auto; }
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.signup input { flex: 1 1 260px; max-width: 340px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(7, 5, 15, .6); color: var(--ink); font: 500 16px var(--body); }
.signup input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.signup-note { flex-basis: 100%; min-height: 1.4em; margin: 2px 0 0; color: var(--gold); font-size: 14px; }

.foot { max-width: 1180px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot p { margin: 0; }

/* ── Smaller screens ── */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .layout-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav nav { display: none; }
  .brand span { display: none; }
  .eyebrow { letter-spacing: .18em; }
  .nav-cta { margin-left: auto; }
  .hero-demo { grid-template-columns: 1fr; }
  .hero-demo .phone { display: none; }
  .cards.three, .steps, .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: -1; }
  .layout-list { grid-template-columns: 1fr; }
  .ticket { padding: 16px 24px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Motion (1.398): everything arrives on an expo-out curve (fast, then settling), in turn ── */
:root { --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }
[data-reveal], [data-reveal-children] > * { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(8px); transition: opacity .9s var(--out), transform 1.1s var(--out), filter .9s var(--out); transition-delay: var(--d, 0s); }
[data-reveal].in, [data-reveal-children] > .in { opacity: 1; transform: none; filter: none; }
.hero-demo[data-reveal] { transform: perspective(1400px) rotateX(16deg) translateY(60px) scale(.94); transition-duration: 1.2s, 1.6s, 1s; }
.hero-demo[data-reveal].in { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 1.2s var(--out), transform 1.6s var(--out), filter 1s var(--out); }
.hero-demo.tilting { transition: none !important; }
h1[data-split] .w { display: inline-block; opacity: 0; transform: translateY(70%) rotate(6deg); filter: blur(10px); transition: opacity .8s var(--out), transform 1.1s var(--spring), filter .8s var(--out); transition-delay: var(--d, 0s); }
h1[data-split].in .w { opacity: 1; transform: none; filter: none; }
.h-solid .w { background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.h-solid { background: none; filter: drop-shadow(0 4px 30px rgba(255, 196, 90, .3)); }
[data-tilt]:not(.hero-demo) { transition: transform .6s var(--out), border-color .35s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
[data-tilt]:not(.hero-demo).in { transition: opacity .9s var(--out), transform .6s var(--out), filter .9s var(--out), border-color .35s; }
.card[data-tilt]:hover { --lift: -6px; }
.card::after, .plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 210, 122, .12), transparent 60%); opacity: 0; transition: opacity .4s var(--out); }
.card:hover::after, .plan:hover::after { opacity: 1; }
.ticket { transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.ticket:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)) rotate(-.6deg); }
.footage { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--out); }
.footage.playing { opacity: 1; }

/* in numbers */
.stats { max-width: 1180px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--card-shadow); }
.stat b { display: block; font: 900 italic clamp(26px, 2.5vw, 34px)/1 var(--display); font-stretch: 72%; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* Four of the nine layouts (1.415): four live screens, two by two (one under the other on a phone) */
.layout-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); max-width: 1240px; margin: clamp(20px, 3vw, 36px) auto 0; }
.layout-card { display: grid; gap: 14px; }
.lc-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b0819; box-shadow: 0 18px 50px -18px rgba(18, 10, 40, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.lc-screen .screen { position: absolute; inset: 0; }
.lc-words h3 { font: 900 clamp(17px, 1.5vw, 21px)/1.1 var(--display); font-stretch: 76%; text-transform: uppercase; margin: 0 0 6px; }
.lc-words p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.layout-card .tour-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 18px; font-size: 13.5px; }
@media (max-width: 760px) { .layout-cards { grid-template-columns: 1fr; } .layout-card .tour-facts { grid-template-columns: 1fr; } }
.tour-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.tour-facts li { position: relative; padding-left: 20px; }
.tour-facts li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-ink); font-size: 12px; top: 1px; }

/* pricing */
.block-head.center { margin-inline: auto; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin: 0 auto; align-items: stretch; } /* (1.420: two plans; Schools & teams is not offered for now) */
.plan, .spec { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.plan.plus { background: radial-gradient(120% 90% at 50% 0%, #4a3396, #1a1236 70%); border-color: rgba(255, 210, 122, .4); box-shadow: 0 30px 80px rgba(23, 19, 40, .25), 0 0 80px rgba(255, 196, 90, .12); }
.plan-badge { position: absolute; top: -13px; left: 30px; padding: 6px 12px; border-radius: 999px; font: 800 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--night); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.plan-name { margin: 0 0 10px; font: 800 20px/1 var(--display); font-stretch: 105%; }
.plan-name b { color: var(--gold-ink); }
.plan-price { margin: 4px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.plan-price span { font: 900 italic 36px/1 var(--display); font-stretch: 72%; display: inline-block; transition: transform .5s var(--spring), opacity .3s; }
.plan-price span.flip { transform: translateY(-10px) scale(.9); opacity: 0; }
.plan-price small { color: var(--muted); font-size: 15px; }
.plan-note { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.plan .ticks { margin: 0 0 28px; flex: 1; }
.plan .ticket { align-self: center; justify-content: center; margin-top: auto; } /* (1.420: in the middle of its card) */
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 2px 0 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); width: max-content; }
.plan.plus .billing { background: rgba(0, 0, 0, .3); }
.billing button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 700 13px/1 var(--body); padding: 9px 16px; cursor: pointer; transition: color .3s; }
.billing button small { color: var(--gold-ink); font-weight: 600; margin-left: 4px; }
.billing button[aria-checked="true"] { color: var(--night); }
.billing button[aria-checked="true"] small { color: #5a3a08; }
.billing-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold); transition: transform .55s var(--spring); }
.billing[data-yearly] .billing-pill { transform: translateX(100%); }

@media (max-width: 1080px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .deck { transform: perspective(900px) rotateX(10deg); }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-children] > *, h1[data-split] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}
[data-tilt][data-reveal]:not(.in):not(.hero-demo) { transform: translateY(34px) scale(.985); }

/* ── The effects' little previews (1.399; the landing page's shelf of them is the Vault's since 1.486) ── */
.fx-art { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #2b1f5e, #0d0920 75%); border: 1px solid var(--line); transition: transform .6s var(--out), border-color .4s var(--out), box-shadow .6s var(--out); }
.fx-art * { position: absolute; }
/* Gravity Words */
.fx-gravity i { font: 800 13px/1 var(--display); font-style: normal; color: var(--ink); background: rgba(255, 210, 122, .16); border: 1px solid rgba(255, 210, 122, .4); padding: 5px 8px; border-radius: 7px; top: -20%; animation: fx-fall 4.8s var(--out) infinite; }
.fx-gravity i:nth-child(1) { left: 10%; --land: 74%; } .fx-gravity i:nth-child(2) { left: 34%; --land: 76%; animation-delay: .5s; } .fx-gravity i:nth-child(3) { left: 58%; --land: 74%; animation-delay: 1s; } .fx-gravity i:nth-child(4) { left: 20%; --land: 56%; animation-delay: 1.5s; } .fx-gravity i:nth-child(5) { left: 66%; --land: 56%; animation-delay: 2s; }
@keyframes fx-fall { 0% { top: -20%; transform: rotate(-8deg); } 28% { top: var(--land); transform: rotate(0) scaleY(.82); } 34% { transform: scaleY(1.05); } 40%, 86% { top: var(--land); transform: none; opacity: 1; } 100% { top: var(--land); opacity: 0; } }
/* Tile Wheel */
.fx-wheel .fx-ring { left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); animation: fx-spin 5s cubic-bezier(.2, .9, .2, 1) infinite; }
.fx-wheel .fx-ring i { left: 50%; top: 50%; width: 22%; aspect-ratio: 16 / 10; margin: -6.9% 0 0 -11%; border-radius: 5px; background: linear-gradient(135deg, #3b2c78, #241a4f); box-shadow: 0 0 0 1px rgba(140, 190, 255, .5); }
.fx-wheel .fx-ring i:nth-child(1) { transform: rotate(0deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(2) { transform: rotate(45deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(3) { transform: rotate(90deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(4) { transform: rotate(135deg) translateY(-235%); }
.fx-wheel .fx-ring i:nth-child(5) { transform: rotate(180deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(6) { transform: rotate(225deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(7) { transform: rotate(270deg) translateY(-235%); } .fx-wheel .fx-ring i:nth-child(8) { transform: rotate(315deg) translateY(-235%); background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.fx-wheel b { left: 50%; top: 8%; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top: 11px solid var(--gold); }
@keyframes fx-spin { from { transform: translate(-50%, -50%) rotate(0); } 70%, to { transform: translate(-50%, -50%) rotate(1125deg); } }
/* Yes / No Piles */
.fx-piles div { bottom: 10%; width: 34%; height: 76%; display: flex; flex-direction: column-reverse; gap: 4px; align-items: stretch; }
.fx-piles div:first-child { left: 10%; } .fx-piles div:last-child { right: 10%; }
.fx-piles span { position: static; text-align: center; font: 800 12px/1 var(--display); color: var(--gold); margin-top: 6px; }
.fx-piles i { position: static; height: 13%; border-radius: 5px; background: rgba(140, 190, 255, .25); border: 1px solid rgba(140, 190, 255, .5); animation: fx-pile 4.4s var(--out) infinite both; }
.fx-piles div:last-child i { background: rgba(255, 110, 120, .22); border-color: rgba(255, 110, 120, .5); }
.fx-piles i:nth-of-type(2) { animation-delay: .4s; } .fx-piles i:nth-of-type(3) { animation-delay: .8s; } .fx-piles i:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes fx-pile { 0% { transform: translateY(-160%); opacity: 0; } 18%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
/* Break Screen */
.fx-break svg { left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%) rotate(-90deg); fill: none; stroke-width: 6; }
.fx-break circle { stroke: rgba(255, 255, 255, .1); }
.fx-break .fx-ring-run { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 239; animation: fx-ring 6s linear infinite; }
.fx-break b { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font: 800 18px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes fx-ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 239; } }
/* World Map */
.fx-map { background-image: radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1.5px), radial-gradient(120% 120% at 50% 0%, #2b1f5e, #0d0920 75%); background-size: 10px 10px, auto; }
.fx-map i { left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 210, 122, .6); animation: fx-pin 3.2s var(--out) infinite; }
.fx-map i:nth-child(2) { animation-delay: .6s; } .fx-map i:nth-child(3) { animation-delay: 1.2s; } .fx-map i:nth-child(4) { animation-delay: 1.8s; } .fx-map i:nth-child(5) { animation-delay: 2.4s; }
@keyframes fx-pin { 0% { transform: translateY(-14px) scale(.4); opacity: 0; } 20% { transform: none; opacity: 1; box-shadow: 0 0 0 0 rgba(255, 210, 122, .6); } 60% { box-shadow: 0 0 0 12px rgba(255, 210, 122, 0); } 100% { opacity: 1; } }
/* Claw Machine */
.fx-claw b { left: 50%; top: 0; width: 3px; height: 28%; margin-left: -1.5px; background: #b9b2d6; animation: fx-claw 4s var(--out) infinite; }
.fx-claw b::after { content: ""; position: absolute; left: -9px; bottom: -8px; width: 21px; height: 10px; border: 3px solid #b9b2d6; border-top: 0; border-radius: 0 0 10px 10px; }
.fx-claw div { left: 12%; right: 12%; bottom: 8%; height: 34%; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-content: flex-end; }
.fx-claw div i { position: static; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 40%), var(--c, #6fb7ff); }
.fx-claw div i:nth-child(2) { --c: #ff6b9a; } .fx-claw div i:nth-child(3) { --c: #ffd27a; } .fx-claw div i:nth-child(4) { --c: #7ee0a8; } .fx-claw div i:nth-child(5) { --c: #b48bff; } .fx-claw div i:nth-child(6) { --c: #ff9c5b; }
@keyframes fx-claw { 0%, 15% { height: 20%; } 45%, 55% { height: 58%; } 85%, 100% { height: 20%; } }
/* Hype Rocket */
.fx-rocket b { left: 50%; bottom: 10%; font-size: 30px; transform: translateX(-50%) rotate(-45deg); animation: fx-launch 4.6s cubic-bezier(.6, 0, .4, 1) infinite; }
.fx-rocket i { left: 14%; right: 14%; bottom: 8%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.fx-rocket i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); animation: fx-fuel 4.6s linear infinite; }
@keyframes fx-launch { 0%, 55% { bottom: 14%; } 56% { transform: translateX(-50%) rotate(-45deg) translateY(2px); } 100% { bottom: 120%; } }
@keyframes fx-fuel { 0% { width: 0; } 55% { width: 100%; } 100% { width: 0; } }
/* Physics Lab */
.fx-physics svg { inset: 10% 6% 10% 6%; width: 88%; height: 80%; fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; stroke-dasharray: 4 5; }
.fx-physics b { width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); offset-path: path("M15 79 Q88 -9 162 79"); animation: fx-arc 2.8s cubic-bezier(.45, 0, .55, 1) infinite; left: 0; top: 0; }
@keyframes fx-arc { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* Answer Wall */
.fx-wall i { font: 700 12px/1.1 var(--body); font-style: normal; color: #2a1d08; background: #ffe69a; padding: 8px 9px; border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); animation: fx-slap 4.8s var(--spring) infinite both; }
.fx-wall i:nth-child(1) { left: 10%; top: 14%; --r: -6deg; } .fx-wall i:nth-child(2) { left: 52%; top: 18%; --r: 5deg; background: #ffc4d6; animation-delay: .5s; } .fx-wall i:nth-child(3) { left: 18%; top: 56%; --r: 3deg; background: #c9f0d6; animation-delay: 1s; } .fx-wall i:nth-child(4) { left: 58%; top: 58%; --r: -4deg; background: #cfe0ff; animation-delay: 1.5s; }
@keyframes fx-slap { 0% { transform: scale(1.8) rotate(0); opacity: 0; } 12%, 85% { transform: rotate(var(--r)); opacity: 1; } 100% { transform: rotate(var(--r)); opacity: 0; } }
/* Applause Meter */
.fx-meter { display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 0 12%; }
.fx-meter i { position: static; width: 7%; height: 20%; border-radius: 3px 3px 1px 1px; background: linear-gradient(0deg, #3fd18b, #ffd27a 60%, #ff5c6c); animation: fx-eq 1.1s ease-in-out infinite alternate; }
.fx-meter i:nth-child(2n) { animation-duration: .8s; } .fx-meter i:nth-child(3n) { animation-duration: 1.3s; animation-delay: .2s; } .fx-meter i:nth-child(4n) { animation-delay: .4s; }
@keyframes fx-eq { from { height: 14%; } to { height: 78%; } }
/* Raised Hands Queue */
.fx-hands { display: flex; flex-direction: column; gap: 6px; padding: 12% 14%; }
.fx-hands i { position: static; font: 600 12px/1 var(--body); font-style: normal; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; animation: fx-queue 4.5s var(--out) infinite; }
.fx-hands i:first-child { border-color: rgba(255, 210, 122, .6); background: rgba(255, 210, 122, .12); }
.fx-hands i:nth-child(2) { animation-delay: .3s; } .fx-hands i:nth-child(3) { animation-delay: .6s; }
@keyframes fx-queue { 0% { transform: translateX(-30%); opacity: 0; } 15%, 80% { transform: none; opacity: 1; } 100% { transform: translateX(30%); opacity: 0; } }
/* Grand Finale */
.fx-finale { background: #050409; }
.fx-finale::before, .fx-finale::after { content: ""; position: absolute; left: 0; right: 0; height: 16%; background: #000; z-index: 1; }
.fx-finale::before { top: 0; } .fx-finale::after { bottom: 0; }
.fx-finale i { left: 50%; top: 50%; height: 2px; width: 0; background: linear-gradient(90deg, transparent, #fff4c9, transparent); transform: translate(-50%, -50%); animation: fx-line 4.4s var(--out) infinite; }
.fx-finale b { left: 0; right: 0; top: 50%; text-align: center; font: 900 italic 20px/1 var(--display); letter-spacing: .3em; color: var(--gold); transform: translateY(-50%); animation: fx-title 4.4s var(--out) infinite; }
@keyframes fx-line { 0% { width: 0; opacity: 1; } 30% { width: 90%; opacity: 1; } 45%, 100% { width: 90%; opacity: 0; } }
@keyframes fx-title { 0%, 30% { opacity: 0; letter-spacing: .8em; } 55%, 88% { opacity: 1; letter-spacing: .3em; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fx-art * { animation: none !important; } }

/* ── The page, alive (1.400) ── */
.sky-warm { position: absolute; inset: 0; opacity: 0; background: radial-gradient(90% 70% at 50% 110%, rgba(255, 170, 70, .22), transparent 70%), radial-gradient(70% 50% at 80% 0%, rgba(255, 120, 90, .12), transparent 70%); pointer-events: none; }
main, .nav, .foot { position: relative; z-index: 1; }
.hero-copy, .hero-demo .monitor, .hero-demo .phone { will-change: transform; }
.marquee-track { will-change: transform; }
.block-head h2 { clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path 1s var(--out), transform 1.1s var(--out); transition-delay: .12s; }
.block-head.in h2 { clip-path: inset(0 0 -10% 0); transform: none; }
.card::before, .plan::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .08) 50%, transparent 60%); transform: translateX(-100%); transition: transform .9s var(--out); }
.card:hover::before, .plan:hover::before { transform: translateX(100%); }
.nav-cta { transition: transform .4s var(--spring), box-shadow .4s var(--out); }
.nav-cta:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 34px rgba(234, 169, 60, .5); }
@media (prefers-reduced-motion: reduce) { .block-head h2 { clip-path: none !important; transform: none !important; } }

/* ── See it run (1.401): Studio's window in miniature, drawn at 1600 px and scaled to fit; a cursor runs a show ── */
.app-demo { max-width: 1380px; margin: 0 auto; padding: clamp(36px, 5vw, 68px) clamp(16px, 4vw, 48px) 0; }
/* (the frame is Studio's window at its own size, 1600 x 900 (1.419: roomy, nothing crammed; 1.416 drew it at 1200 x 720, 1400 x 800 before that, everything in it smaller on the
   page), so Studio's sheets lay it out as on a desktop, and is scaled to the page: main.js sets --k) */
.aw-fit { position: relative; width: 100%; aspect-ratio: 1600 / 900; perspective: 1800px; border-radius: 12px; box-shadow: 0 50px 110px rgba(23, 19, 40, .3), 0 0 0 1px rgba(23, 19, 40, .1), 0 0 140px rgba(91, 63, 184, .14); }
.aw-frame { position: absolute; left: 0; top: 0; display: block; width: 1600px; height: 900px; border: 0; border-radius: calc(12px / var(--k, 1)); background: #07090e; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.aw-fit.in { animation: aw-arrive 1.4s var(--out) both; }
@keyframes aw-arrive { from { transform: translateY(40px) rotateX(10deg); opacity: 0; } to { transform: none; opacity: 1; } }
.aw-captions { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 26px auto 0; max-width: 980px; counter-reset: aw; }
.aw-captions li { position: relative; color: var(--dim); font-size: 13.5px; padding-left: 26px; transition: color .5s var(--out); counter-increment: aw; }
.aw-captions li::before { content: counter(aw); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 var(--display); color: var(--muted); border: 1px solid var(--line); transition: all .5s var(--out); }
.aw-captions li.is-now { color: var(--ink); }
.aw-captions li.is-now::before { color: var(--night); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 196, 90, .6); }
@media (max-width: 760px) { .aw-captions li:not(.is-now) { display: none; } }
@media (prefers-reduced-motion: reduce) { .aw-cursor, .aw-ripple { display: none; } }

/* 1.406: before & after (drag across), and the effects to try on the landing page (vault-try.js, vault-try.css) */
.ba { --at: 50%; position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #07050f;
  box-shadow: 0 40px 90px rgba(23, 19, 40, .28), 0 0 0 1px rgba(23, 19, 40, .08); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--at)) 0 0); }
.ba-right { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--at)); pointer-events: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--at); width: 3px; margin-left: -1.5px; background: linear-gradient(#fff4c9, #ffd27a, #eaa93c); box-shadow: 0 0 18px rgba(255, 210, 122, .8); pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--body); font-style: normal; letter-spacing: 2px;
  color: #2a1800; background: linear-gradient(180deg, #ffe08f, #f0b13c); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.ba-tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 99px; font: 800 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba-tag-l { left: 16px; color: #fff; background: rgba(0, 0, 0, .55); }
.ba-tag-r { right: 16px; color: #2a1800; background: linear-gradient(180deg, #ffe08f, #f0b13c); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within .ba-handle i { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.try-live { max-width: 1320px; }
.try-pick { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 14px; margin: 0 0 8px; scroll-snap-type: x proximity; }
.try-pick::-webkit-scrollbar { display: none; }
.try-pick button { flex: 1 0 170px; scroll-snap-align: start; display: grid; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--card-shadow); transition: transform .3s var(--out), border-color .3s, box-shadow .3s; }
.try-pick button:hover { transform: translateY(-2px); }
.try-pick button b { font: 800 15px/1.2 var(--display); }
.try-pick button span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.try-pick button[aria-selected="true"] { border-color: #e2a53c; box-shadow: 0 0 0 3px rgba(240, 177, 60, .25), var(--card-shadow); background: linear-gradient(180deg, #fffaf0, #fff); }
.try-host { min-height: 420px; }
.try-host .try { margin-bottom: 18px; }
.try-more { text-align: center; margin: 0; }
.try-more a { color: var(--gold-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 700px) { .ba { border-radius: 14px; } .ba-tag { top: 10px; font-size: 9.5px; } .ba-tag-l { left: 10px; } .ba-tag-r { right: 10px; } .ba-handle i { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .try-pick button { flex-basis: 150px; } }

/* 1.408: three plans; the sign-up's name, plan and what you run; the footer's links; the thank-you page */
.signup-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; flex-basis: 100%; }
.signup-row input { flex: 1 1 200px; max-width: 300px; }
.signup-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0; padding: 0; margin: 0; flex-basis: 100%; }
.signup-pick label { cursor: pointer; }
.signup-pick input { position: absolute; opacity: 0; pointer-events: none; }
.signup-pick span { display: inline-block; padding: 10px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); color: #d3cae9; font: 600 14px var(--body); transition: background .2s, color .2s, border-color .2s; }
.signup-pick input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--night); }
.signup-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.signup select { flex: 0 1 300px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(7, 5, 15, .6); color: #d3cae9; font: 500 15px var(--body); }
.signup-fine { flex-basis: 100%; margin: 0; color: #a99fc8; font-size: 12.5px; }
/* 1.483: the footer as a site footer: the brand and a line about Studio, the links in three labelled columns, and a
   bottom bar with the small print at a readable width and the year (it was one row: the small print squeezed into a
   narrow middle column, the links a loose cloud) */
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 56px; align-items: start; }
.foot-brand p { margin: 14px 0 0; max-width: 36ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { margin: 0 0 12px; color: var(--ink); font: 800 11.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot-cols a { display: block; width: fit-content; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-legal { max-width: 78ch; line-height: 1.6; }
.foot-small { white-space: nowrap; }
@media (max-width: 760px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-cols > div:last-child { grid-column: 1 / -1; } }
.thanks { min-height: 72vh; display: grid; place-items: center; padding: clamp(36px, 5vw, 68px) clamp(16px, 4vw, 48px); }
.thanks-class { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 26px auto 8px; max-width: 560px; }
.thanks-class img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); animation: wave .7s var(--out) both; animation-delay: var(--d, 0s); }
@keyframes wave { from { transform: translateY(14px) scale(.8); opacity: 0; } }
.thanks-steps { list-style: none; counter-reset: s; padding: 0; margin: 26px auto 8px; max-width: 520px; text-align: left; display: grid; gap: 12px; color: #d3cae9; }
.thanks-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.thanks-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--night); font: 800 14px var(--display); }
.thanks-steps b { color: #fff; }
.thanks-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.thanks-more a { color: var(--night); background: #fff; text-decoration: none; font: 700 14px var(--body); padding: 12px 16px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .thanks-class img { animation: none; } }
/* phones (1.408): taps of 44 px or more */
@media (max-width: 760px) {
  .ticket, .ticket.small, .nav-cta { min-height: 44px; }
  .switcher button, .try-pick button, .billing button { min-height: 44px; }
  .signup-row input, .signup select { max-width: none; flex-basis: 100%; }
  .foot-cols a { padding: 8px 0; }
}
.nav > .brand + .nav-cta { margin-left: auto; } /* (a page with no section links: the thank-you page) */
@media (max-width: 760px) { .ghost { display: inline-flex; align-items: center; min-height: 44px; } }
/* 1.408: the hero's real footage, beside the drawn demo */
.footage-tag { position: absolute; left: 12px; bottom: 12px; z-index: 7; padding: 6px 10px; border-radius: 99px; background: rgba(7, 5, 15, .72); color: #fff; font: 700 11px/1 var(--body); opacity: 0; transition: opacity .6s; pointer-events: none; }
.screen.is-footage .footage-tag { opacity: 1; }
.switcher .footage-button { margin-left: auto; }
.switcher .footage-button[aria-pressed="true"] { background: var(--night, #171328); color: #fff; border-color: var(--night, #171328); box-shadow: none; }
@media (max-width: 760px) { .switcher .footage-button { margin-left: 0; } }

/* Dark mode (1.409, as the device asked; 1.420: the ☾ / ☀ in the top bar chooses, theme.js, else the device's setting):
   the white paper becomes the night; the stage, already the night, stays as it is. */
:root[data-theme="dark"] { --paper: #0c0918; --paper-2: #161127; --ink: #f2eefb; --muted: #b6afcc; --dim: #8b84a5; --line: rgba(255, 255, 255, .11); --card: #161127;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35); --gold-ink: #ffc96a; color-scheme: dark; }
[data-theme="dark"] .sky { background: radial-gradient(120% 70% at 70% -10%, #2b1d55 0%, #150f2c 34%, var(--paper) 68%); }
[data-theme="dark"] .nav { background: rgba(12, 9, 24, .84); }
[data-theme="dark"] .switcher button:hover { border-color: rgba(255, 255, 255, .3); }
[data-theme="dark"] .switcher .footage-button[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
[data-theme="dark"] .try-pick button[aria-selected="true"] { background: linear-gradient(180deg, #2a2040, #181229); }
[data-theme="dark"] .thanks-more a { background: var(--ink); }
[data-theme="dark"] .ghost { border-bottom-color: rgba(255, 210, 122, .6); }
[data-theme="dark"] .for-list span { background-image: linear-gradient(180deg, #f2eefb, #b9a6ff); }
/* (the change itself: the colours ease across, not snap) */
.theme-changing, .theme-changing *, .theme-changing *::before, .theme-changing *::after { transition: background-color .35s, border-color .35s, color .35s, fill .35s !important; }
/* the toggle: a moon in light mode, a sun in dark */
.theme-toggle { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--card-shadow); transition: transform .2s var(--glide), border-color .2s; }
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--gold-2); }
.theme-toggle:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.theme-toggle svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity .3s, transform .4s var(--glide); }
.theme-toggle .i-moon { fill: currentColor; }
.theme-toggle .i-sun { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
/* 📱 Phone preview, beside it on a page served from this computer (theme.js; 1.425) */
.phone-preview { text-decoration: none; }
.theme-toggle .i-phone { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
@media (max-width: 700px) { .phone-preview { display: none; } } /* (on a phone already: no room for it) */
.theme-toggle .i-sun circle { fill: currentColor; stroke: none; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; color: var(--gold); }
@media (max-width: 760px) { .theme-toggle { width: 44px; height: 44px; } }
/* System requirements (1.427): the pricing cards' look, Minimum and Recommended side by side (one above the other on a phone, as the plans), a note under them */
.specs .spec { padding: 28px 28px 24px; }
.specs .ticks li { font-size: 14.5px; }
.specs-note { max-width: 760px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* (1.431) Sliders, thin: a 3 px track, gold up to the value (--fill, set as it moves: vault-try.js), a small white knob
   ringed in gold. Low in specificity (:where), so a slider styled for its own place (the before & after's, unseen)
   keeps that. */
:where(input[type="range"]) { -webkit-appearance: none; appearance: none; height: 18px; margin: 0; background: transparent; cursor: pointer; --track: rgba(23, 19, 40, .13); --done: var(--gold-ink); }
:where(input[type="range"])::-webkit-slider-runnable-track { height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--done) var(--fill, 0%), var(--track) var(--fill, 0%)); }
:where(input[type="range"])::-moz-range-track { height: 3px; border-radius: 99px; background: var(--track); }
:where(input[type="range"])::-moz-range-progress { height: 3px; border-radius: 99px; background: var(--done); }
:where(input[type="range"])::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border: 2px solid var(--done); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(23, 19, 40, .22); transition: transform .15s, box-shadow .15s; }
:where(input[type="range"])::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid var(--done); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(23, 19, 40, .22); transition: transform .15s, box-shadow .15s; }
:where(input[type="range"]):hover::-webkit-slider-thumb, :where(input[type="range"]):active::-webkit-slider-thumb { transform: scale(1.15); }
:where(input[type="range"]):hover::-moz-range-thumb, :where(input[type="range"]):active::-moz-range-thumb { transform: scale(1.15); }
:where(input[type="range"]):focus-visible { outline: none; }
:where(input[type="range"]):focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(209, 138, 30, .28); }
:where(input[type="range"]):focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(209, 138, 30, .28); }
:root[data-theme="dark"] :where(input[type="range"]) { --track: rgba(255, 255, 255, .16); }
