[hidden] { display: none !important; }
:root {
  --bg: #0E1116; --bg2: #161B22; --line: #262D38; --ink: #F5F1E8; --muted: #8B94A3;
  --accent: #FF5A36; --teal: #2EC4B6; --amber: #FFB703;
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--accent); font-weight: 600; margin: 0 0 .7em; }
.muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.on { background: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ── big screen ─────────────────────────────────────── */
.screen-body { overflow: hidden; }
.stage { position: fixed; inset: 0; display: flex; font-size: clamp(14px, 1.45vw, 30px); }
.stage > .sl { margin: auto; width: 100%; padding: 4vw 6vw; animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.badge { position: fixed; top: 16px; right: 20px; display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: clamp(12px, 1vw, 18px); z-index: 5; }
.badge b { color: var(--ink); font-family: var(--display); }
.badge .pill { border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.hint { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; opacity: 0; transition: opacity .3s; }
body.mouse .hint { opacity: .8; }
.sl-title h1 { font-size: 5.4em; line-height: .98; }
.sl-title .sub, .sl-statement .sub, .sl-join .sub { font-size: 1.6em; color: var(--muted); margin: .6em 0 0; }
.sl-statement { text-align: center; }
.sl-statement h1 { font-size: 6.5em; line-height: 1; }
.sl-bullets h2, .sl-demo h2 { font-size: 3.4em; margin-bottom: .7em; line-height: 1.05; }
.sl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8em; }
.sl li { font-size: 1.7em; padding-left: 1.3em; position: relative; line-height: 1.3; }
.sl li::before { content: ''; position: absolute; left: 0; top: .5em; width: .55em; height: .55em; background: var(--accent); border-radius: 2px; }
.sl-join { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5vw; align-items: center; }
.sl-join h1 { font-size: 5em; line-height: 1; }
.sl-join .url { font-family: var(--display); font-size: 2em; font-weight: 700; margin-top: 1em; color: var(--accent); }
.qr { background: #fff; border-radius: 18px; padding: 10px; line-height: 0; width: min(100%, 60vh); justify-self: center; }
.qr svg { width: 100%; height: auto; }
.sl-demo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4vw; align-items: center; }
.device { justify-self: center; height: 78vh; aspect-ratio: 9 / 19.5; background: #000; border-radius: 3.2vh; padding: 1.2vh; box-shadow: 0 0 0 2px #2a313c, 0 30px 80px rgba(0,0,0,.5); position: relative; }
.device iframe { width: 100%; height: 100%; border: 0; border-radius: 2.4vh; background: #fff; }
.notch { position: absolute; top: 1.9vh; left: 50%; transform: translateX(-50%); width: 28%; height: 2.4vh; background: #000; border-radius: 99px; z-index: 2; }

/* ── audience phone ─────────────────────────────────── */
.phone-body { overflow: hidden; height: 100dvh; }
.livebar { position: fixed; top: 0; left: 0; right: 0; height: calc(40px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); display: flex; align-items: center; justify-content: space-between; padding-inline: 14px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; z-index: 20; }
.livebar .l { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.livebar .r { color: var(--muted); max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talk { position: fixed; inset: calc(40px + env(safe-area-inset-top)) 0 0; overflow-y: auto; padding: 28px 22px 100px; display: flex; flex-direction: column; }
.talk.enter > * { animation: rise .4s cubic-bezier(.2,.8,.2,1); }
.card { margin: auto 0; display: grid; gap: 12px; }
.card .emoji { font-size: 3.4rem; line-height: 1; }
.card h2 { font-size: 1.8rem; line-height: 1.1; }
.card p { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #D9D4CA; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.look { margin: auto; text-align: center; display: grid; gap: 10px; }
.look .emoji { font-size: 3.6rem; }
.look h2 { font-size: 1.5rem; }
.demo-layer { position: fixed; left: 0; right: 0; bottom: 0; top: calc(40px + env(safe-area-inset-top)); background: #fff; transform: translateY(102%); transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: 10; }
.demo-layer.up { transform: none; }
.demo-layer iframe { width: 100%; height: 100%; border: 0; display: block; }
body.free .demo-layer, body.free .talk { bottom: calc(58px + env(safe-area-inset-bottom)); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: flex; background: var(--bg2); border-top: 1px solid var(--line); z-index: 20; }
.tabs button { flex: 1; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.tabs button.on { color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.flash { position: fixed; top: calc(52px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: 13px; z-index: 30; animation: rise .25s; white-space: nowrap; }

/* ── presenter remote ───────────────────────────────── */
.remote { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; gap: 14px; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
.r-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.r-top .l { display: flex; gap: 8px; align-items: center; }
.r-top b { color: var(--ink); }
.r-now { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.r-now .pos { color: var(--muted); font-size: 13px; }
.r-now h2 { font-size: 1.5rem; line-height: 1.15; }
.chip { justify-self: start; border-radius: 99px; padding: 4px 10px; font-size: 13px; font-weight: 600; background: rgba(46,196,182,.15); color: var(--teal); }
.chip.ovr { background: rgba(255,183,3,.15); color: var(--amber); }
.r-notes { color: #D9D4CA; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; }
.r-next { color: var(--muted); font-size: 13px; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r-grid button, .r-nav button { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; font-weight: 600; font-size: 14px; }
.r-grid button.on { border-color: var(--amber); color: var(--amber); }
.r-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.r-nav button { padding: 22px 10px; font-size: 18px; }
.r-nav .next { background: var(--accent); border-color: var(--accent); color: #fff; }
.r-preview { display: flex; gap: 12px; align-items: flex-start; }
.r-preview .mini { width: 120px; flex: none; aspect-ratio: 9/19.5; border-radius: 16px; overflow: hidden; border: 2px solid var(--line); background: #000; position: relative; }
.r-preview .mini iframe { width: 375px; height: 812px; border: 0; transform: scale(.32); transform-origin: 0 0; pointer-events: none; }
.r-list { display: grid; gap: 6px; }
.r-list button { text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex; gap: 10px; }
.r-list button.cur { border-color: var(--accent); }
.r-list .n { color: var(--muted); min-width: 1.5em; }
details summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 6px 0; }
.gate { min-height: 100dvh; display: grid; place-content: center; gap: 12px; padding: 24px; text-align: center; max-width: 380px; margin: 0 auto; }
.gate input { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: 600 1.1rem var(--body); padding: 14px; text-align: center; }
.gate button { background: var(--accent); color: #fff; border: 0; border-radius: 12px; padding: 14px; font-weight: 600; }
.warn { background: #3a2a10; color: #FFD28A; border: 1px solid #6b4c16; border-radius: 10px; padding: 8px 12px; font-size: 12px; }
