:root {
  color-scheme: light;
  --page: #fafafa;
  --ink: #1b1d20;
  --muted: #555b63;
  --line: #dedfe2;
  --paper: #fff;
  --focus: #245ccd;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-height: 64px;
  scroll-padding-block-start: calc(var(--header-height) + 1px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, .site-menu > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.site-width { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  border-block-end: 1px solid var(--line);
  background: var(--page);
}
.header-inner {
  min-block-size: var(--header-height);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 720; letter-spacing: -.035em; }
.wordmark img { width: 32px; height: 32px; }
.site-header nav { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.site-header nav > a, .site-header .site-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 38px;
  padding-inline: 12px;
  border-radius: 9px;
  font-size: inherit;
  white-space: nowrap;
}
.site-header nav > a:is(:hover, :focus-visible),
.feature-menu > summary:is(:hover, :focus-visible),
.feature-menu[open] > summary { background: #eaf4ef; color: #075b45; }

.hero {
  padding-block: clamp(52px, 7.7vw, 108px) clamp(28px, 4vw, 55px);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 28%, #fff 12%, #fafafabb 53%, transparent 82%),
    radial-gradient(#d5d7da .75px, transparent .75px) 50% 0 / 19px 19px;
}
.hero-copy { padding-inline: clamp(0px, 2.5vw, 28px); }
.hero h1 {
  font-size: clamp(34px, 6.4vw, 80px);
  font-weight: 760;
  line-height: 1.13;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.hero-subtitle {
  max-inline-size: 39em;
  margin: 19px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 2.05vw, 19px);
  text-wrap: balance;
}
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-block-start: 26px; }
.button {
  display: inline-flex;
  min-block-size: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #ced0d5;
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 670;
}
.button:hover { border-color: #aeb2b9; background: #f4f5f6; }
.button.primary { border-color: #24262a; background: #24262a; color: var(--paper); }
.button.primary:hover { border-color: #40454b; background: #40454b; }
.site-menu { position: relative; }
.site-menu > summary { cursor: pointer; list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-chevron {
  inline-size: 6px;
  block-size: 6px;
  margin-block-start: -3px;
  flex: none;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.site-menu[open] > summary > .menu-chevron { transform: translateY(2px) rotate(225deg); }
.hero-actions .button, .download-trigger { border-radius: 999px; }
.hero-actions .download-trigger { padding-inline: 20px; border-color: #06634b; background: #06634b; color: var(--paper); }
.hero-actions .download-trigger:hover { border-color: #054f3c; background: #054f3c; }
.site-header .download-trigger {
  padding-block: 0;
  border: 0;
  background: #eaf4ef;
  color: #075b45;
}
.site-header .download-trigger:is(:hover, :focus-visible),
.site-header .download-menu[open] > summary { background: #dcefe6; }
.site-menu-popup {
  position: absolute;
  z-index: 2;
  inset-block-start: 100%;
  inset-inline-end: 0;
  inline-size: min(248px, 100vw - 2 * var(--gutter));
  padding-block-start: 6px;
}
.feature-menu .site-menu-popup { inset-inline: 0 auto; inline-size: min(216px, 100vw - 2 * var(--gutter)); }
.site-menu-panel {
  max-block-size: calc(100dvh - var(--header-height) - 16px);
  overflow-y: auto;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 26px #18223119;
  font-size: 14px;
  list-style: none;
  text-align: start;
}
.feature-menu .site-menu-panel a { display: block; padding: 7px 10px; border-radius: 7px; outline-offset: -2px; }
.feature-menu .site-menu-panel a:is(:hover, :focus-visible) { background: #eaf4ef; color: #075b45; }
.download-platforms a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 44px;
  padding: 8px 12px;
  border-radius: 7px;
  outline-offset: -2px;
}
.download-platforms a:is(:hover, :focus-visible) { background: #eaf4ef; color: #075b45; }
.download-platforms small {
  padding: 1px 8px;
  border-radius: 999px;
  background: #f0f1f3;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .site-menu[open] .site-menu-panel { animation: menu-enter 150ms ease-out both; }
  .menu-chevron { transition: transform 150ms ease-out; }
  .site-header nav > a, .site-header .site-menu > summary { transition: background-color 150ms ease-out, color 150ms ease-out; }
}
@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > .site-width { width: min(1300px, 100% - 2 * var(--gutter)); }
.hero-figure { max-inline-size: 1220px; margin: clamp(28px, 4.1vw, 58px) auto 0; }
.hero-image, .product-image {
  width: 100%;
  height: auto;
  border: 1px solid #d1d4d9;
  border-radius: 11px;
  background: var(--paper);
}
.hero-image { box-shadow: 0 18px 42px #18223116, 0 3px 10px #1822310d; }
.hero-figure figcaption { margin-block-start: 12px; color: var(--muted); font-size: 13px; }

.features.site-width { width: min(760px, 100% - 2 * var(--gutter)); }
.features { padding-block: clamp(34px, 5vw, 68px) clamp(44px, 6.6vw, 92px); }
.features h2 { margin-block-end: 24px; font-size: clamp(27px, 4vw, 43px); line-height: 1.2; font-weight: 740; letter-spacing: -.045em; }
.feature[id] { scroll-margin-block-start: 12px; }
.feature {
  display: grid;
  gap: clamp(22px, 3.6vw, 44px);
  padding-block: clamp(34px, 5.5vw, 76px);
  border-block-start: 1px solid var(--line);
}
.feature-copy {
  --feature-detail-spacing: clamp(12px, 1.1vw, 16px);
  display: grid;
  gap: 12px;
}
.feature h3 { font-size: clamp(23px, 3.25vw, 36px); line-height: 1.23; font-weight: 720; letter-spacing: -.03em; text-wrap: balance; }
.feature-copy p { max-inline-size: 54ch; color: var(--muted); font-size: 15px; line-height: 1.75; }
.product-image { box-shadow: 0 8px 26px #1822310e; }

.feature-highlights {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  margin: calc(var(--feature-detail-spacing) + 4px) 0 0;
}
.feature-highlights > div { position: relative; padding-inline-start: 36px; }
.feature-highlights > div::before, .feature-highlights > div::after { content: ""; position: absolute; }
.feature-highlights > div::before {
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background: #d1fae5;
}
.feature-highlights > div::after {
  inset-block-start: 8px;
  inset-inline-start: 7px;
  inline-size: 10px;
  block-size: 6px;
  color: #057857;
  border-block-end: 2px solid;
  border-inline-start: 2px solid;
  transform: rotate(-45deg);
}
.feature-highlights dt { font-size: 15px; font-weight: 680; line-height: 1.6; }
.feature-highlights dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; text-wrap: balance; }

.feature-details { padding-inline: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.feature-details dl, .review-diagnostics { margin: 0; font-size: 13px; line-height: 1.65; }
.feature-details dt, .review-diagnostics dt { font-weight: 650; }
.feature-details dd, .review-diagnostics dd { margin: 0; color: var(--muted); }
.feature-details dd { overflow-wrap: anywhere; }
.feature-details dl > div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-block: var(--feature-detail-spacing);
}
.feature-details h4 + dl, .feature-details dl > div + div { border-block-start: 1px solid var(--line); }

.review-overview { display: grid; gap: var(--feature-detail-spacing); margin-block-start: var(--feature-detail-spacing); }
.review-overview h4 { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 680; }
.review-overview .feature-details dd { word-break: keep-all; }
.feature-details h4 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-block: var(--feature-detail-spacing); }
.feature-details h4 span + span { color: var(--muted); font-weight: 500; }
.review-overview .review-diagnostics-title { margin-block-start: calc(var(--feature-detail-spacing) - 4px); }
.review-diagnostics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.review-diagnostics > div + div { padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.review-diagnostics dd { margin-block-start: 6px; }

.gallery {
  --image-inset: clamp(15px, 1.9vw, 24px);
  --image-ratio: 1440 / 980;
  min-inline-size: 0;
}
.gallery-trace, .gallery-tools { --image-ratio: 1440 / 920; }
.gallery-review { --image-ratio: 1440 / 1160; }
.gallery-stats { --image-ratio: 1440 / 1060; }
.gallery-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 2.5vw, 33px) var(--image-inset);
  border: 1px solid #e0e2e6;
  border-radius: 14px;
  background:
    radial-gradient(#cbd0d6 .65px, transparent .65px) 0 0 / 14px 14px,
    linear-gradient(148deg, #eff0f3, #f6f6f7);
}
.gallery-stack { position: relative; aspect-ratio: var(--image-ratio); }
.gallery-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 0 0 1px #18223122, 0 4px 12px #18223122;
  transition: transform 350ms cubic-bezier(.2,.72,.24,1), opacity 230ms ease;
  pointer-events: none;
}
.gallery-slide[data-position="front"] {
  z-index: 2;
  box-shadow: 0 0 0 1px #18223126, 0 9px 20px #18223129;
  pointer-events: auto;
}
.gallery-slide[data-position="back"] { z-index: 1; transform: translate(8px, -7px) rotate(2.2deg) scale(.993); }
.gallery-slide[data-position="hidden"] { opacity: 0; transform: translate(-8px, 4px) scale(.97); }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-review .gallery-slide img { object-position: center top; }
.gallery-arrow {
  position: absolute;
  z-index: 3;
  inset-block-start: 50%;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0 0 3px;
  border: 1px solid #c9cdd3;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 3px 11px #18223127;
  font: 550 27px/1 system-ui, sans-serif;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.gallery-arrow.previous { inset-inline-start: var(--image-inset); transform: translate(-50%, -50%); }
.gallery-arrow.next { inset-inline-end: var(--image-inset); transform: translate(50%, -50%); }
.gallery-arrow:hover { border-color: #24262a; background: #24262a; color: var(--paper); }
.gallery-status { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 9px; margin-block-start: 9px; font-size: 13px; }
[data-caption] { font-weight: 650; }
[data-count] { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

@keyframes enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes feature-copy-in {
  from { opacity: .35; }
  to { opacity: 1; }
}
@keyframes feature-image-in {
  from { opacity: .52; transform: translateY(40px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-subtitle, .hero-actions, .hero-figure {
    animation: enter 320ms cubic-bezier(.2,.74,.28,1) both;
  }
  .hero-subtitle { animation-delay: 35ms; }
  .hero-actions { animation-delay: 80ms; }
  .hero-figure { animation-delay: 125ms; }
  h2.is-entering { animation: enter 270ms cubic-bezier(.2,.74,.28,1) both; }
  .feature.is-entering > .feature-copy { animation: feature-copy-in 440ms cubic-bezier(.2,.74,.28,1) both; }
  .feature.is-entering > :is(.gallery, .product-image) {
    animation: feature-image-in 550ms cubic-bezier(.2,.74,.28,1) 65ms both;
  }

  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 60%) {
    .feature > :is(.feature-copy, .gallery, .product-image) {
      animation-duration: auto;
      animation-timing-function: cubic-bezier(.2,.74,.28,1);
      animation-fill-mode: both;
      animation-timeline: view();
    }
    .feature > .feature-copy {
      animation-name: feature-copy-in;
      animation-range: entry 0% entry 100%;
    }
    .feature > :is(.gallery, .product-image) {
      animation-name: feature-image-in;
      animation-range: entry 0% entry 60%;
    }
  }
}

@media (min-width: 1024px) {
  .features.site-width { width: min(1240px, 100% - 2 * var(--gutter)); }
  .feature {
    gap: clamp(28px, 4vw, 58px);
    grid-template-columns: minmax(235px, 29%) minmax(0, 1fr);
    align-items: start;
  }
  .feature-copy { padding-block-start: 10px; }
  .feature-copy p { max-inline-size: 25em; }
}
@media (max-width: 480px) {
  :root { --header-height: 58px; }
  .header-inner { column-gap: 8px; }
  .site-header nav { gap: 4px; font-size: 13px; }
  .site-header nav > a, .site-header .site-menu > summary { padding-inline: 6px; }
}
@media (max-width: 420px) {
  .hero-image, .product-image { border-radius: 8px; }
  .gallery-stage { border-radius: 10px; }
  .gallery-slide { border-radius: 5px; }
}
@media (max-width: 460px) {
  :root { --header-height: 86px; }
  .header-inner {
    display: grid;
    grid-template-rows: 34px 44px;
    justify-content: stretch;
    gap: 0;
    padding-block-start: 8px;
  }
  .wordmark { justify-self: start; font-size: 16px; }
  .wordmark img { width: 28px; height: 28px; }
  .site-header nav { justify-content: space-between; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-slide, .gallery-arrow { transition: none; }
}
