/* =========================================================================
   The paywall: what a preview reader meets when they reach for the second
   line. A liquid-glass sheet in the sign-up quiz's register -- lit rim, one
   sheen pass, the site's glow drifting behind -- with Apple's own controls
   inside (close disc, segmented control, inset grouped list) and one ink
   button. The motion is a promo film's: the finished preview line steps
   forward with a drawn tick, the next line slides in behind it under a
   padlock and a scan of light, the headline arrives word by word out of a
   blur, the price rolls on an odometer, and the ticks draw in one by one.
   Hovering the button lifts the padlock's shackle. js/paywall.js drives it.
   ========================================================================= */

.pw-scrim {
  --pw-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pw-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pw-sheet: color-mix(in srgb, var(--paper) 76%, transparent);
  --pw-rim-a: rgba(255, 255, 255, 0.95);
  --pw-rim-b: rgba(255, 255, 255, 0.18);
  --pw-group: color-mix(in srgb, var(--paper-raised) 72%, transparent);
  --pw-group-edge: rgba(20, 20, 26, 0.07);
  --pw-control: rgba(20, 20, 26, 0.06);
  --pw-thumb: #fff;
  --pw-card: rgba(255, 255, 255, 0.82);
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: min(27.5rem, 100%);
  justify-content: center;
  align-content: center;
  padding: 1rem;
  background: rgba(12, 12, 16, 0.34);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity 0.42s var(--pw-ease);
  font-family: var(--sans);
  color: var(--ink);
}
[data-theme="dark"] .pw-scrim {
  --pw-sheet: color-mix(in srgb, #1b1b20 72%, transparent);
  --pw-rim-a: rgba(255, 255, 255, 0.34);
  --pw-rim-b: rgba(255, 255, 255, 0.05);
  --pw-group: rgba(255, 255, 255, 0.055);
  --pw-group-edge: rgba(255, 255, 255, 0.07);
  --pw-control: rgba(255, 255, 255, 0.08);
  --pw-thumb: #5b5b63;
  --pw-card: rgba(44, 44, 50, 0.86);
  background: rgba(0, 0, 0, 0.52);
}
.pw-scrim.is-open { opacity: 1; }
.pw-scrim.is-closing { opacity: 0; transition-duration: 0.3s; }

.pw-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pw-ambient i {
  position: absolute;
  width: 46vmax; height: 46vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
  filter: blur(10px);
}
.pw-ambient i:nth-child(1) { left: 6%; top: -16%; }
.pw-ambient i:nth-child(2) { right: -8%; bottom: -20%; background: radial-gradient(closest-side, var(--glow-b), transparent); }
.pw-ambient i:nth-child(3) { left: 40%; top: 40%; width: 28vmax; height: 28vmax; opacity: 0.6; }

/* ------------------------------------------------------------------ sheet */

.pw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 0.75rem 1.5rem 1.25rem;
  border-radius: 30px;
  background: var(--pw-sheet);
  -webkit-backdrop-filter: blur(44px) saturate(190%);
  backdrop-filter: blur(44px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(10, 10, 14, 0.06),
    0 40px 110px -36px rgba(10, 10, 14, 0.6);
  isolation: isolate;
  scrollbar-width: none;
  transform: translateY(34px) scale(0.955);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.8s var(--pw-ease), opacity 0.45s var(--pw-ease), filter 0.6s var(--pw-ease);
}
.pw-card::-webkit-scrollbar { display: none; }
/* On a short screen the sheet scrolls; its rows never squeeze. */
.pw-card > * { flex-shrink: 0; }
.pw-scrim.is-open .pw-card { transform: none; opacity: 1; filter: none; }
.pw-scrim.is-closing .pw-card { transform: translateY(24px) scale(0.97); opacity: 0; transition-duration: 0.3s; }
[data-theme="dark"] .pw-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 50px 120px -30px rgba(0, 0, 0, 0.9); }

/* The rim, lit top-left and bottom-right, and one pass of light. */
.pw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--pw-rim-a), var(--pw-rim-b) 34%, var(--pw-rim-b) 64%, var(--pw-rim-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}
.pw-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.34) 50%, transparent 62%) 130% 0 / 260% 100%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}
[data-theme="dark"] .pw-card::after { background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.08) 50%, transparent 62%); }

.pw-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--pw-control);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, transform 0.3s var(--pw-ease);
}
.pw-close:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); }
.pw-close:active { transform: scale(0.9); }
.pw-close svg { width: 12px; height: 12px; }

