/* ---------- Parking Availability ---------- */

#screen-parking-availability {
  background: #1e1e1e;
  overflow: hidden;
}

.pa-bg {
  position: absolute;
  left: 50%;
  top: -58px;
  transform: translateX(-50%);
  width: 1220px;
  height: 826px;
  object-fit: cover;
  border-radius: 12px;
}

/* The actual Figma technique (confirmed via plugin export): a large solid
   ellipse, heavily blurred with `filter: blur()` — not a CSS gradient.
   The blur itself is what produces the soft fade-out. */
.pa-glow-ellipse {
  position: absolute;
  left: -195px;
  top: 154px;
  width: 998px;
  height: 858px;
  border-radius: 50%;
  background: #0a2429;
  opacity: 0.93;
  filter: blur(115px);
  pointer-events: none;
}

.pa-content {
  position: absolute;
  left: 60px;
  top: 302px;
  width: 678px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pa-headline-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.tag-pill {
  background: rgba(90, 193, 216, 0.1);
  color: #5ac1d8;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 6px;
}

.pa-headline {
  font-family: "Lato", sans-serif;
  font-size: 32px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.32px;
  margin: 0;
  white-space: nowrap;
}

.pa-headline.weight-light {
  font-weight: 300;
}

.pa-headline.weight-bold {
  font-weight: 700;
}

.pa-body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.2px;
  margin: 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Step 1: Invite your family ---------- */

#screen-family-step1 {
  background: #000;
  overflow: hidden;
}

/* Background glow — the actual Figma layers exported as images (a CSS
   outline+blur reconstruction looked subtly wrong: the real shape is an
   organic wavy vector path, not a rotated rounded-rectangle outline).
   Bottom-aligned to the 710-tall stage, matches how Figma composites it. */
.step1-glow-vector {
  position: absolute;
  left: 0;
  top: 172px;
  width: 1220px;
  height: 538px;
  pointer-events: none;
}

.step1-glow-ellipse {
  position: absolute;
  width: 784px;
  height: 549px;
  left: -270px;
  top: -209px;
  pointer-events: none;
}

