.memory-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(208, 244, 255, 0.74), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(255, 216, 94, 0.4), transparent 22rem),
    linear-gradient(180deg, #f7fbff 0%, #fff6fb 52%, #fff8e8 100%);
}

.memory-shell {
  max-width: 1180px;
}

.memory-nav {
  margin-top: 22px;
}

.memory-hero {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 72px 0 54px;
}

.memory-hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 156px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.84;
}

.memory-tagline {
  margin: 26px 0 0;
  color: #8754d8;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.14;
}

.memory-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: #665277;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
}

.memory-hero-actions,
.memory-cta .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.memory-stage {
  position: relative;
  min-height: 580px;
}

.memory-stage::before {
  content: "";
  position: absolute;
  inset: 44px 34px 36px 20px;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(208, 244, 255, 0.54));
  box-shadow: 0 28px 70px rgba(112, 80, 154, 0.18);
}

.memory-shot {
  position: absolute;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(112, 80, 154, 0.2);
}

.memory-shot img,
.memory-screen-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-assistant {
  left: 4%;
  top: 8%;
  z-index: 2;
  width: 72%;
  aspect-ratio: 1.31;
}

.shot-memories {
  right: 0;
  bottom: 5%;
  z-index: 3;
  width: 52%;
  aspect-ratio: 1.31;
}

.memory-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0 84px;
}

.memory-proof div {
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 36px rgba(112, 80, 154, 0.14);
}

.memory-proof strong {
  display: block;
  color: var(--hot-pink);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 0.96;
}

.memory-proof span {
  display: block;
  margin-top: 10px;
  color: #665277;
  font-weight: 900;
}

.memory-screens {
  padding: 88px 0;
}

.memory-demo {
  padding: 84px 0 32px;
}

.memory-demo-frame {
  overflow: hidden;
  margin: 30px 0 0;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  background: #101827;
  box-shadow: 0 24px 58px rgba(112, 80, 154, 0.18);
}

.memory-demo-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #101827;
}

.memory-heading {
  align-items: center;
}

.memory-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.memory-screen-grid article {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 50px rgba(112, 80, 154, 0.15);
}

.memory-screen-grid img {
  aspect-ratio: 1.31;
  border-bottom: 4px solid rgba(255, 255, 255, 0.86);
}

.memory-screen-grid h3,
.memory-screen-grid p {
  margin-left: 24px;
  margin-right: 24px;
}

.memory-screen-grid h3 {
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.memory-screen-grid p {
  margin-bottom: 26px;
  color: #665277;
  font-weight: 600;
  line-height: 1.8;
}

.memory-cta {
  margin: 34px 0 96px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 40px;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 216, 94, 0.38), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 230, 246, 0.64));
  box-shadow: var(--shadow);
}

.memory-cta h2 {
  max-width: 820px;
}

.memory-cta p:not(.section-kicker) {
  max-width: 720px;
  color: #665277;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .memory-hero,
  .memory-screen-grid,
  .memory-proof {
    grid-template-columns: 1fr;
  }

  .memory-hero {
    min-height: auto;
    padding-top: 48px;
  }

  .memory-stage {
    min-height: 430px;
  }

  .shot-assistant {
    width: 82%;
  }

  .shot-memories {
    width: 62%;
  }
}

@media (max-width: 560px) {
  .memory-stage {
    min-height: 340px;
  }

  .memory-shot {
    border-width: 3px;
    border-radius: 22px;
  }

  .memory-proof {
    padding-bottom: 44px;
  }
}
