/* =========================================================
   家庭健康管理 · 下载页
   Design tokens
   ========================================================= */
:root {
  --green-950: #061C14;
  --green-900: #0B2B1F;
  --green-800: #103827;
  --green-700: #1B5E3F;
  --green-600: #2E7D4F;
  --green-500: #3FA46A;
  --green-300: #9BD8B4;
  --mint-100: #EAF6EF;
  --mint-200: #D8EFE1;
  --ink: #10251C;
  --ink-soft: #34493E;
  --muted: #5E7267;
  --line: #E1EBE4;
  --line-strong: #CBDCD1;
  --bg: #F6FAF7;
  --bg-tint: #F0F7F2;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(16, 37, 28, .05), 0 6px 18px rgba(16, 37, 28, .04);
  --shadow-md: 0 24px 60px -24px rgba(16, 37, 28, .22), 0 2px 8px rgba(16, 37, 28, .04);
  --shadow-lg: 0 40px 90px -30px rgba(11, 43, 31, .35);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--mint-200); color: var(--green-900); }

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid rgba(63, 164, 106, .55);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green-900);
  color: #fff;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn .ico { width: 19px; height: 19px; }

.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(46, 125, 79, .65);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(46, 125, 79, .7);
}

.btn-ghost {
  background: rgba(255, 255, 255, .7);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--green-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #fff;
  color: var(--green-900);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5);
}
.btn-light:hover {
  background: var(--mint-100);
  transform: translateY(-2px);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
}

.btn-sm { height: 40px; padding: 0 17px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-lg .ico { width: 21px; height: 21px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--green-700);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.text-link:hover { gap: 12px; border-color: var(--green-500); }
.text-link .ico { width: 18px; height: 18px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 247, .82);
  border-bottom: 1px solid rgba(225, 235, 228, .8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--green-900);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(120% 120% at 20% 0%, #55B97C 0%, transparent 55%),
    linear-gradient(145deg, var(--green-500), var(--green-700) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 14px -6px rgba(27, 94, 63, .55);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand-text { font-size: 17px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  margin-left: auto;
  margin-right: clamp(8px, 2vw, 26px);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-chip {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  background: rgba(255, 255, 255, .6);
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 10px var(--pad) 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 0;
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(155, 216, 180, .28) 0%, transparent 60%),
    linear-gradient(180deg, #F3FAF5 0%, var(--bg) 78%);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 164, 106, .22) 0%, transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.hero-copy { max-width: 590px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--green-700);
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(63, 164, 106, .16);
}
.eyebrow.light { color: var(--green-300); }
.eyebrow.light .dot { background: #7BE0A6; box-shadow: 0 0 0 4px rgba(123, 224, 166, .16); }

.hero h1 {
  font-size: clamp(2.55rem, 5.4vw, 4.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--green-950);
  margin-bottom: 22px;
}

.hl {
  background: linear-gradient(180deg, transparent 64%, #C9F0D9 64%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 .06em;
}

.lede {
  max-width: 540px;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-points .ico { width: 17px; height: 17px; color: var(--green-600); }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(480px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .9), rgba(216, 239, 225, .65) 55%, transparent 70%);
  filter: blur(2px);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: min(430px, 84%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(46, 125, 79, .22);
}

.phone {
  position: relative;
  z-index: 2;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(150deg, #24312A 0%, #0C1511 60%, #26332C 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .18) inset,
    0 40px 80px -30px rgba(11, 43, 31, .55),
    0 10px 24px -12px rgba(11, 43, 31, .35);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  background: #fff;
}

.phone-hero {
  width: clamp(248px, 25vw, 318px);
  transform: rotate(-2.2deg);
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background: #0C1511;
  transform: translateX(-50%);
  opacity: .92;
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 40px -22px rgba(11, 43, 31, .45), 0 2px 6px rgba(11, 43, 31, .04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.float-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.score-card {
  left: 0;
  top: 14%;
  width: 150px;
}
.score-card strong {
  display: block;
  margin: 2px 0 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--green-800);
}
.score-card strong span {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.trend-up {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--mint-100);
}

.metric-card {
  right: 0;
  bottom: 17%;
  width: 196px;
}
.metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.metric-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--green-700);
  background: var(--mint-100);
}
.metric-ico .ico { width: 18px; height: 18px; }
.metric-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.metric-card strong span {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.metric-bar {
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: #E7F0EA;
  overflow: hidden;
}
.metric-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
}

.device-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  right: 8%;
  top: 7%;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-800);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 0 0 rgba(52, 168, 83, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, .45); }
  70% { box-shadow: 0 0 0 8px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}
.device-pill .battery {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 84px);
  padding: 28px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.stat-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 16px;
  text-align: center;
}
.stat-band > div + div { border-left: 1px solid var(--line); }
.stat-band strong {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
}
.stat-band span {
  font-size: 12.5px;
  color: var(--muted);
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: clamp(72px, 9vw, 118px) 0;
}
.section-tint {
  background:
    radial-gradient(70% 60% at 15% 0%, rgba(155, 216, 180, .22), transparent 60%),
    var(--bg-tint);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(38px, 5vw, 56px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--green-950);
  margin-bottom: 14px;
}
.section-head p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.section-head .eyebrow { margin-bottom: 14px; }

.section-sub {
  max-width: 470px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(63, 164, 106, .5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.feature-card:hover::after { opacity: 1; }

.feature-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--green-700);
  background: var(--mint-100);
  box-shadow: inset 0 1px 0 #fff;
}
.feature-ico .ico { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 18px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--green-950);
}
.feature-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* Device */
.device-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.device-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.24;
  letter-spacing: -.03em;
  color: var(--green-950);
  margin-bottom: 6px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list .ico {
  margin-top: 3px;
  color: var(--green-600);
  width: 19px;
  height: 19px;
}

.device-visual { position: relative; display: grid; place-items: center; }

.device-orbit {
  position: absolute;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(46, 125, 79, .25);
  animation: spin 60s linear infinite;
}
.device-orbit::before,
.device-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(63, 164, 106, .14);
}
.device-orbit::before { top: 8%; left: 20%; }
.device-orbit::after { bottom: 12%; right: 16%; background: var(--green-300); }
@keyframes spin { to { transform: rotate(360deg); } }

.device-card {
  position: relative;
  z-index: 2;
  width: min(400px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.device-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.device-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-500), var(--green-700));
  box-shadow: 0 8px 18px -10px rgba(27, 94, 63, .7);
}
.device-ico .ico { width: 23px; height: 23px; }
.device-title { display: flex; flex-direction: column; line-height: 1.35; }
.device-title strong { font-size: 16px; color: var(--green-950); }
.device-title span { font-size: 12px; color: var(--muted); }
.badge-connected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--mint-100);
}
.badge-connected i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34A853;
}

