html, body { margin: 0; height: 100%; background: #DADDDF; font-family: Archivo, system-ui, sans-serif; color: #111315; }
#stage { min-height: 100%; display: flex; align-items: center; justify-content: center; }
#phone { cursor: pointer; position: relative; width: 390px; height: 844px; overflow: hidden; border-radius: 44px; background: #F6F7F7; box-shadow: 0 30px 80px rgba(17,19,21,0.25); transform-origin: top center; }
#screen > section { position: absolute; inset: 0; }
#screen a { cursor: pointer; }

/* On a phone the prototype fills the screen; app.js scales it to the width. */
body.mobile { background: #F6F7F7; }
body.mobile #stage { display: block; }
body.mobile #phone { border-radius: 0; box-shadow: none; transform-origin: top left; }

/* Prototype-only pieces: consent, time skips, the end, listening, toasts. */
.p-page { position: absolute; inset: 0; box-sizing: border-box; padding: 64px 24px 32px; background: linear-gradient(180deg, #F6F7F7 0%, #ECEEEF 100%); display: flex; flex-direction: column; }
.p-lbl { margin: 0; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #5E646B; }
.p-h1 { margin: 12px 0 0; font-size: 34px; line-height: 38px; font-weight: 450; font-stretch: 108%; letter-spacing: -0.03em; }
.p-text { margin: 14px 0 0; font-size: 16px; line-height: 23px; color: #4D535A; }
.p-list { margin: 18px 0 0; padding: 0; list-style: none; }
.p-list li { padding: 10px 0; border-top: 1px solid rgba(17,19,21,0.1); font-size: 15px; line-height: 21px; color: #2A2E33; }
.p-spacer { flex: 1; }
.p-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 10px; border-radius: 26px; border: 1px solid rgba(17,19,21,0.2); background: #FFFFFF; font: 500 16px Archivo, system-ui, sans-serif; color: #111315; cursor: pointer; }
.p-btn.dark { border: 0; background: #111315; color: #FFFFFF; }
.p-small { margin: 12px 0 0; font-size: 12px; line-height: 17px; color: #5E646B; }
.p-skip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #F6F7F7; text-align: center; padding: 24px; box-sizing: border-box; }
.p-skip .p-h1 { font-size: 30px; line-height: 34px; }

#overlay { position: absolute; inset: 0; background: rgba(246,247,247,0.97); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; box-sizing: border-box; text-align: center; z-index: 5; }
#overlay[hidden] { display: none; }
.listen-dot { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFC2A0 0%, #F2541F 38%, #C2310E 72%, #8E1B0A 100%); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: 0.8; } }

#toast { position: absolute; left: 16px; right: 16px; bottom: 96px; padding: 14px 18px; border-radius: 18px; background: #111315; color: #FFFFFF; font-size: 14px; line-height: 20px; z-index: 6; }
#toast[hidden] { display: none; }

#rec { border: 0; font-family: inherit; cursor: pointer; position: fixed; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(17,19,21,0.82); color: #FFFFFF; font-size: 12px; font-weight: 500; z-index: 10; }
#rec[hidden] { display: none; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #F2541F; }
