:root {
  --ink: #0b2345;
  --muted: #65758d;
  --soft: #eef5f2;
  --green: #3b9a74;
  --green-dark: #2f7f60;
  --blue: #4d8bf4;
  --coral: #ec7463;
  --line: #e5edf1;
  --white: #fff;
  --page: min(1280px, calc(100% - 96px));
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: #fff; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.site-header {
  position: relative;
  z-index: 50;
  height: 64px;
  padding: 0 max(48px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: #fff;
}

.brand { display: inline-flex; align-items: center; font-size: 22px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 58px; }
.desktop-nav a { position: relative; padding: 24px 0 22px; color: #1f2f42; font-size: 14px; font-weight: 600; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 0;
  height: 2px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .18s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 30px; }
.desktop-nav a.active { color: var(--green-dark); }
.header-action {
  justify-self: end;
  min-width: 118px;
  height: 42px;
  padding: 0 22px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 127, 96, .2);
}
.menu-button, .mobile-menu { display: none; }

.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 750;
  border: 0;
}
.primary-action { color: #fff; background: var(--green); box-shadow: 0 16px 30px rgba(47, 127, 96, .2); }
.secondary-action { color: #24344a; background: rgba(255, 255, 255, .75); border: 1px solid rgba(11, 35, 69, .14); backdrop-filter: blur(12px); }
.primary-action svg, .secondary-action svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #f4f8f6;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}
.hero::before {
  display: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  padding-top: 132px;
  padding-left: 88px;
}
.hero h1 {
  max-width: 550px;
  margin-bottom: 22px;
  font-size: clamp(72px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
}
.hero-lead {
  max-width: 620px;
  margin-bottom: 48px;
  color: #344459;
  font-size: clamp(27px, 2.4vw, 34px);
  line-height: 1.25;
  font-weight: 500;
}
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-phone {
  position: absolute;
  z-index: 4;
  right: max(64px, calc((100vw - 1280px) / 2 + 2px));
  bottom: -2px;
  width: clamp(276px, 21.5vw, 316px);
  aspect-ratio: 1001 / 1776;
  margin: 0;
  filter: drop-shadow(-16px 25px 19px rgba(13, 27, 38, .24));
}
.hero-phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 13%;
  right: 3%;
  bottom: 0;
  height: 20px;
  background: rgba(17, 28, 38, .18);
  border-radius: 50%;
  filter: blur(13px);
}
.hero-phone picture,
.hero-phone img { display: block; width: 100%; height: 100%; object-fit: contain; }

.feature-strip {
  width: var(--page);
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.feature-strip article {
  min-width: 0;
  padding: 0 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.feature-strip article:first-child { padding-left: 0; }
.feature-strip article:last-child { padding-right: 0; border-right: 0; }
.feature-number {
  color: var(--green);
  font-size: 55px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0;
}
.feature-number.blue { color: var(--blue); }
.feature-number.coral { color: var(--coral); }
.feature-strip h2 { margin-bottom: 8px; font-size: 20px; line-height: 1.15; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-strip svg { width: 34px; height: 34px; color: var(--green); }
.feature-strip article:nth-child(2) svg { color: var(--blue); }
.feature-strip article:nth-child(3) svg { color: var(--coral); }

.section-layout { width: var(--page); margin: 0 auto; }
.section-copy .eyebrow, .eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}
.section-copy h2 {
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(30px, 2.7vw, 38px);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}
.section-copy h2 .title-line { display: block; white-space: nowrap; }
.section-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.9; }

.product-section { min-height: 680px; padding: 78px 0 82px; background: #fff; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(360px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
.product-devices {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}
.device-card { margin: 0; text-align: center; }
.device-shot {
  position: relative;
  width: min(100%, 176px);
  /* iPhone 17 Pro simulator screenshots are 1206 × 2622. */
  aspect-ratio: 1206 / 2622;
  margin: 0 auto 22px;
  overflow: hidden;
  background: #fff;
  border: 5px solid #121b24;
  border-radius: 30px;
  box-shadow: 0 18px 34px rgba(17, 34, 48, .18);
}
.device-shot::before {
  display: none;
}
.device-shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.device-shot > .device-dynamic-island {
  position: absolute;
  z-index: 5;
  top: .65%;
  left: 50%;
  width: 34%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transform: translateX(-50%);
}
.device-monitor > img { object-position: center; transform: none; }
.monitor-camera-feed {
  position: absolute;
  z-index: 2;
  left: 4.1%;
  top: 22.72%;
  width: 91.8%;
  height: 48.1%;
  overflow: hidden;
  border-radius: 5.5% / 4.5%;
  background: #e9f1f5;
}
.monitor-camera-feed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.monitor-demo-values {
  position: absolute;
  z-index: 3;
  left: 7.8%;
  right: 7.8%;
  /* Align over the native placeholder value row in the 1206×2622 source image. */
  top: 80.8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  pointer-events: none;
}
.monitor-demo-values span {
  display: flex;
  align-items: center;
  min-height: 12px;
  padding: 2px 0 1px;
  background: #fff;
  color: #092753;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.monitor-demo-duration {
  position: absolute;
  z-index: 3;
  right: 8.1%;
  /* Cover the native 00:00 in-place; keep this tied to the source screenshot ratio. */
  top: 85.8%;
  min-width: 34px;
  padding: 3px 0 2px 4px;
  background: #fff;
  color: #092753;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.device-card figcaption strong { display: block; margin-bottom: 9px; font-size: 17px; }
.device-card figcaption span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-wrap: balance;
}

.product-section .section-copy h2 { font-size: clamp(30px, 2.45vw, 36px); }

.science-section { min-height: 500px; padding: 72px 0; background: #f4faf7; }
.science-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
}
.science-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.science-cards article {
  min-height: 320px;
  padding: 28px 24px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(224,235,230,.92);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(55, 96, 82, .08);
}
.science-cards h3 { margin-bottom: 14px; font-size: 18px; text-wrap: balance; }
.science-cards p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.science-cards img {
  width: 115px;
  height: 190px;
  margin: 24px auto 0;
  object-fit: cover;
  object-position: top;
  border: 4px solid #17202a;
  border-radius: 22px;
  box-shadow: 0 16px 28px rgba(17, 34, 48, .13);
}
.science-cards .science-illustration {
  width: calc(100% + 12px);
  height: 168px;
  margin: 18px -6px 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  image-rendering: auto;
}
.science-cards .science-chart { height: 160px; }
.science-cards .science-eye { height: 170px; }
.science-cards .science-posture { height: 176px; margin-top: 10px; }
.mini-chart {
  height: 150px;
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.mini-chart span {
  width: 18px;
  border-radius: 999px 999px 0 0;
  background: #79a8f4;
}
.mini-chart span:nth-child(1) { height: 48px; }
.mini-chart span:nth-child(2) { height: 92px; }
.mini-chart span:nth-child(3) { height: 64px; }
.mini-chart span:nth-child(4) { height: 128px; }
.rule-icons { margin-top: 54px; display: flex; justify-content: space-between; color: #65aee8; }
.rule-icons svg { width: 34px; height: 34px; }
.rule-numbers { margin-top: 8px; display: flex; justify-content: space-between; color: #65aee8; font-size: 13px; font-weight: 700; }

.guide-section { min-height: 590px; padding: 72px 0 78px; background: #fff; }
.wide-copy { margin-bottom: 38px; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-cards article {
  position: relative;
  min-height: 390px;
  padding: 34px 28px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(24, 49, 68, .06);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--green);
  background: #eaf7f1;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}
.step-number.blue { color: var(--blue); background: #eef5ff; }
.step-number.coral { color: var(--coral); background: #fff1ed; }
.guide-cards h3 { margin-bottom: 10px; font-size: 19px; }
.guide-cards p { max-width: 210px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.guide-cards img {
  position: absolute;
  right: 20px;
  bottom: -58px;
  width: 150px;
  height: 287px;
  object-fit: cover;
  object-position: top;
  border: 5px solid #17202a;
  border-radius: 26px;
  box-shadow: 0 16px 32px rgba(17, 34, 48, .14);
}
.guide-cards img.guide-timer-island {
  z-index: 3;
  top: 163px;
  right: 69.5px;
  bottom: auto;
  width: 51px;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.privacy-section { min-height: 425px; padding: 72px 0; background: #f6faf8; }
.privacy-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.privacy-points article {
  min-height: 270px;
  padding: 42px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(224,235,230,.95);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(55, 96, 82, .08);
}
.privacy-points svg { width: 56px; height: 56px; margin-bottom: 25px; color: #62a9d6; }
.privacy-points h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.45; text-wrap: balance; }
.privacy-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.about-section {
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: #fbfdfc;
}
.about-section::before {
  display: none;
}
.about-section > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 38%;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.about-copy {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 48px));
  margin-left: max(70px, calc((100vw - 1280px) / 2));
}
.about-copy h2 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: clamp(34px, 3.7vw, 48px);
  line-height: 1.22;
  text-wrap: balance;
}
.about-copy h2 .title-line { display: inline; }
.about-copy p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.85; }

footer {
  width: var(--page);
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 58px;
  color: #44566b;
  font-size: 13px;
}
footer strong { color: var(--ink); font-size: 20px; }
footer nav { display: flex; gap: 34px; }
footer a:hover { color: var(--green-dark); }
footer p { margin: 0; color: #8a98a8; }

@media (max-width: 1020px) {
  :root { --page: min(100% - 36px, 720px); }
  .desktop-nav, .header-action { display: none; }
  .site-header { width: 100%; height: 64px; padding: 0 18px; display: flex; }
  .brand { font-size: 20px; }
  .menu-button {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: transparent;
    border: 0;
  }
  .mobile-menu {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    padding: 8px;
    display: grid;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(17, 34, 48, .12);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 14px; border-bottom: 1px solid #eef3f5; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .hero { min-height: 720px; }
  .hero-copy { padding-top: 86px; padding-left: 0; }
  .hero-phone { width: 230px; right: 20px; bottom: 0; }
  .feature-strip { grid-template-columns: 1fr; padding: 18px 0; }
  .feature-strip article, .feature-strip article:first-child, .feature-strip article:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-strip article:last-child { border-bottom: 0; }
  .product-layout, .science-layout, .privacy-layout { grid-template-columns: 1fr; gap: 42px; }
  .product-devices, .science-cards { overflow-x: auto; grid-template-columns: repeat(4, 190px); padding: 12px 4px 22px; }
  .guide-cards, .privacy-points { grid-template-columns: 1fr; }
  .about-section { min-height: 520px; grid-template-columns: 1fr; }
  .about-copy { margin-left: 24px; }
  footer { padding: 36px 0; grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 32px); }
  .hero { min-height: 620px; }
  .hero-photo { object-position: 42% center; }
  .hero h1 { font-size: 50px; }
  .hero-lead { max-width: 280px; font-size: 23px; text-wrap: balance; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(290px, 100%); gap: 12px; }
  .hero-phone { display: none; }
  .feature-number { font-size: 42px; }
  .product-section, .science-section, .guide-section, .privacy-section { padding: 72px 0; }
  .product-devices, .science-cards { grid-template-columns: repeat(4, 176px); }
  .guide-cards article { min-height: 300px; }
  .guide-cards img { width: 130px; height: 252px; right: 16px; }
  .privacy-points article { padding: 34px 24px; }
  .about-section { min-height: 470px; }
  .about-section > img { left: 50%; width: 50%; object-position: center; }
  .about-copy { width: 46%; margin-left: 16px; }
  .about-copy h2 { max-width: 100%; font-size: 30px; line-height: 1.25; }
  .about-copy h2 .title-line { display: block; white-space: nowrap; }
  .about-copy p:not(.eyebrow) { font-size: 13px; line-height: 1.75; }
  footer nav { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
