:root {
  --asphalt: #1c1917;
  --on-asphalt: #f4efe6;
  --on-asphalt-dim: #c9c0b4;
  --shoulder: #e8e2d6;
  --ink: #1c1917;
  --steel: #5b6b75;
  --orange: #ff6b00;
  --card: #fffdf8;
  --line: rgba(28, 25, 23, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--shoulder);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--asphalt);
  color: var(--on-asphalt);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}
.brand { font-weight: 700; text-decoration: none; letter-spacing: 0.04em; }
.brand-slogan { color: var(--on-asphalt-dim); font-size: 13px; }
.nav { display: none; gap: 18px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--on-asphalt-dim); text-decoration: none; }
.top-download {
  margin-left: auto;
  text-decoration: none;
  background: var(--orange);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  background: var(--asphalt) center/cover no-repeat;
  color: var(--on-asphalt);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.55), rgba(28, 25, 23, 0.88));
}
.hero .wrap { position: relative; padding: 28px 0 8px; }
.kicker { margin: 0 0 8px; color: var(--on-asphalt-dim); font-size: 14px; }
.hero h1 { margin: 0; font-size: clamp(22px, 7.6vw, 32px); line-height: 1.25; font-weight: 700; }
.headline-line { display: block; white-space: nowrap; }
.slogan { margin: 10px 0 0; color: var(--orange); font-size: 14px; }
.sub { margin: 14px 0 0; color: var(--on-asphalt-dim); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.btn[aria-disabled="true"] { cursor: default; }
.qr { display: none; width: 96px; height: 96px; background: var(--on-asphalt); border-radius: 8px; padding: 6px; }
.qr img { width: 100%; height: 100%; }
.device {
  margin: 16px auto 0;
  width: 60vw;
  max-width: 100%;
  background: var(--asphalt);
  border: 2px solid #5b6b75;
  border-radius: 28px;
  padding: 8px;
}
#values, #features, #download, #faq { scroll-margin-top: 72px; }

.screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  background: #2a2622;
  color: var(--on-asphalt-dim);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}
.screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

.section { padding: 36px 0; }
.section h2 { margin: 0 0 16px; font-size: 24px; }
.lead { margin: 0 0 18px; color: var(--steel); }

.cards { display: grid; gap: 12px; }
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--line);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--steel); }

.feature { display: grid; gap: 16px; margin-bottom: 28px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--steel); }
.shots { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.shot {
  margin: 0;
  width: 168px;
  aspect-ratio: 9 / 19.5;
  background: var(--asphalt);
  border: 2px solid #5b6b75;
  border-radius: 24px;
  padding: 6px;
  display: grid;
  place-items: center;
  color: var(--on-asphalt-dim);
  text-align: center;
  font-size: 12px;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 18px; }

.download {
  background: var(--asphalt);
  color: var(--on-asphalt);
}
.download .lead, .download p, .download li { color: var(--on-asphalt-dim); }
.meta { padding-left: 18px; }
.meta li { margin: 6px 0; }
.links { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.links a { color: var(--on-asphalt); }
.guide {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(244, 239, 230, 0.2);
}

.faq details {
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--steel); }

.foot {
  padding: 28px 0 40px;
  color: var(--steel);
  font-size: 14px;
}
.foot a { color: var(--ink); }
.foot p { margin: 6px 0; }
.beian { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.beian a { display: inline-flex; align-items: center; gap: 4px; }
.beian img { width: 16px; height: 16px; flex: none; }

.page { padding: 28px 0 48px; }
.page h1 { margin-top: 0; }
.notice {
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 16px;
}

.mask {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.72);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 40;
  padding: 16px;
}
.mask.open { display: flex; }
.sheet {
  width: min(420px, 100%);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 16px;
}
.sheet p { margin: 0 0 12px; }
.sheet button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--asphalt);
  color: var(--on-asphalt);
  font: inherit;
}

@media (min-width: 840px) {
  .nav { display: flex; }
  .top-download { margin-left: 0; }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 32px;
    padding: 72px 0;
  }
  .hero h1 { font-size: 44px; }
  .device { width: 240px; margin: 0 0 0 auto; }
  .qr.is-open { display: block; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; align-items: center; }
  .feature.flip .copy { order: 2; }
  .shot { width: 200px; }
}
