.app-section {
  padding-block: clamp(88px, 10vw, 148px);
  background: var(--cream);
}

.app-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.app-section__intro h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.app-section__intro p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--ink-soft);
}

.app-showcase {
  display: grid;
  gap: 14px;
}

.app-moment {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--paper);
}

.app-moment:nth-child(2) {
  background: var(--green-light);
}

.app-moment:nth-child(3) {
  background: var(--sand);
}

.app-moment > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  margin: 0;
  padding: 24px 30px;
  color: var(--forest-deep);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.app-moment > summary::-webkit-details-marker {
  display: none;
}

.app-moment > summary::after {
  content: '';
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: url('icons/plus.svg') center / contain no-repeat;
  transition: transform 260ms ease;
}

.app-moment[open] > summary::after {
  mask-image: url('icons/minus.svg');
}

.app-moment > summary:hover::after {
  transform: scale(1.1);
}

.app-moment[open] > summary:hover::after {
  transform: none;
}

.app-moment > summary:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: -6px;
  border-radius: 24px;
}

.app-moment__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 12px 30px 34px;
}

.app-moment__copy h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.app-moment__copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.app-moment__benefit {
  display: block;
  margin-top: 24px;
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 700;
}

.app-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 300px;
  padding: 18px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 70% 15%, var(--green-light), var(--mint) 70%);
}

.app-visual__label {
  margin: 0 0 12px;
  color: var(--forest-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.app-profile {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 24px rgba(12, 58, 47, 0.08);
}

.app-profile__image {
  height: 140px;
  overflow: hidden;
}

.app-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.app-moment:hover .app-profile__image img {
  transform: scale(1.04);
}

.app-profile__body {
  padding: 15px 17px 17px;
}

.app-profile__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 10px;
}

.app-profile__title strong {
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.app-profile__title span {
  color: var(--ink-soft);
  font-size: 11px;
}

.app-profile__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.app-profile__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.app-profile__features span {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--forest);
  font-size: 11px;
  font-weight: 650;
}

.app-visual--conversation {
  background: radial-gradient(ellipse at 80% 25%, var(--paper), var(--mint) 70%);
}

.app-intake {
  margin-right: 22px;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--paper);
  transform: rotate(-3deg);
}

.app-intake strong,
.app-conversation strong,
.app-arrival strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.app-intake dl {
  margin: 14px 0 0;
}

.app-intake dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 6px;
  border-top: 1px solid var(--line);
}

.app-intake dt {
  font-size: 12px;
}

.app-intake dd {
  width: 44px;
  height: 4px;
  margin: 0;
  border-radius: 4px;
  background: var(--green-light);
}

.app-conversation {
  position: relative;
  margin: -8px 0 0 25px;
  padding: 18px;
  border-radius: 17px;
  background: var(--forest-deep);
  color: var(--paper);
  box-shadow: 0 14px 24px rgba(12, 58, 47, 0.12);
  transform: rotate(3deg);
}

.app-conversation p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.app-conversation strong {
  font-size: 20px;
}

.app-visual--arrival {
  background: radial-gradient(ellipse at 80% 25%, var(--paper), var(--cream) 70%);
}

.app-arrival {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 24px rgba(12, 58, 47, 0.06);
  transform: rotate(-2deg);
}

.app-arrival > span {
  display: block;
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 11px;
}

.app-arrival ul {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.app-arrival li {
  display: flex;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.app-arrival li img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.app-section__caption {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
}

@media (min-width: 901px) {
  .app-showcase.is-enhanced {
    display: flex;
    min-height: 480px;
  }

  .app-showcase.is-enhanced .app-moment {
    flex: 1 1 0;
    transition: background-color 300ms ease;
  }

  .app-showcase.is-enhanced .app-moment[open] {
    flex-grow: 6.5;
  }

  .app-showcase.is-enhanced .app-moment:not([open]) > summary {
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    padding: 28px 16px;
  }

  .app-showcase.is-enhanced .app-moment:not([open]) .app-moment__name {
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 500;
    transform: rotate(180deg);
  }

  .app-showcase.is-enhanced .app-moment[open] .app-moment__body {
    animation: app-moment-in 500ms ease both;
  }
}

@keyframes app-moment-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .app-moment__body {
    gap: 20px;
    padding-inline: 22px;
  }

  .app-moment > summary {
    padding-inline: 22px;
  }

  .app-visual {
    padding: 13px;
  }
}

@media (max-width: 760px) {
  .app-section {
    padding-block: 56px;
  }

  .app-section__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }

  .app-section__intro h2 {
    max-width: 590px;
  }

  .app-section__intro p {
    margin-bottom: 0;
    line-height: 1.55;
  }

  .app-showcase {
    gap: 10px;
  }

  .app-moment {
    border-radius: 20px;
  }

  .app-moment > summary {
    min-height: 64px;
    padding: 17px 20px;
    font-size: 18px;
  }

  .app-moment__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 4px 18px 22px;
  }

  .app-moment__copy h3 {
    max-width: 420px;
    margin-bottom: 12px;
    font-size: 28px;
  }

  .app-moment__copy p {
    max-width: 510px;
    line-height: 1.55;
  }

  .app-moment__benefit {
    margin-top: 12px;
    font-size: 14px;
  }

  .app-visual {
    min-height: 0;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 14px;
  }

  .app-profile__image {
    height: 145px;
  }

  .app-profile__title span,
  .app-profile__features span,
  .app-arrival > span {
    font-size: 12px;
  }

  .app-profile__body p,
  .app-arrival li {
    font-size: 14px;
  }

  .app-section__caption {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-showcase *,
  .app-showcase *::after {
    animation: none !important;
    transition: none !important;
  }

  .app-moment:hover .app-profile__image img {
    transform: none;
  }
}