.step1-text {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 509px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.step-label {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(110deg, var(--gradient-a) 4%, var(--gradient-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step1-headline {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  color: #fcfcfc;
  margin: 0;
}

.step1-body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

.step1-phone {
  position: absolute;
  left: 705px;
  top: 136px;
  width: 366px;
  pointer-events: none;
}

/* Persistent, never-cloned card elements — checking a member just
   translates its card to the docked position (full size, no shrink/fade,
   per the reference: a checked card relocates into the phone's list
   looking exactly like it did floating). Compositor-only transform, same
   discipline as the carousel's fan. */
.member-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0;
  /* --enter-x: the "slide in one by one" entrance offset, staggered per
     card by JS (see family-step1.js's playEntrance()) toggling .is-entered
     with a delay per index. --dx/--dy: the existing dock/undock move.
     Both fold into one transform so they share one transition — a second
     `transition` declaration on another rule would silently replace this
     one instead of adding to it. */
  transform: translate(calc(var(--dx, 0px) + var(--enter-x, 26px)), var(--dy, 0px));
  transition: transform 500ms cubic-bezier(0.22, 0.8, 0.2, 1), opacity 420ms ease-out;
}

.member-card.is-entered {
  opacity: 1;
  --enter-x: 0px;
}

/* Shared by Step 1's member-card and Step 2's permission-row. Starts
   off-position/invisible and flies in from the side a bit after its row,
   staggered per-item by each screen's own JS (mirrors .member-card above). */
.checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid #808080;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #090909;
  opacity: 0;
  transform: translateX(var(--checkbox-enter-x, -18px));
  transition: background 200ms ease, border-color 200ms ease, opacity 320ms ease-out,
    transform 380ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.checkbox.is-entered {
  opacity: 1;
  --checkbox-enter-x: 0px;
}

.checkbox svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  transition: opacity 200ms ease;
}

/* Generic: any container with .is-checked (member-card, permission-row, ...)
   fills its own .checkbox the same way. */
.is-checked .checkbox {
  background: var(--gradient-a);
  border-color: var(--gradient-a);
}

.is-checked .checkbox svg {
  opacity: 1;
}

.member-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.member-name {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fcfcfc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.member-relation {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
}

.member-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

#screen-family-step1 .pagination {
  position: absolute;
  left: 72px;
  top: 612px;
}

/* ---------- Step 2: Select permissions ---------- */

#screen-family-step2 {
  background: #000;
  overflow: hidden;
}

/* Same background language as step1 (real Figma image, not CSS) but the
   ring's exact shape/crop differs per the Figma node for 2A-2C — here it
   fills the full stage. */
.step2-glow-vector {
  position: absolute;
  left: 0;
  top: 0;
  width: 1220px;
  height: 710px;
  pointer-events: none;
}

.step2-phone {
  position: absolute;
  left: 688px;
  top: 112px;
  width: 366px;
  pointer-events: none;
}

.permissions-panel {
  position: absolute;
  left: 648px;
  top: 426px;
  width: 445px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 46px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.permission-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 380ms ease-out, transform 380ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.permission-row.is-entered {
  opacity: 1;
  transform: translateX(0);
}

.permission-row .checkbox {
  width: 22px;
  height: 22px;
}

.permission-label {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.19px;
  color: #fcfcfc;
  white-space: nowrap;
  text-align: left;
}

/* Wallet card — revealed by sliding 300px left into view (rest position is
   fully off the right edge). Exact Figma values; the card itself is CSS
   gradient + text, not an image. */
.wallet-card-slot {
  position: absolute;
  bottom: 211.58px;
  right: -380.45px;
  width: 297.91px;
  height: 221.42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(0);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.wallet-card-slot.is-visible {
  transform: translateX(-300px);
}

.wallet-card {
  position: relative;
  width: 266px;
  height: 142px;
  border-radius: 12px;
  transform: rotate(19.03deg);
  background: linear-gradient(92deg, var(--gradient-a) 4%, var(--gradient-b) 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* A soft diagonal sheen standing in for Figma's separate highlight asset */
.wallet-card::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.25) 52%, transparent 64%);
  pointer-events: none;
}

.wallet-amount {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 25px;
  color: #fcfcfc;
  margin: 0;
}

.wallet-label {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.13px;
  color: #fcfcfc;
  margin: 0;
}

/* Car — same reveal technique as the wallet card. */
.car-visual {
  position: absolute;
  top: 435px;
  right: -414px;
  width: 301px;
  transform: translateX(0);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.car-visual.is-visible {
  transform: translateX(-300px);
}

/* Fines / parking-notifications — no Figma precedent for these two (only
   wallet+car appear in the 2A-2C frames); positioned bottom-left of the
   phone per explicit instruction, using open-source (Twemoji, CC-BY 4.0)
   icons. Same bouncy "bump into the phone" reveal as the Figma assets. */
.perm-badge {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(70px) scale(0.5);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 400ms ease;
  pointer-events: none;
}

.perm-badge img {
  width: 40px;
  height: 40px;
}

.perm-badge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.perm-badge--fines {
  left: 556px;
  top: 580px;
}

.perm-badge--notifications {
  left: 500px;
  top: 496px;
}

#screen-family-step2 .pagination {
  position: absolute;
  left: 72px;
  top: 612px;
}

/* ---------- Step 3: Join the family ---------- */

#screen-family-step3 {
  background: #000;
  overflow: hidden;
}

.step3-glow-vector {
  position: absolute;
  left: 0;
  top: 124px;
  width: 1220px;
  height: 586px;
  pointer-events: none;
}

.step3-phone {
  position: absolute;
  left: 731px;
  top: 118px;
  width: 366px;
  pointer-events: none;
}

/* Wallet row: always an HTML overlay drawn on top of the baked screenshot
   (never the baked pixels themselves), so it can show either state. */
.wallet-overlay {
  position: absolute;
  left: 756px;
  top: 307px;
  width: 315px;
  height: 69px;
  background: #122326;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.wallet-overlay-title {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fcfcfc;
  margin: 0;
}

.wallet-overlay-subtitle {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ccc;
  margin: 0;
}

.wallet-overlay-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fcfcfc;
  white-space: nowrap;
}

.wallet-overlay-chevron svg {
  width: 18px;
  height: 18px;
  display: block;
}

.wallet-overlay.is-empty {
  justify-content: center;
}

.wallet-overlay-empty-text {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #ccc;
  text-align: center;
  margin: 0;
}

/* Conditional "Blue BMW" row — only shown when that permission was granted
   in Step 2, appended right after the baked-in Tesla/Rover rows. */
.vehicle-row {
  position: absolute;
  left: 756px;
  top: 626px;
  width: 315px;
  height: 62px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
  pointer-events: none;
}

