:root {
  --green: #0f9344;
  --green-dark: #0b6d35;
  --green-soft: #eaf7ef;
  --ink: #17221b;
  --muted: #66766b;
  --line: #e6eee8;
  --page: #f7faf8;
  --white: #fff;
  --warm: #fff7ee;
  --shadow: 0 24px 70px rgba(29, 55, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); line-height: 1.8; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1.05; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(230, 238, 232, .86);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}
.logo span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 147, 68, .22);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #435146;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: var(--green);
}
.menu-button {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.home-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(22px, 6vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 224, 208, .64), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(201, 241, 217, .9), transparent 34%),
    linear-gradient(180deg, #fff, #f3faf6);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy p:not(.eyebrow),
.page-hero p {
  max-width: 680px;
  margin-top: 22px;
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.page-actions {
  margin-top: 28px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
}
.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(15, 147, 68, .24);
}
.button.secondary {
  color: var(--green-dark);
  border: 1px solid rgba(15, 147, 68, .26);
  background: rgba(255, 255, 255, .78);
}
.hero-visual {
  position: relative;
  min-height: 650px;
}
.phone {
  overflow: hidden;
  margin: 0;
  border: 10px solid #111;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}
.main-phone {
  width: min(360px, 70vw);
  margin-left: auto;
}
.sub-phone {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: min(260px, 45vw);
}
.phone img { width: 100%; }
.section {
  padding: clamp(58px, 8vw, 104px) clamp(22px, 6vw, 88px);
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head h2,
.intro-band h2,
.split h2 { margin-bottom: 16px; }
.intro-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
}
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-card,
.privacy-grid article,
.about-panel > div,
.steps article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(28, 48, 35, .06);
}
.feature-card span,
.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 900;
}
.feature-card h3,
.privacy-grid h2,
.about-panel h2,
.steps h2 { margin-bottom: 12px; }
.split {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.split.light { background: #fff; }
.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green-dark);
  font-weight: 900;
}
.home-scan-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  margin: 0 clamp(22px, 6vw, 88px) clamp(58px, 8vw, 104px);
  padding: clamp(42px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 241, 217, .95), transparent 36%),
    linear-gradient(135deg, #fff, #f4fbf7 58%, #fff7ee);
  box-shadow: var(--shadow);
}
.home-scan-entry.section {
  padding: clamp(42px, 6vw, 72px);
}
.home-scan-copy {
  max-width: 820px;
}
.home-scan-copy h2 {
  max-width: 820px;
}
.home-scan-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 16px;
  font-size: 19px;
}
.home-scan-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-scan-steps span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(15, 147, 68, .18);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, .72);
  font-weight: 900;
}
.home-scan-card {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(15, 147, 68, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  text-align: center;
  box-shadow: 0 18px 48px rgba(28, 48, 35, .1);
}
.home-scan-card img {
  width: min(230px, 58vw);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.home-scan-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}
.home-scan-card p {
  margin-top: 4px;
}
.screen-card {
  max-height: 620px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.screen-card img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.screen-card.wide { max-height: 520px; }
.home-product-visual {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(201, 241, 217, .88), transparent 34%),
    linear-gradient(180deg, #fff, #f8fcfa);
  box-shadow: var(--shadow);
}
.visual-topline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mini-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(15, 147, 68, .2);
}
.visual-topline strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}
.visual-topline p {
  margin-top: 2px;
}
.memory-board {
  display: grid;
  grid-template-columns: minmax(220px, .92fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: stretch;
}
.memory-photo {
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--green-soft);
}
.memory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 45%;
}
.memory-notes {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 240px;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 48, 35, .08);
}
.memory-notes span {
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 900;
}
.memory-notes strong {
  font-size: 24px;
  line-height: 1.3;
}
.home-flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-flow-cards span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 147, 68, .16);
  border-radius: 18px;
  color: var(--green-dark);
  background: rgba(234, 247, 239, .82);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}
