/* Pricing, screen 2, use it up. The frame is drawn at 1440 x 820 and --u is one design px
   of it: the copy on the logo's left line, the day's page lower on the left, the month's
   notes higher on the right inside a lilac circle. Each drawing is 600 wide, its caption
   centred 34 under its ground. */
.pu-frame { position: relative; width: calc(1440 * var(--u)); height: calc(820 * var(--u)); margin: 0 auto; overflow: hidden; }
.pu-circle { position: absolute; left: calc(720 * var(--u)); top: calc(60 * var(--u)); width: calc(680 * var(--u)); aspect-ratio: 1; border-radius: 50%; background: var(--lilac); }
.pu-copy { position: absolute; left: var(--m); top: calc(110 * var(--u)); }
.pu-h { font-size: calc(88 * var(--u)); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.pu-mid { margin-top: calc(24 * var(--u)); font-size: max(17px, calc(24 * var(--u))); line-height: 1.35; color: var(--body); }
.pu-fig { position: absolute; width: calc(600 * var(--u)); text-align: center; }
.pu-day { left: var(--m); top: calc(340 * var(--u)); }
.pu-month { right: var(--m); top: calc(220 * var(--u)); }
.pu-art { width: 100%; height: auto; overflow: visible; }
.pu-fig figcaption { margin-top: calc(34 * var(--u)); }
.pu-cap { display: block; font-size: max(24px, calc(36 * var(--u))); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.pu-sub { display: block; margin-top: calc(12 * var(--u)); font-size: max(16px, calc(19 * var(--u))); line-height: 1.45; color: var(--body); }

@media (max-width: 1023.98px) {
  .pu-frame { width: auto; height: auto; padding: 64px var(--m) 72px; }
  .pu-circle { display: none; }
  .pu-copy, .pu-fig { position: static; width: auto; }
  .pu-h { font-size: var(--fs-l); }
  .pu-mid { margin-top: 14px; font-size: 18px; }
  .pu-fig { margin-top: 48px; }
  .pu-month { padding: 28px 20px 24px; border-radius: 28px; background: var(--lilac); }
  .pu-fig figcaption { margin-top: 20px; }
  .pu-cap { font-size: 26px; }
  .pu-sub { margin-top: 8px; font-size: 16px; }
}

/* ---------------------------------------------------------------- motion
   As the drawings come into view (js/pages/pricing/useItUp.js sets .is-in): the dots light
   one after another, mist to sky, then the three notes rise in, 0.28 s apart. The final
   frame (no motion) is every dot lit and every note in. */
.motion .pr-use:not(.is-in) .pu-dot { fill: var(--mist); }
.motion .pr-use.is-in .pu-dot { animation: pu-dot 0.16s ease calc(0.1s + var(--i) * 11ms) both; }
@keyframes pu-dot { from { fill: var(--mist); } to { fill: var(--sky); } }
.motion .pr-use:not(.is-in) .pu-note { opacity: 0; }
.motion .pr-use.is-in .pu-note { animation: pu-note 0.26s cubic-bezier(0.33, 1, 0.68, 1) calc(1s + var(--i) * 0.28s) both; }
@keyframes pu-note { from { opacity: 0; translate: 0 24px; } }
