/* The Solo app, flow by flow (solo-demo.html): four screen recordings of the app, each in a phone bezel beside its
   copy; the party flow is three phones in a row. Gold-on-ink like the rest of the Solo pages. Only this page loads it. */

.sdemo { padding: calc(var(--nav-height) + 56px) 0 72px; }
.sdemo [hidden] { display: none !important; }
.sdemo__back {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 9px 16px 9px 13px;
    border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.72); text-decoration: none;
    font-size: .95rem; line-height: 1; transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.sdemo__back:hover, .sdemo__back:focus-visible { color: var(--gold-light); border-color: var(--gold-light); background: rgba(227,192,123,.08); }
.sdemo__head { max-width: 780px; margin: 0 auto 72px; text-align: center; }
.sdemo__head .solo-h2 { margin-bottom: 14px; }
.sdemo__head .solo-body { margin: 0 auto; }
.sdemo__fine { margin: 18px auto 0; max-width: 620px; color: rgba(242,242,242,.5); font-size: .92rem; line-height: 1.6; }

/* One flow: copy beside a phone; the next flow flips sides */
.sdemo__flow {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px 64px; align-items: center;
    padding: 56px 0; border-top: 1px solid rgba(201,163,91,.14);
}
.sdemo__flow--flip .sdemo__copy { order: 2; }
.sdemo__flow--flip .sdemo__phone { order: 1; }
.sdemo__copy .solo-eyebrow { margin-bottom: 14px; }
.sdemo__copy .solo-h2 { margin-bottom: 18px; }
.sdemo__copy .solo-body { margin: 0 0 22px; }
.sdemo__copy--wide { max-width: 780px; margin: 0 auto; text-align: center; }
.sdemo__copy--wide .solo-body { margin: 0 auto; }

.sdemo__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.sdemo__steps li {
    position: relative; padding-left: 38px; color: rgba(242,242,242,.78); font-size: 1rem; line-height: 1.5; font-weight: 300;
}
.sdemo__steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
    border: 1.5px solid rgba(201,163,91,.5); color: var(--gold-light); display: grid; place-items: center;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
}
.sdemo__steps b { font-weight: 500; color: var(--off-white); }
.sdemo__steps--tight { gap: 8px; margin-top: 10px; }
.sdemo__steps--tight li { font-size: .92rem; line-height: 1.45; padding-left: 32px; }
.sdemo__steps--tight li::before { width: 21px; height: 21px; font-size: 10px; }
.sdemo__note { margin: 20px 0 0; color: rgba(242,242,242,.5); font-size: .9rem; line-height: 1.55; max-width: 560px; }
.sdemo__note--center { max-width: 720px; margin: 36px auto 0; text-align: center; }

/* The phone: a bezel around the 884x1920 capture, the Dynamic Island is in the capture itself */
.sdemo__phone { margin: 0; width: 100%; max-width: 340px; justify-self: center; }
.sdemo__phone video {
    display: block; width: 100%; aspect-ratio: 884 / 1920; object-fit: cover; background: #000;
    border-radius: 46px; border: 7px solid #2b2722; box-shadow: 0 0 0 1px rgba(201,163,91,.22), 0 30px 60px rgba(0,0,0,.55), 0 0 90px rgba(201,163,91,.08);
    cursor: pointer;
}
.sdemo__phone video.is-paused { opacity: .92; }
.sdemo__phone figcaption {
    margin: 14px 0 0; text-align: center; color: rgba(242,242,242,.6);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.sdemo__phone figcaption b { color: var(--gold-light); font-weight: 500; }
.sdemo__phone .sdemo__steps { text-align: left; }

/* The party flow: three phones in a row under one head */
.sdemo__flow--trio { grid-template-columns: minmax(0, 1fr); }
.sdemo__trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; align-items: start; }
.sdemo__trio .sdemo__phone { max-width: 320px; }

.sdemo__foot { margin: 56px auto 0; max-width: 720px; text-align: center; color: var(--gray-400); font-size: .95rem; padding-top: 40px; border-top: 1px solid rgba(201,163,91,.14); }
.sdemo__foot a { color: var(--gold-light); }
.sdemo__stores { margin: 26px 0 0; }
.sdemo__stores--foot { margin-top: 24px; }

@media (max-width: 1000px) {
    .sdemo__trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
    .sdemo__trio .sdemo__phone { max-width: none; }
    .sdemo__trio .sdemo__steps--tight li { font-size: .86rem; }
}
@media (max-width: 860px) {
    .sdemo { padding-top: calc(var(--nav-height) + 36px); }
    .sdemo__head { margin-bottom: 40px; }
    .sdemo__flow { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
    .sdemo__flow--flip .sdemo__copy { order: 1; }
    .sdemo__flow--flip .sdemo__phone { order: 2; }
    .sdemo__phone { max-width: 300px; }
    .sdemo__trio { grid-template-columns: minmax(0, 1fr); gap: 36px; justify-items: center; }
    .sdemo__trio .sdemo__phone { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    .sdemo__phone video { cursor: pointer; }
}
