.libfy-moments-page {
  background: var(--bg-radial);
}

.libfy-moments-page main > section {
  padding: 4.5rem 0;
}

.moments-hero {
  min-height: calc(100vh - 83px);
  display: flex;
  align-items: flex-start;
  background: var(--gradient-blue);
  color: var(--text-on-blue);
}

.moments-hero-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.68fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.moments-hero-copy {
  max-width: 610px;
  padding-right: clamp(1rem, 2vw, 1.75rem);
  text-align: center;
}

.moments-hero-copy p {
  margin: 0 0 0.8rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.65;
}

.moments-words {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  margin: 1.35rem 0;
}

.moments-words li {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
}

.moments-hero-copy .moments-closing {
  max-width: 520px;
  margin-bottom: 0;
  font-weight: 700;
  color: #ffffff;
}

.moments-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.8rem;
  padding: 0.75rem 1.05rem 0.75rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--main-blue-strong);
  box-shadow: 0 18px 40px rgba(4, 33, 52, 0.16);
  font-weight: 700;
}

.moments-explore:hover,
.moments-explore:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.moments-explore span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 180, 230, 0.14);
  font-size: 1.1rem;
}

.moments-brand-stage {
  justify-self: center;
  width: min(100%, 430px);
}

.moments-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  color: #ffffff;
}

.moments-brand-lockup h1 {
  margin: 0;
  color: currentColor;
  font-size: clamp(2.75rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.moments-isotype {
  width: clamp(96px, 12vw, 148px);
  height: auto;
  display: block;
  filter: invert(100%);
}

.moments-slogan {
  width: min(100%, 380px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.moments-proposals {
  max-width: 1040px;
  padding-top: 3.5rem;
  padding-bottom: 1rem;
  scroll-margin-top: 5rem;
}

.moments-question-card {
  text-align: center;
}

.moments-question-card h2 {
  margin: 0 auto 1.5rem;
  max-width: 680px;
  color: var(--main-blue-strong);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.moments-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.moments-option {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: rgba(7, 61, 88, 0.9);
  font-weight: 700;
  line-height: 1.25;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.moments-option:hover,
.moments-option:focus {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(31, 180, 230, 0.5);
  box-shadow: 0 18px 42px rgba(9, 78, 110, 0.12);
}

.moments-option-icon {
  font-size: 2rem;
  line-height: 1;
}

.moments-family {
  max-width: 1040px;
  padding-top: 1rem;
  padding-bottom: 4rem;
  scroll-margin-top: 5rem;
}

.moments-family-card {
  text-align: center;
}

.moments-family-card h2 {
  margin: 0 auto 1.5rem;
  color: var(--main-blue-strong);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.moments-family-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.moments-family-option {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: rgba(7, 61, 88, 0.9);
  line-height: 1.25;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.moments-family-option:hover,
.moments-family-option:focus {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(31, 180, 230, 0.5);
  box-shadow: 0 18px 42px rgba(9, 78, 110, 0.12);
}

.moments-family-option span {
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 920px) {
  .moments-hero {
    min-height: auto;
  }

  .moments-hero-inner {
    grid-template-columns: 1fr;
  }

  .moments-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .moments-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .moments-words {
    justify-content: center;
  }

  .moments-brand-stage {
    justify-self: center;
    width: min(100%, 520px);
  }
}

@media (max-width: 620px) {
  .libfy-moments-page main > section {
    padding: 3rem 0;
  }

  .moments-brand-lockup h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .moments-explore {
    width: 100%;
    justify-content: center;
  }

  .moments-options {
    grid-template-columns: 1fr;
  }

  .moments-option {
    min-height: 112px;
    flex-direction: row;
  }
}
