/* Written by site-src/build.py from site-src/demo.src.css. Don't edit by hand. */
/* The illustrations of the app on the landing page: the hero demo and the
   feature pictures. Source for site/demo.css (site-src/build.py expands calc(() * var(--u)) and
   calc(() * var(--p)) and writes the hero timeline in place of the TIMELINE marker below).

   They are drawings of the app built from the brand tokens, not screenshots.
   Each one is drawn on a fixed design grid and scaled to its container:
   --u is one design unit of the picture, --p one iOS point on its screen.
   Everything that moves animates transform, translate, scale, rotate or
   opacity only, so nothing shifts the page's layout. */

/* ---------- Shared: the phone, the screen, small parts ---------- */

.poster, .mini {
  --d-glass: rgba(255, 255, 255, .78);
  --d-glass-edge: rgba(12, 29, 34, .08);
  --d-sheet: #F4F7F8;
  --d-body: #0E1416;
  --d-touch: rgba(12, 29, 34, .16);
  --d-sun: #FFFFFF;
  position: relative;
  -webkit-user-select: none; user-select: none;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.poster, .mini) {
    --d-glass: rgba(233, 242, 243, .12); --d-glass-edge: rgba(233, 242, 243, .1);
    --d-sheet: #1B3036; --d-touch: rgba(233, 242, 243, .22);
  }
}
:root[data-theme="dark"] :is(.poster, .mini) {
  --d-glass: rgba(233, 242, 243, .12); --d-glass-edge: rgba(233, 242, 243, .1);
  --d-sheet: #1B3036; --d-touch: rgba(233, 242, 243, .22);
}

.d-phone, .m-phone {
  position: absolute;
  left: calc((var(--px)) * var(--u)); top: calc((var(--py)) * var(--u)); width: calc((var(--pw)) * var(--u));
  aspect-ratio: 330 / 716;
  padding: calc((var(--bz)) * var(--u));
  border-radius: calc(calc(55 * var(--p)) + calc((var(--bz)) * var(--u)));
  background: var(--d-body);
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #3B4C52, inset 0 0 0 calc(3 * var(--u)) #0B0F10;
}
.d-screen, .m-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(55 * var(--p));
  background: var(--s-background); color: var(--s-text);
  font: 400 calc(17 * var(--p))/1.3 -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}
.d-screen > *, .m-screen > * { position: absolute; }

