.how-section--polished {
  padding-top: clamp(54px, 7vw, 88px);
}

.how-flow {
  position: relative;
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.how-flow__path {
  position: absolute;
  top: 14px;
  left: 15%;
  right: 15%;
  height: 3px;
  z-index: 0;
  pointer-events: none;
}

.how-flow__path::before,
.how-flow__path span {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.how-flow__path::before {
  background-image: linear-gradient(90deg, rgba(255, 201, 74, .66) 50%, transparent 50%);
  background-size: 13px 3px;
  filter: drop-shadow(0 0 5px rgba(255, 201, 74, .5));
}

.how-flow__path span {
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--moon), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 201, 74, .8));
}

.how-step-card {
  position: relative;
  z-index: 1;
  min-height: 178px;
  border-radius: 22px;
  padding: 66px 24px 24px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 201, 74, .15), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035)),
    rgba(14, 36, 86, .68);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.how-step-card__number,
.how-step-card__icon {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.how-step-card__number {
  top: 18px;
  left: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(180deg, rgba(154, 188, 255, .95), rgba(71, 105, 177, .95));
  color: var(--cream);
  font-weight: 900;
  transform: translateX(-50%);
}

.how-step-card__icon {
  top: 64px;
  left: 24px;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, .08);
  font-size: 1.7rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.how-step-card h3,
.how-step-card p {
  margin-left: 72px;
}

.how-step-card h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.how-step-card p {
  margin-bottom: 0;
  font-size: .9rem;
  line-height: 1.45;
}

.story-preview-section {
  padding-top: clamp(26px, 4vw, 44px);
}

.story-showcase {
  position: relative;
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: minmax(190px, .72fr) minmax(430px, 1.55fr) minmax(220px, .76fr);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(14px, 2vw, 20px);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 201, 74, .14), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(140, 241, 210, .09), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .035)),
    rgba(9, 28, 74, .76);
}

.story-showcase::after {
  content: "";
  position: absolute;
  inset: auto -4% -36px;
  height: 82px;
  background:
    radial-gradient(circle at 8% 72%, rgba(255, 247, 223, .2) 0 42px, transparent 44px),
    radial-gradient(circle at 86% 58%, rgba(255, 247, 223, .16) 0 58px, transparent 60px);
  pointer-events: none;
}

.story-book-cover {
  position: relative;
  min-height: 286px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px 18px 18px 22px;
  background: rgba(3, 11, 34, .7);
  box-shadow:
    inset 18px 0 0 rgba(0, 0, 0, .28),
    inset -8px 0 14px rgba(255, 247, 223, .13),
    0 24px 46px rgba(0, 0, 0, .38);
  transform: perspective(900px) rotateY(-4deg);
  transform-origin: left center;
}

.story-book-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 18px;
  z-index: 1;
  width: 4px;
  background: linear-gradient(180deg, transparent, rgba(255, 201, 74, .38), transparent);
}

.story-book-cover::after {
  content: "";
  position: absolute;
  inset: 6px 8px auto 46px;
  z-index: 2;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 247, 223, .72), rgba(255, 201, 74, .18));
  opacity: .74;
}

.story-book-cover img,
.story-page-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-book-cover figcaption {
  position: absolute;
  left: 22px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  color: var(--moon);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  font-weight: 900;
  line-height: .95;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .62);
}

.story-book-cover figcaption span {
  display: block;
}

.story-showcase__player {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.story-page-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.story-page-strip figure {
  aspect-ratio: 1 / .95;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: rgba(3, 11, 34, .58);
}

.story-audio-preview {
  display: grid;
  min-height: 74px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 12px 14px;
  background: rgba(4, 15, 47, .55);
}

.story-audio-preview button {
  display: grid;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: #09122f;
  cursor: pointer;
  font-weight: 900;
}

.story-audio-preview span {
  color: rgba(248, 244, 234, .78);
  font-size: .85rem;
  font-weight: 800;
}

.story-audio-preview span:first-of-type {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.story-audio-preview span:last-child {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
}

.story-waveform {
  position: relative;
  display: flex;
  grid-column: 2 / 4;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  padding-inline: 2px;
}

.story-waveform::before,
.story-waveform::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.story-waveform::before {
  background: rgba(191, 202, 233, .25);
}

.story-waveform::after {
  right: 0;
  background: linear-gradient(90deg, var(--moon), rgba(255, 247, 223, .8));
  box-shadow: 0 0 18px rgba(255, 201, 74, .48);
  opacity: .8;
}

.story-waveform i {
  position: relative;
  z-index: 1;
  width: 3px;
  height: var(--h);
  min-height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7df, rgba(191, 202, 233, .58));
}

.screenshots-section .phone-preview-row {
  max-width: 1120px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  perspective: 1400px;
}

.screenshots-section .phone-frame {
  overflow: visible;
  border: 7px solid #050813;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .22), transparent 8%, transparent 92%, rgba(255, 255, 255, .12)),
    #050813;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    10px 20px 36px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotateY(var(--phone-tilt, 0deg)) rotateX(2deg) translateZ(0);
  transform-style: preserve-3d;
}

.screenshots-section .phone-preview:nth-child(1) { --phone-tilt: -9deg; }
.screenshots-section .phone-preview:nth-child(2) { --phone-tilt: -4deg; }
.screenshots-section .phone-preview:nth-child(4) { --phone-tilt: 4deg; }
.screenshots-section .phone-preview:nth-child(5) { --phone-tilt: 9deg; }

.screenshots-section .phone-frame::after {
  content: "";
  position: absolute;
  inset: 12% -9px 14% auto;
  width: 7px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(50, 67, 112, .22));
  transform: translateZ(-10px);
}