.vehicle-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vehicle-row-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.vehicle-row-name {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fcfcfc;
  margin: 0;
  flex: 1 1 auto;
}

.vehicle-row-plate {
  display: flex;
  align-items: center;
  background: #fcfcfc;
  border-radius: 4px;
  overflow: hidden;
  font-family: "Barlow", "Lato", sans-serif;
  flex-shrink: 0;
}

.plate-code {
  background: #d75151;
  color: #fcfcfc;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 5px;
}

.plate-number {
  color: #0d0d0d;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  white-space: nowrap;
}

.vehicle-row-chevron {
  flex-shrink: 0;
  display: flex;
}

.vehicle-row-chevron svg {
  width: 18px;
  height: 18px;
  color: #fcfcfc;
}

/* Success checkmark — bounces in over the vehicle list once joined, then
   fades back out. */
.join-checkmark {
  position: absolute;
  left: 880px;
  top: 410px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-a);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.3);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms ease;
  pointer-events: none;
  z-index: 5;
}

.join-checkmark svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.join-checkmark.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* The invite modal: wiggles in on entry, slides out to the right on Join. */
.invite-modal {
  position: absolute;
  left: 700px;
  top: 355px;
  width: 448px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 15px;
  padding: 20px 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  opacity: 0;
  transition: transform 550ms cubic-bezier(0.55, 0, 0.85, 0.35), opacity 450ms ease;
}

