.page--home {
  position: relative;
}

.page--home .page__body {
  display: grid;
  gap: 4.5rem;
  padding-bottom: 1rem;
}

.page--home .site-footer {
  margin-top: 0;
}

.home-hero {
  position: relative;
  overflow: clip;
  padding: 0.5rem 0 0.5rem;
}

.home-hero::before,
.home-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  inset: 3rem auto auto 10%;
  width: min(32rem, 52vw);
  height: 20rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(114, 214, 146, 0.24), rgba(114, 214, 146, 0));
  filter: blur(20px);
}

.home-hero::after {
  right: 8%;
  top: 5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 231, 0.9), rgba(255, 247, 231, 0));
  filter: blur(16px);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--shell-width), calc(100vw - 40px));
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.4rem;
  align-items: center;
  min-height: calc(100svh - 8.5rem);
}

.home-hero__copy,
.home-hero__visual {
  min-width: 0;
}

.home-hero__copy {
  max-width: 34rem;
}

.home-hero__intro {
  gap: 1.1rem;
  padding: 0.5rem 0;
}

.home-hero__intro .page-hero__title {
  white-space: pre-line;
}

.home-hero__copy .page-hero__body {
  max-width: 44ch;
}

.home-hero__intro .page-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11.75rem));
  gap: 0.8rem;
}

.home-hero__intro .page-hero__actions .app-button {
  width: 100%;
}

.home-hero__visual {
  margin: 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.home-hero__poster {
  position: relative;
  width: min(100%, 43rem, calc(100svh - 11.75rem));
  overflow: hidden;
  border: 1px solid rgba(220, 239, 225, 0.92);
  border-radius: min(2.8rem, 8vw);
  background:
    radial-gradient(circle at 22% 18%, rgba(223, 245, 228, 0.96), rgba(223, 245, 228, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 245, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 36px 70px rgba(84, 196, 94, 0.16);
}

.home-hero__poster-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.home-values,
.home-featured,
.home-future,
.home-entry {
  position: relative;
}

.home-future__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-future__card {
  padding: 1.35rem;
  border: 1px solid rgba(220, 239, 225, 0.9);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.home-values {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  height: calc(100svh - 8.5rem);
  align-content: start;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  overflow: hidden;
}

.home-values .section-heading {
  margin-bottom: 0;
  width: 100%;
}

.home-values .section-heading__title {
  font-size: clamp(1.85rem, 1.75vw, 2.25rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  max-width: none;
}

.home-values .section-heading__body {
  max-width: none;
  white-space: nowrap;
}

.home-values__carousel {
  display: grid;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.home-values__stage {
  display: grid;
  position: relative;
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

.home-values__slides {
  display: grid;
  position: relative;
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

.home-values__slide {
  display: grid;
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

.home-values__slide[hidden] {
  display: none;
}

.home-values__cards-shell {
  display: grid;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(220, 239, 225, 0.94);
  border-radius: calc(var(--radius-panel) + 4px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 70px rgba(101, 163, 118, 0.1);
}

.home-values__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

.home-values__card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.home-values__card + .home-values__card {
  border-left: 1px solid rgba(220, 239, 225, 0.94);
}

.home-values__card--yes {
  background:
    linear-gradient(180deg, rgba(248, 253, 249, 0.98), rgba(241, 250, 244, 0.94)),
    rgba(255, 255, 255, 0.92);
}

.home-values__card--no {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(252, 246, 238, 0.94)),
    rgba(255, 255, 255, 0.92);
}

.home-values__card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.95rem 0.72rem;
}

.home-values__card--yes .home-values__card-head {
  background: linear-gradient(180deg, rgba(223, 245, 228, 0.96), rgba(242, 251, 244, 0.88));
}

.home-values__card--no .home-values__card-head {
  background: linear-gradient(180deg, rgba(252, 235, 207, 0.9), rgba(255, 248, 239, 0.88));
}

.home-values__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.home-values__card-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.home-values__card-icon--yes {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-green-deep);
}

.home-values__card-icon--no {
  background: rgba(255, 255, 255, 0.82);
  color: #a46b2e;
}

.home-values__card-title,
.home-future__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-brand);
  color: var(--brand-green-deep);
  font-size: 1.45rem;
  line-height: 1.12;
  white-space: nowrap;
}

.home-values__card-title {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-muted);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.75;
}

.home-values__card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.home-values__card-media:not(.home-values__card-media--placeholder)::before,
.home-values__card-media:not(.home-values__card-media--placeholder)::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-values__card-media:not(.home-values__card-media--placeholder)::before {
  inset: -8%;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(0.94);
  opacity: 0.24;
  transform: scale(1.04);
}

.home-values__card-media:not(.home-values__card-media--placeholder)::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 18%, rgba(255, 255, 255, 0) 34%);
}

.home-values__card-image {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-width: none;
}

.home-values__card-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12));
}

.home-values__card-placeholder::before,
.home-values__card-placeholder::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
}

.home-values__card-placeholder--yes {
  background-color: rgba(239, 250, 242, 0.94);
}

.home-values__card-placeholder--yes::before {
  inset: 14% auto auto 10%;
  width: 44%;
  height: 28%;
  background: rgba(84, 196, 94, 0.12);
}

.home-values__card-placeholder--yes::after {
  right: 9%;
  bottom: 11%;
  width: 26%;
  height: 18%;
  background: rgba(84, 196, 94, 0.09);
}

