/* One iPhone for every mockup on the site (2026-11-29): black bezel, a thin titanium edge, Dynamic Island, side buttons
   where the frame allows, and the real iOS status icons. Loaded last so it wins over the older per-section phones. */
:root{--ip-bezel:#0B0D0C;--ip-edge:#A7ABA9;--ip-edge2:#5E6260;--ip-drop:0 50px 90px -40px rgba(25,37,28,.55),0 18px 36px -18px rgba(25,37,28,.3)}
/* status icons */
.ip-sys{display:inline-flex;align-items:center;gap:5px;color:inherit}
.ip-sys svg{display:block;fill:currentColor}
.ip-status{position:absolute;left:0;right:0;top:0;height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 30px;font-size:13.5px;font-weight:700;letter-spacing:-.01em;color:#19251C;z-index:4;pointer-events:none}
/* the island, shared */
.ip-island,.st-phone:before,.st-screen:before{content:'';position:absolute;left:50%;top:11px;width:30%;max-width:104px;min-width:78px;height:27px;transform:translateX(-50%);border-radius:20px;background:#000;z-index:5}

/* 1. Story board phone + 2. "Watch work flow" phone: the element is the screen, the frame is drawn around it */
.st-phone,.st-screen{box-shadow:0 0 0 9px var(--ip-bezel),0 0 0 10.5px var(--ip-edge),0 0 0 12px var(--ip-edge2),var(--ip-drop)!important}
.st-phone .bar,.st-screen .bar{position:relative;z-index:4;align-items:center;height:40px;padding:0 22px!important;font-size:13px!important;letter-spacing:-.01em}
.st-screen .bar{margin:-6px -8px 0}
.st-phone .bar{padding-top:6px!important}
.st-device{position:relative}
.st-device:before,.st-device:after{content:'';position:absolute;width:4px;border-radius:3px;background:linear-gradient(90deg,var(--ip-edge2),var(--ip-edge));z-index:0}
.st-device:before{left:-15px;top:150px;height:58px;box-shadow:0 -48px 0 -1px var(--ip-edge2),0 72px 0 0 var(--ip-edge2)}
.st-device:after{right:-15px;top:190px;height:86px;background:linear-gradient(270deg,var(--ip-edge2),var(--ip-edge))}
@media(max-width:640px){.st-device:before,.st-device:after{display:none}}

/* 3. Journey phone + 4. Dispatch phone: frame elements with the screen inside */
.jr-phone,.dp-phone{position:relative;background:var(--ip-bezel)!important;box-shadow:0 0 0 1.5px var(--ip-edge),0 0 0 3px var(--ip-edge2),inset 0 0 0 1px #222724,var(--ip-drop)!important}
.jr-phone:before,.dp-phone:before{content:'';position:absolute;left:-5px;top:22%;width:4px;height:12%;border-radius:3px 0 0 3px;background:var(--ip-edge2);box-shadow:0 -48px 0 -2px var(--ip-edge2),0 54px 0 0 var(--ip-edge2)}
.jr-phone:after,.dp-phone:after{content:'';position:absolute;right:-5px;top:28%;width:4px;height:16%;border-radius:0 3px 3px 0;background:var(--ip-edge2)}
.jr-island{top:21px;width:31%!important;margin-left:0!important;transform:translateX(-50%);height:27px!important;background:#000!important}
.jr-phone .ip-status{top:11px;left:11px;right:11px;height:46px;padding:0 24px 0 28px}
.dp-screen{padding-top:52px!important}
.dp-screen:before{top:11px!important;width:31%!important;height:27px!important}
.dp-screen .ip-status{height:48px;padding:0 20px 0 26px;font-size:12.5px}

/* 5. Command Center: the teammate's iPhone peeking up */
.cc-phone{box-shadow:0 0 0 calc(var(--u,8px)*.7) var(--ip-bezel),0 0 0 calc(var(--u,8px)*.7 + 1.5px) var(--ip-edge),0 0 0 calc(var(--u,8px)*.7 + 3px) var(--ip-edge2),0 30px 60px -20px rgba(25,37,28,.55)!important}
.cc-island{background:#000!important}
/* narrow phones: smaller island and icons so nothing overlaps */
.jr-island{width:84px!important}
.jr-phone .ip-status,.dp-screen .ip-status{padding:0 16px 0 22px;font-size:12.5px}
.jr-phone .ip-sys,.dp-screen .ip-sys,.st-phone .ip-sys{gap:3px;transform:scale(.88);transform-origin:right center}
.dp-screen:before{width:80px!important}
