:root {
  --paper: #f3efe8;
  --paper-2: #fffdf9;
  --ink: #241b33;
  --muted: #5e5670;
  --line: #e3dcd2;
  --violet: #6a45d6;
  --violet-deep: #3d2778;
  --violet-soft: #efe8ff;
  --gold: #b86a12;
  --ok: #1f7a4d;
  --shadow: 0 24px 60px rgba(36, 27, 51, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #efe6ff 0%, transparent 60%),
    var(--paper);
  font-family: "HarmonyOS Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  background: rgba(243, 239, 232, 0.9);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.btn-solid { background: var(--violet-deep); color: #fff; }
.btn-solid:hover { background: #2e1b5e; }
.btn-line { border-color: #cfc6bc; background: var(--paper-2); }
.btn-gold { background: #f3b23a; color: #3a2508; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 28px 0 64px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 760;
}
.lead { margin: 18px 0 0; max-width: 38em; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note {
  margin-top: 18px;
  color: var(--gold);
  font-size: 14px;
}

.phone {
  width: min(300px, 100%);
  margin-left: auto;
  padding: 10px;
  border-radius: 36px;
  background: #1b1428;
  box-shadow: var(--shadow);
}
.phone img { border-radius: 28px; }
.phone figcaption { color: #d9d0ea; font-size: 12px; text-align: center; padding: 8px 0 4px; }

.strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.strip div { background: var(--paper-2); padding: 18px 20px; }
.strip strong { display: block; font-size: 16px; }
.strip span { color: var(--muted); font-size: 13px; }

.section { padding: 84px 0; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.sub { margin: 0; max-width: 40em; color: var(--muted); }

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.story.reverse { grid-template-columns: 1.1fr 0.9fr; }
.story.reverse .copy { order: 2; }
.shots {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.shots .phone { margin: 0; width: min(240px, 46%); }
.shots .phone:nth-child(2) { transform: translateY(-28px); }

.feature-list { margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.feature-list strong { display: block; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.gallery .phone { width: 100%; margin: 0; }

.download {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}
.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.panel.emphasis {
  background: var(--violet-deep);
  color: #fff;
  border-color: transparent;
}
.panel.emphasis p { color: #ddd4f2; }
.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.panel h3 { margin: 0 0 8px; font-size: 28px; }
.meta { margin: 16px 0 0; font-size: 13px; color: #cbbfe6; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.qr-panel { display: flex; flex-direction: column; justify-content: space-between; }
.qr {
  width: 196px;
  height: 196px;
  margin-top: 18px;
  border-radius: 18px;
  background: #fff;
  object-fit: cover;
}

.about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
blockquote { margin: 0; font-size: 22px; line-height: 1.45; }
.about p { color: var(--muted); }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--violet-deep); }

.doc { padding: 24px 0 80px; max-width: 760px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); }

dialog {
  width: min(460px, calc(100% - 32px));
  border: 0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(24, 16, 36, 0.45); }
dialog h3 { margin: 0 0 8px; font-size: 22px; }
dialog p { color: var(--muted); }

@media (max-width: 900px) {
  .hero, .story, .story.reverse, .download, .about, .strip, .gallery {
    grid-template-columns: 1fr;
  }
  .story.reverse .copy { order: 0; }
  .phone { margin: 0 auto; }
  .shots { justify-content: center; }
  .shots .phone:nth-child(2) { transform: none; }
  .nav-links a:not(.btn) { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