/* ------------------------------------------------------------------- hero */

.pw-hero {
  position: relative;
  height: 196px;
  margin: 0 -0.75rem 1.1rem;
  border-radius: 22px;
  overflow: hidden;
  perspective: 900px;
  isolation: isolate;
}
/* The course's own cover, blurred into a field of light behind the stack. */
.pw-backdrop {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center 30%;
  filter: blur(28px) saturate(150%);
  opacity: 0;
  transform: scale(1.18);
  z-index: -2;
}
.pw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 80% at 50% 110%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--paper) 20%, transparent));
}
/* A hairline grid that draws itself in, the way promo films lay a stage. */
.pw-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.10) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 1px, transparent 1px) 0 0 / 28px 28px;
  -webkit-mask: radial-gradient(60% 70% at 50% 55%, #000, transparent 75%);
  mask: radial-gradient(60% 70% at 50% 55%, #000, transparent 75%);
  opacity: 0;
}

.pw-stack {
  position: absolute;
  left: 50%; top: calc(50% - 23px);
  width: min(300px, 82%);
  transform: translateX(-50%);
  transform-style: preserve-3d;
}
.pw-line {
  position: absolute;
  left: 0; right: 0;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  height: 60px;
  padding: 0 0.95rem 0 0.8rem;
  border-radius: 16px;
  background: var(--pw-card);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 18px 40px -18px rgba(10, 10, 14, 0.5);
  opacity: 0;
  overflow: hidden;
}
[data-theme="dark"] .pw-line { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 18px 40px -18px rgba(0, 0, 0, 0.8); }
.pw-line > span:nth-child(2) { min-width: 0; }
.pw-line small {
  display: block;
  font: 600 0.66rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}
.pw-line b {
  display: block;
  overflow: hidden;
  font: 600 0.84rem/1.3 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pw-line .pw-tag {
  font: 600 0.66rem/1 var(--sans);
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 13%, transparent);
}
.pw-line .pw-tag--lock { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* Resting places: the locked next line in front, the finished preview line
   stepped back below it, and a ghost of the lines after peeking above. */
.pw-line--ghost { top: -52px; transform: translate3d(0, 0, -80px) scale(0.88); }
.pw-line--next  { top: -30px; transform: translate3d(0, 0, 0); }
.pw-line--done  { top: 38px;  transform: translate3d(0, 0, -40px) scale(0.94); }

.pw-badge {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
}
.pw-line--done .pw-badge { background: var(--ok); color: #fff; }
.pw-line--next .pw-badge { background: var(--ink); color: var(--paper); }
.pw-badge svg { width: 16px; height: 16px; overflow: visible; }
.pw-tick path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.pw-shackle { transform-box: fill-box; transform-origin: 100% 100%; transition: transform 0.5s var(--pw-spring); }
.pw-card:has(.pw-cta:hover) .pw-shackle,
.pw-card:has(.pw-cta:focus-visible) .pw-shackle { transform: translateY(-3px) rotate(-28deg); }

/* The scan: a band of light that crosses the locked line. */
.pw-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--accent) 34%, transparent) 50%, transparent 70%) 160% 0 / 250% 100%;
  pointer-events: none;
}

/* Sparks round the padlock, the promo-film full stop. */
.pw-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.pw-sparks i {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px color-mix(in srgb, var(--accent) 60%, transparent);
  opacity: 0;
}

/* ------------------------------------------------------------------- copy */

.pw-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font: 600 0.8rem/1.2 var(--sans);
  color: var(--accent);
}
.pw-eyebrow i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
}
.pw-title {
  margin: 0.45rem auto 0;
  max-width: 19ch;
  text-align: center;
  font: 700 clamp(1.55rem, 4.6vw, 1.85rem)/1.1 var(--display);
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.pw-title .w { display: inline-block; white-space: pre; }
.pw-sub {
  margin: 0.6rem auto 0;
  max-width: 32ch;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ----------------------------------------------------- segmented control */

.pw-seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.15rem auto 0;
  width: min(100%, 18rem);
  padding: 2px;
  border-radius: 10px;
  background: var(--pw-control);
  isolation: isolate;
}
.pw-seg-thumb {
  position: absolute;
  top: 2px; bottom: 2px; left: 2px;
  width: calc((100% - 4px) / 2);
  border-radius: 8px;
  background: var(--pw-thumb);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
  transform: translateX(calc(var(--i, 1) * 100%));
  transition: transform 0.5s var(--pw-spring);
  z-index: 0;
}
.pw-seg button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 32px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 500 0.85rem/1 var(--sans);
  cursor: pointer;
  transition: color 0.25s;
}
.pw-seg button[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.pw-seg button:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: -2px; border-radius: 8px; }
.pw-save {
  font: 700 0.62rem/1 var(--sans);
  padding: 0.22rem 0.36rem;
  border-radius: 5px;
  color: #fff;
  background: var(--accent);
  transition: transform 0.45s var(--pw-spring), opacity 0.3s;
}
.pw-seg[data-cycle="monthly"] .pw-save { transform: scale(0.8); opacity: 0.55; }

