:root {
  --ink: #12211f;
  --muted: #5c6967;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --teal: #168f7c;
  --teal-dark: #0d665a;
  --coral: #ff6557;
  --lavender: #9c8ce8;
  --line: #d7ddda;
  --soft: #e9f4f1;
  --rail: min(1180px, calc(100% - 40px));
  --radius: 6px;
  --shadow: 0 18px 45px rgba(18, 33, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.72;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: var(--rail);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(18, 33, 31, 0.14);
  background: rgba(247, 244, 239, 0.96);
}

.header-inner {
  width: var(--rail);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:not(.download-link) {
  position: relative;
  padding-block: 22px;
}

.site-nav a:not(.download-link)::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.download-link,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.download-link,
.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
}

.download-link:hover,
.button-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: var(--rail);
  min-height: 540px;
  margin-inline: auto;
  padding-block: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
}

.hero-title .brand-word {
  color: var(--teal-dark);
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 22px;
  color: #3d4b49;
  font-size: 17px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

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

.zoom-stage {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.zoom-stage::before,
.zoom-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.zoom-stage::before {
  width: 376px;
  height: 376px;
  border: 1px solid var(--teal);
  box-shadow: 0 0 0 34px rgba(22, 143, 124, 0.08), 0 0 0 68px rgba(156, 140, 232, 0.08);
}

.zoom-stage::after {
  width: 310px;
  height: 310px;
  border: 2px dashed rgba(18, 33, 31, 0.33);
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 400px;
  height: 392px;
  border: 7px solid var(--ink);
  border-radius: 20px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow);
}

.scale-tag {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.scale-tag.one {
  top: 28px;
  right: 2px;
}

.scale-tag.two {
  right: 24px;
  bottom: 34px;
  color: var(--ink);
  background: var(--lavender);
}

.gesture-mark {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 56px;
  width: 124px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 9px 12px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-4deg);
}

.section {
  padding-block: 78px;
}

.section-white {
  background: var(--surface);
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.gesture-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.gesture-step {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--ink);
}

.gesture-step:last-child {
  border-right: 0;
}

.step-no {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.gesture-step:nth-child(2) .step-no {
  color: var(--ink);
  background: var(--lavender);
}

.gesture-step:nth-child(3) .step-no {
  color: var(--ink);
  background: var(--coral);
}

.gesture-step h3,
.feature h3,
.route h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.gesture-step p,
.feature p,
.route p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.feature {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.feature:nth-child(2n) {
  border-right: 0;
}

.feature:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.feature-label {
  display: block;
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 24px;
}

.screen-figure {
  min-width: 0;
  margin: 0;
}

.screen-frame {
  min-width: 0;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  padding: 24px;
  background: #243633;
}

.screen-figure.featured .screen-frame {
  min-height: 430px;
  background: #0d665a;
}

.screen-frame img {
  width: auto;
  max-width: min(400px, 100%);
  max-height: 390px;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
}

.screen-figure figcaption {
  padding-top: 14px;
  color: #d8e2df;
  font-size: 14px;
}

.screen-figure figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

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

.route {
  position: relative;
  min-width: 0;
  min-height: 210px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 76px 28px 28px;
  background: var(--surface);
}

.route::after {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "→";
  font-size: 22px;
}

.route:hover::after {
  color: #fff;
  background: var(--teal);
}

.faq-preview {
  border-top: 2px solid var(--ink);
}

.faq-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-row span:first-child {
  color: var(--teal-dark);
  font-weight: 900;
}

.faq-row strong {
  line-height: 1.45;
}

.faq-row a {
  color: var(--teal-dark);
  font-weight: 800;
}

.download-band {
  padding-block: 62px;
  color: #fff;
  background: var(--teal-dark);
}

.download-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-band h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.download-band p,
.download-band .band-copy {
  max-width: 700px;
  margin-bottom: 0;
  color: #d9f0ea;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding-block: 72px 58px;
  background: var(--surface);
}

.page-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: end;
  gap: 54px;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(44px, 4.3vw, 60px);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.page-hero-aside {
  border-left: 4px solid var(--coral);
  padding-left: 22px;
}

.page-hero-aside strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 60px;
}

.article-main section {
  scroll-margin-top: 88px;
  margin-bottom: 62px;
}

.article-main h2 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.25;
}

.article-main h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 20px;
}