.device-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.device-stats > div {
  padding: 10px 12px;
  border-radius: 13px;
  background: #F7FAF8;
  border: 1px solid var(--line);
}
.device-stats span { display: block; font-size: 11px; color: var(--muted); }
.device-stats strong { font-size: 13.5px; color: var(--green-900); font-variant-numeric: tabular-nums; }

.device-sync { display: grid; gap: 11px; }
.sync-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.sync-bar {
  height: 6px;
  border-radius: 999px;
  background: #EAF2EC;
  overflow: hidden;
}
.sync-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-600), var(--green-300));
}
.sync-row strong {
  font-size: 12.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.device-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.device-foot .ico { color: var(--green-600); width: 16px; height: 16px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 46px);
  align-items: end;
}
.shot { text-align: center; }
.shot .phone {
  width: min(270px, 100%);
  margin: 0 auto;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot:hover .phone {
  transform: translateY(-8px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .18) inset,
    0 50px 90px -34px rgba(11, 43, 31, .5),
    0 10px 24px -12px rgba(11, 43, 31, .3);
}
.shot:nth-child(2) .phone { transform: translateY(-18px); }
.shot:nth-child(2):hover .phone { transform: translateY(-26px); }
.shot img { aspect-ratio: 900 / 1315; object-fit: cover; }

.shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.shot figcaption strong { font-size: 15px; color: var(--green-950); }

/* =========================================================
   Download
   ========================================================= */
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(120% 130% at 88% 0%, rgba(90, 196, 133, .32), transparent 58%),
    radial-gradient(80% 100% at 0% 100%, rgba(25, 92, 63, .75), transparent 60%),
    var(--green-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}

.download-copy { position: relative; z-index: 1; min-width: 0; }

.download-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.download-sub {
  color: rgba(232, 246, 236, .72);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 26px;
}

.btn-block-sm span { font-weight: 700; }
.btn-block-sm small {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(11, 43, 31, .18);
  font-size: 12px;
  font-weight: 600;
  opacity: .65;
}

.download-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(226, 242, 232, .68);
}
.download-note .ico { color: var(--green-300); width: 16px; height: 16px; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: 13px;
}
.spec-list span { color: rgba(226, 242, 232, .6); }
.spec-list strong { font-weight: 600; color: #F2FBF5; font-variant-numeric: tabular-nums; text-align: right; }

.hash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  font-size: 11.5px;
  overflow: hidden;
}
.hash-label {
  flex: none;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green-300);
}
.hash-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(232, 246, 236, .72);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  font-size: 11.5px;
  color: #EAF6EF;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.copy-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.copy-btn .ico { width: 14px; height: 14px; }