.screenshots-section .phone-frame img {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.family-section .section-heading {
  margin-bottom: 36px;
}

.family-grid {
  align-items: stretch;
}

.family-grid .glass-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-color: rgba(214, 231, 255, .2);
  padding: 24px 20px;
  transform: translateZ(0);
}

.family-grid .glass-card::before {
  content: "";
  position: absolute;
  inset: -45% -35% auto auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 74, .22), transparent 66%);
  pointer-events: none;
}

.family-grid .glass-card h3 {
  margin-top: 10px;
  font-size: 1rem;
}

.family-grid .glass-card p {
  margin-bottom: 0;
  font-size: .88rem;
}

.family-grid .glass-card .safety-icon {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .26), transparent 28%),
    linear-gradient(145deg, rgba(255, 201, 74, .34), rgba(140, 241, 210, .14));
  box-shadow: 0 16px 30px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.language-planet {
  box-shadow: 0 22px 70px rgba(255, 201, 74, .2), 0 0 0 1px rgba(255, 255, 255, .08);
}

.language-copy {
  position: relative;
  border: 1px solid rgba(214, 231, 255, .14);
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 241, 210, .13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
}

.language-stats {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.language-stats span {
  display: grid;
  min-height: 78px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(4, 15, 47, .44);
  color: rgba(248, 244, 234, .78);
  font-size: .78rem;
  font-weight: 800;
}

.language-stats strong {
  display: block;
  color: var(--moon);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.28rem;
  line-height: 1;
}

.language-cloud {
  align-content: center;
  border: 1px solid rgba(214, 231, 255, .12);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, .04);
}

.language-cloud span {
  border-color: rgba(255, 255, 255, .14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.cover-row--images article {
  transform-origin: center bottom;
  transition: transform .28s ease, box-shadow .28s ease;
}

.cover-row--images article:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .42);
}

.cover-row--images article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 16%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(255, 255, 255, .06), transparent);
  pointer-events: none;
}

.story-showcase__facts {
  align-self: center;
  padding: 8px 6px;
}

.story-showcase__facts h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
}

.story-showcase__facts ul {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.story-showcase__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(248, 244, 234, .9);
  font-weight: 800;
}

.story-showcase__facts li span {
  color: var(--moon);
}

.story-showcase__facts p:last-child {
  margin-bottom: 0;
  font-size: .95rem;
}

@media (prefers-reduced-motion: no-preference) {
  .how-flow__path span {
    animation: howPathSweep 6.6s ease-in-out infinite;
  }

  .how-step-card--1 {
    animation: howCardGlow 6.6s ease-in-out infinite;
  }

  .how-step-card--2 {
    animation: howCardGlow 6.6s ease-in-out 2.2s infinite;
  }

  .how-step-card--3 {
    animation: howCardGlow 6.6s ease-in-out 4.4s infinite;
  }

  .how-flow:hover .how-flow__path span,
  .how-flow:hover .how-step-card,
  .how-flow:focus-within .how-flow__path span,
  .how-flow:focus-within .how-step-card {
    animation-play-state: paused;
  }
}

@keyframes howPathSweep {
  0%, 24% { transform: translateX(-10%); opacity: .25; }
  33%, 57% { transform: translateX(69%); opacity: 1; }
  66%, 90% { transform: translateX(146%); opacity: 1; }
  100% { transform: translateX(146%); opacity: .2; }
}

@keyframes howCardGlow {
  0%, 100% { transform: translateY(0); border-color: var(--line); box-shadow: var(--shadow); }
  10%, 28% { transform: translateY(-8px); border-color: rgba(255, 201, 74, .46); box-shadow: 0 24px 70px rgba(255, 201, 74, .16); }
  42% { transform: translateY(0); border-color: var(--line); box-shadow: var(--shadow); }
}

