/* Ordercherry: the parts the drawn scenes are made of, on the page and in the film (art/film copies this file).
   A phone with the buyer's page after payment, white tiles with product pictures, Ordercherry's own tile as the hub, and hairlines
   with a streak of light that runs along them. Everything is set in em, so a scene sets one font-size and the parts follow.
   A scene draws its hairlines on a grid of ten units to the em (an svg.wires as large as the scene), and their weights are in those units.
   The product pictures are public/assets/products/*.webp (art/products/build.mjs); the words on the buyer's page are the app's own. */
:root { --k-cherry: #D71E43; --k-leaf: #17834A; --k-ink: #1A1114; --k-ink-2: #6F6367; --k-line: #EEE7E9; --k-wire: #E2D6D9; }

/* ---------- the phone ---------- */
.ph { position: relative; flex: none; width: 20em; height: 42em; padding: .62em; border-radius: 3.35em; background: #17131A; box-shadow: inset 0 0 0 .08em #403A42, 0 0 0 .07em #09070A, 0 2.6em 4.8em -1.8em rgb(60 10 30 / .5); font-family: "Inter", "Geist", system-ui, sans-serif; line-height: 1.3; letter-spacing: -.011em; color: var(--k-ink); text-align: left; }
.ph::before, .ph::after { content: ""; position: absolute; width: .2em; border-radius: .1em; background: #17131A; }
.ph::before { left: -.14em; top: 9.4em; height: 2.9em; box-shadow: 0 3.7em 0 #17131A, 0 -3.1em 0 0 #17131A; }
.ph::after { right: -.14em; top: 11.6em; height: 4.6em; }
.ph-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2.75em; background: #fff; }
.ph-island { position: absolute; left: 50%; top: .72em; z-index: 6; width: 5.7em; height: 1.66em; margin-left: -2.85em; border-radius: 1em; background: #0B090C; }
.ph-status { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 3.1em; padding: .3em 1.55em 0 1.95em; }
.ph-status b { font-size: .84em; font-weight: 650; letter-spacing: -.01em; }
.ph-status svg { display: block; width: 3.5em; height: .86em; }
.ph-page { padding: 3.5em 1em 0; }
.ph-store { padding: .15em 0 .5em; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 1.22em; font-style: italic; font-weight: 700; letter-spacing: -.02em; }
.ph-steps { display: flex; align-items: center; justify-content: center; gap: .55em; margin-bottom: .75em; font-size: .56em; font-weight: 500; color: #8A7F83; white-space: nowrap; }
.ph-steps span { display: inline-flex; align-items: center; gap: .4em; }
.ph-steps span::before { content: ""; width: .7em; height: .7em; border-radius: 50%; box-shadow: inset 0 0 0 .14em #C9C0C3; }
.ph-steps .done { color: var(--k-ink); } .ph-steps .done::before { background: var(--k-leaf); box-shadow: none; }
.ph-steps .now { font-weight: 650; color: var(--k-ink); } .ph-steps .now::before { background: var(--k-cherry); box-shadow: 0 0 0 .22em rgb(215 30 67 / .18); }
.ph-paid { display: flex; align-items: center; gap: .6em; padding: .62em .75em; border-radius: .8em; background: #F1F8F3; }
.ph-paid svg { flex: none; width: 1.45em; height: 1.45em; color: var(--k-leaf); }
.ph-paid b { display: block; font-size: .74em; font-weight: 650; }
.ph-paid u { display: block; margin-top: .1em; font-size: .62em; color: var(--k-ink-2); text-underline-offset: .18em; }
.ph-offer { margin-top: .7em; padding: .8em; border-radius: 1em; box-shadow: inset 0 0 0 1px var(--k-line); }
.ph-timer { display: flex; align-items: center; gap: .4em; font-size: .66em; color: var(--k-ink-2); }
.ph-timer svg { width: 1.25em; height: 1.25em; color: var(--k-cherry); } .ph-timer b { font-weight: 650; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.ph-img { position: relative; display: grid; place-items: center; height: 9.2em; margin-top: .6em; border-radius: .8em; background: #FBF7F6; }
.ph-img img { position: absolute; left: 50%; top: 2%; display: block; width: auto; height: 96%; transform: translateX(-50%); mix-blend-mode: multiply; }
.ph-img em { position: absolute; left: .7em; top: .7em; padding: .28em .7em; border-radius: 999px; background: var(--k-cherry); font-size: .62em; font-style: normal; font-weight: 650; color: #fff; }
.ph-title { margin-top: .65em; font-size: .98em; font-weight: 650; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.ph-price { display: flex; align-items: baseline; gap: .6em; margin-top: .4em; font-size: .8em; }
.ph-price s { color: #A2979B; } .ph-price b { font-weight: 700; }
.ph-btn { position: relative; display: grid; place-items: center; height: 2.95em; margin-top: .7em; overflow: hidden; border-radius: .75em; background: var(--k-cherry); box-shadow: 0 .5em 1.2em -.4em rgb(215 30 67 / .55); color: #fff; }
.ph-btn span { font-size: .86em; font-weight: 650; }
.ph-no { margin-top: .7em; text-align: center; font-size: .66em; color: var(--k-ink-2); text-decoration: underline; text-underline-offset: .2em; }
.ph-dim { position: absolute; inset: 0; z-index: 7; border-radius: inherit; background: rgb(26 12 18 / .34); -webkit-backdrop-filter: blur(.35em); backdrop-filter: blur(.35em); }
.ph-sheet { position: absolute; inset: auto 0 0; z-index: 8; padding: .7em 1.1em 1.9em; border-radius: 1.7em 1.7em 0 0; background: #fff; box-shadow: 0 -1em 2.4em -1em rgb(26 12 18 / .35); text-align: center; }
.ph-grab { display: block; width: 2.6em; height: .3em; margin: 0 auto 1em; border-radius: 1em; background: #E6DDE0; }
.ph-ok { display: grid; place-items: center; width: 2.9em; height: 2.9em; margin: 0 auto; border-radius: 50%; background: #1FA35C; color: #fff; box-shadow: 0 0 0 .45em rgb(31 163 92 / .14); }
.ph-ok svg { width: 56%; height: 56%; }
.ph-sheet-h { margin-top: .9em; font-size: 1.08em; font-weight: 650; letter-spacing: -.025em; }
.ph-line { display: flex; align-items: center; gap: .7em; margin-top: .9em; padding: .6em .7em; border-radius: .9em; background: #FFF1F3; text-align: left; }
.ph-thumb { flex: none; display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: .7em; background: #fff; }
.ph-thumb img { width: 84%; height: 84%; object-fit: contain; }
.ph-line span:nth-child(2) { font-size: .76em; font-weight: 600; } .ph-line small { display: block; font-size: .84em; font-weight: 400; color: var(--k-ink-2); }
.ph-line > b { margin-left: auto; font-size: .78em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-same { display: flex; align-items: center; justify-content: center; gap: .45em; margin-top: .85em; font-size: .72em; font-weight: 600; color: var(--k-leaf); }
.ph-same svg { width: 1.35em; height: 1.35em; }
.ph-tap { position: absolute; z-index: 9; width: 3em; height: 3em; margin: -1.5em 0 0 -1.5em; border-radius: 50%; background: rgb(255 255 255 / .5); box-shadow: 0 0 0 .1em rgb(255 255 255 / .9), 0 .2em .8em rgb(26 12 18 / .3); opacity: 0; pointer-events: none; }

/* ---------- tiles, the hub, and the hairlines between them ---------- */
.tl { position: absolute; display: grid; place-items: center; width: 5.6em; height: 5.6em; border-radius: 1.3em; background: #fff; box-shadow: 0 0 0 1px rgb(60 20 30 / .05), 0 .55em 1.4em -.4em rgb(90 20 40 / .18); }
.tl > img { display: block; width: 80%; height: 80%; object-fit: contain; }
.tl > svg { display: block; width: 44%; height: 44%; color: var(--k-ink); }
.tl-pill { position: absolute; right: -.9em; top: -.7em; z-index: 2; padding: .2em .58em; border-radius: 999px; background: var(--k-cherry); font-size: .78em; font-weight: 650; line-height: 1.3; letter-spacing: 0; color: #fff; white-space: nowrap; }
.tl-cap { position: absolute; left: 50%; top: calc(100% + .6em); transform: translateX(-50%); font-size: 1em; font-weight: 500; line-height: 1.2; color: var(--k-ink-2); white-space: nowrap; }
.tl .tl-cherry, .tl-cherry { position: absolute; right: -.8em; top: -1.3em; z-index: 3; width: 1.75em; height: auto; filter: drop-shadow(0 .25em .35em rgb(120 20 50 / .3)); }
.hub { position: absolute; width: 6.6em; height: 6.6em; border-radius: 1.55em; box-shadow: 0 1em 2.1em -.6em rgb(60 8 26 / .55); }
.hub img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.wires .w { stroke: var(--k-wire); stroke-width: 1.15; }
.wires .s { stroke: var(--k-cherry); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 10 200; stroke-dashoffset: 12; } /* at rest the streak lies before the line; it runs to -112, past its end */
.wires .s--leaf { stroke: var(--k-leaf); }
.wl { position: absolute; display: inline-flex; align-items: center; gap: .32em; padding: .2em .55em .2em .42em; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(60 20 30 / .07), 0 .3em .8em -.3em rgb(90 20 40 / .2); line-height: 1.3; color: var(--k-ink); transform: translate(-50%, -50%); white-space: nowrap; }
.wl::before { content: ""; width: .46em; height: .46em; border-radius: 50%; background: var(--dot, #B9AEB2); }
.wl i { font-size: .82em; font-style: normal; font-weight: 600; }
