:root {
  --ink: #17342b;
  --muted: #667a72;
  --line: rgba(34, 76, 62, 0.12);
  --paper: #fbfbf7;
  --leaf: #4f8f6d;
  --leaf-dark: #24634f;
  --mint: #dff0e5;
  --sky: #dcebf0;
  --petal: #f4ddd6;
  --gold: #f2d78c;
  --shadow: 0 24px 70px rgba(29, 68, 53, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(242, 215, 140, 0.28), transparent 26rem),
    radial-gradient(circle at 84% 12%, rgba(220, 235, 240, 0.9), transparent 30rem),
    linear-gradient(180deg, #fbfbf7 0%, #f3f8f2 48%, #fbfbf7 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(251, 251, 247, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(28, 73, 55, 0.08);
}

.brand,
.nav-links,
.download-button,
.site-footer,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #5fa77d, #2b7058);
}

.nav-links {
  gap: 6px;
  font-size: 14px;
  color: #415e53;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(79, 143, 109, 0.1);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 58px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero-text,
.life-copy p,
.feature-card p,
.trust-grid p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: 18px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.download-button {
  gap: 12px;
  min-width: 178px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px rgba(43, 95, 73, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(43, 95, 73, 0.14);
}

.button-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.ios .button-icon {
  background: #17211e;
}

.android .button-icon {
  background: var(--leaf);
}

.download-button strong,
.download-button small {
  display: block;
}

.download-button small {
  color: var(--muted);
  font-size: 12px;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: min(86%, 520px);
  height: min(86%, 520px);
  border-radius: 44% 56% 62% 38%;
  background: linear-gradient(135deg, rgba(223, 240, 229, 0.94), rgba(244, 221, 214, 0.62));
  content: "";
  filter: blur(0.2px);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(340px, 78vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 12px 13px;
  font-size: 13px;
}

.phone-top span {
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: #20372f;
}

.phone-top em {
  justify-self: end;
  color: var(--leaf-dark);
  font-size: 12px;
  font-style: normal;
}

.chat-window {
  min-height: 530px;
  padding: 22px 16px 16px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(251, 251, 247, 0.78), rgba(230, 241, 233, 0.92)),
    repeating-linear-gradient(135deg, rgba(79, 143, 109, 0.04) 0 1px, transparent 1px 18px);
}

.message {
  display: flex;
  margin-bottom: 14px;
}

.message span {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(28, 73, 55, 0.07);
}

.message.other span {
  background: rgba(255, 255, 255, 0.84);
}

.message.mine {
  justify-content: flex-end;
}

.message.mine span {
  color: #fff;
  background: linear-gradient(145deg, #5ea77c, #2d7259);
}

.message.wide span {
  max-width: 88%;
}

.pinned-note {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 132px;
  padding: 8px 12px;
  border: 1px solid rgba(79, 143, 109, 0.12);
  border-radius: 999px;
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.composer span {
  color: #8a9993;
  font-size: 13px;
}

.composer button {
  border: 0;
  border-radius: 14px;
  padding: 9px 13px;
  color: #fff;
  background: var(--leaf-dark);
  font-weight: 800;
}

.phone-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px rgba(28, 73, 55, 0.12);
  backdrop-filter: blur(16px);
}

.phone-card-back {
  top: 78px;
  left: 6%;
  width: 190px;
  padding: 14px;
  transform: rotate(-7deg);
}

.mini-photo {
  height: 96px;
  margin-bottom: 12px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(244, 221, 214, 0.85), rgba(223, 240, 229, 0.9)),
    radial-gradient(circle at 70% 30%, var(--gold), transparent 36%);
}

.phone-card-back p {
  margin: 0;
  color: #536e63;
  font-size: 13px;
}

.phone-card-front {
  right: 4%;
  bottom: 94px;
  padding: 16px 18px;
}

.phone-card-front strong {
  display: block;
  font-size: 32px;
}

.phone-card-front span {
  color: var(--muted);
  font-size: 13px;
}

.feature-section,
.trust-section {
  padding: 86px 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.trust-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 38px rgba(28, 73, 55, 0.06);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 16px;
  color: var(--leaf-dark);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.life-section {
  margin: 36px 0;
  padding: 92px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(223, 240, 229, 0.66));
}

.life-shell {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.life-visual {
  position: relative;
  min-height: 420px;
}

.floating-photo,
.daily-card {
  position: absolute;
  box-shadow: var(--shadow);
}

.floating-photo {
  border: 10px solid rgba(255, 255, 255, 0.72);
  background-size: cover;
}

.floating-photo.one {
  left: 0;
  top: 22px;
  width: 56%;
  height: 310px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 28%, #f5e2a1, transparent 18%),
    linear-gradient(140deg, #dcebf0, #e8f1dc 48%, #f4ddd6);
}

.floating-photo.two {
  right: 3%;
  bottom: 18px;
  width: 48%;
  height: 250px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 72% 22%, #a7d2bd, transparent 20%),
    linear-gradient(150deg, #f6eee1, #dcebf0 58%, #b9d6c7);
}

.daily-card {
  left: 36%;
  top: 36%;
  z-index: 3;
  width: 220px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.daily-card p,
.daily-card span {
  color: var(--muted);
  font-size: 13px;
}

.daily-card strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.life-copy p {
  font-size: 17px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid article {
  min-height: 260px;
}

.trust-grid span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--leaf-dark);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  gap: 18px;
  color: #456056;
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .life-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .phone-stage {
    min-height: 610px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 22px, 1160px);
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-text {
    font-size: 16px;
  }

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

  .phone-stage {
    min-height: 560px;
  }

  .phone-card-back {
    display: none;
  }

  .phone-card-front {
    right: 0;
    bottom: 42px;
  }

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

  .feature-section,
  .trust-section,
  .life-section {
    padding: 64px 0;
  }

  .life-visual {
    min-height: 360px;
  }

  .floating-photo.one {
    width: 74%;
    height: 250px;
  }

  .floating-photo.two {
    width: 62%;
    height: 210px;
  }

  .daily-card {
    left: 18%;
    top: 42%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    width: min(100% - 28px, 1160px);
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