.invite-modal.is-playing {
  animation: modal-wiggle-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes modal-wiggle-in {
  0% {
    transform: translate(40px, 60px) scale(0.7) rotate(-8deg);
    opacity: 0;
  }
  45% {
    transform: translate(-10px, -8px) scale(1.06) rotate(4deg);
    opacity: 1;
  }
  65% {
    transform: translate(4px, 4px) scale(0.98) rotate(-2deg);
  }
  82% {
    transform: translate(-2px, -2px) scale(1.015) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.invite-modal.is-leaving {
  animation: none;
  transform: translateX(700px) rotate(10deg);
  opacity: 0;
}

.invite-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.invite-eyebrow {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 23px;
  margin: 0;
  background: linear-gradient(100deg, var(--gradient-a) 4%, var(--gradient-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.invite-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #fcfcfc;
  margin: 0;
}

.invite-slots {
  display: flex;
  gap: 46px;
  justify-content: center;
  padding-top: 12px;
}

.invite-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 163px;
}

.invite-slot-icon {
  width: 22px;
  height: 22px;
}

.invite-slot-title {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fcfcfc;
  margin: 0;
}

.invite-slot-desc {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ccc;
  margin: 0;
  line-height: 1.4;
}

.invite-join-btn {
  margin-top: 4px;
}

#screen-family-step3 .pagination {
  position: absolute;
  left: 72px;
  top: 612px;
}

/* ---------- Step 4: All set! ---------- */

#screen-family-step4 {
  background: #000;
  overflow: hidden;
}

/* Full pre-composited background (glow + wavy vector already baked
   together) — the user supplied this exact export, no need to reconstruct
   the layers separately as steps 1-3 had to. */
.step4-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1220px;
  height: 710px;
  object-fit: cover;
  pointer-events: none;
}

.step4-orbit-ring {
  position: absolute;
  left: 633px;
  top: 209px;
  width: 340px;
  height: 340px;
  pointer-events: none;
}

.step4-orbit-wrap {
  position: absolute;
  inset: 0;
}

/* Circle center (803, 379) / radius 170 measured from the Figma "Spin
   family" group. A single 0deg->360deg keyframe animates every orbiting
   member identically; each slot gets a negative animation-delay so they
   sit evenly spaced and stay in sync — no per-avatar keyframes needed. */
.orbit-slot {
  position: absolute;
  left: 803px;
  top: 379px;
  width: 0;
  height: 0;
  animation: step4-orbit-spin 17.5s linear infinite;
}

@keyframes step4-orbit-spin {
  from {
    transform: rotate(0deg) translateX(170px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(170px) rotate(-360deg);
  }
}

.orbit-avatar-wrap {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
}

.orbit-avatar {
  display: block;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.orbit-pill {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orbit-pill.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.orbit-pill img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.orbit-pill span {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #fcfcfc;
}

#screen-family-step4 .pagination {
  position: absolute;
  left: 72px;
  top: 612px;
}

/* ---------- Step 5: Try it now on the app ---------- */

#screen-family-step5 {
  background: #000;
  overflow: hidden;
}

.step5-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1220px;
  height: 710px;
  object-fit: cover;
  pointer-events: none;
}

/* The two tilted phones — a clean, un-clipped export with the rotation
   already baked into the image and generous transparent padding around it
   (unlike the earlier tightly-cropped export, this padding means the hover
   wobble below can never clip the phone against the screen's overflow:
   hidden edge). Position/scale fitted visually against the Figma reference.
   Wobble is a small extra sway on top, per the Figma motion spec (x/y drift
   a few px, tiny added rotate), 6s ease-in-out loop. */
.step5-phones {
  position: absolute;
  left: 178px;
  top: -186px;
  width: 1319px;
  height: 1081px;
  pointer-events: none;
  animation: step5-phones-hover 6s ease-in-out infinite;
}

@keyframes step5-phones-hover {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  25% {
    transform: translate(2.5px, -6px) rotate(-0.2deg);
  }
  50% {
    transform: translate(-2px, 0px) rotate(-0.4deg);
  }
  75% {
    transform: translate(0px, 4px) rotate(-0.2deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

.step5-headline {
  position: absolute;
  left: 51px;
  top: 176px;
  width: 256px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.13;
  color: #fcfcfc;
  margin: 0;
}

.step5-qr {
  position: absolute;
  left: 53px;
  top: 308px;
  width: 174px;
  height: 176px;
  pointer-events: none;
}

.step5-badges {
  position: absolute;
  left: 250px;
  top: 392px;
  width: 120px;
  height: 92px;
  pointer-events: none;
}

.step5-scan-text {
  position: absolute;
  left: 52px;
  top: 513.5px;
  width: 224px;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.18px;
  color: #fcfcfc;
  margin: 0;
}

.step5-back-btn {
  position: absolute;
  left: 53px;
  top: 612px;
}

/* ---------- Swipe-in reveal tiers ----------
   Triggered by App.navigate()'s animated path (see app.js), which adds
   .is-revealed to the incoming screen a couple of frames after it starts
   sliding in. Two tiers, both keyed off existing per-step classes (no DOM
   restructuring): the phone/centerpiece image fades up first, then
   whatever sits on/around it follows a bit later — "swipe, then phone,
   then phone's content". Text columns and persistent chrome (home button,
   toggles, pagination) are deliberately NOT staggered — they just move
   with the screen as part of the base swipe.

   Content-tier elements are opacity-only: several of them (.member-card's
   --dx/--dy docking, .orbit-slot's own orbit-position animation) already
   own `transform` for their real job, so the reveal must not touch it. */

/* .step4-orbit-wrap itself is left alone (always opacity:1) — it's just a
   positioning container; fading it too would compound with its .orbit-slot
   children's own content-tier fade below (nested opacity multiplies). */
.step1-phone,
.step2-phone,
.step3-phone,
.step4-orbit-ring,
.step5-phones {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 380ms ease-out, transform 380ms ease-out;
  transition-delay: 140ms;
}

#screen-family-step1.is-revealed .step1-phone,
#screen-family-step2.is-revealed .step2-phone,
#screen-family-step3.is-revealed .step3-phone,
#screen-family-step4.is-revealed .step4-orbit-ring,
#screen-family-step5.is-revealed .step5-phones {
  opacity: 1;
  transform: translateY(0);
}

/* Step 1's .member-card and Step 2's .permission-row/.checkbox have their
   own JS-timed staggered entrance (.is-entered, set with per-item delays —
   see family-step1.js/family-step2.js) instead of this screen-wide tier,
   so their reveal isn't tied to a single .is-revealed moment. */
.permissions-panel,
.wallet-overlay,
.orbit-slot,
.step5-headline,
.step5-qr,
.step5-badges,
.step5-scan-text,
.step5-back-btn,
.pa-content {
  opacity: 0;
  transition: opacity 380ms ease-out;
  transition-delay: 280ms;
}

#screen-family-step2.is-revealed .permissions-panel,
#screen-family-step3.is-revealed .wallet-overlay,
#screen-family-step4.is-revealed .orbit-slot,
#screen-family-step5.is-revealed .step5-headline,
#screen-family-step5.is-revealed .step5-qr,
#screen-family-step5.is-revealed .step5-badges,
#screen-family-step5.is-revealed .step5-scan-text,
#screen-family-step5.is-revealed .step5-back-btn,
#screen-parking-availability.is-revealed .pa-content {
  opacity: 1;
}