.family-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 48, 35, .07);
}
.family-strip b {
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 15px;
}
.family-strip span {
  margin-left: auto;
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  padding: clamp(68px, 10vw, 126px) clamp(22px, 6vw, 88px);
  background:
    radial-gradient(circle at 88% 16%, rgba(201, 241, 217, .9), transparent 32%),
    linear-gradient(180deg, #fff, #f6fbf7);
}
.page-hero.compact { padding-bottom: clamp(52px, 7vw, 82px); }
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.feature-list article {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  min-height: 520px;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(28, 48, 35, .06);
}
.pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 900;
}
.feature-list h2 { margin-bottom: 14px; }
.feature-visual {
  min-height: 270px;
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 241, 217, .85), transparent 34%),
    linear-gradient(180deg, #f9fdfb, #fff);
  overflow: hidden;
}
.visual-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.visual-photo-row img,
.visual-album-grid img,
.comment-photo-img {
  width: 100%;
  min-height: 130px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(28, 48, 35, .1);
}
.visual-photo-row img:nth-child(1) { object-position: 6% 20%; }
.visual-photo-row img:nth-child(2) { object-position: 48% 20%; }
.visual-photo-row img:nth-child(3) { object-position: 86% 20%; }
.note-card {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 48, 35, .09);
}
.note-card strong,
.comment-list strong {
  color: var(--ink);
}
.note-card p {
  margin-top: 8px;
}
.month-tabs {
  display: flex;
  gap: 10px;
}
.month-tabs span {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 900;
}
.visual-album-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 12px;
}
.visual-album-grid img:nth-child(1) {
  grid-row: span 2;
  min-height: 236px;
  object-position: 10% 62%;
}
.visual-album-grid img:nth-child(2) { object-position: 50% 62%; }
.visual-album-grid img:nth-child(3) { object-position: 88% 62%; }
.comment-visual {
  grid-template-columns: 160px 1fr;
  align-items: center;
}
.comment-photo-img {
  min-height: 190px;
  object-position: 12% 18%;
}
.comment-list {
  display: grid;
  gap: 12px;
}
.comment-list p {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 48, 35, .08);
}
.family-visual {
  align-content: center;
}
.member-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 48, 35, .09);
}
.member-card b {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: var(--green);
  font-size: 38px;
}
.member-card span,
.member-row span {
  color: var(--green-dark);
  font-weight: 900;
}
.member-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.member-row span {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--green-soft);
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
#flow {
  scroll-margin-top: 96px;
}
.journey-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #fff;
}
.journey-section h2 {
  margin-bottom: 16px;
}
.journey-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f6fbf7, #fff);
  box-shadow: var(--shadow);
}
.journey-gallery figure {
  margin: 0;
}
.journey-gallery img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(28, 48, 35, .12);
}
.journey-gallery figcaption {
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.qa {
  background: #fff;
}
.qa h2 { margin-bottom: 22px; }
details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}
details p {
  max-width: 760px;
  margin-top: 12px;
}
.about-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.founder-letter {
  padding-top: 0;
}
.letter-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(201, 241, 217, .82), transparent 30%),
    linear-gradient(180deg, #fff, #fbfdfb);
  box-shadow: var(--shadow);
}
.letter-card h2 {
  max-width: 760px;
  margin-bottom: 28px;
}
.letter-copy {
  display: grid;
  gap: 20px;
  max-width: 880px;
}
.letter-copy p {
  color: #506157;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 2;
}
.letter-sign {
  margin-top: 30px;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
}
.email-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
}
.contact-section {
  padding-top: 0;
  scroll-margin-top: 96px;
}
.contact-head {
  max-width: 1120px;
}
.contact-head h2 {
  max-width: 100%;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.qr-grid article {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 520px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 42px rgba(28, 48, 35, .06);
}
.qr-grid img {
  width: min(258px, 72vw);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.qr-grid p {
  max-width: 360px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}
.site-footer a:hover { color: var(--green); }
.site-footer p a {
  color: inherit;
}
.site-footer p a:hover {
  color: var(--green);
}

@media (max-width: 980px) {
  .menu-button { display: inline-flex; align-items: center; }
  .site-header {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .home-hero,
  .intro-band,
  .split,
  .home-scan-entry,
  .journey-section,
  .feature-list,
  .feature-list article,
  .privacy-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  .main-phone,
  .sub-phone {
    position: static;
    width: 100%;
  }
  .sub-phone { margin-top: 44px; }
  .card-grid.three,
  .steps,
  .journey-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-scan-entry {
    margin: 0 clamp(22px, 6vw, 88px) clamp(58px, 8vw, 104px);
  }
  .home-scan-card {
    width: 100%;
  }
}

@media (max-width: 620px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero-copy p:not(.eyebrow),
  .page-hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { grid-template-columns: 1fr; }
  .sub-phone { display: none; }
  .card-grid.three,
  .steps,
  .journey-gallery {
    grid-template-columns: 1fr;
  }
  .feature-list article {
    min-height: auto;
  }
  .home-scan-entry {
    margin: 0 22px 58px;
  }
  .comment-visual,
  .visual-album-grid,
  .visual-photo-row,
  .memory-board,
  .home-flow-cards {
    grid-template-columns: 1fr;
  }
  .home-product-visual {
    padding: 22px;
  }
  .family-strip span {
    width: 100%;
    margin-left: 0;
  }
  .visual-album-grid img:nth-child(1) {
    grid-row: auto;
    min-height: 130px;
  }
  .qr-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