@media (max-width: 980px) {
  .screenshots-section .phone-preview-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
  }

  .story-showcase {
    grid-template-columns: minmax(170px, .7fr) minmax(0, 1fr);
  }

  .story-showcase__facts {
    grid-column: 1 / -1;
    padding: 4px 2px 0;
  }
}

@media (max-width: 760px) {
  .how-flow,
  .story-showcase {
    grid-template-columns: 1fr;
  }

  .how-flow__path {
    top: 42px;
    bottom: 28px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .how-flow__path::before {
    background-image: linear-gradient(180deg, rgba(255, 201, 74, .36) 50%, transparent 50%);
    background-size: 3px 13px;
  }

  .how-flow__path span {
    width: 3px;
    height: 38%;
    background: linear-gradient(180deg, transparent, var(--moon), transparent);
  }

  .how-step-card {
    min-height: 150px;
    padding: 24px 20px 24px 80px;
  }

  .how-step-card__number {
    top: 24px;
    left: 22px;
    transform: none;
  }

  .how-step-card__icon {
    top: 80px;
    left: 18px;
    width: 48px;
    height: 48px;
  }

  .how-step-card h3,
  .how-step-card p {
    margin-left: 0;
  }

  .story-book-cover {
    min-height: 360px;
  }

  .story-page-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-audio-preview {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .screenshots-section .phone-preview-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }

  .story-waveform {
    gap: 0;
  }

  .story-waveform i:nth-child(n+19) {
    display: none;
  }

  .language-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .story-book-cover {
    min-height: 300px;
  }

  .story-audio-preview {
    grid-template-columns: 42px 1fr auto;
  }

  .story-audio-preview span:first-of-type {
    display: none;
  }

  .screenshots-section .phone-preview-row {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .screenshots-section .phone-frame {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cover-row--images article {
    animation: savedBookFloat 6.5s ease-in-out infinite;
  }

  .cover-row--images article:nth-child(2) {
    animation-delay: -2.1s;
  }

  .cover-row--images article:nth-child(3) {
    animation-delay: -4.2s;
  }

  .family-grid .glass-card {
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  }

  .family-grid .glass-card:hover {
    border-color: rgba(255, 201, 74, .34);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .36);
    transform: translateY(-7px);
  }
}

@keyframes savedBookFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(.8deg); }
}


/* Final app-preview carousel. */
.app-preview-carousel {
  position: relative;
  width: min(100% - 24px, 1180px);
  margin: 0 auto;
  padding: 8px 52px 42px;
}

.screenshots-section .phone-preview-row {
  display: flex;
  max-width: none;
  gap: clamp(16px, 2.4vw, 30px);
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 18px 6px 26px;
  perspective: none;
}

.screenshots-section .phone-preview-row::-webkit-scrollbar {
  display: none;
}

.screenshots-section .phone-preview {
  flex: 0 0 clamp(212px, 24vw, 310px);
  scroll-snap-align: center;
}

.screenshots-section .phone-frame {
  overflow: hidden;
  border-width: 7px;
  border-radius: 34px;
  transform: none;
}

.screenshots-section .phone-preview:nth-child(n) {
  --phone-tilt: 0deg;
}

.screenshots-section .phone-frame img {
  border-radius: 25px;
}

.preview-nav {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 201, 74, .42);
  border-radius: 999px;
  background: rgba(8, 26, 70, .86);
  color: var(--moon);
  cursor: pointer;
  font: 900 2rem/1 Outfit, sans-serif;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
  backdrop-filter: blur(14px);
}

.preview-nav--prev { left: 0; }
.preview-nav--next { right: 0; }

.preview-dots {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.preview-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 238, 255, .3);
  cursor: pointer;
}

.preview-dot.is-active {
  width: 28px;
  background: var(--moon);
}

.proof-strip--safety {
  margin-top: 0;
  margin-bottom: clamp(28px, 5vw, 48px);
}

@media (max-width: 720px) {
  .app-preview-carousel {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .preview-nav {
    display: none;
  }

  .screenshots-section .phone-preview {
    flex-basis: min(74vw, 290px);
  }
}


/* Release landing refinement: hero keeps the 3D phone, app previews are plain rounded screenshots. */
.hero-phone-showcase {
  display: grid;
  grid-template-columns: minmax(230px, 390px) minmax(150px, 220px);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  justify-content: end;
  perspective: 1600px;
}

.hero-phone-showcase::before {
  inset: 5% 0 8% 8%;
  border-radius: 42% 54% 42% 48%;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 200, 75, .28), transparent 28%),
    radial-gradient(circle at 44% 54%, rgba(42, 98, 190, .24), transparent 48%);
  filter: blur(28px);
}

