.home-page {
  --home-ink: #17212b;
  --home-muted: #5c6670;
  --home-blue: #176a8a;
  --home-green: #2f7d63;
  --home-gold: #c0832f;
  --home-soft: #f4f8f7;
  --home-line: rgba(23, 33, 43, .12);
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--home-ink);
}

.home-page * {
  box-sizing: border-box;
}

.home-hero,
.home-message,
.home-feature-grid,
.home-anniversaries,
.home-closing {
  margin: 0 auto;
  /* padding-right: 18px;
  padding-left: 18px; */
}

.home-hero {
  display: grid;
  gap: 28px;
  min-height: 78vh;
  /* padding-top: 44px; */
  padding-bottom: 36px;
  align-items: center;
}

.home-kicker {
  margin: 0 0 10px;
  color: var(--home-green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-hero h1,
.home-message h2,
.home-feature h2,
.home-anniversaries h2 {
  margin: 0;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 12vw, 5.4rem);
  line-height: .98;
  font-weight: 900;
}

.home-hero__visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 305px;
  overflow: hidden;
  border-radius: 8px;
  background: #8bc9e8;
  box-shadow: 0 22px 50px rgba(30, 69, 91, 0.15);
}

.home-hero__image {
  position: absolute;
  inset: 0;
}

.home-hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 48, 66, 0.02) 25%,
      rgba(15, 48, 66, 0.18) 100%
    );
  content: "";
  pointer-events: none;
}

.home-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__caption {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: calc(100% - 28px);
  margin: 14px;
  padding: 16px 14px;
  border-radius: 8px;
  background: rgba(249, 253, 255, 0.92);
  box-shadow: 0 10px 25px rgba(20, 51, 70, 0.08);
  backdrop-filter: blur(8px);
}

.home-hero__caption strong,
.home-hero__caption span {
  display: block;
}

.home-hero__caption strong {
  margin-bottom: 4px;
  color: #162331;
  font-size: 1rem;
}

.home-hero__caption span {
  color: #587083;
  font-size: 0.86rem;
}

.home-hero__visual--sprout {
  background: #bcebd7;
}

.home-hero__visual--sunrise {
  background: #f6c98f;
}

.home-hero__visual--path,
.home-hero__visual--tree,
.home-hero__visual--care {
  background: #b8d7bd;
}

.home-hero__visual--butterfly {
  background: #d8caec;
}

.home-hero__visual--mountain {
  background: #acd1e6;
}

.home-hero__visual--water {
  background: #a7d9dc;
}

/* ==========================================================
   PWA install button
   ========================================================== */

.pwa-install-btn {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  max-width: 43rem;
  margin-top: 0.75rem;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid #cfe3dc;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(236, 250, 245, 0.96),
    rgba(244, 249, 255, 0.96)
  );
  color: #1e3a34;
  text-align: left;
  box-shadow: 0 6px 18px rgba(35, 78, 67, 0.08);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.pwa-install-btn[hidden] {
  display: none;
}

.pwa-install-btn:hover {
  border-color: #9fcabb;
  box-shadow: 0 9px 24px rgba(35, 78, 67, 0.13);
  transform: translateY(-1px);
}

.pwa-install-btn:active {
  transform: translateY(0);
}

.pwa-install-btn:focus-visible {
  outline: 3px solid rgba(73, 151, 125, 0.28);
  outline-offset: 3px;
}

.pwa-install-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.pwa-install-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(108, 183, 156, 0.18);
  color: #397f68;
  font-size: 1.15rem;
}

.pwa-install-btn__arrow {
  padding-right: 0.15rem;
}

.pwa-install-btn__content {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.pwa-install-btn__content strong {
  color: #173f35;
  font-size: 1rem;
  line-height: 1.3;
}

.pwa-install-btn__content span {
  color: #607a72;
  font-size: 0.82rem;
  line-height: 1.35;
}

.pwa-install-btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #628279;
  font-size: 0.85rem;
  transition: transform 160ms ease;
}

.pwa-install-btn:hover .pwa-install-btn__arrow {
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .pwa-install-btn {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    padding: 0.8rem;
  }

  .pwa-install-btn__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .pwa-install-btn__content span {
    font-size: 0.78rem;
  }
}

@media (max-width: 800px) {
  .home-hero__visual {
    min-height: 270px;
  }
}

.home-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #26323d;
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-reassurance {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--home-gold);
  background: rgba(255, 255, 255, .78);
  color: #1d3f36;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 12px 30px rgba(21, 41, 45, .08);
}

.home-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(23, 33, 43, .16);
}

.home-button--primary {
  border-color: transparent;
  background: #123447;
  color: #fff !important;
}

.home-button--secondary {
  background: rgba(255, 255, 255, .82);
  color: var(--home-ink);
}

.home-hero__visual {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

.home-chip {
  position: absolute;
  display: block;
  width: 86px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .28));
}

.home-chip--one {
  top: 32px;
  left: 28px;
  transform: rotate(-9deg);
}

.home-chip--two {
  right: 24px;
  bottom: 62px;
  width: 112px;
  transform: rotate(8deg);
}

.home-chip--three {
  top: 82px;
  right: 108px;
  transform: rotate(14deg);
}

.home-message {
  display: grid;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 30px;
}

.home-message__intro {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line);
}

.home-message h2 {
  max-width: 620px;
  font-size: clamp(1.85rem, 8vw, 3.1rem);
  line-height: 1.04;
}

.home-message__body {
  display: grid;
  gap: 14px;
  color: #26323d;
  font-size: 1rem;
  line-height: 1.72;
}

.home-message__body p {
  margin: 0;
}

.home-message__body p:first-child {
  font-size: 1.08rem;
  color: var(--home-ink);
}

.home-feature-grid {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 26px;
}

.home-feature,
.home-anniversaries {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(23, 33, 43, .07);
}

.home-feature {
  padding: 18px;
}

.home-feature__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 125, 99, .12);
  color: var(--home-green);
  font-size: .74rem;
  font-weight: 900;
}

.home-feature h2 {
  font-size: 1.16rem;
}

.home-feature p {
  margin: 8px 0 0;
  color: var(--home-muted);
  line-height: 1.58;
}

.home-closing {
  padding-top: 34px;
  padding-bottom: 46px;
  text-align: center;
}

.home-closing p {
  margin: 0;
  color: var(--home-green);
  font-size: 1.2rem;
  font-weight: 800;
}

.home-closing strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 9vw, 4rem);
  line-height: 1.02;
}

@media (min-width: 560px) {
  .home-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .home-button {
    min-width: 180px;
  }

  .home-hero__visual {
    min-height: 340px;
  }
}

@media (min-width: 860px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    min-height: 72vh;
    /* padding-top: 62px; */
    padding-bottom: 60px;
  }

  .home-message {
    grid-template-columns: .78fr 1fr;
    gap: 54px;
    padding-top: 62px;
    padding-bottom: 48px;
  }

  .home-message__intro {
    position: sticky;
    top: 24px;
    align-self: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .home-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 42px;
  }
}