/* ------------------------------------------------------------------ price */

.pw-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
}
.pw-amount {
  display: inline-flex;
  font: 700 2.5rem/1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.pw-amount .ch { display: inline-block; height: 1em; overflow: hidden; }
.pw-amount .col {
  display: flex;
  flex-direction: column;
  transition: transform 0.9s var(--pw-ease);
}
.pw-amount .col span { height: 1em; line-height: 1; }
.pw-per { font-size: 0.95rem; color: var(--ink-soft); }
.pw-note {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* --------------------------------------------------------- inset grouped */

.pw-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-radius: 14px;
  background: var(--pw-group);
  box-shadow: inset 0 0 0 0.5px var(--pw-group-edge);
  overflow: hidden;
}
.pw-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.66rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.35;
}
.pw-list li + li::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 3.1rem;
  height: 0.5px;
  background: var(--pw-group-edge);
}
.pw-list svg { width: 22px; height: 22px; overflow: visible; }
.pw-list circle { fill: color-mix(in srgb, var(--accent) 15%, transparent); transform-origin: center; transform-box: fill-box; }
.pw-list path { stroke: var(--accent); stroke-dasharray: 16; stroke-dashoffset: 16; }

/* ---------------------------------------------------------------- actions */

.pw-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  margin-top: 1.1rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font: 600 0.98rem/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--ink) 70%, transparent);
  transition: transform 0.35s var(--pw-ease), box-shadow 0.35s var(--pw-ease);
}
.pw-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--ink) 75%, transparent); }
.pw-cta:active { transform: scale(0.975); }
.pw-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pw-cta svg { width: 16px; height: 16px; transition: transform 0.35s var(--pw-ease); }
.pw-cta:hover svg { transform: translateX(3px); }
/* The sheen that crosses the button now and then, as on a promo end card. */
.pw-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%) 150% 0 / 250% 100%;
  pointer-events: none;
}
[data-theme="dark"] .pw-cta::after { background-image: linear-gradient(105deg, transparent 35%, rgba(0, 0, 0, 0.12) 50%, transparent 65%); }

.pw-later {
  align-self: center;
  margin-top: 0.55rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 500 0.88rem/1 var(--sans);
  cursor: pointer;
  border-radius: 8px;
}
.pw-later:hover { color: var(--ink); }
.pw-fine { margin: 0.15rem 0 0; text-align: center; font-size: 0.72rem; color: var(--ink-faint); }

/* ---------------------------------------------------------- choreography */

/* Everything below the hero rises out of a blur on a stagger; --d is set per
   element. The keyframes only run once the sheet is open, and the reduced-
   motion block at the end shows the final frame at once. */
