:root {
  --coral: #ff5a4f;
  --orange: #ff8a3d;
  --ink: #111111;
  --muted: #666666;
  --soft: #f7f8fa;
  --line: #eceef1;
  --paper: #ffffff;
  --warm: #fff3ef;
  --shadow: 0 28px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(236, 238, 241, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  font-size: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 10px 24px rgba(255, 90, 79, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #3c3c3c;
  font-size: 15px;
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 9px 16px;
  color: #ffffff;
  border-radius: 999px;
  background: var(--ink);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 108px 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.section-heading h2,
.reason-copy h2,
.download-section h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 820;
}

.hero h2 {
  margin-top: 22px;
  font-size: clamp(29px, 3.4vw, 44px);
  font-weight: 780;
}

.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  font-weight: 720;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 16px 34px rgba(255, 90, 79, 0.25);
}

.button.secondary {
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
}

.button.large {
  min-height: 54px;
  padding: 0 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  padding: 8px 12px;
  color: #4b4b4b;
  font-size: 14px;
  border: 1px solid #ffe1d8;
  border-radius: 999px;
  background: #fff7f4;
}

.hero-visual {
  display: grid;
  min-height: 650px;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 138, 61, 0.18), transparent 30%),
    radial-gradient(circle at 20% 75%, rgba(255, 90, 79, 0.14), transparent 28%),
    var(--soft);
  border-radius: 36px;
}

.phone-shell {
  width: min(330px, 82vw);
  padding: 12px;
  border-radius: 48px;
  background: #141414;
  box-shadow:
    0 34px 80px rgba(17, 17, 17, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: 18px 18px 22px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, #fff8f5 0%, #ffffff 36%, #f8f9fb 100%);
}

.status-bar,
.app-title-row,
.contact-card,
.confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-bar {
  color: #202020;
  font-size: 12px;
  font-weight: 700;
}

.status-dots {
  color: #2b2b2b;
  font-size: 8px;
  letter-spacing: 2px;
}

.app-title-row {
  gap: 16px;
  margin-top: 30px;
}

.app-kicker {
  margin: 0 0 4px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 740;
}

.app-title-row h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.mini-bell {
  position: relative;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 90, 79, 0.16);
}

.mini-bell::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 15px;
  width: 15px;
  height: 18px;
  border: 2px solid var(--coral);
  border-bottom: 0;
  border-radius: 12px 12px 4px 4px;
}

.mini-bell::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.family-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.family-person {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  color: #5c5c5c;
  font-size: 13px;
  font-weight: 680;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.family-person.active {
  color: var(--ink);
  border-color: #ffd3c6;
  box-shadow: 0 12px 28px rgba(255, 90, 79, 0.1);
}

.avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #ffffff;
  font-weight: 780;
  border-radius: 50%;
}

.avatar.mother {
  background: linear-gradient(135deg, #ff7b72, #ffb26b);
}

.avatar.father {
  background: linear-gradient(135deg, #2f3340, #747989);
}

.avatar.child {
  background: linear-gradient(135deg, #ff9a6d, #ffd0a0);
}

.alert-button {
  display: grid;
  width: 100%;
  min-height: 116px;
  margin-top: 22px;
  place-items: center;
  color: #ffffff;
  border: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 22px 42px rgba(255, 90, 79, 0.24);
}

.alert-button span {
  font-size: 25px;
  font-weight: 820;
}

.alert-button small {
  margin-top: -24px;
  opacity: 0.86;
  font-size: 13px;
}

.contact-card {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.contact-card strong {
  display: block;
  font-size: 16px;
}

.contact-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-badge {
  padding: 6px 10px;
  color: #b63d31;
  font-size: 12px;
  font-weight: 730;
  border-radius: 999px;
  background: #fff0eb;
}

.reason-sheet {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px 14px;
  border: 1px solid #f0dad3;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -22px 45px rgba(17, 17, 17, 0.1);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: #dadde2;
}

.reason-sheet h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.reason-sheet p {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.reason-grid span {
  padding: 9px 8px;
  color: #343434;
  font-size: 12px;
  font-weight: 680;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.confirm-row {
  gap: 8px;
  margin-top: 12px;
}

.confirm-row button {
  flex: 1;
  min-height: 38px;
  color: #555555;
  font-weight: 720;
  border: 0;
  border-radius: 14px;
  background: #f0f1f3;
}

.confirm-row .confirm {
  color: #ffffff;
  background: var(--ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2,
.reason-copy h2,
.download-section h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 820;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.feature,
.boundary-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.card {
  min-height: 240px;
  padding: 28px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  background: var(--ink);
}

.card h3,
.feature h3,
.boundary-item h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.card p,
.feature p,
.boundary-item p,
.reason-copy p,
.download-section p,
.review-note p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  max-width: none;
  padding-right: max(28px, calc((100vw - 1160px) / 2 + 28px));
  padding-left: max(28px, calc((100vw - 1160px) / 2 + 28px));
  background: var(--soft);
}

.cards.six {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 178px;
  padding: 26px;
}

.feature h3::before,
.boundary-item h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
}

.reason-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}

.reason-copy p {
  max-width: 690px;
  margin-top: 22px;
  font-size: 18px;
}

.review-note {
  padding: 30px;
  color: #ffffff;
  border-radius: 8px;
  background: #151515;
  box-shadow: var(--shadow);
}

.review-note span {
  color: #ffb29a;
  font-size: 13px;
  font-weight: 760;
}

.review-note strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 30px;
  line-height: 1.08;
}

.review-note p {
  color: rgba(255, 255, 255, 0.72);
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.boundary-item {
  min-height: 210px;
  padding: 30px;
}

.download-section {
  margin: 42px auto 0;
  max-width: 1040px;
  padding: 78px 28px;
  text-align: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 138, 61, 0.18), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(255, 90, 79, 0.14), transparent 30%),
    var(--warm);
}

.download-section p {
  max-width: 620px;
  margin: 22px auto 30px;
  font-size: 18px;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 28px 64px;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

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

.site-footer a {
  color: var(--ink);
}

.legal-main {
  background: var(--soft);
  padding: 72px 28px 42px;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 58px 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 720;
}

.legal-content h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
}

.legal-content h2 {
  margin: 34px 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  line-height: 1.45;
}

.legal-content p {
  margin: 12px 0;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.9;
}

.legal-bullet {
  padding-left: 0.5em;
}

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

  .brand {
    font-size: 15px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero,
  .reason-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
    min-height: 0;
    padding-top: 78px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .cards.three,
  .cards.six,
  .boundary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    font-size: 14px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .section {
    padding: 74px 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-visual {
    margin-right: -8px;
    margin-left: -8px;
    border-radius: 24px;
  }

  .phone-shell {
    width: min(316px, 92vw);
  }

  .phone-screen {
    min-height: 625px;
  }

  .card,
  .feature,
  .boundary-item,
  .review-note {
    padding: 24px;
  }

  .download-section {
    margin: 0 20px;
    padding: 64px 20px;
  }

  .legal-main {
    padding: 42px 16px 28px;
  }

  .legal-content {
    padding: 34px 22px;
  }
}
