:root {
  color-scheme: light;
  --ink: #18392f;
  --muted: #52645a;
  --paper: #f7f8f3;
  --forest: #122f28;
  --cream: #f5f7ee;
  --mint: #d6e8a0;
  --line: #dbe3d9;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.masthead, .hero { background: var(--forest); color: var(--cream); }
.masthead { border-bottom: 1px solid #ffffff20; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 1.25rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 11px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { font-size: .9375rem; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }
.nav-scan { border: 1px solid #adc3b4; border-radius: 100px; padding: 9px 16px; }
.hero { background-image: radial-gradient(ellipse at 81% 46%, #244f41 0%, transparent 55%); }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 76px); padding-block: clamp(52px, 7vw, 96px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.35rem, 4.75vw, 4.3rem); line-height: 1.22; letter-spacing: -.035em; }
h1 em { color: var(--mint); font-style: normal; }
.intro { margin-top: 24px; max-width: 26em; color: #d5e1d6; font-size: 1.125rem; line-height: 1.8; }
.scan { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding: 12px 22px 12px 12px; border-radius: 18px; background: #eef3e9; color: var(--ink); scroll-margin-top: 20px; }
.scan .app-icon { width: 58px; border-radius: 10px; background: #fff; }
.scan figcaption { display: grid; gap: 6px; }
.scan strong { font-size: 1.125rem; }
.scan span { font-size: .875rem; color: var(--muted); }
.product { text-align: center; }
.product img { width: 100%; border-radius: 22px; box-shadow: 0 18px 48px #081a1475; }
.product figcaption { color: #cfddd0; font-size: .875rem; margin-top: 14px; }
.details { padding-block: clamp(42px, 6vw, 74px); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.feature-grid article { border-top: 2px solid #8fae9b; padding-top: 15px; }
h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-grid p { color: var(--muted); line-height: 1.7; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; color: var(--muted); font-size: .875rem; }
:focus-visible { outline: 3px solid #8bb943; outline-offset: 5px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; }
  nav { gap: 14px; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .product { width: min(100%, 480px); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 7px; }
  nav { gap: 10px; }
  .nav-scan { padding-inline: 10px; }
  .intro { font-size: 1rem; }
}