/* Photos, drawn: a sea and a sun, a sunset, a meadow. */
.d-thumb {
  display: block; position: relative; overflow: hidden;
  border-radius: calc(14 * var(--p)); background: var(--scrubussi-rinse);
}
.d-thumb::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -8%; height: 52%;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0; background: var(--scrubussi-rinse-deep);
}
.d-thumb::after {
  content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%;
  top: 18%; right: 20%; background: var(--d-sun);
}
.d-thumb.t2 { background: #F7C9A3; }
.d-thumb.t2::before { background: #B4563A; height: 40%; border-radius: 0; left: 0; right: 0; bottom: 0; }
.d-thumb.t2::after { background: #F0874E; width: 34%; top: 38%; right: 33%; }
.d-thumb.t3 { background: #CDE8EF; }
.d-thumb.t3::before { background: #5E9449; height: 46%; border-radius: 60% 40% 0 0 / 40% 30% 0 0; }
.d-thumb.t3::after { background: #FFF1BF; top: 14%; right: auto; left: 18%; }

.d-dot { display: block; flex: none; width: calc(8 * var(--p)); height: calc(8 * var(--p)); border-radius: 50%; background: var(--s-accent); }

.d-switch {
  position: relative; flex: none; width: calc(64 * var(--p)); height: calc(28 * var(--p)); border-radius: calc(14 * var(--p));
  background: var(--s-border);
}
.d-switch::after {
  content: ""; position: absolute; left: calc(2 * var(--p)); top: calc(2 * var(--p)); width: calc(38 * var(--p)); height: calc(24 * var(--p)); border-radius: calc(12 * var(--p));
  background: #FFFFFF; box-shadow: 0 calc(1 * var(--p)) calc(3 * var(--p)) rgba(0, 0, 0, .18);
}
.d-switch.on { background: var(--s-button); }
.d-switch.on::after { translate: calc(22 * var(--p)) 0; }

.d-glass {
  display: flex; align-items: center; justify-content: center;
  height: calc(44 * var(--p)); border-radius: calc(22 * var(--p));
  background: var(--d-glass);
  box-shadow: inset 0 0 0 max(1px, calc(.5 * var(--p))) var(--d-glass-edge), 0 calc(3 * var(--p)) calc(10 * var(--p)) rgba(12, 29, 34, .1);
  color: var(--s-accent-text); font-weight: 600;
}

/* ---------- The hero: three clean prints on the line ---------- */

.hero-art {
  container: art / inline-size;
  /* The prints drop in from the art's own top edge, never across the copy above
     it on narrow screens; the line still runs off both sides. */
  clip-path: inset(-56px -100vw -100vw -100vw);
}
@media (max-width: 1099px) { .hero-art { clip-path: inset(0 -100vw -100vw -100vw); } }
.poster {
  --u: calc(min(100cqw, 700px) / 560);
  --W: 560; --H: 284;
  --ly: 70; --sag: 36;                   /* the middle peg, and how much higher the outer two sit */
  --hw: 168;                             /* a hung print's width */
  --h1: 101; --h2: 280; --h3: 459;        /* where each print is pegged */
  width: calc((var(--W)) * var(--u)); height: calc((var(--H)) * var(--u));
  margin-inline: auto; overflow: visible; pointer-events: none;
}
@container art (max-width: 479px) {
  .poster { --u: calc(100cqw / 360); --W: 360; --H: 168; --ly: 40; --sag: 16; --hw: 90; --h1: 62; --h2: 180; --h3: 298; }
}
.p-line {
  position: absolute; overflow: visible; max-width: none;
  left: calc((var(--h2) - 1400) * var(--u)); top: calc((var(--ly) - 170) * var(--u));
  width: calc(2400 * var(--u)); height: calc(220 * var(--u));
}
.p-line path { fill: none; stroke: var(--scrubussi-rinse-deep); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.p-compact { display: none; }
@container art (max-width: 479px) { .p-wide { display: none; } .p-compact { display: block; } }
.poster .d-fly.h1, .poster .d-fly.h3 { top: calc((var(--ly) + 6 - var(--sag)) * var(--u)); }
.p-result { margin-top: 28px; display: grid; gap: 14px; }
@media (min-width: 1100px) { .p-result { margin-top: auto; padding-top: 24px; } }
.p-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.p-saved {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 18px 22px; border-radius: 22px;
  background: #FFFFFF; color: var(--scrubussi-ink);
  font: 600 clamp(1.0625rem, .95rem + .4vw, 1.25rem)/1.25 var(--s-font-body);
  box-shadow: 0 12px 28px rgba(0, 66, 78, .16);
}
.p-saved svg { width: 26px; height: 26px; flex: none; }
.p-saved circle { fill: var(--scrubussi-success); }
.p-saved path { fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-chips li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--scrubussi-ink);
  font: 600 clamp(.9375rem, .85rem + .3vw, 1.0625rem)/1.2 var(--s-font-body);
  box-shadow: 0 8px 20px rgba(0, 66, 78, .14);
}
.p-chips svg { width: 20px; height: 20px; flex: none; }
.p-chips circle { fill: var(--scrubussi-success); }
.p-chips path { fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Screen parts shared by the feature pictures ---------- */

.d-title { left: calc(16 * var(--p)); top: calc(102 * var(--p)); font-weight: 700; font-size: calc(34 * var(--p)); line-height: calc(41 * var(--p)); letter-spacing: .01em; }
.d-sub { left: calc(16 * var(--p)); top: calc(144 * var(--p)); width: calc(300 * var(--p)); height: calc(22 * var(--p)); overflow: hidden; color: var(--s-text-secondary); font-size: calc(15 * var(--p)); line-height: calc(22 * var(--p)); white-space: nowrap; }
.d-thumbs { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(176 * var(--p)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(8 * var(--p)); }
.d-thumbs .d-thumb { aspect-ratio: 1; }

.d-label { left: calc(32 * var(--p)); top: calc(310 * var(--p)); color: var(--s-text-secondary); font-size: calc(13 * var(--p)); line-height: calc(18 * var(--p)); }
.d-group { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(332 * var(--p)); border-radius: calc(24 * var(--p)); background: var(--s-panel); }
.d-row { position: relative; display: flex; align-items: center; gap: calc(14 * var(--p)); height: calc(44 * var(--p)); padding-inline: calc(16 * var(--p)); }
.d-row + .d-row::before {
  content: ""; position: absolute; left: calc(54 * var(--p)); right: 0; top: 0;
  height: max(1px, calc(.5 * var(--p))); background: var(--s-border);
}
.d-name { position: relative; white-space: nowrap; }
.d-val { margin-left: auto; display: grid; justify-items: end; font-size: calc(15 * var(--p)); color: var(--s-text-secondary); white-space: nowrap; }
.d-result svg { width: calc(18 * var(--p)); height: calc(18 * var(--p)); flex: none; }
.d-result svg circle { fill: var(--s-success); }
.d-result svg path { fill: none; stroke: var(--s-background); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.d-toggle {
  left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(520 * var(--p)); height: calc(44 * var(--p)); border-radius: calc(22 * var(--p));
  display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--p));
  padding-inline: calc(16 * var(--p)) calc(10 * var(--p)); background: var(--s-panel);
}
.d-note { left: calc(32 * var(--p)); top: calc(570 * var(--p)); color: var(--s-text-secondary); font-size: calc(13 * var(--p)); line-height: calc(18 * var(--p)); }
.d-result {
  left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(596 * var(--p)); height: calc(52 * var(--p)); border-radius: calc(26 * var(--p));
  display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p));
  background: var(--s-panel); font-size: calc(15 * var(--p)); font-weight: 500;
}

/* The clean prints, each pegged to the line: a white frame round its photo. */
.d-fly { position: absolute; top: calc((var(--ly) + 6) * var(--u)); width: calc((var(--hw)) * var(--u)); }
.d-fly.h1 { left: calc((var(--h1) - var(--hw) * .6) * var(--u)); }
.d-fly.h2 { left: calc((var(--h2) - var(--hw) * .6) * var(--u)); }
.d-fly.h3 { left: calc((var(--h3) - var(--hw) * .6) * var(--u)); }
.d-hang { position: relative; transform-origin: 60% 0; transform: rotate(-7deg); }
.d-fly.h2 .d-hang { transform: rotate(-4deg); }
.d-fly.h3 .d-hang { transform: rotate(-6deg); }
.d-frame {
  display: block; padding: calc((var(--hw) * .08) * var(--u)) calc((var(--hw) * .08) * var(--u)) calc((var(--hw) * .28) * var(--u));
  border-radius: calc((var(--hw) * .06) * var(--u)); background: #FFFFFF;
  box-shadow: 0 calc(8 * var(--u)) calc(14 * var(--u)) rgba(0, 66, 78, .26);
}
.d-frame .d-thumb { height: calc((var(--hw) * .82) * var(--u)); border-radius: calc(2 * var(--u)); }
.d-peg {
  position: absolute; z-index: 1; left: calc(60% - calc((var(--hw) * .045) * var(--u))); top: calc((var(--hw) * -.16) * var(--u));
  width: calc((var(--hw) * .09) * var(--u)); height: calc((var(--hw) * .28) * var(--u)); border-radius: calc((var(--hw) * .03) * var(--u));
  background: var(--scrubussi-rinse-deep); box-shadow: 0 0 0 calc((var(--hw) * .03) * var(--u)) var(--scrubussi-rinse);
}

/* ---------- Feature illustrations ---------- */

.feat-art, .step-art, .carries-art { container: fa / inline-size; position: relative; }
.mini { --u: calc(min(100cqw, var(--max, 520px)) / var(--W)); --p: calc(var(--u) * var(--ps, 1)); width: calc((var(--W)) * var(--u)); height: calc((var(--H)) * var(--u)); margin-inline: auto; overflow: hidden; }
.m-phone { transition: translate .5s cubic-bezier(0.25, 0.8, 0.25, 1); }

/* Share sheet: the middle of a phone, the sheet over a photo. */
.m-share { --W: 400; --H: 300; --max: 470px; --px: 50; --py: -280.75; --pw: 300; --bz: 10; --ps: .7125; }
.sh-behind { inset: 0; background: var(--scrubussi-rinse); }
.sh-behind::after { content: ""; position: absolute; inset: 0; background: rgba(12, 29, 34, .28); }
.sh-sheet { left: 0; right: 0; top: calc(436 * var(--p)); bottom: 0; border-radius: calc(38 * var(--p)) calc(38 * var(--p)) 0 0; background: var(--d-sheet); }
.sh-sheet > * { position: absolute; }
.sh-head { left: calc(20 * var(--p)); right: calc(20 * var(--p)); top: calc(18 * var(--p)); height: calc(48 * var(--p)); }
.sh-head > * { position: absolute; }
.sh-stack { left: 0; top: calc(2 * var(--p)); width: calc(48 * var(--p)); height: calc(44 * var(--p)); }
.sh-stack .d-thumb { position: absolute; width: calc(38 * var(--p)); height: calc(38 * var(--p)); border-radius: calc(8 * var(--p)); border: calc(1.5 * var(--p)) solid var(--d-sheet); }
.sh-stack .d-thumb:nth-child(1) { left: 0; top: calc(4 * var(--p)); rotate: -8deg; }
.sh-stack .d-thumb:nth-child(2) { left: calc(5 * var(--p)); top: calc(3 * var(--p)); rotate: 5deg; }
.sh-stack .d-thumb:nth-child(3) { left: calc(8 * var(--p)); top: calc(4 * var(--p)); }
.sh-title { left: calc(62 * var(--p)); top: calc(2 * var(--p)); font-weight: 600; font-size: calc(15 * var(--p)); line-height: calc(20 * var(--p)); }
.sh-opt { left: calc(62 * var(--p)); top: calc(23 * var(--p)); font-size: calc(13 * var(--p)); line-height: calc(18 * var(--p)); color: var(--s-accent-text); }
.sh-opt::after { content: " \203A"; }
.sh-x { right: 0; top: calc(6 * var(--p)); width: calc(30 * var(--p)); height: calc(30 * var(--p)); border-radius: 50%; background: rgba(120, 140, 145, .2); }
.sh-x::before, .sh-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(11 * var(--p)); height: calc(2 * var(--p)); margin: calc(-1 * var(--p)) 0 0 calc(-5.5 * var(--p)); border-radius: calc(1 * var(--p)); background: var(--s-text-secondary); rotate: 45deg; }
.sh-x::after { rotate: -45deg; }
.sh-apps { left: calc(20 * var(--p)); top: calc(92 * var(--p)); display: flex; gap: calc(16 * var(--p)); }
.sh-app { display: grid; justify-items: center; gap: calc(7 * var(--p)); width: calc(64 * var(--p)); }
.sh-app img, .sh-app i { display: block; width: calc(60 * var(--p)); height: calc(60 * var(--p)); border-radius: calc(13.5 * var(--p)); }
.sh-app i { background: rgba(120, 140, 145, .2); }
.sh-app b { font-weight: 400; font-size: calc(11 * var(--p)); line-height: calc(13 * var(--p)); white-space: nowrap; }
.bar { display: block; height: calc(7 * var(--p)); width: calc(40 * var(--p)); border-radius: calc(4 * var(--p)); background: rgba(120, 140, 145, .28); margin-block: calc(3 * var(--p)); }
.sh-app.is-us img { box-shadow: 0 0 0 max(1px, calc(.5 * var(--p))) rgba(0, 0, 0, .06); transition: scale .35s cubic-bezier(0.3, 0.75, 0.1, 1); }
.sh-list { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(196 * var(--p)); border-radius: calc(14 * var(--p)); background: var(--s-background); }
.sh-list span { display: flex; align-items: center; height: calc(52 * var(--p)); padding-inline: calc(16 * var(--p)); }
.sh-list span + span { box-shadow: inset 0 max(1px, calc(.5 * var(--p))) 0 var(--s-border); }
.sh-list .w1 { width: calc(96 * var(--p)); } .sh-list .w2 { width: calc(140 * var(--p)); } .sh-list .w3 { width: calc(112 * var(--p)); }
.m-touch { left: calc(30 * var(--p)); top: calc(536 * var(--p)); width: calc(44 * var(--p)); height: calc(44 * var(--p)); border-radius: 50%; background: var(--d-touch); box-shadow: 0 0 0 calc(1.5 * var(--p)) rgba(255, 255, 255, .85); opacity: .9; }

/* Check only: a segmented control over the list, and the note that nothing changed. */
.m-check { --W: 400; --H: 282; --px: 50; --py: -55; --pw: 300; --bz: 10; --ps: .7125; }
.ck-thumb { left: calc(16 * var(--p)); top: calc(76 * var(--p)); width: calc(56 * var(--p)); height: calc(56 * var(--p)); border-radius: calc(12 * var(--p)); }
.ck-title { left: calc(84 * var(--p)); top: calc(80 * var(--p)); font-weight: 600; }
.ck-sub { left: calc(84 * var(--p)); top: calc(104 * var(--p)); font-size: calc(15 * var(--p)); color: var(--s-text-secondary); }
.ck-seg { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(148 * var(--p)); height: calc(36 * var(--p)); border-radius: calc(18 * var(--p)); background: var(--s-panel); display: grid; grid-template-columns: 1fr 1fr; padding: calc(2 * var(--p)); }
.ck-seg span { position: relative; z-index: 1; display: grid; place-items: center; font-size: calc(14 * var(--p)); font-weight: 500; color: var(--s-text-secondary); }
.ck-seg span.on { color: var(--s-text); font-weight: 600; }
.ck-knob { position: absolute; left: 50%; top: calc(2 * var(--p)); bottom: calc(2 * var(--p)); width: calc(50% - calc(2 * var(--p))); border-radius: calc(16 * var(--p)); background: var(--s-background); box-shadow: 0 calc(1 * var(--p)) calc(4 * var(--p)) rgba(12, 29, 34, .14); }
.ck-group { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(200 * var(--p)); border-radius: calc(24 * var(--p)); background: var(--s-panel); }
.ck-row { position: relative; display: flex; align-items: center; gap: calc(14 * var(--p)); height: calc(44 * var(--p)); padding-inline: calc(16 * var(--p)); white-space: nowrap; }
.ck-row + .ck-row::before { content: ""; position: absolute; left: calc(54 * var(--p)); right: 0; top: 0; height: max(1px, calc(.5 * var(--p))); background: var(--s-border); }
.ck-row em { margin-left: auto; font-style: normal; font-size: calc(15 * var(--p)); color: var(--s-text-secondary); }
.ck-note { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(392 * var(--p)); display: flex; align-items: center; gap: calc(8 * var(--p)); font-size: calc(15 * var(--p)); color: var(--s-text); }
.ck-note svg { width: calc(18 * var(--p)); height: calc(18 * var(--p)); flex: none; }
.ck-note circle { fill: var(--s-accent-text); }
.ck-note path { fill: none; stroke: var(--s-background); stroke-width: 1.8; stroke-linecap: round; }

/* Remove all metadata: a close-up of the switch and what it changes. */
.m-switch { --W: 400; --H: 311; --px: 24; --py: -86; --pw: 352; --bz: 9; --ps: .85; }
.sw-label { left: calc(32 * var(--p)); top: calc(124 * var(--p)); color: var(--s-text-secondary); font-size: calc(13 * var(--p)); }
.sw-group { left: calc(16 * var(--p)); right: calc(16 * var(--p)); top: calc(146 * var(--p)); border-radius: calc(24 * var(--p)); background: var(--s-panel); }
.sw-row { position: relative; display: flex; align-items: center; gap: calc(14 * var(--p)); height: calc(44 * var(--p)); padding-inline: calc(16 * var(--p)); white-space: nowrap; }
.sw-row + .sw-row::before { content: ""; position: absolute; left: calc(54 * var(--p)); right: 0; top: 0; height: max(1px, calc(.5 * var(--p))); background: var(--s-border); }
.sw-v { margin-left: auto; display: grid; justify-items: end; font-style: normal; font-size: calc(15 * var(--p)); }
.sw-v > span { grid-area: 1 / 1; }
.sw-kept { color: var(--s-text-secondary); opacity: 0; }
.sw-fixed { opacity: 1 !important; translate: none !important; animation: none !important; }
.sw-out { color: var(--s-accent-text); font-weight: 600; }
.sw-toggle { top: calc(338 * var(--p)); height: calc(48 * var(--p)); display: flex; align-items: center; justify-content: space-between; padding-inline: calc(16 * var(--p)) calc(10 * var(--p)); font-weight: 500; }
.sw-note { left: calc(32 * var(--p)); top: calc(394 * var(--p)); color: var(--s-text-secondary); font-size: calc(13 * var(--p)); }

/* Shortcuts: three actions, Scrubussi's in the middle. */
.m-shortcut { --W: 400; --H: 280; --max: 520px; --ps: 1; overflow: visible; font: 400 calc(15 * var(--u))/1.3 -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif; color: var(--s-text); }
.sc-card {
  position: absolute; left: calc(30 * var(--u)); right: calc(30 * var(--u));
  display: grid; grid-template-columns: calc(28 * var(--u)) minmax(0, 1fr); align-items: center; column-gap: calc(12 * var(--u));
  padding: calc(14 * var(--u)) calc(16 * var(--u)); border-radius: calc(16 * var(--u));
  background: var(--s-background); box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(12, 29, 34, .06), 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(12, 29, 34, .08);
  transition: translate .45s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sc-card:nth-child(1) { top: calc(20 * var(--u)); }
.sc-card:nth-child(2) { top: calc(90 * var(--u)); }
.sc-card:nth-child(3) { top: calc(210 * var(--u)); }
.sc-card b { font-weight: 500; color: var(--s-accent-text); background: var(--s-panel); border-radius: calc(6 * var(--u)); padding: calc(1 * var(--u)) calc(6 * var(--u)); }
.sc-card img { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(7 * var(--u)); }
.sc-ico { display: block; width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(7 * var(--u)); background: var(--scrubussi-slate); position: relative; }
.sc-ico::before, .sc-ico::after { content: ""; position: absolute; width: calc(12 * var(--u)); height: calc(10 * var(--u)); border-radius: calc(2 * var(--u)); border: calc(2 * var(--u)) solid #FFFFFF; }
.sc-ico::before { left: calc(6 * var(--u)); top: calc(9 * var(--u)); }
.sc-ico::after { left: calc(10 * var(--u)); top: calc(6 * var(--u)); border-left-color: transparent; border-bottom-color: transparent; }
.sc-param { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); padding-top: calc(12 * var(--u)); box-shadow: inset 0 1px 0 var(--s-border); color: var(--s-text-secondary); font-size: calc(14 * var(--u)); --p: calc(var(--u) * .78); }
.sc-card.is-us { box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(12, 29, 34, .06), 0 calc(14 * var(--u)) calc(32 * var(--u)) rgba(0, 120, 140, .16); }

/* Fifty photos, each checked as it comes into view. */
.m-batch { --W: 400; --H: 196; --max: 560px; overflow: visible; display: grid; grid-template-columns: repeat(10, 1fr); gap: calc(6 * var(--u)); }
.m-batch span {
  position: relative; aspect-ratio: 1; border-radius: calc(6 * var(--u));
  background: radial-gradient(circle at 70% 30%, #FFFFFF 0 13%, transparent 14%), linear-gradient(to top, var(--scrubussi-rinse-deep) 0 40%, var(--scrubussi-rinse) 40%);
}
.m-batch span:nth-child(3n+2) { background: radial-gradient(circle at 46% 58%, #F0874E 0 16%, transparent 17%), linear-gradient(to top, #B4563A 0 34%, #F7C9A3 34%); }
.m-batch span:nth-child(5n+3) { background: radial-gradient(circle at 26% 28%, #FFF1BF 0 12%, transparent 13%), linear-gradient(to top, #5E9449 0 44%, #CDE8EF 44%); }
.m-batch span:nth-child(7n+5) { background: radial-gradient(circle at 64% 34%, #E9F2F3 0 12%, transparent 13%), linear-gradient(to top, #2A4148 0 46%, #94ABB0 46%); }
.m-batch span::after {
  content: "\2713"; position: absolute; right: calc(-3 * var(--u)); bottom: calc(-3 * var(--u));
  width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: 50%;
  display: grid; place-items: center;
  font: 700 calc(9 * var(--u))/1 system-ui, sans-serif; color: #FFFFFF;
  background: var(--s-success); box-shadow: 0 0 0 calc(1.5 * var(--u)) var(--s-panel);
}


/* What a photo carries: a print with its hidden data called out. */
.m-carries { --W: 560; --H: 440; --max: 640px; overflow: visible; font-family: var(--s-font-body); }
.m-carries > * { position: absolute; }
.cr-print {
  left: calc(160 * var(--u)); top: calc(50 * var(--u)); width: calc(240 * var(--u)); height: calc(289 * var(--u));
  padding: calc(16 * var(--u)) calc(16 * var(--u)) 0; border-radius: calc(12 * var(--u));
  background: #FFFFFF;
  box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(12, 29, 34, .08), 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(12, 29, 34, .14);
  rotate: -2deg;
}
.cr-print .d-thumb { width: 100%; height: calc(208 * var(--u)); border-radius: calc(4 * var(--u)); }
.cr-leads { inset: 0; width: 100%; height: 100%; overflow: visible; }
.cr-leads path { fill: none; stroke: var(--s-text-secondary); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cr-leads circle { fill: var(--s-accent-text); stroke: #FFFFFF; stroke-width: 3; }
.cr-tag { width: calc(176 * var(--u)); display: grid; gap: calc(2 * var(--u)); font-size: max(12px, calc(15 * var(--u))); line-height: 1.3; color: var(--s-text-secondary); }
.cr-tag b { font-weight: 650; font-size: max(13px, calc(17 * var(--u))); color: var(--s-text); }
.cr-a, .cr-b { left: calc(-26 * var(--u)); text-align: right; padding-right: calc(10 * var(--u)); }
.cr-c, .cr-d { left: calc(410 * var(--u)); padding-left: calc(10 * var(--u)); }
.cr-a { top: calc(68 * var(--u)); } .cr-b { top: calc(348 * var(--u)); } .cr-c { top: calc(88 * var(--u)); } .cr-d { top: calc(368 * var(--u)); }

/* The three steps: a crop of the screen for each. */
.m-step { --W: 320; --H: 165; --max: 420px; --px: 20; --pw: 280; --bz: 10; --ps: .6616; }
.m-step1 { --py: -56.3; }
.m-step2 { --py: -195.2; }
.m-step3 { --py: -301; }
.m-step .m-screen > * { position: absolute; }
.m-step .d-thumb .sel {
  position: absolute; right: calc(6 * var(--p)); bottom: calc(6 * var(--p)); z-index: 1;
  width: calc(24 * var(--p)); height: calc(24 * var(--p)); border-radius: 50%;
  background: var(--s-button); box-shadow: 0 0 0 calc(2 * var(--p)) #FFFFFF;
}
.m-step .d-thumb .sel::after {
  content: ""; position: absolute; left: 32%; top: 22%; width: 26%; height: 44%;
  border: solid var(--s-on-button); border-width: 0 calc(2.5 * var(--p)) calc(2.5 * var(--p)) 0; rotate: 45deg;
}
.m-step3 .d-toggle { top: calc(496 * var(--p)); }
.m-step3 .d-note { top: calc(548 * var(--p)); }
.m-step3 .d-result { top: calc(580 * var(--p)); }

/* The switch in "What comes out". */
.m-rswitch {
  --p: 1px; width: auto; height: auto; overflow: visible;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 22px;
  background: var(--s-panel); color: var(--s-text);
  font: 500 15px/1.3 -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
}

/* ---------- Motion for the feature pictures ---------- */
@media (prefers-reduced-motion: no-preference) {
  .feat:hover .m-phone { translate: 0 calc(-6 * var(--u)); }
  .feat-share:hover .sh-app.is-us img { scale: 1.06; }
  .feat-shortcut:hover .sc-card.is-us { translate: 0 calc(-4 * var(--u)); }

  @supports (animation-timeline: view()) {
    /* The switch turns on as the picture scrolls in, and what it covers changes with it. */
    .m-switch .d-switch, .m-switch .d-switch::after, .sw-kept, .sw-out { animation: linear both; animation-timeline: --sw; animation-range: entry 70% cover 50%; }
    .m-switch { view-timeline: --sw block; }
    .m-switch .d-switch { animation-name: sw-track; }
    .m-switch .d-switch::after { animation-name: sw-knob; }
    .sw-kept { animation-name: sw-kept; }
    .sw-out { animation-name: sw-out; }
    /* The fifty checks arrive in a wave, row by row. */
    .m-batch span::after { animation: batch-check linear both; animation-timeline: view(); animation-range: entry 80% cover 45%; }
    .m-batch span:nth-child(10n+2)::after, .m-batch span:nth-child(10n+3)::after { animation-range: entry 85% cover 48%; }
    .m-batch span:nth-child(10n+4)::after, .m-batch span:nth-child(10n+5)::after { animation-range: entry 90% cover 51%; }
    .m-batch span:nth-child(10n+6)::after, .m-batch span:nth-child(10n+7)::after { animation-range: entry 95% cover 54%; }
    .m-batch span:nth-child(10n+8)::after, .m-batch span:nth-child(10n+9)::after, .m-batch span:nth-child(10n)::after { animation-range: entry 100% cover 57%; }
  }
}
@keyframes sw-track { 0%, 55% { background-color: var(--s-border); } 75%, 100% { background-color: var(--s-button); } }
@keyframes sw-knob { 0%, 50% { translate: 0 0; } 80%, 100% { translate: calc(22 * var(--p)) 0; } }
@keyframes sw-kept { 0%, 62% { opacity: 1; translate: 0 0; } 82%, 100% { opacity: 0; translate: 0 calc(-10 * var(--p)); } }
@keyframes sw-out { 0%, 68% { opacity: 0; translate: 0 calc(10 * var(--p)); } 90%, 100% { opacity: 1; translate: 0 0; } }
@keyframes batch-check { 0%, 30% { opacity: 0; scale: .4; } 100% { opacity: 1; scale: 1; } }

/* ---------- The hero, once on load: the prints drop onto the line one after
   another and swing still, then what came out of them is listed. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .poster .d-fly { animation: p-drop .95s cubic-bezier(0.45, 0, 0.1, 1) both; }
  .poster .d-hang { animation: p-swing 1.3s cubic-bezier(0.45, 0, 0.1, 1) both; }
  .poster .h1 { animation-delay: .15s; } .poster .h1 .d-hang { animation-delay: 1.05s; }
  .poster .h2 { animation-delay: .4s; }  .poster .h2 .d-hang { animation-delay: 1.3s; }
  .poster .h3 { animation-delay: .65s; } .poster .h3 .d-hang { animation-delay: 1.55s; }
  .p-saved { animation: p-chip .6s cubic-bezier(0.25, 0.8, 0.25, 1) 1.9s both; }
  .p-chips li { animation: p-chip .6s cubic-bezier(0.25, 0.8, 0.25, 1) both; }
  .p-chips li:nth-child(1) { animation-delay: 1.5s; } .p-chips li:nth-child(2) { animation-delay: 1.58s; }
  .p-chips li:nth-child(3) { animation-delay: 1.66s; } .p-chips li:nth-child(4) { animation-delay: 1.74s; }
  .hero-art:hover .d-hang { animation: p-swing 1.3s cubic-bezier(0.45, 0, 0.1, 1); }
}
@keyframes p-drop { from { translate: 0 calc(-360 * var(--u)); rotate: 6deg; } to { translate: 0 0; rotate: 0deg; } }
@keyframes p-swing { 0% { rotate: 0deg; } 22% { rotate: 3deg; } 48% { rotate: -1.6deg; } 74% { rotate: .6deg; } 100% { rotate: 0deg; } }
@keyframes p-chip { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