.copy-btn.done { color: #A7F3C6; border-color: rgba(167, 243, 198, .4); }

.qr-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45);
}
.qr-box {
  position: relative;
  width: min(220px, 100%);
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.qr-box img { width: 100%; height: auto; border-radius: 8px; }
.qr-badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--green-600);
  box-shadow: 0 8px 18px -8px rgba(27, 94, 63, .7);
  border: 3px solid #fff;
}
.qr-badge .ico { width: 18px; height: 18px; }
.qr-panel strong { display: block; font-size: 14.5px; color: var(--green-950); }
.qr-panel p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}
.qr-url {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mint-100);
  font-size: 10.5px;
  color: var(--green-700);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Install steps */
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 48px);
}
.install-step {
  position: relative;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step-no {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green-500);
  font-variant-numeric: tabular-nums;
}
.install-step h3 { font-size: 16px; margin-bottom: 6px; color: var(--green-950); }
.install-step p { font-size: 13.5px; color: var(--muted); }

/* Changelog */
.changelog {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #FBFDFB);
}
.changelog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.changelog-head h3 { font-size: 17px; color: var(--green-950); }
.changelog-head span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.changelog ul { display: grid; gap: 10px; }
.changelog li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.changelog li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 3px rgba(155, 216, 180, .2);
}

.platform-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, .55);
}
.platform-note .ico { margin-top: 3px; color: var(--green-600); width: 18px; height: 18px; }
.platform-note strong { color: var(--ink-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 880px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 37, 28, .03);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-list details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-950);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary .chev { transform: rotate(180deg); color: var(--green-600); }
.faq-list details p {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 74ch;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: clamp(52px, 6vw, 78px) 0 28px;
  color: rgba(226, 242, 232, .68);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(46, 125, 79, .18), transparent 55%),
    var(--green-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 42px;
}
.brand-light { color: #F4FBF6; }
.footer-brand p {
  max-width: 280px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(226, 242, 232, .55);
}
.footer-col h4 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244, 251, 246, .92);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(226, 242, 232, .62);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-col .ico { width: 14px; height: 14px; }
.footer-note {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(226, 242, 232, .5);
  max-width: 260px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11.5px;
  color: rgba(226, 242, 232, .42);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .hero-visual { min-height: 520px; }
  .score-card { left: 0; }
  .metric-card { right: 0; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) { display: block; }

  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { min-height: 540px; margin-top: 8px; }
  .phone-hero { width: min(300px, 62vw); }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-grid { grid-template-columns: 1fr; gap: 44px; }
  .device-copy { max-width: 620px; }
  .device-visual { order: 2; }
  .device-card { width: min(430px, 100%); }

  .download-card { grid-template-columns: minmax(0, 1fr); }
  .qr-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 18px;
    text-align: left;
    padding: 18px;
  }
  .qr-box { grid-row: span 4; width: 130px; margin: 0; padding: 8px; }
  .qr-badge { display: none; }
  .qr-panel strong { font-size: 14px; }
  .qr-panel p { margin-top: 0; }
  .qr-url { justify-self: start; margin-top: 4px; }

  .install-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .nav { height: 64px; }
  .version-chip { display: none; }
  .nav-actions .btn-sm { display: none; }

  .hero h1 { letter-spacing: -.04em; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 16px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); padding: 10px; }
  .stat-band > div { padding: 16px 10px; }
  .stat-band > div:nth-child(3) { border-left: 0; }
  .stat-band > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 26px 24px; }

  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(76vw, 290px);
    overflow-x: auto;
    padding-bottom: 18px;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .shot:nth-child(2) .phone { transform: none; }
  .shot:nth-child(2):hover .phone { transform: translateY(-8px); }
  .shot figcaption { margin-top: 16px; }

  .download-card { border-radius: 26px; }
  .spec-list { grid-template-columns: 1fr; }
  .hash-row { flex-wrap: wrap; }
  .hash-row code { flex-basis: 100%; order: 3; }
  .copy-btn { margin-left: auto; }

  .qr-panel {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .qr-box { grid-row: auto; width: 160px; }
  .qr-panel p { max-width: 34ch; }
  .qr-url { justify-self: center; }

  .changelog-head { flex-direction: column; gap: 2px; }
  .faq-list summary { padding: 17px 18px; font-size: 14.5px; }
  .faq-list details p { padding: 0 18px 18px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .float-card { transform: scale(.9); }
  .score-card { left: -6px; top: 10%; }
  .metric-card { right: -6px; bottom: 12%; }
  .device-pill { right: 0; top: 4%; }
  .hero-visual { min-height: 500px; }
}

@media (max-width: 400px) {
  .hero-visual { min-height: 455px; }
  .phone-hero { width: min(260px, 66vw); }
  .float-card { transform: scale(.82); }
  .score-card { left: -18px; }
  .metric-card { right: -18px; }
  .device-pill { transform: scale(.85); right: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(16, 37, 28, .3);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(11, 43, 31, .94);
  color: #EAF6EF;
  font-size: 13px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.no-anim .reveal { transition: none !important; }
