:root {
  --c-cream: #fbf7f0;
  --c-surface: #ffffff;
  --c-surface-2: #f6f1e8;
  --c-sage: #5e8c6a;
  --c-sage-deep: #3f6b4c;
  --c-sage-soft: #e3ede3;
  --c-ink: #34302a;
  --c-muted: #7a7468;
  --c-faint: #9a917f;
  --c-sand: #e7e0d6;
  --c-blue: #46688c;
  --c-heart: #c0563f;
  --shadow: 0 18px 46px rgba(67, 57, 45, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.hero,
.band,
.features,
.trust,
.cta,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  display: block;
  width: 166px;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link {
  color: var(--c-sage-deep);
  font-weight: 800;
  text-decoration: none;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 0 22px;
  background: var(--c-sage-deep);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(47, 77, 66, 0.18);
}

.button--secondary {
  background: var(--c-surface);
  color: var(--c-sage-deep);
  border: 1px solid var(--c-sand);
  box-shadow: none;
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
}

.hero {
  min-height: calc(100svh - 168px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  padding: 4px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--c-heart);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--c-ink);
  font-family: "Quicksand", ui-rounded, "Nunito Sans", system-ui, sans-serif;
  line-height: 1.06;
}

h1 {
  max-width: 790px;
  font-size: clamp(42px, 7vw, 74px);
}

h2 {
  font-size: clamp(31px, 4.4vw, 54px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--c-sage-deep);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.phone-shell {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(360px, 100%);
  min-height: 500px;
  border: 10px solid #2f2b25;
  border-radius: 42px;
  background: var(--c-cream);
  box-shadow: var(--shadow);
  padding: 18px;
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-sage-deep);
  font-weight: 900;
}

.phone__top img {
  width: 42px;
  height: 42px;
}

.memory-card,
.note-card {
  margin-top: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-sand);
  border-radius: 18px;
  padding: 14px;
}

.memory-card__photo {
  height: 184px;
  border-radius: 14px;
  margin-bottom: 14px;
  background:
    linear-gradient(145deg, rgba(94, 140, 106, 0.3), rgba(70, 104, 140, 0.26)),
    radial-gradient(circle at 72% 28%, rgba(192, 86, 63, 0.28), transparent 30%),
    var(--c-surface-2);
}

.memory-card p,
.note-card p,
.features p,
.trust p,
.band p,
.cta p {
  color: var(--c-muted);
  line-height: 1.58;
}

.family-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.family-row span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-sage-soft);
  color: var(--c-sage-deep);
  font-weight: 900;
}

.family-row span:nth-child(2) {
  background: #dce6ef;
  color: var(--c-blue);
}

.family-row span:nth-child(3) {
  background: #efe1ea;
  color: #9a5c80;
}

.family-row span:nth-child(4) {
  background: var(--c-surface);
  border: 1px solid var(--c-sand);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  padding: 64px 0;
  border-top: 1px solid var(--c-sand);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 10px 0 72px;
}

.features article {
  min-height: 280px;
  background: var(--c-surface);
  border: 1px solid var(--c-sand);
  border-radius: 8px;
  padding: 24px;
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border-radius: 50%;
  background: var(--c-sage-soft);
  color: var(--c-sage-deep);
  font-weight: 900;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  padding: 58px;
  background: var(--c-sage-deep);
  border-radius: 8px;
  color: #ffffff;
}

.trust h2,
.trust .eyebrow,
.trust p {
  color: #ffffff;
}

.trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.trust li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.45;
}

.cta {
  padding: 82px 0 70px;
  text-align: center;
}

.cta p {
  margin: 16px auto 0;
  max-width: 640px;
}

.cta .hero__actions {
  justify-content: center;
}

.footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--c-sand);
  color: var(--c-muted);
}

.footer span {
  margin-right: auto;
  color: var(--c-sage-deep);
  font-weight: 900;
}

.footer a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  .brand img {
    width: 140px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .link {
    display: none;
  }

  .hero,
  .band,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
    min-height: calc(100svh - 148px);
  }

  .phone-shell {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .trust {
    width: 100%;
    border-radius: 0;
    padding: 42px 24px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 20px 0;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .band,
  .features,
  .cta,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 16px;
    text-align: center;
  }

  .phone {
    min-height: 540px;
  }
}
