:root {
  color-scheme: dark;
  --brand: #0a84ff;
  --brand-2: #ec237f;
  --canvas: #050507;
  --surface: #1c1c1e;
  --text: #f5f5f7;
  --muted: #98989f;
  --line: rgba(255,255,255,.12);
  --gold: #ffd45c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: var(--canvas); color: var(--text); }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.apple-mark { width: 14px; height: 14px; display: block; flex: 0 0 14px; fill: currentColor; }
.kicker { margin: 0; color: var(--brand-2); font-size: 11px; font-weight: 800; letter-spacing: .22em; }

/* Landing page */
.landing-page { background: radial-gradient(circle at 70% 10%, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 30rem), var(--canvas); }
.landing-nav { width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 16px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 9px 25px rgba(0,0,0,.35); }
.nav-install { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 17px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 13px; font-weight: 700; }
.hero { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); align-items: center; gap: 70px; }
.hero-glow { position: absolute; left: 52%; top: 18%; width: 420px; height: 420px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 13%, transparent); filter: blur(80px); pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 700px; margin: 17px 0 14px; font-size: clamp(52px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; }
.hero-subtitle { margin: 0; color: #d6d6dc; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.45; }
.hero-description { max-width: 610px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.download-button, .secondary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 25px; border-radius: 999px; font-size: 15px; font-weight: 750; transition: transform .16s ease, filter .16s ease; }
.download-button { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 16px 40px color-mix(in srgb, var(--brand-2) 22%, transparent); }
.secondary-button { border: 1px solid color-mix(in srgb, var(--brand) 65%, white 5%); background: rgba(255,255,255,.035); color: color-mix(in srgb, var(--brand) 75%, white); }
.download-button:hover, .secondary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: #777780; font-size: 11px; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: #55555d; }
.hero-visual { min-height: 460px; display: grid; place-items: center; }
.icon-stage { position: relative; width: 290px; height: 290px; display: grid; place-items: center; }
.icon-stage::before, .stage-ring { position: absolute; content: ""; border: 1px solid var(--line); border-radius: 50%; }
.icon-stage::before { inset: 5px; }
.stage-ring { inset: -42px; opacity: .5; }
.icon-stage img { position: relative; width: 205px; height: 205px; border: 1px solid rgba(255,255,255,.18); border-radius: 45px; object-fit: cover; box-shadow: 0 36px 80px rgba(0,0,0,.55); }
.qr-card { position: absolute; right: -6px; bottom: 15px; min-width: 245px; display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(25,25,29,.9); box-shadow: 0 20px 55px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
.qr-card img { width: 68px; height: 68px; padding: 5px; border-radius: 10px; background: #fff; }
.qr-card div { display: grid; gap: 5px; }
.qr-card strong { font-size: 12px; }
.qr-card span { color: var(--muted); font-size: 9px; }
.feature-strip { width: min(1180px, calc(100% - 48px)); margin: 0 auto 70px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip > div { padding: 31px 28px; }
.feature-strip > div + div { border-left: 1px solid var(--line); }
.feature-strip span { color: var(--brand-2); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.feature-strip strong { display: block; margin-top: 16px; font-size: 17px; }
.feature-strip p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.landing-page > footer { width: min(1180px, calc(100% - 48px)); min-height: 75px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; color: #62626b; font-size: 10px; }

/* Installation page */
.install-page-body { background: #000; }
.desktop-install { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; background: radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 28rem), #000; }
.desktop-icon { width: 118px; height: 118px; border-radius: 27px; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.desktop-install h1 { margin: 17px 0 8px; font-size: 26px; }
.desktop-install p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.desktop-qr { width: 220px; height: 220px; padding: 10px; border-radius: 23px; background: #fff; }
.desktop-install > span { margin-top: 13px; color: #7d7d85; font-size: 11px; }
.desktop-install > a { margin-top: 23px; color: var(--brand); font-size: 12px; }
.install-sheet { display: none; width: min(100%, 700px); min-height: 100vh; margin: 0 auto; padding: 0 28px calc(40px + env(safe-area-inset-bottom)); background: var(--surface); }
.origin { min-height: 67px; display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 -28px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); color: #aaaab1; font-size: 14px; }
.origin i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 12px rgba(48,209,88,.5); }
.app-header { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 22px; padding: 30px 0 25px; }
.app-icon { width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 26px; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.34); }
.app-heading { min-width: 0; }
.official-badge { color: color-mix(in srgb, var(--brand) 68%, white); font-size: 11px; font-weight: 700; }
.app-heading h1 { margin: 6px 0 0; overflow: hidden; font-size: 29px; line-height: 1.12; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.app-heading > p { margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.install-actions { display: flex; align-items: center; gap: 9px; margin-top: 15px; }
.install-now, .trust-now { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.install-now { background: var(--brand); color: #fff; }
.trust-now { border: 1px solid var(--brand); background: transparent; color: color-mix(in srgb, var(--brand) 78%, white); }
.install-now.is-installing::before { content: ""; width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spinner .75s linear infinite; }
.install-now.is-installing .apple-mark { display: none; }
@keyframes spinner { to { transform: rotate(360deg); } }
.install-guide-inline { padding: 13px 0 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-title h2, .store-section > h2 { margin: 0 0 15px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.section-title > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.section-title.compact { align-items: center; }
.section-title.compact p { margin: 0 0 4px; color: var(--brand-2); font-size: 8px; font-weight: 800; letter-spacing: .19em; }
.section-title.compact h2 { margin: 0; font-size: 15px; }
.section-title.compact button { padding: 5px 10px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--brand) 13%, transparent); color: color-mix(in srgb, var(--brand) 70%, white); font-size: 10px; font-weight: 700; cursor: pointer; }
.install-guide-inline > p { margin: 9px 0 0; color: #b3b3ba; font-size: 11px; line-height: 1.5; }
.install-guide-inline ol { display: grid; gap: 7px; margin: 10px 0 0; padding: 9px 0 0; border-top: 1px solid rgba(255,255,255,.08); list-style: none; }
.install-guide-inline li { display: grid; grid-template-columns: 21px minmax(0,1fr); align-items: start; gap: 8px; }
.install-guide-inline li > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--brand) 17%, transparent); color: color-mix(in srgb, var(--brand) 70%, white); font-size: 10px; }
.install-guide-inline li p { margin: 2px 0 0; color: #a5a5ac; font-size: 10px; line-height: 1.4; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 20px 0; border-bottom: 1px solid var(--line); text-align: center; }
.metrics > div { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 7px; }
.metrics > div + div { border-left: 1px solid var(--line); }
.metrics span, .metrics small { color: var(--muted); font-size: 10px; line-height: 1.2; }
.metrics strong { color: #c5c5cb; font-size: 21px; line-height: 1.1; white-space: nowrap; }
.metrics strong em { font-size: .55em; font-style: normal; }
.metrics div:first-child small { color: #b2b2b8; letter-spacing: -1px; }
.store-section { padding: 29px 0; border-bottom: 1px solid var(--line); }
.store-section > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.preview-section { overflow: hidden; }
.preview-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px,24vw,180px); gap: 13px; margin: 4px -28px 0; padding: 0 28px 6px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.preview-track::-webkit-scrollbar { display: none; }
.preview-track figure { aspect-ratio: 686/1150; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #101012; scroll-snap-align: start; }
.preview-track img { width: 100%; height: 100%; display: block; object-fit: cover; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.badges span { padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--brand-2) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand-2) 7%, transparent); color: color-mix(in srgb, var(--brand-2) 55%, white); font-size: 10px; font-weight: 650; }
.rating-layout { display: grid; grid-template-columns: 125px minmax(0,1fr); align-items: center; gap: 35px; }
.rating-layout > div:first-child { display: grid; justify-items: center; }
.rating-layout > div:first-child strong { font-size: 55px; line-height: 1; letter-spacing: -.06em; }
.rating-layout > div:first-child span, .rating-layout p { color: var(--muted); font-size: 10px; }
.rating-layout > div:last-child { display: grid; gap: 5px; }
.rating-layout b { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.rating-layout p { margin: 0 0 5px; }
.rating-layout i { height: 5px; overflow: hidden; border-radius: 5px; background: #34343c; }
.rating-layout i span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.review-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.review-list article { padding: 15px; border-radius: 15px; background: #242426; }
.review-list header { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, color-mix(in srgb,var(--brand) 60%,#fff), var(--brand-2)); color: #fff; font-size: 12px; font-weight: 800; }
.review-list header > div { min-width: 0; display: grid; gap: 3px; }
.review-list header strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.review-list header small { color: var(--muted); font-size: 9px; }
.review-list header b { color: var(--gold); font-size: 9px; letter-spacing: -1px; }
.review-list article > p { margin: 12px 0 0; color: #b4b4ba; font-size: 10px; line-height: 1.65; }
.information dl { margin: 0; }
.information dl > div { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.information dl > div:last-child { border-bottom: 0; }
.information dt, .information dd { font-size: 11px; }
.information dt { color: var(--muted); }
.information dd { margin: 0; color: #d0d0d5; text-align: right; }
.install-sheet > footer { padding: 30px 0 10px; color: #66666e; font-size: 10px; text-align: center; }
.trust-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.trust-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.trust-modal > section { position: relative; z-index: 1; width: min(100%, 470px); padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: #222225; box-shadow: 0 30px 90px rgba(0,0,0,.58); }
.trust-close { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.trust-modal h2 { margin: 16px 0 13px; font-size: 24px; line-height: 1.3; }
.trust-modal section > p:not(.kicker) { margin: 0; color: #b2b2b8; font-size: 12px; line-height: 1.7; }
.settings-path { margin-top: 18px; padding: 13px; border: 1px solid color-mix(in srgb,var(--brand) 35%,transparent); border-radius: 12px; background: color-mix(in srgb,var(--brand) 7%,transparent); color: color-mix(in srgb,var(--brand) 65%,white); font-size: 12px; font-weight: 700; text-align: center; }
.settings-path b { padding: 0 5px; color: var(--brand-2); }
.trust-modal ol { display: grid; gap: 14px; margin: 20px 0; padding: 0; list-style: none; }
.trust-modal li { display: grid; grid-template-columns: 27px minmax(0,1fr); align-items: start; gap: 10px; color: #d0d0d5; font-size: 12px; line-height: 1.55; }
.trust-modal li span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #2d2d35; color: var(--brand-2); font-weight: 800; }
.trust-confirm { width: 100%; min-height: 44px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 750; cursor: pointer; }

@media (max-width: 820px) {
  .landing-nav { width: calc(100% - 36px); min-height: 70px; }
  .hero { width: calc(100% - 36px); min-height: 760px; grid-template-columns: 1fr; gap: 25px; padding: 70px 0 45px; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { min-height: 360px; }
  .icon-stage { width: 240px; height: 240px; }
  .icon-stage img { width: 175px; height: 175px; border-radius: 39px; }
  .qr-card { right: 4%; bottom: -5px; }
  .feature-strip { width: calc(100% - 36px); grid-template-columns: 1fr; }
  .feature-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .landing-nav { width: calc(100% - 30px); }
  .brand img { width: 37px; height: 37px; border-radius: 10px; }
  .brand strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .nav-install { min-height: 34px; padding: 0 13px; font-size: 11px; }
  .hero { width: calc(100% - 30px); min-height: auto; padding-top: 68px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-subtitle { font-size: 19px; }
  .hero-description { font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .download-button, .secondary-button { width: min(100%, 290px); min-height: 46px; font-size: 13px; }
  .hero-visual { min-height: 310px; }
  .icon-stage { width: 210px; height: 210px; }
  .icon-stage img { width: 150px; height: 150px; border-radius: 34px; }
  .qr-card { display: none; }
  .feature-strip { width: calc(100% - 30px); margin-top: 45px; }
  .landing-page > footer { width: calc(100% - 30px); }
  .landing-page > footer span:last-child { display: none; }
}

@media (max-width: 767px) {
  .desktop-install { display: none; }
  .install-sheet { display: block; }
}
@media (min-width: 768px) {
  body[data-preview-ios="true"] .desktop-install,
  body[data-native-ios="true"] .desktop-install { display: none; }
  body[data-preview-ios="true"] .install-sheet,
  body[data-native-ios="true"] .install-sheet { display: block; }
}
@media (max-width: 430px) {
  .install-sheet { padding-right: 20px; padding-left: 20px; }
  .origin { min-height: 61px; margin-right: -20px; margin-left: -20px; font-size: 13px; }
  .app-header { grid-template-columns: 94px minmax(0,1fr); gap: 17px; padding: 26px 0 22px; }
  .app-icon { width: 94px; height: 94px; border-radius: 22px; }
  .app-heading h1 { font-size: 25px; }
  .app-heading > p { font-size: 11px; }
  .install-actions { gap: 7px; margin-top: 13px; }
  .install-now, .trust-now { min-height: 32px; padding: 0 14px; font-size: 12px; }
  .metrics { padding: 17px 0; }
  .metrics > div { gap: 3px; padding-inline: 4px; }
  .metrics span, .metrics small { font-size: 9px; }
  .metrics strong { font-size: 18px; }
  .store-section { padding: 26px 0; }
  .section-title h2, .store-section > h2 { font-size: 21px; }
  .preview-track { grid-auto-columns: calc(70vw - 28px); margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
  .review-list { grid-template-columns: 1fr; }
  .rating-layout { grid-template-columns: 100px minmax(0,1fr); gap: 24px; }
  .rating-layout > div:first-child strong { font-size: 48px; }
  .trust-modal { align-items: end; padding: 0; }
  .trust-modal > section { width: 100%; padding: 25px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .trust-modal h2 { font-size: 21px; }
}
@media (max-width: 350px) {
  .app-header { grid-template-columns: 82px minmax(0,1fr); gap: 13px; }
  .app-icon { width: 82px; height: 82px; border-radius: 19px; }
  .app-heading h1 { font-size: 22px; }
  .install-now, .trust-now { padding-inline: 11px; font-size: 11px; }
  .metrics strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