.article-main p,
.article-main li {
  color: #374542;
}

.article-main ol,
.article-main ul {
  padding-left: 1.3em;
}

.article-main li + li {
  margin-top: 10px;
}

.note-strip {
  border-left: 4px solid var(--teal);
  padding: 18px 22px;
  background: var(--soft);
}

.article-nav {
  position: sticky;
  top: 94px;
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}

.article-nav strong {
  display: block;
  margin-bottom: 10px;
}

.article-nav a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--teal-dark);
}

.faq-tools {
  margin-bottom: 24px;
}

.faq-search {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 20px 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question .faq-no {
  color: var(--teal-dark);
  font-size: 13px;
}

.faq-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 860px;
  padding: 0 42px 22px 48px;
  color: #43514f;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 34px;
  color: #d5dcda;
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  :root {
    --rail: min(100% - 28px, 720px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 69px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-bottom: 2px solid var(--ink);
    padding: 10px 14px 18px;
    background: var(--paper);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a:not(.download-link) {
    padding: 13px 8px;
  }

  .site-nav a:not(.download-link)::after {
    display: none;
  }

  .site-nav .download-link {
    margin-top: 6px;
  }

  .hero-inner {
    min-height: 0;
    padding-block: 28px 26px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-facts {
    margin-bottom: 18px;
  }

  .zoom-stage {
    min-height: 300px;
  }

  .zoom-stage::before {
    width: 270px;
    height: 270px;
    box-shadow: 0 0 0 22px rgba(22, 143, 124, 0.08), 0 0 0 44px rgba(156, 140, 232, 0.08);
  }

  .zoom-stage::after {
    width: 220px;
    height: 220px;
  }

  .hero-phone {
    height: 290px;
  }

  .scale-tag {
    width: 62px;
    height: 62px;
    font-size: 14px;
  }

  .scale-tag.one {
    top: 4px;
    right: 8%;
  }

  .scale-tag.two {
    right: 9%;
    bottom: 8px;
  }

  .gesture-mark {
    left: 5%;
    bottom: 28px;
  }

  .gesture-grid,
  .gallery-grid,
  .page-hero .shell,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .gesture-step {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .gesture-step:last-child {
    border-bottom: 0;
  }

  .gallery-grid {
    align-items: stretch;
  }

  .screen-frame,
  .screen-figure.featured .screen-frame {
    min-height: 330px;
  }

  .article-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 62px;
  }

  .site-nav {
    top: 63px;
  }

  .brand-lockup img {
    width: 34px;
    height: 34px;
  }

  .hero-inner {
    padding-top: 22px;
    padding-bottom: 20px;
    gap: 14px;
  }

  .eyebrow {
    margin-bottom: 9px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 36px;
  }

  .hero-copy > p {
    margin-bottom: 12px;
    line-height: 1.55;
  }

  .hero-facts {
    margin-bottom: 14px;
  }

  .hero-facts li:nth-child(3) {
    display: none;
  }

  .hero-actions {
    flex-wrap: nowrap;
  }

  .hero-actions .button {
    min-width: 0;
    flex: 1;
    padding-inline: 10px;
  }

  .zoom-stage {
    min-height: 270px;
  }

  .hero-phone {
    height: 256px;
  }

  .zoom-stage::before {
    width: 236px;
    height: 236px;
  }

  .zoom-stage::after {
    width: 192px;
    height: 192px;
  }

  .scale-tag {
    width: 54px;
    height: 54px;
  }

  .scale-tag.one {
    right: 3%;
  }

  .scale-tag.two {
    right: 5%;
  }

  .gesture-mark {
    left: 0;
    width: 104px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .section {
    padding-block: 54px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .feature-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(2n),
  .feature:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .download-band .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding-block: 46px 38px;
  }

  .page-hero .shell {
    gap: 28px;
  }

  .page-hero h1 {
    font-size: 39px;
  }

  .article-main h2 {
    font-size: 28px;
  }

  .faq-question {
    grid-template-columns: 30px minmax(0, 1fr) 28px;
    font-size: 16px;
  }

  .faq-answer {
    padding-left: 42px;
    padding-right: 16px;
  }
}

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