:root {
  --ink: #1b1412;
  --ink-soft: #3a2d29;
  --paper: #fff8f3;
  --paper-2: #f6ebe3;
  --card: #ffffff;
  --red: #e23b2c;
  --red-deep: #c2271b;
  --red-soft: #ffe8e4;
  --gold: #f3c27a;
  --ios: #111111;
  --android: #3ddc84;
  --muted: #6d5d56;
  --line: rgba(27, 20, 18, 0.08);
  --shadow: 0 16px 40px rgba(27, 20, 18, 0.1);
  --radius: 16px;
  --header-h: 60px;
  --float-h: 68px;
  --font: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(226, 59, 44, 0.12), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(243, 194, 122, 0.18), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: 0;
}

body.nav-lock {
  overflow: hidden;
}

body.has-float {
  padding-bottom: calc(var(--float-h) + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(1080px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-desk {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-desk a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-desk a:hover,
.nav-desk a.is-current {
  color: var(--red);
}

.menu-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(27, 20, 18, 0.08);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(27, 20, 18, 0.42);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer-mask.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 320px);
  height: 100%;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 18px 18px 24px;
  box-shadow: -12px 0 40px rgba(27, 20, 18, 0.16);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--paper-2);
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer nav a {
  display: block;
  padding: 12px 10px;
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}

.drawer nav a:hover,
.drawer nav a.is-current {
  background: var(--red-soft);
  color: var(--red);
}

.hero {
  padding: 1.6rem 0 1.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-soft);
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 10px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
}

.btn-android {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(226, 59, 44, 0.28);
}

.btn-ios {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(230px, 62vw);
  aspect-ratio: 9 / 19.2;
  background: #14110f;
  border-radius: 32px;
  padding: 9px;
  box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, 0.5);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 68px;
  height: 10px;
  transform: translateX(-50%);
  background: #2a2421;
  border-radius: 999px;
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.section {
  padding: 2rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
}

.section h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.section-desc {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(27, 20, 18, 0.04);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shots figure {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.shots img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.shots figcaption {
  padding: 8px 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--line);
}

.step-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.crumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.crumb a {
  color: var(--muted);
}

.hot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-links a {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.hot-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

.prose p {
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.site-footer {
  background: var(--ink);
  color: #f6ebe3;
  padding: 2rem 0 calc(1.4rem + env(safe-area-inset-bottom));
  text-align: center;
}

.site-footer a {
  color: #ffd2cc;
}

.copyright {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-note {
  margin: 0;
  color: rgba(246, 235, 227, 0.72);
  font-size: 0.82rem;
}

.float-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 243, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(27, 20, 18, 0.08);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.float-dl.is-show {
  transform: translateY(0);
}

.float-dl a {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none !important;
  color: #fff;
}

.float-dl .js-dl-android {
  background: var(--red);
}

.float-dl .js-dl-ios {
  background: var(--ink);
}

@media (min-width: 860px) {
  .menu-btn {
    display: none;
  }

  .nav-desk {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 560px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .shots {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
