/*
 * App screens in iPhone frames (index.html). Each screen is drawn at the app's design size, 390 x 844
 * (design/source/*.dc.html), and scaled into the frame by --k = screen width / 390, so the px below are
 * design px. Uses the page tokens (index.html :root).
 *
 * The markup shows every screen in its final state. motion.js plays the story when a phone scrolls
 * into view: under html.anim, parts with class "mv" are hidden until their scene's first frame, and
 * motion.js then sets their transform and opacity (and the ring and chart strokes) frame by frame.
 * Without JavaScript, or with reduced motion, nothing moves.
 */

/* Frame size per breakpoint. CSS cannot divide two lengths, so --k is written next to --pw. */
.stage{--pw:262px;--k:.6718;--bz:calc(12px * var(--k));position:relative;isolation:isolate;justify-self:center;width:calc(var(--pw) + var(--bz) * 2)}
@media (min-width:22.5em){.stage{--pw:280px;--k:.7179}}
@media (min-width:48em){.stage{--pw:300px;--k:.7692}}
@media (min-width:64em){.stage{--pw:320px;--k:.8205}}
@media (min-width:80em){.stage{--pw:340px;--k:.8718}}
@media (min-width:100em){.stage{--pw:360px;--k:.9231}}
/* Lime glow behind the phone. */
.stage::before{content:"";position:absolute;z-index:-1;inset:6% -18%;border-radius:50%;background:radial-gradient(closest-side,rgba(200,242,90,.14),rgba(200,242,90,0));pointer-events:none}

