/* jadeos.ai's phone page, 04 "Try it": the jade.os phone app's demo (Miguel, HQ decisions 2026-10-19 21:12, his ask;
   21:33 "The phone demo looks right. Write it up for the Site."; 21:37 for 05; HQ projects/hq-app/product/
   phone-demo-2026-10-19.md). Every value is the board's (jadeos-dev\design\2026-10-19-phone-demo\phonedemo.py: its PCSS
   for the app, the phone app's own values from phone/src look.ts and the screens' StyleSheets; its SCSS for the frame,
   the row, the switch and the full screen form), every class the demo's own (pd-), so nothing of home.css's means
   anything here and nothing here reaches the rest of the page. The phone shows the other look from the page until its
   own sun or moon is pressed (data-look on .pd-app, set by phonedemo.js); every state is a class or an attribute, never a
   style written by the script (the site's content policy refuses an inline style). */

/* ---- the phone app, drawn with its own values (phone/src/look.ts; the dark look first) ---- */
.pd-app{--base:#050505;--ground:#151515;--card:#1e1e1e;--text:#f4f4f1;--dim:#a1a1a9;--or:#ff6a1a;--onOr:#070708;--act:#f4f4f1;--actText:#141417;--actDim:#5c5c64;--chip:#e4e4df;--main:#ff6a1a;--mainText:#070708;--mainDot:transparent;--quiet:#e4e4df;--quietText:#141417;--mine:#212121;--tabOn:#f4f4f1;--tabOff:#8a8a92;--ok:#5ad19a;--ring:#ff6a1a;--sun:block;--moon:none;--actShadow:none;--bl-lead:#f4f4f1;--bl-messages:#889acf;--bl-studio:#a593ce;--bl-money:#7fb19e;--bl-goals:#789fa2;position:relative;display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;background:var(--base);color:var(--text);font-family:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:normal;letter-spacing:normal;-webkit-font-smoothing:antialiased;text-align:left}
/* the light look: the phone's own pick, or, until it has one, the other look from the page (light on the dark page) */
.pd-app[data-look='light'],:root:not([data-theme='light']) .pd-app:not([data-look]){--base:#171717;--ground:#f1f0ec;--card:#ffffff;--text:#141417;--dim:#5c5c64;--act:#ffffff;--chip:#eceae4;--main:#171717;--mainText:#f4f4f1;--mainDot:#ff6a1a;--quiet:#eceae4;--mine:#e4e4df;--tabOff:#a1a1a9;--ok:#11744b;--ring:#b0400a;--sun:none;--moon:block;--actShadow:0 14px 34px rgba(20,20,23,.08);--bl-lead:#141417;--bl-messages:#24419b;--bl-studio:#543599;--bl-money:#146849;--bl-goals:#094b4f}
.pd-app *{box-sizing:border-box}
:where(.pd-app) button{margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:inherit}
/* the keyboard's ring: the site's orange where the ground round it is dark, the darker orange where it is light; the
   site's 2 px as seen, so where the phone is drawn smaller its ring is drawn wider by as much (--ringW and --ringO, set
   with each scale below: a browser draws an outline in whole pixels, and the frame's .85 drew 2 px as 1) */
.pd-app button:focus-visible{outline:var(--ringW,2px) solid var(--ring);outline-offset:var(--ringO,2px)}
.pd-app [tabindex="-1"]:focus{outline:none}
.pd-app [hidden]{display:none!important}
.pd-mono{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace}
.pd-ic{display:block;flex:none}
/* (the page's first 6 of its 18 from the top, and of the frame's 62, are the page's own padding, so the ring of the
   look button at its top shows whole: review-1 N3) */
.pd-ground{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:var(--ground);border-radius:0 0 38px 38px;overflow:hidden;padding-top:12px}
.pd-dev .pd-ground{padding-top:56px}
/* the thin status row, in the frame only: the visitor's time, signal, wifi, battery */
.pd-sb{position:absolute;left:0;right:0;top:0;height:50px;display:flex;align-items:center;justify-content:space-between;padding:6px 30px 0 36px;font-size:15px;font-weight:600;color:var(--text);z-index:2}
.pd-full .pd-sb{display:none}
.pd-sbr{display:flex;align-items:center;gap:6px}
.pd-bars{display:flex;align-items:flex-end;gap:2px;height:11px}
.pd-bars i{display:block;width:3px;border-radius:1px;background:currentColor}
.pd-bars i:nth-child(1){height:4px}
.pd-bars i:nth-child(2){height:6px}
.pd-bars i:nth-child(3){height:8.5px}
.pd-bars i:nth-child(4){height:11px}
.pd-bat{width:24px;height:12px;border-radius:4px;border:1.2px solid currentColor;opacity:.9;padding:1.5px}
.pd-bat i{display:block;width:70%;height:100%;border-radius:2px;background:currentColor}
/* (a control the keyboard scrolls to stops 8 in from the edge, so its ring shows whole) */
.pd-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;scroll-padding:8px 0}
.pd-scroll::-webkit-scrollbar{display:none}

/* Today (phone/src/Today.tsx) */
.pd-t{display:flex;flex-direction:column;gap:18px;padding:6px 20px 22px}
.pd-t-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pd-hello{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.pd-hi{margin:0;font-size:28px;line-height:31px;font-weight:700;letter-spacing:-.6px}
.pd-st{display:flex;align-items:flex-start;gap:8px}
.pd-dot{flex:none;width:8px;height:8px;margin-top:6px;border-radius:4px;background:var(--dim)}
.pd-dot.pd-ok{background:var(--ok)}
.pd-stw{display:flex;flex-direction:column;gap:2px}
.pd-stl{font-size:14px;line-height:20px;color:var(--dim)}
.pd-stl.pd-away{font-weight:600;color:var(--text)}
.pd-fix{font-size:13px;line-height:18px;color:var(--dim)}
.pd-t-btns{display:flex;gap:8px;align-self:flex-start}
.pd-round{width:46px;height:46px;border-radius:23px;background:var(--card);display:flex;align-items:center;justify-content:center;color:var(--text);font-size:15px;font-weight:700}
.pd-sun{display:var(--sun)}
.pd-moon{display:var(--moon)}
/* the borrowed card: light in both looks, so its ring is the darker orange and its bot takes the light look's line */
.pd-act{--ring:#b0400a;--bl-lead:#141417;--bl-messages:#24419b;--bl-studio:#543599;--bl-money:#146849;--bl-goals:#094b4f;display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:26px;background:var(--act);color:var(--actText);box-shadow:var(--actShadow)}
.pd-prw{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.pd-who{display:flex;align-items:center;gap:10px}
.pd-lab{font-size:10px;letter-spacing:.8px;text-transform:uppercase}
.pd-act .pd-lab{color:var(--actDim)}
.pd-chips{display:flex;gap:6px}
.pd-chip{padding:4px 10px;border-radius:999px;background:var(--chip);color:var(--actText);font-size:12px;font-weight:600;white-space:nowrap}
.pd-ttl{display:flex;flex-direction:column;gap:4px}
.pd-ttl b{font-size:23px;line-height:27px;font-weight:700;letter-spacing:-.5px}
.pd-ttl>span{font-size:15px;color:var(--actDim)}
.pd-btns{display:flex;align-items:center;gap:10px}
.pd-main{flex:1;min-height:50px;border-radius:999px;background:var(--main);color:var(--mainText);display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 22px;font-size:16px;font-weight:700}
.pd-main i{display:block;width:8px;height:8px;border-radius:4px;background:var(--mainDot)}
.pd-quiet{min-height:50px;border-radius:999px;background:var(--quiet);color:var(--quietText);padding:0 22px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600}
/* the answer line, read out as it comes (a status line, always in the page; with nothing to say it takes no room) */
.pd-ans{margin:0;font-size:15px;line-height:21px;font-weight:500;color:var(--actDim)}
.pd-act .pd-ans:not(:has(> :not([hidden]))){margin-top:-14px}
.pd-calm{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:20px;border-radius:26px;background:var(--card)}
.pd-calm b{font-size:23px;line-height:27px;font-weight:700;letter-spacing:-.5px}
.pd-calm>span{font-size:15px;color:var(--dim)}
.pd-calm button{margin-top:12px;min-height:44px;padding:0 18px;border-radius:999px;background:var(--ground);font-size:15px;font-weight:600}
.pd-tiles{display:flex;gap:12px}
.pd-tile{flex:1;display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:22px;background:var(--card)}
.pd-tile>span{font-size:13px;color:var(--dim)}
.pd-tile b{font-size:38px;line-height:40px;font-weight:700;letter-spacing:-1.1px}
.pd-tile.pd-tor{background:var(--or);color:var(--onOr)}
.pd-tile.pd-tor>span{font-weight:600;color:var(--onOr)}
.pd-grp{display:flex;flex-direction:column;gap:10px}
.pd-grp>.pd-lab{color:var(--dim)}
.pd-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:20px;background:var(--card)}
.pd-rw{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.pd-rw b{font-size:16px;font-weight:600}
.pd-rw>span{font-size:13px;color:var(--dim)}
.pd-row .pd-ic{color:var(--dim)}

/* Chat (phone/src/Chat.tsx) */
.pd-c{flex:1;min-height:0;display:flex;flex-direction:column;gap:16px;padding:6px 20px 18px}
.pd-c-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pd-c-h{margin:0;font-size:28px;line-height:31px;font-weight:700;letter-spacing:-.6px}
.pd-model{min-height:44px;display:flex;align-items:center;padding:0 14px;border-radius:999px;background:var(--card);font-size:11px;color:var(--dim)}
.pd-thread{position:relative;flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;scroll-padding:8px 0;display:flex;flex-direction:column;gap:16px;padding-bottom:8px}
.pd-thread::-webkit-scrollbar{display:none}
.pd-mine{align-self:flex-end;max-width:280px;padding:13px 16px;border-radius:22px 22px 6px 22px;background:var(--mine);font-size:16px;line-height:22px}
.pd-reply{display:flex;align-items:flex-start;gap:10px}
.pd-reply p{flex:1;margin:0;padding-top:3px;font-size:16px;line-height:22px}
/* a suggestion asked: the owner's message, then its status line ("Will send ..." while the computer is off, then the
   lead's reply), which takes no room while it has nothing to say */
.pd-pair{display:contents}
/* the one asked second stands after the first, each kept in its place in the page (a status line moved as it speaks is
   new to a screen reader and says nothing: review-1 S1) */
.pd-pair.pd-later > *{order:1}
.pd-said{display:flex;flex-direction:column}
.pd-said:not(:has(> :not([hidden]))){margin-top:-16px}
.pd-said:has(> .pd-will:not([hidden])){margin-top:-10px}
.pd-will{align-self:flex-end;font-size:13px;color:var(--dim)}
.pd-act.pd-draft{padding:18px}
.pd-body{margin:0;font-size:16px;line-height:23px}
.pd-quick{display:flex;flex-wrap:wrap;gap:8px}
.pd-quick button{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(92,92,100,.55);font-size:14px;font-weight:500;color:var(--actText)}
.pd-quick button.pd-on{background:var(--chip)}
.pd-sugg{display:flex;flex-wrap:wrap;gap:8px}
.pd-sugg button{min-height:38px;padding:0 14px;border-radius:999px;background:var(--card);font-size:14px;font-weight:500;color:var(--text)}
.pd-hint{margin:0;font-size:13px;line-height:18px;color:var(--dim)}
.pd-hint:not(:has(> :not([hidden]))){margin-top:-16px}
.pd-box{display:flex;align-items:center;gap:10px;padding:7px 7px 7px 20px;border-radius:999px;background:var(--card)}
.pd-field{flex:1;min-height:44px;display:flex;align-items:center;font-size:16px;color:var(--dim)}
.pd-send{width:44px;height:44px;border-radius:22px;background:var(--or);color:var(--onOr);display:flex;align-items:center;justify-content:center}

/* the five at the bottom (phone/App.tsx): on the base, dark in both looks */
.pd-dock{--ring:#ff6a1a;flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 34px 24px}
.pd-dev .pd-dock{padding-bottom:34px}
.pd-tab{min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--tabOff);font-size:12px;font-weight:600;text-align:center}
.pd-tab.pd-end{min-width:64px}
.pd-tab.pd-tin{min-width:52px}
.pd-tab .pd-ic{color:var(--tabOff)}
.pd-tab.pd-on{color:var(--tabOn)}
.pd-tab.pd-on .pd-ic{color:var(--or)}
.pd-menu{width:72px;height:48px;border-radius:24px;background:var(--or);color:var(--onOr);display:flex;align-items:center;justify-content:center}
/* what the demo has nothing behind: quiet, at half strength, not pressable */
.pd-off{opacity:.45;cursor:default}
/* All pages: the raised card over the dimmed screen */
.pd-back{position:absolute;inset:0;z-index:5;background:rgba(0,0,0,.55);cursor:default}
.pd-card{position:absolute;left:16px;right:16px;bottom:94px;z-index:6;padding:8px;border-radius:28px;background:var(--card);box-shadow:0 18px 30px rgba(0,0,0,.35)}
.pd-dev .pd-card{bottom:104px}
.pd-prow{width:100%;display:flex;align-items:center;gap:14px;min-height:56px;padding:0 10px;border-radius:20px;margin-bottom:2px}
.pd-ti{width:40px;height:40px;border-radius:13px;background:var(--ground);color:var(--text);display:flex;align-items:center;justify-content:center}
.pd-prow.pd-on .pd-ti{background:var(--or);color:var(--onOr)}
.pd-prow b{flex:1;font-size:17px;font-weight:600}
.pd-prow>.pd-ic{color:var(--dim)}
.pd-press:active{opacity:.72;transform:scale(.985)}

/* the bots (phone/src/botParts.ts and Bot.tsx): each agent's line in its own colour for the look, the eyes by state */
.pd-bot{display:block;flex:none;width:28px;height:28px;overflow:visible}
.pd-bot .pd-sq{stroke:var(--card)}
.pd-act .pd-bot .pd-sq{stroke:var(--act)}
.pd-b-lead{color:var(--bl-lead)}
.pd-b-messages{color:var(--bl-messages)}
.pd-b-studio{color:var(--bl-studio)}
.pd-b-money{color:var(--bl-money)}
.pd-b-goals{color:var(--bl-goals)}
.pd-bot .pd-eyes{transform-box:view-box}
.pd-o-lead{transform-origin:32px 30px}
.pd-o-messages{transform-origin:34px 29px}
.pd-o-studio{transform-origin:34.5px 28px}
.pd-o-money{transform-origin:32px 29px}
.pd-o-goals{transform-origin:34px 30px}
.pd-st-ready .pd-eyes{animation:pd-blink 6s linear infinite}
.pd-st-thinking .pd-eyes{animation:pd-look 2s ease-in-out infinite alternate}
.pd-st-working .pd-eyes{animation:pd-work .9s ease-in-out infinite alternate}
.pd-st-needs .pd-eyes{transform:scale(1.14)}
.pd-st-needs{animation:pd-hop 2.6s linear infinite}
/* done (happy eyes) and resting (closed): drawn eyes of their own, nothing moves */
.pd-st-done,.pd-st-resting{animation:none}
@keyframes pd-blink{0%,93%{transform:scaleY(1)}96%{transform:scaleY(.12)}100%{transform:scaleY(1)}}
@keyframes pd-look{from{transform:translate(3px,-3px)}to{transform:translate(-2px,-3.5px)}}
@keyframes pd-work{from{transform:translateX(-3.5px) scaleY(.5)}to{transform:translateX(3.5px) scaleY(.5)}}
@keyframes pd-hop{0%,78%{transform:translateY(0)}86%{transform:translateY(-1.75px)}93%,100%{transform:translateY(0)}}
/* reduced motion: the bots hold still, their eyes still telling the state (Bot.tsx: thinking up and aside, working half
   shut, needs you larger with its light); a press gives no movement */
@media (prefers-reduced-motion:reduce){.pd-bot,.pd-bot .pd-eyes{animation:none!important}.pd-st-working .pd-eyes{transform:scaleY(.5)}.pd-st-thinking .pd-eyes{transform:translate(3px,-3px)}.pd-press:active{transform:none}}

/* ---- section 04 around it (the board's SCSS) ---- */
/* right above the demo: the row for the desktop app */
.pd-desk{display:flex;align-items:center;gap:12px;margin:24px 0 0;padding:12px 16px 12px 12px;border-radius:18px;background:var(--chip);font-size:14px;line-height:1.4;color:var(--dim)}
.pd-mi{flex:none;width:34px;height:34px;border-radius:11px;background:var(--ground);color:var(--text);display:flex;align-items:center;justify-content:center}
.pd-desk b{font-weight:600;color:var(--text)}
/* the phone frame of 05's stills (.ph): the app drawn at 375 x 780, scaled to the section's width (334 at 390); under 390
   wide .81, so it fits a 375 phone; under 346 (a 320 phone, the page itself one step smaller there) .73 */
.pd-stage{display:flex;justify-content:center;margin-top:20px}
.pd-dev{flex:none;width:393px;height:798px;padding:9px;border-radius:53px;background:#0b0b0b;box-sizing:border-box;zoom:.85;--ringW:2.36px;--ringO:2.36px;box-shadow:0 34px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)}
[data-theme='light'] .pd-dev{box-shadow:0 28px 64px rgba(20,20,23,.16)}
/* (each scale's ring: 2 over the scale, a hair up, so it is drawn 2 px; under 375 the page itself is .923) */
@media (max-width:389.98px){.pd-dev{zoom:.81;--ringW:2.47px;--ringO:2.47px}}
@media (max-width:374.98px){.pd-dev{--ringW:2.68px;--ringO:2.68px}}
@media (max-width:345.98px){.pd-dev{zoom:.73;--ringW:2.97px;--ringO:2.97px}}
.pd-scr{width:375px;height:780px;border-radius:44px;overflow:hidden;position:relative}
/* under it: Computer on / Computer off, the selected half in the text colour on the page's ground */
.pd-ctl{display:flex;justify-content:center;margin-top:22px}
.pd-seg{display:flex;gap:2px;padding:4px;border-radius:999px;background:var(--chip)}
.pd-seg button{height:36px;margin:0;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--dim);font:600 13.5px/1 'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pd-seg button.pd-on{background:var(--text);color:var(--out)}
.pd-seg button:focus-visible,.pd-fs-x:focus-visible{outline:var(--pg-ring,2px) solid #ff6a1a;outline-offset:2px}
[data-theme='light'] :is(.pd-seg button,.pd-fs-x):focus-visible{outline-color:#b0400a}
/* (under 375 the page is drawn at .923: the switch's ring takes the page's own --pg-ring, home.css) */

/* ---- the full screen form (the board's M-full): the page's ground, the strip, the one demo under it ---- */
html.pd-open{overflow:hidden}
.pd-fs{position:fixed;inset:0;z-index:200;display:flex;justify-content:center;background:var(--out);color:var(--text);font-family:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
.pd-fs[hidden]{display:none}
@media (min-width:1100px){.pd-fs{display:none}}
/* (on a tablet the phone app keeps a phone's width, in the middle of the page's ground) */
.pd-fs-in{display:flex;flex-direction:column;width:100%;max-width:480px;height:100%}
.pd-fs-strip{flex:none;height:62px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px}
.pd-fs-tag{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.pd-fs-tag i{display:block;width:7px;height:7px;border-radius:50%;background:#ff6a1a}
.pd-fs .pd-seg button{height:32px;padding:0 11px;font-size:12.5px}
.pd-fs .pd-seg button.pd-on{color:var(--ground)}
.pd-fs-x{width:36px;height:36px;margin:0;padding:0;border:0;border-radius:11px;background:var(--chip);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer}
.pd-full{flex:1;min-height:0;border-radius:22px 22px 0 0;overflow:hidden}
/* narrower than the 375 the app is drawn at: the app one step smaller, and the strip a little closer */
@media (max-width:374.98px){.pd-full .pd-app{zoom:.85;--ringW:2.36px;--ringO:2.36px}}
@media (max-width:359.98px){.pd-fs-strip{gap:6px;padding:0 8px}.pd-fs .pd-seg button{padding:0 9px}}