.pw-in { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.pw-scrim.is-open .pw-in { animation: pwRise 0.8s var(--d, 0s) var(--pw-ease) both; }
@keyframes pwRise { to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: no-preference) {
  .pw-ambient i:nth-child(1) { animation: pwDrift 19s ease-in-out infinite alternate; }
  .pw-ambient i:nth-child(2) { animation: pwDrift 23s ease-in-out -6s infinite alternate-reverse; }
  .pw-ambient i:nth-child(3) { animation: pwDrift 17s ease-in-out -3s infinite alternate; }

  .pw-scrim.is-open .pw-card::after { animation: pwSheen 1.5s 0.3s var(--pw-ease) both; }

  .pw-scrim.is-open .pw-backdrop { animation: pwBackdrop 1.4s 0.15s var(--pw-ease) both; }
  .pw-scrim.is-open .pw-grid { animation: pwGrid 1.6s 0.25s var(--pw-ease) both; }

  .pw-scrim.is-open .pw-line--done  { animation: pwDone 1.9s 0.3s var(--pw-ease) both; }
  .pw-scrim.is-open .pw-line--done .pw-tick path { animation: pwDraw 0.5s 0.72s var(--pw-ease) both; }
  .pw-scrim.is-open .pw-line--done .pw-badge { animation: pwPop 0.55s 0.66s var(--pw-spring) both; }
  .pw-scrim.is-open .pw-line--ghost { animation: pwGhost 1s 1.5s var(--pw-ease) both; }
  /* The finished line takes a bow and steps back; the next line rises from
     behind it into the front, the light crosses it and the lock knocks once. */
  .pw-scrim.is-open .pw-line--next  { animation: pwNext 1.1s 1.2s var(--pw-ease) both; }
  .pw-scrim.is-open .pw-line--next .pw-scan { animation: pwScan 1.3s 1.75s var(--pw-ease) both; }
  .pw-scrim.is-open .pw-line--next .pw-badge { animation: pwKnock 0.7s 2.0s var(--pw-spring) both; }
  .pw-scrim.is-open .pw-sparks i { animation: pwSpark 1s var(--sd, 2s) var(--pw-ease) both; }

  .pw-scrim.is-open .pw-eyebrow i { animation: pwPing 2.4s 1.2s ease-out infinite; }
  .pw-scrim.is-open .pw-title .w { animation: pwWord 0.75s var(--d, 0s) var(--pw-ease) both; }

  .pw-scrim.is-open .pw-list circle { animation: pwPop 0.5s var(--d, 0s) var(--pw-spring) both; }
  .pw-scrim.is-open .pw-list path { animation: pwDraw 0.45s calc(var(--d, 0s) + 0.12s) var(--pw-ease) both; }

  .pw-scrim.is-open .pw-cta::after { animation: pwCtaSheen 4.5s 2s ease-in-out infinite; }
}

@keyframes pwDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
@keyframes pwSheen { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@keyframes pwBackdrop { from { opacity: 0; transform: scale(1.35); } to { opacity: 0.85; transform: scale(1.18); } }
@keyframes pwGrid { from { opacity: 0; background-position: 0 14px, 14px 0; } to { opacity: 1; background-position: 0 0, 0 0; } }
@keyframes pwDone {
  0%   { opacity: 0; transform: translate3d(0, -20px, 40px) rotateX(-28deg); filter: blur(6px); }
  28%  { opacity: 1; transform: translate3d(0, -50px, 0); filter: none; }
  50%  { opacity: 1; transform: translate3d(0, -50px, 0); }
  100% { opacity: 0.78; transform: translate3d(0, 0, -40px) scale(0.94); }
}
@keyframes pwGhost {
  from { opacity: 0; transform: translate3d(0, 14px, -140px) scale(0.8); }
  to   { opacity: 0.42; transform: translate3d(0, 0, -80px) scale(0.88); }
}
@keyframes pwNext {
  0%   { opacity: 0; transform: translate3d(0, 34px, -120px) scale(0.86); }
  60%  { opacity: 1; transform: translate3d(0, -5px, 10px) scale(1.02); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes pwScan { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes pwKnock {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg) scale(1.08); }
  55% { transform: rotate(8deg); }
  80% { transform: rotate(-3deg); }
}
@keyframes pwSpark {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.2); }
}
@keyframes pwDraw { to { stroke-dashoffset: 0; } }
@keyframes pwPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pwPing {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}
@keyframes pwWord {
  from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes pwCtaSheen {
  0%, 62% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-card, .pw-in, .pw-title .w { transition: none; animation: none; opacity: 1; transform: none; filter: none; }
  .pw-backdrop { opacity: 0.85; }
  .pw-grid { opacity: 1; }
  .pw-line--next { opacity: 1; }
  .pw-line--done { opacity: 0.78; }
  .pw-line--ghost { opacity: 0.42; }
  .pw-tick path, .pw-list path { stroke-dashoffset: 0; }
  .pw-amount .col { transition: none; }
}

@media (max-width: 480px) {
  .pw-scrim { align-content: end; padding: 0; }
  .pw-card { border-radius: 28px 28px 0 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
  .pw-hero { height: 158px; margin-bottom: 0.9rem; }
}

/* A line the plan does not reach still answers a click: it opens the paywall. */
.line-row[data-store-locked] { cursor: pointer; }
