:root {
  --background: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f2f4ed;
  --ink: #1f2a24;
  --muted: #68726b;
  --sage: #7c9885;
  --sage-dark: #4f6f59;
  --line: #e5e2d8;
  --shadow: 0 18px 44px rgba(46, 58, 49, 0.14);
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 28px 8px;
}

.brand,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 1.25rem;
  font-weight: 760;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.nav-links {
  color: var(--muted);
  font-size: 0.94rem;
  gap: 26px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid rgba(79, 111, 89, 0.22);
  border-radius: 999px;
  color: var(--sage-dark);
  padding: 10px 16px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 70px);
  padding: 54px 28px 84px;
}

.hero-copy {
  max-width: 690px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5.35vw, 5rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 620px;
}

.plain-note {
  border-left: 3px solid rgba(79, 111, 89, 0.28);
  font-size: 1rem !important;
  margin-top: 18px !important;
  max-width: 560px !important;
  padding-left: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 720;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
}

.button.primary {
  background: var(--ink);
  box-shadow: none;
  color: #fffdf8;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  color: var(--sage-dark);
}

.phone-wrap {
  display: grid;
  justify-items: center;
  min-height: 590px;
  place-items: center;
  position: relative;
}

.phone {
  background: #202721;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 42px;
  box-shadow: var(--shadow);
  max-width: 100%;
  padding: 13px;
  position: relative;
  width: 318px;
  z-index: 1;
}

.phone-speaker {
  background: #394139;
  border-radius: 999px;
  height: 5px;
  left: 50%;
  position: absolute;
  top: 18px;
  transform: translateX(-50%);
  width: 74px;
  z-index: 2;
}

.app-screen {
  background: #faf8f0;
  border-radius: 32px;
  min-height: 590px;
  overflow: hidden;
  padding: 38px 18px 20px;
}

.app-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-top div {
  display: grid;
  gap: 3px;
}

.app-top span,
.moment-copy span,
.memory-note span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.app-top strong {
  font-size: 1.15rem;
}

.status-dot {
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(124, 152, 133, 0.14);
  height: 10px;
  width: 10px;
}

.moment-card,
.memory-note {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(229, 226, 216, 0.9);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(47, 59, 50, 0.08);
}

.moment-card {
  display: grid;
  gap: 13px;
  padding: 10px;
}

.moment-card + .moment-card,
.memory-note {
  margin-top: 14px;
}

.moment-card img {
  aspect-ratio: 1.1 / 1;
  border-radius: 18px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.moment-card.compact {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 88px 1fr;
}

.moment-card.compact img {
  aspect-ratio: 1;
}

.moment-copy {
  display: grid;
  gap: 4px;
  padding: 0 4px 5px;
}

.moment-copy strong {
  font-size: 1rem;
}

.memory-note {
  padding: 16px;
  text-align: center;
}

.features {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 28px 92px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.privacy-band h2,
.closing h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-top: 16px;
}

.story-list {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.story-list article {
  display: grid;
  gap: 28px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 28px 0;
}

.story-list article + article {
  border-top: 1px solid var(--line);
}

.story-list span {
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

.story-list h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.18;
  max-width: 650px;
}

.story-list p {
  color: var(--muted);
  line-height: 1.62;
  margin-top: 12px;
  max-width: 620px;
}

.privacy-band {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink);
  margin: 0 auto 88px;
  max-width: 1180px;
  padding: 54px 58px;
}

.privacy-band div {
  max-width: 820px;
}

.privacy-band p {
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
  margin-top: 18px;
}

.closing {
  align-items: center;
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 860px;
  padding: 0 28px 96px;
  text-align: center;
}

.closing .button {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 22px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 28px;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 760px;
  }

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

  .app-screen {
    min-height: 560px;
  }

  .phone {
    width: min(338px, 88vw);
  }

  .privacy-band {
    margin-left: 28px;
    margin-right: 28px;
    padding: 36px 28px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero,
  .features,
  .closing {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 3.38rem;
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .phone-wrap {
    min-height: 500px;
  }

  .phone {
    border-radius: 34px;
    padding: 10px;
  }

  .app-screen {
    border-radius: 26px;
    min-height: 532px;
    padding: 34px 14px 16px;
  }

  .story-list article {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .privacy-band {
    margin-left: 18px;
    margin-right: 18px;
  }
}