.home-values__card-placeholder--no {
  background-color: rgba(251, 245, 236, 0.96);
}

.home-values__card-placeholder--no::before {
  inset: 16% auto auto 14%;
  width: 40%;
  height: 24%;
  background: rgba(212, 170, 109, 0.12);
}

.home-values__card-placeholder--no::after {
  right: 8%;
  bottom: 14%;
  width: 24%;
  height: 20%;
  background: rgba(212, 170, 109, 0.08);
}

.home-values__card-media--placeholder {
  position: relative;
}

.home-values__card-media--placeholder::after {
  content: '图片待放入';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(96, 115, 104, 0.76);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(101, 163, 118, 0.08);
}

.home-values__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(220, 239, 225, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-green-deep);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.home-values__arrow--prev {
  left: -0.75rem;
}

.home-values__arrow--next {
  right: -0.75rem;
}

.home-values__stage:hover .home-values__arrow:not(:disabled),
.home-values__stage:focus-within .home-values__arrow:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
}

.home-values__arrow:not(:disabled):hover {
  background: rgba(223, 245, 228, 0.96);
  transform: translateY(-50%) scale(1.02);
}

.home-values__arrow:disabled {
  display: none;
}

.home-featured {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.35rem;
  height: calc(100svh - 8.5rem);
  align-content: start;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  overflow: hidden;
}

.home-featured .section-heading {
  margin-bottom: 0;
  width: 100%;
}

.home-featured .section-heading__title {
  font-size: clamp(1.85rem, 1.75vw, 2.25rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  max-width: none;
}

.home-featured .section-heading__body {
  max-width: none;
  white-space: nowrap;
}

.home-featured__shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 239, 225, 0.94);
  border-radius: calc(var(--radius-panel) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 246, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 70px rgba(101, 163, 118, 0.1);
}

.home-featured__poster {
  --featured-accent: rgba(101, 163, 118, 0.24);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.home-featured__poster + .home-featured__poster {
  border-left: 1px solid rgba(220, 239, 225, 0.94);
}

.home-featured__poster--lead {
  background:
    radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--featured-accent) 70%, white), rgba(223, 245, 228, 0) 30%),
    linear-gradient(180deg, rgba(248, 253, 249, 0.98), rgba(244, 250, 246, 0.9));
}

.home-featured__poster--support {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--featured-accent) 8%, rgba(247, 250, 248, 0.9))),
    rgba(255, 255, 255, 0.92);
}

.home-featured__poster:hover {
  transform: translateY(-2px);
  background-color: rgba(248, 252, 249, 0.78);
}

.home-featured__poster-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: calc(var(--radius-panel) - 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--featured-accent) 9%, white), rgba(255, 255, 255, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.home-featured__poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured__poster-copy {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  justify-items: center;
  min-height: 7.5rem;
  padding: 0.95rem 0.15rem 0.1rem;
  text-align: center;
}

.home-featured__story-eyebrow {
  margin: 0;
  color: var(--brand-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-featured__poster-title {
  margin: 0;
  font-family: var(--font-brand);
  color: var(--brand-green-deep);
  font-size: clamp(1.6rem, 1.7vw, 2.1rem);
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-future__body {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.72;
}

.home-future .section-heading__title {
  font-size: clamp(1.85rem, 1.75vw, 2.25rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  max-width: none;
}

.home-future .section-heading__body {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 959px) {
  .home-hero__inner,
  .home-featured__shelf,
  .home-values__cards {
    grid-template-columns: 1fr;
  }

  .home-future__grid {
    grid-template-columns: 1fr;
  }

  .home-values {
    height: auto;
    padding-top: 0.25rem;
    padding-bottom: 0;
    overflow: visible;
  }

  .home-values .section-heading__title {
    white-space: normal;
  }

  .home-values .section-heading__body {
    white-space: normal;
  }

  .home-featured {
    height: auto;
    padding-top: 0.25rem;
    padding-bottom: 0;
    overflow: visible;
  }

  .home-featured .section-heading__title {
    white-space: normal;
  }

  .home-future .section-heading__title,
  .home-future .section-heading__body {
    white-space: normal;
  }

  .home-values__card + .home-values__card {
    border-left: 0;
    border-top: 1px solid rgba(220, 239, 225, 0.94);
  }

  .home-values__arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .home-hero {
    padding-top: 0.25rem;
  }

  .home-hero__intro {
    padding-bottom: 0;
  }

  .home-hero__intro .page-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__inner {
    width: min(var(--shell-width), calc(100vw - 40px));
    gap: 1.5rem;
  }

  .home-hero__copy,
  .home-hero__visual {
    max-width: none;
    width: 100%;
  }

  .home-hero__poster {
    width: 100%;
  }

  .home-featured__poster + .home-featured__poster {
    border-left: 0;
    border-top: 1px solid rgba(220, 239, 225, 0.94);
  }
}

@media (max-width: 479px) {
  .home-hero__intro .page-hero__actions {
    grid-template-columns: 1fr;
  }

  .home-values__card-head {
    padding: 1rem 1rem 0.9rem;
  }

  .home-values__card-title {
    font-size: 1.06rem;
  }

  .home-values__arrow {
    width: 42px;
    height: 42px;
  }

  .home-values__arrow--prev {
    left: -0.35rem;
  }

  .home-values__arrow--next {
    right: -0.35rem;
  }
}
