:root {
  color-scheme: light;
  --ink: #252135;
  --muted: #6d697c;
  --purple: #5b3ed8;
  --purple-dark: #4930b5;
  --paper: #fbfaf7;
  --line: #e9e5ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
svg { display: block; flex: none; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 6px; }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; transform: translateY(-150%); padding: 12px 20px; border-radius: 10px; background: white; color: var(--purple); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: rgba(251, 250, 247, .94); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 800; letter-spacing: -.8px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: white; background: var(--purple); box-shadow: 0 4px 10px #5b3ed818; }
.brand-mark svg { width: 29px; height: 29px; }
.header-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.guide-link { color: var(--muted); padding-block: 12px; transition: color .2s; }
.guide-link:hover { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 16px; min-height: 42px; padding: 10px 18px; border: 1px solid #d8d2e5; border-radius: 9px; transition: border-color .2s, background .2s; }
.nav-cta:hover { background: #f0ecfa; border-color: #bdb0e5; }
.nav-cta span { font-size: 19px; }

.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -140px; right: -160px; width: 900px; height: 900px; pointer-events: none; background: radial-gradient(ellipse, #e8dffb90, #fbfaf700 67%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.22fr 1fr; gap: 65px; align-items: center; padding-block: 65px 63px; }
.hero-copy { min-width: 0; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 23px; font-size: 14px; font-weight: 600; letter-spacing: 1px; color: #706086; }
.little-star { color: var(--purple); font-size: 23px; }
h1 { margin: 0; font-size: clamp(44px, 4.5vw, 61px); line-height: 1.35; letter-spacing: -2px; font-weight: 850; }
.accent-word { position: relative; display: inline-block; color: var(--purple); }
.title-spark { position: absolute; top: 6px; right: -43px; width: 33px; height: 33px; color: #c6d759; transform: rotate(12deg); }
.hero-description { margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.95; letter-spacing: .25px; }
.hero-actions { margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 17px 23px; min-height: 56px; border-radius: 12px; font-size: 15px; font-weight: 650; line-height: 1.5; transition: transform .2s, background .2s, box-shadow .2s; }
.button-primary { color: white; background: var(--purple); box-shadow: 0 7px 18px #5b3ed821; }
.button-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 9px 24px #5b3ed82b; }
.button svg { width: 21px; height: 21px; }
.button-arrow { margin-left: 12px; font-size: 23px; font-weight: 400; line-height: 1; }
.action-note { margin: 13px 0 0 2px; color: #746b81; font-size: 12px; letter-spacing: .5px; }
.creative-modes { display: flex; flex-wrap: wrap; gap: 22px; margin: 38px 0 0; padding: 0; list-style: none; color: #655b79; font-size: 13px; }
.creative-modes li { display: flex; align-items: center; gap: 7px; }
.creative-modes svg { width: 16px; height: 16px; color: #8d7faa; }
.creative-modes li > span { font-size: 21px; color: #8d7faa; line-height: 1; }

.scan-stage { position: relative; display: flex; align-items: center; flex-direction: column; min-width: 0; isolation: isolate; }
.stage-orbit { position: absolute; z-index: -1; width: 470px; height: 470px; top: 32px; left: 50%; border: 1px solid #d9cdee80; border-radius: 50%; pointer-events: none; }
.orbit-one { transform: translateX(-50%); }
.orbit-two { transform: translateX(-50%) scale(.86); border-style: dashed; border-color: #d9cdee55; }
.floating-note { position: absolute; font-family: Georgia, serif; color: #a194c4; pointer-events: none; }
.note-one { left: -12px; top: 40px; font-size: 39px; transform: rotate(-14deg); }
.note-two { right: -5px; bottom: 98px; font-size: 36px; transform: rotate(16deg); }
.scan-card { position: relative; width: 358px; max-width: 100%; padding: 27px 28px 23px; text-align: center; background: white; border: 1px solid #eee8f6; border-radius: 25px; box-shadow: 0 18px 60px #4c2f7f0c, 0 2px 8px #4c2f7f04; scroll-margin-top: 28px; }
.scan-card:focus { outline: 3px solid #af9ce5; outline-offset: 6px; }
.mini-program-label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; background: #eef9f1; color: #318352; font-size: 11px; letter-spacing: 1px; }
.mini-program-label svg { width: 19px; height: 19px; }
.scan-card h2 { margin: 14px 0 0; font-size: 25px; letter-spacing: .3px; line-height: 1.4; }
.scan-caption { margin: 7px 0 0; color: #766c84; font-size: 12px; letter-spacing: .5px; }
.qr-image-wrap { margin: 14px auto 0; width: 266px; max-width: 100%; padding: 10px; background: white; }
.qr-image { display: block; width: 100%; height: auto; aspect-ratio: 1; user-select: auto; -webkit-user-select: auto; -webkit-touch-callout: default; }
.scan-instruction { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; color: #5c536d; font-size: 13px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #39a565; }
.save-code { display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; min-height: 44px; margin: 12px auto 0; padding-inline: 13px; border-radius: 8px; color: var(--purple); font-size: 13px; font-weight: 550; transition: background .2s; }
.save-code:hover { background: #f3effc; }
.save-code svg { width: 17px; height: 17px; }
.mobile-hint { margin: 4px 0 0; color: #766c84; font-size: 11px; line-height: 1.8; }
.sound-caption { display: flex; align-items: center; gap: 11px; margin-top: 23px; color: #8a7b9c; font-size: 11px; letter-spacing: 1px; }
.sound-wave { display: flex; gap: 3px; align-items: center; height: 21px; }
.sound-wave i { display: block; width: 3px; height: 5px; border-radius: 3px; background: #b4a6d8; animation: sound-wave 2s ease-in-out infinite alternate; }
.sound-wave i:nth-child(2n) { height: 13px; animation-delay: -.6s; }
.sound-wave i:nth-child(3n) { height: 20px; animation-delay: -1.4s; }
.sound-wave i:nth-child(4n) { height: 9px; animation-delay: -.9s; }
@keyframes sound-wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.how-section { position: relative; padding-block: 42px 38px; border-top: 1px solid var(--line); background: #f4f2f8; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-eyebrow { margin: 0 0 9px; color: #746089; font-size: 11px; letter-spacing: 2px; }
.section-heading h2 { margin: 0; font-size: 27px; line-height: 1.5; letter-spacing: -.5px; }
.section-description { margin: 0 0 5px; color: #746b81; font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 0; padding: 0; list-style: none; }
.step { display: flex; gap: 17px; padding: 3px 24px 4px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid #e2dce9; }
.step-number { color: #9382ae; font-size: 30px; font-weight: 300; line-height: 1.2; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.step h3 { margin: 2px 0 8px; color: #453a5b; font-size: 16px; font-weight: 650; }
.step p { margin: 0; color: #746b81; font-size: 12px; line-height: 1.9; }
.search-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; margin: 32px 0 0; padding-top: 23px; border-top: 1px solid #e8e2ee; color: #746b81; font-size: 12px; line-height: 1.8; }
.search-hint svg { width: 16px; height: 16px; margin-right: 2px; }
.search-hint span { color: #625274; }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 20px; color: #766e81; font-size: 11px; }
.footer-inner p { display: flex; align-items: center; margin: 0; }
.footer-inner strong { color: #665a76; font-size: 13px; font-weight: 650; }
.footer-divider { display: block; width: 1px; height: 11px; margin-inline: 12px; background: #d8d1df; }

@media (min-width: 1500px) {
  .hero-layout { padding-block: 83px 77px; }
}

@media (max-width: 1080px) {
  .container { width: calc(100% - 64px); }
  .hero-layout { gap: 28px; grid-template-columns: 1.12fr 1fr; padding-block: 53px; }
  h1 { font-size: 48px; }
  .scan-card { width: 334px; padding-inline: 21px; }
  .stage-orbit { width: 390px; height: 390px; top: 60px; }
  .note-one { left: -3px; }
  .note-two { right: -8px; }
  .title-spark { right: -29px; width: 25px; height: 25px; }
  .hero-description { font-size: 14px; }
  .creative-modes { gap: 15px; font-size: 12px; }
  .step { gap: 11px; padding-right: 16px; }
  .step + .step { padding-left: 18px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 44px); }
  .header-inner { min-height: 80px; }
  .brand { font-size: 21px; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .header-nav { gap: 20px; font-size: 13px; }
  .nav-cta { padding-inline: 13px; min-height: 40px; gap: 9px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 39px; padding-block: 45px 35px; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .eyebrow { justify-content: center; font-size: 12px; margin-bottom: 17px; }
  h1 { font-size: clamp(38px, 7.5vw, 54px); letter-spacing: -1.4px; line-height: 1.3; }
  .title-spark { top: 3px; right: -32px; width: 26px; height: 26px; }
  .hero-description { margin-top: 20px; font-size: 14px; line-height: 1.9; }
  .hero-actions { margin-top: 24px; }
  .button { min-height: 53px; padding-block: 14px; font-size: 14px; }
  .action-note { font-size: 11px; margin-top: 12px; }
  .creative-modes { justify-content: center; gap: 23px; margin-top: 25px; font-size: 12px; }
  .scan-stage { width: min(100%, 420px); margin-inline: auto; }
  .scan-card { width: 340px; padding-top: 24px; padding-bottom: 21px; }
  .note-one { left: -1px; top: 20px; font-size: 33px; }
  .note-two { right: -6px; bottom: 100px; font-size: 31px; }
  .sound-caption { margin-top: 20px; font-size: 10px; }
  .how-section { padding-block: 33px 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2 { font-size: 24px; }
  .section-description { margin: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 21px; }
  .step, .step + .step { padding: 20px 0; gap: 19px; border-left: 0; }
  .step + .step { border-top: 1px solid #e2dce9; }
  .step-number { font-size: 29px; min-width: 34px; }
  .step h3 { margin: 2px 0 6px; font-size: 15px; }
  .step p { font-size: 12px; }
  .desktop-break { display: none; }
  .search-hint { margin-top: 4px; padding-top: 21px; font-size: 11px; gap: 3px; }
  .footer-inner { min-height: 93px; flex-direction: column; justify-content: center; gap: 11px; font-size: 10px; }
  .footer-inner strong { font-size: 12px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 36px); }
  .brand { font-size: 19px; }
  .guide-link { display: none; }
  .hero-layout { padding-top: 37px; gap: 32px; }
  h1 { font-size: 35px; }
  .title-spark { right: -26px; width: 22px; height: 22px; }
  .eyebrow { font-size: 11px; letter-spacing: .5px; }
  .hero-description { font-size: 13px; }
  .creative-modes { gap: 17px; font-size: 11px; }
  .scan-card { padding-inline: 17px; }
  .note-one { left: -9px; }
  .note-two { right: -9px; }
}

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