/* Three fanned phone screens + native capabilities (includes/visuals/screens.php) */
.sc { min-width: 0; }
.sc-stage { position: relative; height: 500px; overflow: hidden; }
.sc-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; background: radial-gradient(circle, var(--mint) 0%, rgba(227, 253, 219, .55) 45%, rgba(227, 253, 219, 0) 70%); }

.sc-pos { position: absolute; left: 50%; top: 34px; width: 196px; margin-left: -98px; transform: var(--sc-t, none); }
.sc-pos--1 { --sc-t: translateX(-72%) translateY(34px) rotate(-9deg); z-index: 1; }
.sc-pos--3 { --sc-t: translateX(72%) translateY(34px) rotate(9deg); z-index: 1; }
.sc-pos--2 { z-index: 2; }
.sc-float, .sc-phone { display: block; }
.sc-phone { position: relative; padding: 8px; border-radius: 32px; background: var(--panel); box-shadow: 0 34px 50px -24px rgba(12, 43, 21, .55), inset 0 0 0 1.5px #2b302b; }
.sc-notch { position: absolute; left: 50%; top: 15px; z-index: 3; width: 54px; height: 15px; margin-left: -27px; border-radius: 999px; background: var(--panel); }
.sc-scr { position: relative; display: flex; flex-direction: column; height: 378px; border-radius: 25px; overflow: hidden; background: var(--white); font-family: var(--font-sans); color: var(--ink); }
:where(.sc-scr) > span { display: block; }
.sc-status { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 6px 18px 0; font-size: 12px; font-weight: 600; color: var(--forest); }
.sc-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.sc-sig i { width: 3px; height: 5px; border-radius: 1px; background: currentColor; }
.sc-sig i:nth-child(2) { height: 7px; } .sc-sig i:nth-child(3) { height: 10px; }
.sc-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* home */
.sc-hero { margin: 6px 10px 0; padding: 14px 13px; border-radius: 15px; background: var(--forest); }
.sc-hello { display: block; font-family: var(--font-serif); font-size: 17px; line-height: 1.2; color: var(--white); }
.sc-today { display: block; margin-top: 4px; font-size: 12px; color: var(--sage); }
.sc-jobs { display: grid; gap: 7px; padding: 10px; }
.sc-job { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 8px 10px; border-radius: 11px; background: var(--paper); }
.sc-job-h { font-size: 12.5px; font-weight: 700; color: var(--forest); }
.sc-job-s { justify-self: end; padding: 1px 7px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.35; background: var(--white); color: var(--ink-2); }
.sc-job-p { grid-column: 1 / -1; grid-row: 2; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-job--1 .sc-job-s { background: var(--mint); color: var(--forest); }
.sc-job--2 { background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--green-2); }
.sc-job--2 .sc-job-s { background: var(--green); color: var(--forest); }
.sc-tabs { display: flex; justify-content: space-around; align-items: center; height: 46px; margin-top: auto; border-top: 1px solid #ece8e2; }
.sc-tabs i { width: 18px; height: 18px; border-radius: 6px; background: #ddd8d1; }
.sc-tabs i.is-on { background: var(--forest); }

/* job detail */
.sc-map { position: relative; height: 118px; margin: 4px 0 0; overflow: hidden; background: #dcefe4; }
.sc-road { position: absolute; height: 9px; left: -20%; right: -20%; background: var(--white); opacity: .9; }
.sc-road--1 { top: 34%; transform: rotate(-14deg); }
.sc-road--2 { top: 10%; left: 52%; right: auto; width: 9px; height: 140%; transform: rotate(18deg); }
.sc-route { position: absolute; left: 26%; top: 34%; width: 38%; height: 40%; border-left: 3px dashed var(--green-text); border-top: 3px dashed var(--green-text); border-radius: 10px 0 0 0; }
.sc-me { position: absolute; left: calc(26% - 6px); top: 72%; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 3px var(--white), 0 0 0 9px rgba(12, 43, 21, .15); }
.sc-dest { position: absolute; left: calc(64% - 9px); top: 14%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--forest); box-shadow: inset 0 0 0 5px var(--forest), inset 0 0 0 9px var(--green); }
.sc-dist { position: absolute; right: 10px; bottom: 9px; padding: 2px 8px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700; color: var(--forest); }
.sc-job-t { padding: 10px 12px 4px; font-size: 14px; font-weight: 700; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-checks { display: grid; gap: 6px; padding: 4px 12px 0; }
.sc-check { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.sc-check i { position: relative; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #7d8a80; flex: none; }
.sc-check.is-done i { background: var(--green-2); box-shadow: none; }
.sc-check.is-done i::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3.5px; height: 7px; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sc-acts { display: flex; gap: 6px; padding: 10px 12px 0; }
.sc-act { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1 1 0; min-width: 0; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; color: var(--forest); }
.sc-act .sc-ico { width: 15px; height: 15px; }
.sc-pay { display: grid; place-items: center; height: 34px; margin: auto 12px 14px; border-radius: 11px; background: var(--forest); color: var(--green); font-size: 12.5px; font-weight: 700; }

/* lock screen */
.sc-scr--lock { background: linear-gradient(170deg, var(--forest-2) 0%, var(--forest) 55%, #06170b 100%); color: var(--white); }
.sc-scr--lock .sc-status { color: var(--white); }
.sc-clock { margin-top: 12px; text-align: center; font-family: var(--font-serif); font-size: 46px; font-weight: 400; line-height: 1; }
.sc-date { margin-top: 6px; text-align: center; font-size: 12px; color: var(--sage); }
.sc-notif { margin: 18px 9px 0; padding: 9px 11px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94); }
:where(.sc-notif) > span { display: block; }
.sc-notif-app { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sc-appico { width: 14px; height: 14px; border-radius: 4px; background: var(--forest); box-shadow: inset 0 0 0 4px var(--forest), inset 0 0 0 8px var(--green); }
.sc-notif-t { margin-top: 4px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--forest); }
.sc-notif-s { font-size: 12px; color: var(--ink-2); }
.sc-off { display: flex; gap: 8px; align-items: flex-start; margin: 8px 9px 0; padding: 9px 11px; border-radius: 14px; background: rgba(150, 248, 120, .12); box-shadow: inset 0 0 0 1px rgba(150, 248, 120, .4); color: var(--green); }
.sc-off > span { display: block; min-width: 0; }
.sc-off-t { display: block; font-size: 12.5px; font-weight: 700; }
.sc-off-s { display: block; font-size: 12px; line-height: 1.35; color: var(--mint); }
.sc-unlock { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: auto 0 16px; font-size: 12px; color: var(--sage); }
.sc-unlock .sc-ico { width: 28px; height: 28px; color: var(--green); stroke-width: 1.6; }

/* capabilities and stores */
.sc-caps-t { margin: 22px 0 12px; }
.sc-caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sc-cap { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--forest); }
.section--paper .sc-cap { background: var(--white); }
.sc-cap .sc-ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--forest); color: var(--green); stroke-width: 2; }
.sc-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.sc-os { padding: 4px 12px; border-radius: 999px; background: var(--forest); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.3; }
.sc-store { padding-left: 4px; }
@media (min-width: 600px) { .sc-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1199px) { .sc-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .sc-stage { height: 490px; margin: 0 -8px; }
  .sc-pos--1 { --sc-t: translateX(-64%) translateY(34px) rotate(-8deg); }
  .sc-pos--3 { --sc-t: translateX(64%) translateY(34px) rotate(8deg); }
  .sc-cap { font-size: 13.5px; }
}

/* animation: the centre phone rises, the side phones fan out from behind it, capabilities pop in; phones float */
.sc-cap--2 { --sc-i: 1; } .sc-cap--3 { --sc-i: 2; } .sc-cap--4 { --sc-i: 3; } .sc-cap--5 { --sc-i: 4; } .sc-cap--6 { --sc-i: 5; }
.js .vz-figure .sc-pos { opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .vz-figure .sc-pos--1, .js .vz-figure .sc-pos--3 { transform: translateY(40px); transition-delay: .5s; }
.js .vz-figure .sc-cap { opacity: 0; transform: scale(.92); transition: opacity .4s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(1.2s + var(--sc-i, 0) * .1s); }
.js .vz-figure.is-visible .sc-pos { opacity: 1; transform: var(--sc-t, none); }
.js .vz-figure.is-visible .sc-cap { opacity: 1; transform: none; }
.js .vz-figure.is-visible .sc-float { animation: sc-float 5s ease-in-out 2s infinite; }
.js .vz-figure.is-visible .sc-pos--1 .sc-float { animation-delay: 2.8s; }
.js .vz-figure.is-visible .sc-pos--3 .sc-float { animation-delay: 3.6s; }
@keyframes sc-float { 0%, 100% { transform: none; } 50% { transform: translateY(-9px); } }
@media (min-width: 1000px) and (max-width: 1199px) {
  .sc-pos--1 { --sc-t: translateX(-62%) translateY(34px) rotate(-8deg); }
  .sc-pos--3 { --sc-t: translateX(62%) translateY(34px) rotate(8deg); }
}
