:root {
  --rose: #ff4f7b;
  --coral: #ff765d;
  --cream: #fff7f1;
  --ink: #231f20;
  --muted: #6f6669;
  --line: #e8dde0;
  --paper: #ffffff;
  --sun: #ffd260;
  --mint: #65c8a4;
  --shadow: 0 14px 35px rgba(35, 31, 32, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

body.nav-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;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

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

.site-nav a:not(.button) {
  position: relative;
  padding: 22px 0;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--rose);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
.shot-button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: var(--rose);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: 70px;
  padding: 58px 0 68px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #504749;
  font-size: 18px;
}

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

.app-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(35, 31, 32, 0.2);
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.app-facts li::before {
  content: "●";
  margin-right: 8px;
  color: var(--rose);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-shot {
  position: absolute;
  width: min(292px, 68%);
  max-width: 400px;
  border: 8px solid var(--ink);
  border-radius: 30px;
  box-shadow: 12px 14px 0 rgba(35, 31, 32, 0.28);
}

.phone-shot:first-child {
  top: 10px;
  right: 12%;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-shot:last-child {
  bottom: -8px;
  left: 0;
  z-index: 1;
  transform: rotate(-5deg) scale(0.84);
}

.burst {
  position: absolute;
  right: -4px;
  bottom: 18px;
  z-index: 3;
  width: 126px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--sun);
  clip-path: polygon(50% 0, 60% 26%, 82% 8%, 78% 34%, 100% 31%, 82% 51%, 100% 67%, 75% 67%, 79% 94%, 58% 76%, 48% 100%, 39% 74%, 14% 92%, 21% 65%, 0 62%, 20% 47%, 1% 29%, 29% 31%);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transform: rotate(8deg);
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-cream {
  background: var(--cream);
}

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

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

.section-heading .marker {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 2px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

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

.feature-card {
  min-height: 228px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.feature-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-number {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-number {
  background: var(--mint);
}

.feature-card:nth-child(4) .feature-number {
  background: var(--ink);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.shots-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scrollbar-color: var(--rose) var(--line);
}

.shot {
  min-width: 0;
  margin: 0;
}

.shot-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--rose);
  cursor: zoom-in;
}

.shot-button img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 292 / 500;
  object-fit: cover;
  object-position: top;
}

.shot:last-child .shot-button img {
  aspect-ratio: 392 / 697;
}

.shot figcaption {
  padding: 15px 2px 0;
  color: #ddd3d6;
  font-size: 14px;
  font-weight: 700;
}

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

.route-card {
  position: relative;
  padding: 30px;
  border-top: 6px solid var(--rose);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.route-card:nth-child(2) {
  border-color: var(--coral);
}

.route-card:nth-child(3) {
  border-color: var(--mint);
}

.route-card .tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.route-card h3 {
  font-size: 24px;
}

.route-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--rose);
  font-weight: 900;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.review {
  margin: 0;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.review:first-child {
  background: var(--sun);
}

.review-stars {
  color: #ca4d00;
  font-size: 18px;
  letter-spacing: 0;
}

.review p {
  margin: 14px 0 20px;
  font-weight: 700;
}

.review cite {
  color: #665b5e;
  font-size: 14px;
  font-style: normal;
}

.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: 1fr 30px;
  align-items: center;
  gap: 18px;
  padding: 21px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: transform 180ms ease;
}

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

.faq-answer {
  max-width: 850px;
  padding: 0 44px 22px 4px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.download-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--coral);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.download-band::after {
  content: "QINQIN";
  position: absolute;
  right: -20px;
  bottom: -52px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 150px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.download-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.download-row h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 46px);
}

.download-detail {
  margin: 0;
  font-weight: 700;
}

.download-band .button {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  padding: 42px 0 30px;
  background: var(--ink);
  color: #cfc4c7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
}

.footer-brand {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.footer-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid #4a4244;
  font-size: 13px;
}

.copyright {
  margin: 10px 0 0;
  font-size: 13px;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.sub-hero::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 340px;
  height: 340px;
  border: 46px solid var(--rose);
  border-radius: 50%;
}

.sub-hero .container {
  position: relative;
  z-index: 1;
}

.sub-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 68px);
}

.sub-hero p {
  max-width: 760px;
  margin: 0;
  color: #534a4c;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  border-bottom: 1px solid currentColor;
}

.step-list {
  counter-reset: guide-step;
  display: grid;
  gap: 44px;
}

.guide-step {
  counter-increment: guide-step;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(250px, 0.48fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.guide-step::before {
  content: counter(guide-step, decimal-leading-zero);
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
}

.guide-step h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.guide-step p {
  margin: 0 0 12px;
  color: var(--muted);
}

.guide-step ul,
.manual-block ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.step-check {
  padding: 20px;
  border-left: 5px solid var(--rose);
  background: var(--cream);
}

.step-check strong {
  display: block;
  margin-bottom: 6px;
}

.tip-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tip {
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.tip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.manual-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.manual-nav {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
}

.manual-nav strong {
  display: block;
  margin-bottom: 12px;
}

.manual-nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.manual-block {
  scroll-margin-top: 100px;
  padding-bottom: 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.manual-block h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.manual-block h3 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.manual-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

.mode-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.mode-table th,
.mode-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mode-table th {
  background: var(--cream);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(20, 17, 18, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(400px, 90vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border: 6px solid #fff;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 32px;
  }

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review:first-child {
    grid-column: 1 / -1;
  }

  .guide-step {
    grid-template-columns: 72px 1fr;
  }

  .step-check {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
  }

  .nav-shell,
  .container {
    width: min(100% - 28px, var(--max));
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    height: calc(100vh - 64px);
    display: none;
    align-content: start;
    padding: 28px;
    background: #fff;
  }

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

  .site-nav a:not(.button) {
    padding: 12px 0;
    font-size: 18px;
  }

  .site-nav a:not(.button)::after {
    bottom: 6px;
  }

  .hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 38%;
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 34px 0 28px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .phone-shot:first-child {
    right: 15%;
  }

  .phone-shot:last-child {
    left: 12%;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

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

  .review:first-child {
    grid-column: auto;
  }

  .shots-track {
    grid-template-columns: repeat(5, 210px);
  }

  .download-row,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .download-band::after {
    font-size: 92px;
  }

  .sub-hero {
    padding: 58px 0;
  }

  .sub-hero::after {
    opacity: 0.3;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .guide-step::before {
    width: 54px;
    height: 54px;
  }

  .step-check {
    grid-column: auto;
  }

  .manual-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .manual-nav {
    position: static;
  }

  .mode-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-visual {
    min-height: 225px;
  }

  .phone-shot {
    width: 40%;
    border-width: 6px;
  }

  .app-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    font-size: 12px;
    text-align: center;
  }

  .app-facts li::before {
    display: none;
  }

  #features {
    padding-top: 34px;
  }

  .burst {
    width: 102px;
    font-size: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