.hero-phone-showcase__device {
  position: relative;
  overflow: hidden;
  aspect-ratio: 430 / 932;
  width: min(31vw, 390px);
  min-width: 245px;
  border: 12px solid #050813;
  border-radius: 46px;
  background: #050813;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    28px 34px 78px rgba(0, 0, 0, .36),
    -18px 12px 46px rgba(255, 201, 74, .08);
  transform: rotateY(-13deg) rotateX(4deg) rotateZ(.5deg);
  transform-origin: center;
}

.hero-phone-showcase__device::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 18%, transparent 72%, rgba(255, 255, 255, .08));
  pointer-events: none;
}

.hero-phone-showcase__speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 13px;
  border-radius: 999px;
  background: #02040d;
  transform: translateX(-50%);
}

.hero-phone-showcase .hero__scene {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  object-position: top center;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-phone-showcase__mascot {
  position: relative;
  z-index: 2;
  max-width: 220px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 201, 74, .18), transparent 38%),
    rgba(9, 28, 74, .72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.hero-phone-showcase__mascot img {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

.hero-phone-showcase__mascot strong,
.hero-phone-showcase__mascot span {
  display: block;
}

.hero-phone-showcase__mascot strong {
  margin-top: 14px;
  color: var(--cream);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
}

.hero-phone-showcase__mascot span {
  margin-top: 6px;
  color: rgba(248, 244, 234, .78);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
}

.app-preview-carousel {
  width: min(100% - 24px, 1240px);
  padding: 8px 58px 46px;
  overflow: hidden;
}

.screenshots-section .phone-preview-row {
  align-items: stretch;
  gap: clamp(18px, 2.6vw, 34px);
  padding: 18px 8px 30px;
  overscroll-behavior-inline: contain;
}

.screenshots-section .app-preview-card {
  flex: 0 0 clamp(240px, 24vw, 328px);
  margin: 0;
  overflow: visible;
  transform: none;
}

.screenshots-section .app-preview-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 430 / 932;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(214, 231, 255, .2);
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 26px 62px rgba(0, 0, 0, .34);
}

.screenshots-section .app-preview-card figcaption {
  margin-top: 14px;
  color: var(--cream);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.screenshots-section .app-preview-card .phone-frame,
.screenshots-section .app-preview-card .phone-frame::after {
  display: contents;
}

.preview-nav {
  top: 44%;
}

@media (max-width: 1080px) {
  .hero-phone-showcase {
    grid-template-columns: minmax(230px, 360px);
    justify-content: center;
  }

  .hero-phone-showcase__mascot {
    justify-self: center;
    max-width: 360px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .hero-phone-showcase__device {
    width: min(72vw, 310px);
    min-width: 220px;
    border-width: 9px;
    border-radius: 38px;
    transform: rotateY(-8deg) rotateX(2deg);
  }

  .hero-phone-showcase__mascot {
    display: none;
  }

  .app-preview-carousel {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .screenshots-section .app-preview-card {
    flex-basis: min(76vw, 300px);
  }
}


/* Landing layout fixes from final desktop QA. */
.trust-proof-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(30px, 5vw, 58px);
}

.section-heading--compact {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.proof-strip--standalone {
  position: relative;
  z-index: 1;
  width: min(100% - 42px, 1180px);
  margin: 0 auto;
  align-items: stretch;
}

.proof-strip--standalone article {
  min-height: 146px;
  padding: 22px 24px;
}

.family-section {
  padding-top: clamp(54px, 7vw, 88px);
}

.proof-strip--safety {
  display: none;
}

.hero-phone-showcase {
  grid-template-columns: minmax(210px, 280px);
  justify-content: center;
  width: min(100%, 470px);
  transform: translateX(-3vw);
}

.hero-phone-showcase__device {
  width: min(22vw, 273px);
  min-width: 210px;
  border-width: 9px;
  border-radius: 38px;
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(.5deg);
}

.hero-phone-showcase__speaker {
  top: 12px;
  height: 10px;
}

.hero-phone-showcase .hero__scene {
  border-radius: 28px;
}

.hero-phone-showcase__mascot {
  display: none !important;
}

@media (max-width: 980px) {
  .proof-strip--standalone {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 680px);
  }

  .proof-strip--standalone article {
    min-height: 0;
  }

  .hero-phone-showcase {
    transform: none;
  }

  .hero-phone-showcase__device {
    width: min(46vw, 260px);
    min-width: 200px;
  }
}

@media (max-width: 720px) {
  .trust-proof-section {
    padding-top: 48px;
  }

  .hero-phone-showcase__device {
    width: min(64vw, 248px);
    min-width: 190px;
  }
}