.ph{position:relative;padding:var(--bz);border-radius:calc(67px * var(--k));background:#060606;
  box-shadow:0 0 0 calc(2px * var(--k)) #3A3A3C,0 0 0 calc(3.5px * var(--k)) #161617,0 calc(28px * var(--k)) calc(60px * var(--k)) rgba(0,0,0,.6),0 calc(8px * var(--k)) calc(20px * var(--k)) rgba(0,0,0,.4)}
/* Side buttons: action and volume on the left, side button on the right. */
.ph::before,.ph::after{content:"";position:absolute;width:calc(3px * var(--k));border-radius:calc(2px * var(--k));background:#2C2C2E}
.ph::before{left:calc(-5px * var(--k));top:19%;height:calc(30px * var(--k));box-shadow:0 calc(55px * var(--k)) 0 0 #2C2C2E,0 calc(118px * var(--k)) 0 0 #2C2C2E}
.ph::after{right:calc(-5px * var(--k));top:28%;height:calc(96px * var(--k))}
.scr{position:relative;width:var(--pw);height:calc(var(--pw) * 2.16410);border-radius:calc(55px * var(--k));overflow:hidden;background:#000}

/* ---- App base (design px) ------------------------------------------------------------------- */
.app{position:absolute;left:0;top:0;width:390px;height:844px;transform:scale(var(--k));transform-origin:0 0;overflow:hidden;background:var(--bg);color:var(--tx);font:400 15px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;letter-spacing:-.01em;text-align:left;white-space:normal}
.app *{box-sizing:border-box}
/* Dynamic Island and status bar, drawn once here for every screen. */
.app::before{content:"";position:absolute;z-index:9;top:11px;left:133px;width:124px;height:36px;border-radius:18px;background:radial-gradient(circle at 104px 18px,#1d2333 0,#0b0d14 4px,#000 6.5px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.app::after{content:"9:41";position:absolute;z-index:8;top:0;left:0;right:0;height:54px;padding:19px 0 0 51px;font:600 17px/1 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;letter-spacing:-.02em;color:#fff;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 14' fill='%23fff'%3E%3Crect x='0' y='9' width='3.5' height='4.5' rx='1'/%3E%3Crect x='5' y='6.5' width='3.5' height='7' rx='1'/%3E%3Crect x='10' y='3.5' width='3.5' height='10' rx='1'/%3E%3Crect x='15' y='.5' width='3.5' height='13' rx='1'/%3E%3Cpath d='M32 13.2l-2.4-2.6a3.4 3.4 0 0 1 4.8 0zM27.6 8.7a6.4 6.4 0 0 1 8.8 0l1.6-1.7a8.8 8.8 0 0 0-12 0zM24.4 5.3a11 11 0 0 1 15.2 0l1.6-1.7a13.4 13.4 0 0 0-18.4 0z'/%3E%3Crect x='47' y='1.5' width='25' height='11.5' rx='3.6' fill='none' stroke='%23fff' stroke-opacity='.45'/%3E%3Crect x='49' y='3.5' width='21' height='7.5' rx='2'/%3E%3Crect x='73.5' y='5' width='1.6' height='4.5' rx='.8' fill-opacity='.45'/%3E%3C/svg%3E") no-repeat right 30px top 20px/76px 14px}
.app .d{line-height:.95;letter-spacing:-.01em}
.app .ey{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--mu)}
.app .ey.ac,.app .ac{color:var(--ac)}
.app b{font-weight:700}
.app p{margin:0}
.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.i14{width:14px;height:14px}.i16{width:16px;height:16px}.i26{width:26px;height:26px;stroke-width:2.5}
.num{font-family:ui-rounded,"SF Pro Rounded",-apple-system,system-ui,sans-serif;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.03em}
.ok{color:var(--gr)}.mid{color:var(--am)}.lowt{color:#FF7A70}.low{color:var(--rd)}
.a-sm{font-size:12px;display:inline-flex;align-items:center;gap:4px}
.a-p{font-size:13px;margin-top:4px}
.a-card{background:var(--s1);border:1px solid var(--ln);border-radius:20px}
.a-row{display:flex;justify-content:space-between;align-items:center}
.a-body{padding:14px 20px 0;display:flex;flex-direction:column;gap:12px}
.a-h1{display:block;font-size:34px;margin-top:4px}
.a-h2{display:block;font-size:30px}
.a-t30{flex:1;font-size:30px}
.a-t26{display:block;font-size:26px}
.a-hd{display:flex;align-items:center;justify-content:space-between;padding:58px 20px 0}
.a-hd2{display:flex;align-items:center;gap:12px;padding:58px 20px 0}
.a-av{width:44px;height:44px;border-radius:50%;background:var(--s2);border:1px solid var(--ln);display:flex;align-items:center;justify-content:center;font-weight:800}
.a-ib{width:44px;height:44px;border-radius:14px;background:var(--s1);border:1px solid var(--ln);display:flex;align-items:center;justify-content:center;flex:none}

/* Week strips (Today, Training plan): weekday letter and status dot (no dates, so the screens never go stale). */
.a-wk,.p-strip{display:flex;gap:4px;padding:16px 14px 0}
.a-wk>div,.p-strip>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0;border-radius:14px}
.a-wk span,.p-strip span{font-size:11px;font-weight:700;color:var(--mu);line-height:15px}
.a-wk i,.p-strip i{display:block;width:20px;height:20px;border-radius:50%}
.w-today{border:2px solid var(--ac)}
.w-done{background:var(--ac)}
.w-rest{background:var(--s2)}
.w-plan{border:2px dashed var(--ln)}

/* Recovery rings (r=30 in a 76 viewBox: circumference 188.5). */
.tr,.arc{fill:none;stroke-width:7}
.tr{stroke:var(--s2)}
.arc{stroke:currentColor;stroke-linecap:round;stroke-dasharray:188.5}

/* Tab bar and button (solid in these pictures: no translucent layer under the page header). */
.a-tabs{position:absolute;left:0;right:0;bottom:0;height:86px;background:#141416;border-top:.5px solid rgba(255,255,255,.1);display:flex;justify-content:space-around;padding:10px 6px 0}
.a-tabs span{display:flex;flex-direction:column;align-items:center;gap:4px;width:66px;font-size:11px;font-weight:700;color:var(--mu)}
.a-tabs .on{color:var(--tx)}

/* ---- Today ------------------------------------------------------------------------------------ */
.a-rec{padding:16px;display:flex;flex-direction:column;gap:12px}
.a-rings{display:flex}
.a-rg{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.a-rg>span{font-size:13px;font-weight:700}
.a-rg em{font-style:normal;font-size:12px;font-weight:700}
.a-rc{position:relative;width:76px;height:76px}
.a-rc svg,.r-ring svg{display:block;width:100%;height:100%}
.a-rc b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:22px}
.a-pick{position:relative;padding:16px;display:flex;flex-direction:column;gap:12px;border-color:var(--acln);background:#161A10;transform-origin:50% 0}
.a-glow{position:absolute;inset:-1px;border-radius:20px;box-shadow:0 0 0 1px var(--ac),0 0 28px rgba(200,242,90,.35);opacity:0;pointer-events:none}
.a-tags{display:flex;gap:6px;flex-wrap:wrap}
.a-tags span{font-size:12px;font-weight:700;padding:5px 9px;border-radius:8px;background:var(--s2)}
.a-go{display:flex;align-items:center;justify-content:center;height:48px;border-radius:14px;background:var(--ac);color:#0D0E10;font-weight:700}
.a-last{padding:14px 16px;display:flex;align-items:center;gap:12px}
.a-last>div{flex:1;display:flex;flex-direction:column}
.a-ico{width:44px;height:44px;border-radius:12px;background:var(--s2);display:flex;align-items:center;justify-content:center;flex:none}
.a-pr{font-size:11px;font-weight:800;padding:4px 8px;border-radius:6px;background:var(--ac);color:#0D0E10}
.a-fab{position:absolute;right:20px;bottom:104px;width:60px;height:60px;border-radius:20px;background:var(--ac);color:#0D0E10;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(200,242,90,.25)}
.a-fab .i{width:28px;height:28px;stroke-width:2.5}

/* ---- Live session ----------------------------------------------------------------------------- */
.s-top{position:absolute;left:0;right:0;top:0;z-index:2;padding:54px 12px 10px;display:flex;align-items:center;justify-content:space-between;background:#161618}
.s-btn{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
.s-title{display:flex;flex-direction:column;align-items:center;line-height:1.2}
.s-title .mu{font-size:13px;font-weight:600}
.s-title .num{font-size:20px}
.s-fin{height:44px;padding:0 14px;border-radius:22px;background:rgba(255,255,255,.08);color:var(--ac);font-weight:600;font-size:16px;display:flex;align-items:center}
.s-body{padding:120px 16px 0;display:flex;flex-direction:column;gap:14px}
.s-ex{display:block;font-size:26px;letter-spacing:-.025em;line-height:1.1;margin-bottom:4px}
.wt{color:var(--tx)}
.s-chips{display:flex;gap:8px}
.chip{position:relative;display:block}
.c-base,.c-top{display:flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:12px;border:1.5px solid var(--ln);font-weight:600;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.c-top{position:absolute;inset:0}
.chip small{font-size:11px;font-weight:700;opacity:.8}
.c-done{background:var(--acbg);border-color:transparent;color:var(--ac)}
.c-cur{border-color:var(--ac);color:var(--tx);background:var(--s1)}
.c-next{border-style:dashed;color:var(--mu)}
.s-st{display:flex;align-items:center;gap:8px;height:80px;padding:0 8px;border-radius:22px;background:var(--s1)}
.s-sb{position:relative;width:64px;height:64px;border-radius:18px;background:var(--s2);display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.s-sb .i{position:relative}
.s-press{position:absolute;inset:0;background:var(--s3);opacity:0}
.s-sv{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.s-sv .num{font-size:40px;height:40px;line-height:40px}
.s-sv small{display:block;font-size:12px;font-weight:600;color:var(--mu);margin-top:4px;letter-spacing:0}
.s-roll{display:block;overflow:hidden}
.s-roll>span{display:flex;flex-direction:column;transform:translateY(-40px)}
.s-lbl{position:relative;height:16px;width:150px;text-align:center}
.s-lbl>span{position:absolute;left:0;right:0;top:0}
.s-lbl [data-lbl=target]{opacity:0}
.s-rest{border-radius:20px;padding:12px 12px 12px 18px;display:flex;align-items:center;gap:10px;background:#161618;border:.5px solid rgba(255,255,255,.1)}
.s-rl{flex:1;display:flex;flex-direction:column;gap:6px}
.s-rl>div:first-child{display:flex;align-items:baseline;gap:8px}
.s-rl .mu{font-size:13px;font-weight:600}
.s-rl .num{font-size:28px}
.s-track{height:4px;border-radius:2px;background:var(--s3);overflow:hidden}
.s-track i{display:block;height:100%;background:var(--ac);transform-origin:0 50%;transform:scaleX(.55)}
.s-rb{height:44px;padding:0 13px;border-radius:12px;background:var(--s2);display:flex;align-items:center;font-weight:600}
.s-cta{display:flex;align-items:center;justify-content:center;height:58px;border-radius:18px;background:var(--ac);color:#0B0C0A;font-weight:700;font-size:17px}
.s-up{border-radius:16px;background:var(--s1);margin-top:2px}
.s-up div{display:flex;align-items:center;padding:0 16px;height:52px;border-top:.5px solid var(--ln)}
.s-up div:first-child{border-top:0}
.s-up b{flex:1;font-size:16px;font-weight:600}

/* ---- Recovery --------------------------------------------------------------------------------- */
/* The app's Recovery screen (src/screens/recovery/parts/RecoveryContent.tsx): the headline, the push / pull / legs
   rows (each opens its next session) and the Body row. No overall score, tiles or chart: the app has none. */
.r-body{padding-top:18px}
.r-card{padding:20px;display:flex;flex-direction:column;gap:20px}
.r-head{font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.01em}
.r-rows{display:flex;flex-direction:column;gap:8px}
.r-row{display:flex;align-items:center;gap:8px;min-height:44px}
.r-row>.i{color:var(--mu)}
.r-mg{flex:1;display:flex;flex-direction:column;gap:8px}
.r-mg>div:first-child{display:flex;justify-content:space-between;align-items:baseline}
.r-mg>div:first-child>span{font-size:13px}
.r-tr{height:10px;border-radius:5px;background:var(--s2);overflow:hidden}
.r-tr i{display:block;height:100%;border-radius:5px;transform-origin:0 50%}
.okb{background:var(--gr)}.midb{background:var(--am)}.lowb{background:var(--rd)}
.r-bodyrow{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 16px}
.r-bodyrow>div{flex:1;display:flex;flex-direction:column}
.r-bodyrow b{font-size:15px;font-weight:600}
.r-bodyrow .mu{font-size:13px}
.r-bodyrow>.i{color:var(--mu)}
.r-st{width:10px;height:10px;border-radius:50%;flex:none}
/* The real Recovery screen is short (headline, three bars, Body row), so on a full-height phone its lower half is
   empty. The picture is cut off below the content instead: the screen is 640 design px tall and the frame fades out
   at the bottom (the mask is 8px larger than the frame all round, so the frame's edge ring and shadow stay whole). */
.stage[data-scene=recovery] .scr{height:calc(var(--pw) * 1.641)}
.stage[data-scene=recovery] .ph{-webkit-mask:linear-gradient(#000,#000 calc(100% - 120px * var(--k) - 8px),transparent calc(100% - 8px)) -8px -8px/calc(100% + 16px) calc(100% + 16px) no-repeat;mask:linear-gradient(#000,#000 calc(100% - 120px * var(--k) - 8px),transparent calc(100% - 8px)) -8px -8px/calc(100% + 16px) calc(100% + 16px) no-repeat}

/* ---- Training plan (flexible schedule) -------------------------------------------------------- */
.p-save{color:var(--ac);font-weight:600;font-size:16px}
.p-seg{position:relative;display:grid;grid-template-columns:1fr 1fr;height:44px;padding:4px;border-radius:14px;background:var(--s1);border:1px solid var(--ln)}
.p-knob{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:10px;background:var(--acbg);box-shadow:inset 0 0 0 1.5px var(--ac);transform:translateX(100%)}
.p-seg>span{position:relative;display:grid}
.p-seg b{grid-area:1/1;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--mu)}
.p-seg .p-on{color:var(--ac)}
.p-seg>span:first-of-type .p-on{opacity:0}
.p-pnl{display:grid;padding:4px 2px 0}
.p-fixed,.p-flex{grid-area:1/1;display:flex;flex-direction:column;gap:10px}
.p-fixed{opacity:0}
.p-days,.p-nums{display:flex;gap:8px}
.p-days b,.p-nums b{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;background:var(--s1);border:1px solid var(--ln);color:var(--mu)}
.p-nums b{border-radius:12px;width:48px}
.p-days .on,.p-nums .on{background:var(--acbg);border-color:var(--ac);color:var(--ac)}
.p-note{font-size:14px;font-weight:600}
.p-week{padding:14px 16px 14px;display:flex;flex-direction:column;gap:6px}
.p-strip{position:relative;padding:4px 0 0;gap:6px}
.p-strip>div{flex:none;width:40px;padding:6px 0}
.p-strip em{font-style:normal;font-size:11px;font-weight:700;line-height:14px;color:var(--mu)}
.p-strip .on{background:var(--s2)}
/* The Next up marker: a dashed ring that walks the strip; 46px is a column plus its gap. */
.p-mk{position:absolute;left:10px;top:31px;width:20px;height:20px;border-radius:50%;border:2px dashed var(--ac);transform:translateX(276px)}
.p-leg{display:flex;gap:16px;font-size:12px;color:var(--mu);padding-top:4px}
.p-leg span{display:flex;align-items:center;gap:6px}
.p-leg span::before{content:"";width:10px;height:10px;border-radius:50%}
.l-done::before{background:var(--ac)}
.l-today::before{border:1.5px solid var(--ac)}
.l-next::before{border:1.5px dashed var(--ac)}
.p-next{padding:16px;display:flex;flex-direction:column;gap:6px;border-color:var(--acln);background:#161A10}
.p-rot div{display:flex;justify-content:space-between;align-items:center;height:48px;padding:0 16px;border-top:.5px solid var(--ln);font-size:15px}
.p-rot div:first-child{border-top:0}
.p-rot span{font-size:13px;font-weight:700}

/* ---- Coach ------------------------------------------------------------------------------------ */
.c-hd{display:flex;align-items:center;gap:12px;padding:58px 20px 14px;background:#161618}
.c-hd>div{flex:1}
.c-badge{width:44px;height:44px;border-radius:14px;background:var(--ac);color:#0D0E10;display:flex;align-items:center;justify-content:center}
.c-thread{padding:16px 16px 0;display:flex;flex-direction:column;gap:10px;height:524px}
.c-me{align-self:flex-end;max-width:78%;padding:12px 14px;border-radius:18px 18px 6px 18px;background:var(--ac);color:#0D0E10;font-weight:600;transform-origin:100% 100%}
.c-ai-wrap{position:relative;align-self:flex-start;max-width:86%}
.c-ai{position:relative;isolation:isolate;padding:12px 14px;display:flex;flex-direction:column;gap:10px;transform-origin:0 0}
/* The answer's bubble grows with the text: the background slides down inside a clip that keeps the top
   corners (motion.js moves it with transform only). Borders are opaque so the two layers meet invisibly. */
.c-bg{position:absolute;z-index:-1;inset:0;border-radius:18px 18px 18px 6px;overflow:hidden}
.c-bg::before{content:"";position:absolute;z-index:1;left:0;right:0;top:0;height:20px;border:1px solid #3A3A3C;border-bottom:0;border-radius:18px 18px 0 0}
.c-bg>i{position:absolute;inset:0;background:var(--s1);border:1px solid #3A3A3C;border-radius:18px 18px 18px 6px}
.c-upd{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:12px;background:var(--s2);font-size:14px;font-weight:700}
.c-typing{position:absolute;left:0;top:0;display:flex;gap:5px;padding:16px;border-radius:18px 18px 18px 6px;background:var(--s1);border:1px solid var(--ln);opacity:0;transform-origin:0 0}
.c-typing i{width:7px;height:7px;border-radius:50%;background:var(--mu)}
.c-sugg{padding:10px 16px 0;display:flex;gap:8px;overflow:hidden}
.c-sugg span{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--ln);font-size:13px;font-weight:600;white-space:nowrap}
.c-in{display:flex;align-items:center;gap:8px;padding:10px 16px 0}
.c-field{flex:1;display:flex;align-items:center;height:48px;padding:0 16px;border-radius:16px;background:var(--s1);border:1px solid var(--ln)}
.c-b{width:48px;height:48px;border-radius:16px;border:1px solid var(--ln);background:var(--s1);display:flex;align-items:center;justify-content:center}
.c-send{background:var(--ac);border:0;color:#0D0E10}

/* ---- New personal record --------------------------------------------------------------------- */
/* The app's PR screen (src/components/PRCelebration.tsx, PRHighlight.tsx): confetti, the trophy in its two glow
   rings, "NEW PERSONAL RECORD", the exercise and the lift, then "Share this PR" and the outlined "Keep it up".
   The background is the app's prBg; the glow rings are its accentHalo and accentHaloFaint. */
.pr-app{display:flex;flex-direction:column;padding:59px 24px 50px;background:#11140B}
.pr-conf{position:absolute;inset:0;pointer-events:none}
.pr-conf i{position:absolute;display:block;width:8px;height:16px}
.pr-conf b{display:block;width:100%;height:100%;border-radius:2px;background:var(--ac)}
.pr-conf i:nth-child(1){left:10%;top:11%}.pr-conf i:nth-child(1) b{rotate:20deg}
.pr-conf i:nth-child(2){left:31%;top:18%}.pr-conf i:nth-child(2) b{rotate:-30deg;background:var(--tx)}
.pr-conf i:nth-child(3){left:77%;top:12%}.pr-conf i:nth-child(3) b{rotate:50deg}
.pr-conf i:nth-child(4){left:87%;top:24%}.pr-conf i:nth-child(4) b{rotate:-15deg;background:var(--am)}
.pr-conf i:nth-child(5){left:18%;top:30%}.pr-conf i:nth-child(5) b{rotate:70deg;background:var(--am)}
.pr-conf i:nth-child(6){left:64%;top:7%}.pr-conf i:nth-child(6) b{rotate:10deg;background:var(--tx)}
.pr-conf i:nth-child(7){left:51%;top:26%}.pr-conf i:nth-child(7) b{rotate:-60deg}
.pr-mid{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.pr-hero{display:flex;flex-direction:column;align-items:center}
/* The outer ring reaches 28px above the column without taking space, as in the app. */
.pr-halo,.pr-halo>span,.pr-trophy{display:flex;align-items:center;justify-content:center;border-radius:50%}
.pr-halo{width:168px;height:168px;margin-top:-28px;background:rgba(200,242,90,.06)}
.pr-halo>span{width:140px;height:140px;background:rgba(200,242,90,.12)}
.pr-trophy{width:112px;height:112px;background:var(--ac);color:#0D0E10}
.pr-trophy .i{width:52px;height:52px}
.pr-ey{margin-top:4px;font-size:13px;line-height:16px;font-weight:800;letter-spacing:1.82px;text-transform:uppercase;color:var(--ac)}
.pr-name{font-size:64px;text-align:center}
.pr-lift{display:flex;align-items:baseline;gap:10px}
.pr-lift b{font-size:88px;color:var(--ac)}
.pr-lift span{font-size:32px}
.pr-act{position:relative;display:flex;flex-direction:column;gap:6px;padding-top:24px}
.pr-share,.pr-keep{display:flex;align-items:center;justify-content:center;border-radius:16px}
.pr-share{position:relative;gap:8px;height:56px;background:var(--ac);color:#0D0E10;font-size:17px;font-weight:700}
.pr-share .i{width:20px;height:20px}
.pr-glow{position:absolute;inset:-1px;border-radius:16px;box-shadow:0 0 0 1px var(--ac),0 0 28px rgba(200,242,90,.45);opacity:0;pointer-events:none}
.pr-keep{height:52px;border:1px solid var(--ln);font-size:15px;font-weight:600}

/* ---- Floating cards over a phone edge (bigger than chips, so a deeper shadow) ------------------ */
.float{position:absolute;z-index:2;width:320px;transform:scale(var(--k));pointer-events:none}
.f-in{display:flex;align-items:center;gap:12px;padding:12px 16px 12px 12px;border-radius:20px;background:var(--s2);border:1px solid rgba(255,255,255,.08);color:var(--tx);font-size:15px;line-height:1.35;
  box-shadow:0 24px 48px rgba(0,0,0,.55),0 6px 14px rgba(0,0,0,.35)}
.f-voice{left:-9%;bottom:7%;transform-origin:0 100%}
.f-health{right:-9%;bottom:9%;width:250px;transform-origin:100% 100%}
@media (min-width:56em){.f-voice{left:-22%}.f-health{right:-20%}}
.v-mic{position:relative;width:44px;height:44px;flex:none;border-radius:50%;background:var(--ac);color:#0B0C0A;display:flex;align-items:center;justify-content:center}
.v-mic .i{position:relative;width:20px;height:20px;stroke-width:2.2}
.v-halo{position:absolute;inset:0;border-radius:50%;background:var(--ac);opacity:0}
.v-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.v-q{font-style:italic;font-size:14px}
.v-st{display:grid;font-size:13px}
.v-st>span{grid-area:1/1;display:flex;align-items:center;gap:4px;white-space:nowrap}
.v-st [data-vs=listen]{opacity:0}
.h-ico{width:40px;height:40px;flex:none;border-radius:12px;background:#fff;color:#FF2D55;display:flex;align-items:center;justify-content:center}
.h-ico .i{fill:#FF2D55;stroke:none}
.f-health b{display:block;font-size:15px}
.f-health .mu{font-size:13px;white-space:nowrap}
/* The health app by platform (platform.js): Apple Health by default (iPhone, computers, no JavaScript, the
   pre-launch site, which has no platform.js), Health Connect for Android visitors. */
.h-android{display:none}
.is-android .h-ios{display:none}
.is-android .h-android{display:inline}

/* ---- Motion hooks (motion.js) ----------------------------------------------------------------- */
/* Hidden until a scene's first frame, so nothing flashes its final state first. */
.anim .stage:not(.ready) .mv{opacity:0}
/* Promote the moving parts only while their phone is near the viewport and its story is still playing. */
.anim .stage.near:not(.done) .mv{will-change:transform,opacity}

/* Scroll-linked depth: each phone tilts up into place as it enters (the hero is already in place). The
   floating card travels a little further for parallax. Browsers without scroll-driven animations stay still. */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .feat .ph,.feat .float{animation:rise-in linear both;animation-timeline:view();animation-range:entry 0% cover 45%}
    .feat .stage.near .ph{will-change:transform}
    .feat .float{animation-name:float-in}
  }
}
@keyframes rise-in{from{transform:perspective(1600px) translateY(56px) rotateX(10deg)}to{transform:none}}
@keyframes float-in{from{transform:scale(var(--k)) translateY(110px)}to{transform:scale(var(--k))}}
