:root {
    --red: #e1061b;
    --red-deep: #ad0011;
    --gold: #eeb12e;
    --ink: #1e2430;
    --muted: #6f7785;
    --line: #eceef2;
    --paper: #fff;
    --soft: #f7f8fa;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #fafafa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: linear-gradient(180deg, #fffafa 0, #fff 42%, #f8f9fb 100%); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.page-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.page-glow-one { top: -220px; right: -170px; width: 520px; height: 520px; background: rgba(225, 6, 27, .08); }
.page-glow-two { top: 510px; left: -230px; width: 430px; height: 430px; background: rgba(238, 177, 46, .07); }

.site-header { display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 48px)); height: 82px; margin: 0 auto; border-bottom: 1px solid rgba(225, 6, 27, .08); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img, .footer-brand img, .app-identity img { border-radius: 13px; box-shadow: 0 6px 18px rgba(190, 0, 18, .12); }
.brand-copy, .footer-brand span { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 16px; letter-spacing: .04em; }
.brand-copy small, .footer-brand small { margin-top: 2px; color: #9a6d6d; font-size: 11px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #626976; font-size: 14px; }
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--red); }
.official-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid #f2d7da; border-radius: 999px; background: #fff5f6; color: #be0a1c; font-size: 12px; }
.official-pill i { width: 7px; height: 7px; border-radius: 50%; background: #16b879; box-shadow: 0 0 0 4px rgba(22, 184, 121, .12); }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; min-height: 670px; padding: 54px 0 68px; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; border: 1px solid #f1d6d9; border-radius: 999px; background: rgba(255,255,255,.8); color: #a31b28; font-size: 13px; box-shadow: 0 8px 25px rgba(113, 0, 9, .05); }
.eyebrow span { padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { margin: 23px 0 18px; color: #20242c; font-size: clamp(48px, 5.2vw, 72px); line-height: 1.12; letter-spacing: -.04em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 520px; margin: 0 0 28px; color: #697180; font-size: 17px; line-height: 1.9; }

.download-panel { max-width: 540px; padding: 18px; border: 1px solid rgba(225, 6, 27, .1); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 20px 55px rgba(93, 0, 9, .09); backdrop-filter: blur(14px); }
.app-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.app-identity div { display: flex; flex-direction: column; gap: 5px; }
.app-identity strong { font-size: 18px; }
.app-identity span { color: #8a919c; font-size: 13px; }
.download-button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 55px; border-radius: 13px; background: linear-gradient(135deg, #f21b2d, #c90014); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 13px 28px rgba(211, 0, 20, .24); transition: transform .2s, box-shadow .2s; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(211, 0, 20, .3); }
.download-button:active { transform: translateY(0); }
.download-button svg { width: 22px; fill: currentColor; }
.download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.download-button span { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.download-button small { color: rgba(255,255,255,.76); font-size: 10px; font-weight: 500; letter-spacing: .02em; }
.download-button.ios { background: linear-gradient(135deg, #373b43, #17191e); box-shadow: 0 13px 28px rgba(29,32,38,.18); }
.download-button.ios:hover { box-shadow: 0 17px 34px rgba(29,32,38,.25); }
.platform-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.platform-summary span { padding: 10px 12px; border: 1px solid #f0e7e8; border-radius: 10px; background: #fffafa; color: #8d939d; font-size: 10px; line-height: 1.5; }
.platform-summary b { display: block; margin-bottom: 1px; color: #3a414c; font-size: 12px; }
.download-note { display: flex; align-items: center; gap: 7px; margin: 13px 0 0 5px; color: #8c929d; font-size: 12px; }
.download-note svg { width: 16px; fill: #18a56f; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 570px; }
.orbit { position: absolute; border: 1px solid rgba(225, 6, 27, .1); border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 365px; height: 365px; border-style: dashed; animation: rotate 28s linear infinite; }
.phone-shadow { position: absolute; bottom: 27px; width: 300px; height: 55px; border-radius: 50%; background: rgba(100, 0, 8, .15); filter: blur(20px); }
.phone { position: relative; z-index: 1; width: 292px; padding: 9px; border: 7px solid #24262c; border-radius: 43px; background: #13151a; box-shadow: 0 36px 75px rgba(70, 0, 7, .23), inset 0 0 0 1px #4d4e53; transform: rotate(3deg); }
.phone-speaker { position: absolute; z-index: 3; top: 15px; left: 50%; width: 82px; height: 20px; border-radius: 0 0 14px 14px; background: #24262c; transform: translateX(-50%); }
.phone-screen { position: relative; min-height: 558px; overflow: hidden; border-radius: 30px; background: linear-gradient(180deg, #fff 0, #fff5f5 100%); }
.phone-status { display: flex; justify-content: space-between; padding: 12px 17px 8px; font-size: 10px; font-weight: 700; }
.phone-title { display: flex; justify-content: center; padding: 7px 17px 12px; font-size: 16px; font-weight: 700; }
.phone-title span { position: absolute; right: 19px; font-size: 18px; }
.phone-banner { display: flex; align-items: center; justify-content: space-between; height: 150px; margin: 0 13px; padding: 20px; border-radius: 17px; background: linear-gradient(135deg, #b90012, #ef172a); color: #fff; box-shadow: 0 12px 24px rgba(201, 0, 20, .18); }
.phone-banner small { display: block; margin-bottom: 9px; color: #ffd9dc; font-size: 9px; }
.phone-banner strong { font-size: 21px; line-height: 1.35; }
.phone-banner img { border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(84,0,8,.18); }
.phone-notice { display: flex; align-items: center; gap: 9px; height: 45px; margin: 12px 13px; padding: 0 13px; border: 1px solid #f0e2e3; border-radius: 12px; background: #fff; font-size: 10px; }
.phone-notice b { color: var(--red); }
.phone-notice span { flex: 1; color: #626976; }
.phone-notice i { color: #a5abb3; font-size: 19px; }
.phone-section-title { display: flex; justify-content: space-between; padding: 3px 17px 8px; font-size: 11px; }
.phone-section-title span { color: #a3a8b0; font-size: 9px; }
.phone-news { display: flex; gap: 10px; margin: 0 13px 9px; padding: 10px; border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(30,30,45,.04); }
.phone-news i { width: 43px; height: 43px; border-radius: 9px; background: linear-gradient(135deg, #ff6571, #c70014); }
.phone-news p { display: flex; flex-direction: column; gap: 7px; margin: 2px 0 0; }
.phone-news b { font-size: 10px; }
.phone-news span { color: #9aa0a9; font-size: 8px; }
.phone-tabs { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 8px 12px; border-top: 1px solid #f0e9ea; background: rgba(255,255,255,.94); }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #a1a6af; font-size: 12px; }
.phone-tabs b { font-size: 8px; }
.phone-tabs .active { color: var(--red); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 16px 35px rgba(61,0,6,.12); backdrop-filter: blur(12px); }
.floating-safe { right: -3px; bottom: 105px; gap: 9px; }
.floating-safe b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #e9fbf4; color: #0ba76c; }
.floating-safe span { display: flex; flex-direction: column; color: #8a919b; font-size: 9px; }
.floating-safe strong { margin-bottom: 2px; color: #303640; font-size: 11px; }
.floating-version { top: 70px; left: 7px; flex-direction: column; align-items: flex-start; }
.floating-version span { color: var(--red); font-size: 16px; font-weight: 700; }
.floating-version small { margin-top: 2px; color: #8f959e; font-size: 9px; }

.trust-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 92px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 13px 40px rgba(34,39,50,.06); }
.trust-strip article { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 18px 0; border-right: 1px solid var(--line); }
.trust-strip article:last-child { border: 0; }
.trust-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #fff0f1; color: var(--red); font-size: 13px; font-weight: 700; }
.trust-strip div { display: flex; flex-direction: column; gap: 4px; }
.trust-strip b { font-size: 14px; }
.trust-strip small { color: #9299a3; font-size: 11px; }

.content-section { padding: 0 0 100px; }
.section-heading { margin-bottom: 34px; text-align: center; }
.section-heading > span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.section-heading h2 { margin: 10px 0 9px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.security-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.security-card { min-height: 168px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 10px 35px rgba(35,40,52,.05); }
.primary-card { display: flex; align-items: center; gap: 19px; padding: 27px; }
.security-mark { display: grid; flex: 0 0 auto; place-items: center; width: 57px; height: 57px; border-radius: 18px; background: linear-gradient(145deg, #f21c30, #bd0012); color: #fff; font-size: 26px; box-shadow: 0 12px 25px rgba(201,0,20,.2); }
.primary-card small { color: #999fa9; }
.primary-card h3 { margin: 8px 0; font-size: 18px; }
.primary-card p, .hash-card p { margin: 0; color: #858d99; font-size: 12px; line-height: 1.7; }
.hash-card { padding: 25px 27px; }
.hash-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; color: #4c5562; font-size: 13px; font-weight: 600; }
.hash-title button { border: 0; background: transparent; color: var(--red); cursor: pointer; font-family: inherit; }
.hash-card code { display: block; margin-bottom: 13px; padding: 13px; overflow-wrap: anywhere; border: 1px dashed #edc9cc; border-radius: 9px; background: #fff7f8; color: #9f1825; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.65; }

.install-section { padding: 90px 0; background: linear-gradient(180deg, #fff7f8, #fff); }
.section-heading.compact { margin-bottom: 42px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { position: relative; min-height: 215px; padding: 28px; overflow: hidden; border: 1px solid #f0e5e6; border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(53,0,5,.04); }
.steps article > b { position: absolute; top: 12px; right: 18px; color: #f6e5e6; font-size: 48px; }
.step-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: #fff0f1; color: var(--red); font-size: 18px; font-weight: 700; }
.steps h3 { margin: 21px 0 9px; font-size: 17px; }
.steps p { margin: 0; color: #7d8591; font-size: 13px; line-height: 1.8; }
.install-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform-guide { padding: 28px; border: 1px solid #f0e5e6; border-radius: 21px; background: rgba(255,255,255,.94); box-shadow: 0 13px 34px rgba(53,0,5,.05); }
.guide-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #f0e8e9; }
.guide-icon { display: grid; flex: 0 0 auto; place-items: center; width: 47px; height: 47px; border-radius: 15px; background: linear-gradient(145deg, #f21c30, #bd0012); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 10px 22px rgba(201,0,20,.18); }
.guide-icon.apple { background: linear-gradient(145deg, #42464e, #15171b); box-shadow: 0 10px 22px rgba(25,28,33,.16); }
.guide-heading h3 { margin: 0 0 4px; font-size: 19px; }
.guide-heading p { margin: 0; color: #9197a1; font-size: 12px; }
.platform-guide ol { display: grid; gap: 17px; margin: 22px 0 0; padding: 0; list-style: none; }
.platform-guide li { display: flex; align-items: flex-start; gap: 12px; }
.platform-guide li > b { display: grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; margin-top: 1px; border-radius: 50%; background: #fff0f1; color: var(--red); font-size: 11px; }
.platform-guide li span { display: flex; flex-direction: column; gap: 4px; }
.platform-guide li strong { color: #3d444f; font-size: 14px; }
.platform-guide li small { color: #858d98; font-size: 12px; line-height: 1.65; }
.ios-guide li > b { background: #f0f1f3; color: #343840; }
.platform-detected .download-actions { grid-template-columns: 1fr; }
.platform-detected [data-platform].platform-hidden { display: none !important; }
.platform-detected .platform-summary { grid-template-columns: 1fr; }
.platform-detected .install-guides { grid-template-columns: 1fr; }
.install-warning { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 17px 21px; border: 1px solid #f0dfc0; border-radius: 13px; background: #fffaf0; color: #7a6744; }
.install-warning > span { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f0b433; color: #fff; font-weight: 700; }
.install-warning p { margin: 0; font-size: 12px; line-height: 1.7; }
.install-warning b { margin-right: 7px; color: #5f4b29; }

footer { border-top: 1px solid #eceef1; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 104px; }
.footer-brand b { font-size: 14px; }
.footer-inner p { color: #969ca6; font-size: 12px; }
.toast { position: fixed; z-index: 99; left: 50%; bottom: 28px; padding: 11px 18px; border-radius: 999px; background: rgba(31,36,45,.92); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .site-nav a { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 45px; text-align: center; }
    .hero-copy { max-width: 640px; margin: 0 auto; }
    .hero-lead, .download-panel { margin-left: auto; margin-right: auto; }
    .download-note { justify-content: center; }
    .hero-visual { min-height: 590px; }
    .security-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .shell, .site-header { width: min(100% - 30px, 1160px); }
    .site-header { height: 70px; }
    .brand img { width: 38px; height: 38px; }
    .brand-copy strong { font-size: 14px; }
    .brand-copy small { font-size: 9px; }
    .official-pill { padding: 7px 9px; font-size: 10px; }
    .hero { min-height: 0; padding: 40px 0 54px; }
    .hero h1 { margin-top: 19px; font-size: 43px; }
    .hero-lead { font-size: 14px; line-height: 1.8; }
    .download-panel { padding: 15px; border-radius: 17px; text-align: left; }
    .app-identity img { width: 55px; height: 55px; }
    .app-identity strong { font-size: 16px; }
    .download-button { height: 52px; font-size: 15px; }
    .download-actions { grid-template-columns: 1fr; }
    .platform-summary { grid-template-columns: 1fr; }
    .hero-visual { min-height: 515px; margin-top: 18px; transform: scale(.88); transform-origin: top center; }
    .orbit-one { width: 420px; height: 420px; }
    .floating-version { left: -15px; }
    .floating-safe { right: -24px; }
    .trust-strip { grid-template-columns: 1fr; margin-top: -52px; margin-bottom: 70px; padding: 4px 18px; }
    .trust-strip article { justify-content: flex-start; margin: 0; padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .content-section { padding-bottom: 75px; }
    .section-heading { margin-bottom: 27px; }
    .section-heading h2 { font-size: 28px; }
    .section-heading p { padding: 0 12px; line-height: 1.7; }
    .primary-card, .hash-card { padding: 21px; }
    .primary-card { align-items: flex-start; }
    .security-mark { width: 48px; height: 48px; border-radius: 15px; }
    .hash-title { align-items: flex-start; }
    .steps, .install-guides { grid-template-columns: 1fr; }
    .steps article { min-height: 185px; }
    .platform-guide { padding: 21px; }
    .install-section { padding: 70px 0; }
    .install-warning { align-items: flex-start; }
    .footer-inner { flex-direction: column; justify-content: center; gap: 13px; padding: 26px 0; text-align: center; }
    .footer-inner p { margin: 0; }
}

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

/* This download experience is intentionally mobile-first. On wider screens it
   stays at phone width instead of expanding into a desktop landing page. */
body { background: #f2f3f6; }
.page-glow { display: none; }
.mobile-site { width: min(100%, 480px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: linear-gradient(180deg, #fff8f8 0, #fff 42%, #f9fafb 100%); box-shadow: 0 0 45px rgba(39,42,50,.08); }
.mobile-site .shell, .mobile-site .site-header { width: calc(100% - 32px); }
.site-header { height: 68px; }
.site-nav { gap: 0; }
.site-nav a { display: none; }
.official-pill { padding: 7px 10px; font-size: 10px; }
.brand img { width: 38px; height: 38px; }
.brand-copy strong { font-size: 14px; }
.brand-copy small { font-size: 9px; }

.hero { display: block; min-height: 0; padding: 34px 0 42px; text-align: center; }
.hero-copy { max-width: none; }
.eyebrow { padding: 6px 11px 6px 6px; font-size: 12px; }
.eyebrow span { padding: 5px 9px; font-size: 10px; }
.hero h1 { margin: 20px 0 15px; font-size: clamp(39px, 11vw, 49px); line-height: 1.08; }
.hero-lead { margin: 0 auto 23px; font-size: 14px; line-height: 1.8; }
.download-panel { width: 100%; margin: 0; padding: 15px; border-radius: 18px; text-align: left; }
.app-identity { margin-bottom: 14px; }
.app-identity img { width: 56px; height: 56px; }
.app-identity strong { font-size: 16px; }
.download-actions { grid-template-columns: 1fr; gap: 10px; }
.download-button { height: 55px; font-size: 15px; }
.platform-summary { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.platform-summary span { padding: 9px 10px; }
.download-note { justify-content: center; margin: 14px 0 0; font-size: 11px; }
.hero-visual { display: none; }

.trust-strip { grid-template-columns: repeat(3, 1fr); margin-top: 0; margin-bottom: 64px; padding: 4px; border-radius: 16px; }
.trust-strip article { flex-direction: column; justify-content: center; gap: 7px; margin: 0; padding: 13px 3px; border-right: 1px solid var(--line); border-bottom: 0; text-align: center; }
.trust-strip article:last-child { border-right: 0; }
.trust-icon { width: 34px; height: 34px; border-radius: 11px; font-size: 11px; }
.trust-strip div { gap: 2px; }
.trust-strip b { font-size: 11px; }
.trust-strip small { display: none; }

.content-section { padding-bottom: 68px; }
.section-heading { margin-bottom: 24px; }
.section-heading > span { font-size: 9px; }
.section-heading h2 { margin-top: 8px; font-size: 27px; }
.section-heading p { padding: 0 14px; font-size: 12px; line-height: 1.7; }
.security-layout { grid-template-columns: 1fr; gap: 13px; }
.security-card { min-height: 0; border-radius: 17px; }
.primary-card, .hash-card { padding: 20px; }
.security-mark { width: 48px; height: 48px; border-radius: 15px; }
.primary-card h3 { font-size: 16px; }
.hash-title { margin-bottom: 11px; }
.hash-card code { font-size: 9px; }

.install-section { padding: 64px 0; }
.section-heading.compact { margin-bottom: 27px; }
.install-guides { grid-template-columns: 1fr; gap: 14px; }
.platform-guide { padding: 20px; border-radius: 18px; }
.guide-heading { padding-bottom: 17px; }
.guide-icon { width: 43px; height: 43px; border-radius: 14px; }
.guide-heading h3 { font-size: 17px; }
.platform-guide ol { gap: 15px; margin-top: 18px; }
.install-warning { align-items: flex-start; padding: 15px; }

.footer-inner { flex-direction: column; justify-content: center; gap: 11px; min-height: 126px; padding: 24px 0; text-align: center; }
.footer-inner p { margin: 0; }

@media (max-width: 360px) {
    .mobile-site .shell, .mobile-site .site-header { width: calc(100% - 24px); }
    .hero h1 { font-size: 37px; }
    .platform-summary { grid-template-columns: 1fr; }
    .brand-copy strong { font-size: 13px; }
    .official-pill { padding: 6px 8px; }
}
