@font-face {
  font-family: "Ami Noto Serif";
  src: url("assets/NotoSerifSC-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcf8f0;
  --cream: #f5ecdf;
  --ink: #173d32;
  --muted: #42564a;
  --sage: #e7ecdf;
  --terra: #964323;
  --line: #d9d9c9;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bc682e; outline-offset: 5px; }
img { display: block; }
h1, h2, h3 { font-family: "Ami Noto Serif", "Songti SC", "SimSun", serif; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.23; text-wrap: balance; }
h3 { font-size: clamp(20px, 2.15vw, 29px); line-height: 1.28; }
em { font-family: Georgia, serif; font-weight: 500; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 18px; padding: 12px; background: white; z-index: 5; }
.skip-link:focus { top: 12px; }
.top { border-bottom: 1px solid #eadfcf; }
.top-inner, .brand, .site-nav, .actions { display: flex; align-items: center; }
.top-inner { min-height: 78px; justify-content: space-between; gap: 26px; }
.brand { gap: 10px; font-weight: 750; font-size: 21px; white-space: nowrap; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand em { margin-left: 3px; font-size: 24px; }
.site-nav { gap: clamp(18px, 3.6vw, 52px); font-size: 15px; }
.site-nav a, .nav-download { text-decoration: none; }
.site-nav a:hover, .text-link:hover { color: var(--terra); }
.pill { display: inline-flex; gap: 16px; align-items: center; justify-content: center; text-decoration: none; border-radius: 100px; font-weight: 700; white-space: nowrap; }
.nav-download { padding: 9px 17px; border: 1px solid var(--ink); font-size: 14px; }
.solid { background: var(--ink); color: white; padding: 14px 23px; font-size: 16px; }
.solid:hover { background: #245846; }
.hero { background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 0.87fr 1.13fr; min-height: 455px; align-items: center; gap: clamp(24px, 5vw, 74px); padding-block: 46px; }
.hero h1 { font-size: clamp(42px, 5.5vw, 78px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 em { display: block; color: var(--terra); font-size: .69em; line-height: 1.08; margin-top: 6px; }
.subtitle { font-weight: 750; font-size: clamp(20px, 2.1vw, 28px); margin-top: 15px; letter-spacing: .07em; }
.hero-text { color: var(--muted); max-width: 31em; margin-top: 15px; font-size: 16px; line-height: 1.85; }
.actions { gap: 23px; flex-wrap: wrap; margin-top: 23px; }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 12px;
  background: #e7d9c2;
}
.features { padding-block: 62px 54px; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.role {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 45%);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: center;
  padding: clamp(16px, 2.7vw, 36px);
  border-radius: 10px;
}
.role-family { background: #e9ede1; }
.role-elder { background: #f6e8d8; }
.role-name { color: var(--terra); font-weight: 750; font-size: 13px; margin-bottom: 9px; }
.role-copy > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.78; margin-top: 12px; }
.app-screen {
  display: block;
  width: 100%;
  max-width: 215px;
  justify-self: end;
  border: 3px solid #263f33;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  background: #fbf7ec;
  box-shadow: 0 7px 14px #29382924;
}
.app-screen img { width: 100%; height: auto; }
.screen-caption { color: var(--muted); margin-top: 12px; font-size: 12px; }
.guide { padding-block: 58px; background: var(--sage); }
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4.7vw, 65px); padding: 0; margin-top: 27px; }
.steps li { counter-increment: step; border-top: 1px solid #aeb9a4; padding-top: 17px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--terra); font: italic 25px Georgia, serif; display: block; margin-bottom: 8px; }
.steps h3 { font-size: clamp(20px, 2vw, 26px); }
.steps p, .consent p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-top: 7px; }
.consent { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto; gap: 18px; align-items: center; margin-top: 30px; padding: 16px 19px; border-left: 3px solid #728465; background: #f2f4eb; }
.consent p { margin: 0; }
.consent a { font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.faq { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 42px; padding-block: 60px; }
.faq > div:first-child p { color: var(--muted); font-size: 15px; margin-top: 9px; }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 15px 39px 15px 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; color: var(--terra); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 15px; font-size: 15px; line-height: 1.75; }
.closing { background: var(--sage); }
.closing-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: clamp(30px, 4vw, 50px);
}
.closing h2 { font-size: clamp(24px, 2.8vw, 36px); }
footer { background: var(--paper); }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding-block: 44px 38px;
}
.footer-main p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.footer-main nav { display: grid; justify-items: start; align-content: start; gap: 10px; font-size: 14px; }
.footer-main nav a { color: var(--muted); text-decoration: none; text-underline-offset: 4px; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-company { border-top: 1px solid var(--line); color: var(--muted); padding-block: 17px; font-size: 13px; }
.legal { width: min(780px, calc(100% - 40px)); margin: 35px auto 65px; }
.legal h1 { font-size: 34px; margin: 30px 0 18px; }
.legal .policy { white-space: pre-wrap; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .top-inner { min-height: 0; gap: 12px; flex-wrap: wrap; padding-block: 11px; }
  .site-nav { order: 3; flex: 1 0 100%; justify-content: center; gap: clamp(12px, 6vw, 42px); font-size: 14px; padding-block: 4px; }
  .brand { font-size: 17px; }
  .brand img { width: 36px; height: 36px; }
  .nav-download { padding: 8px 11px; gap: 7px; font-size: 13px; }
  .hero-grid, .roles, .steps, .faq, .consent { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 25px; padding-block: 32px; }
  .hero h1 em { display: inline; margin-left: .12em; }
  .features, .guide, .faq { padding-block: 35px; }
  .roles { margin-top: 19px; gap: 12px; }
  .steps { gap: 17px; }
  .consent { gap: 6px; }
  .faq { gap: 16px; }
  .closing-inner { flex-wrap: wrap; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px; }
  .footer-main > div { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .hero h1 { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
