:root {
  --paper: #faf9fe;
  --white: #fff;
  --ink: #211c35;
  --muted: #6b657c;
  --accent: #7043dc;
  --accent-dark: #5930bc;
  --lavender: #eee8fc;
  --line: #e5e0ef;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled, [aria-disabled="true"] { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button svg, a svg { pointer-events: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--white); z-index: 20; }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 5; background: rgb(250 249 254 / 95%); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; flex-shrink: 0; }
.brand img { border-radius: 11px; }
.brand > span { font-size: 20px; font-weight: 750; letter-spacing: .02em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font: 9px/1.4 "Avenir Next", Arial, sans-serif; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 13px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-download { padding: 0 18px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.nav-download svg { width: 18px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 48px 64px; }
.hero-copy { padding-block: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .06em; }
.eyebrow-line { width: 25px; height: 2px; background: currentColor; }
h1 { margin-block: 24px; font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: clamp(42px, 4.6vw, 64px); font-weight: 800; line-height: 1.32; letter-spacing: -.045em; }
h1 span { color: var(--accent); }
.hero-description { color: var(--muted); font-size: 17px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 13px 23px; border: 1px solid transparent; border-radius: 12px; font-weight: 650; transition: background .2s, box-shadow .2s; }
.button-primary { color: var(--white); background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgb(112 67 220 / 16%); }
.button-primary[aria-disabled="true"] { background: var(--lavender); color: var(--muted); box-shadow: none; }
.preview-link { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; font-size: 14px; font-weight: 600; }
.preview-link:hover, .text-link:hover { color: var(--accent-dark); }
.device-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 5px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--accent); }
.preview { min-width: 0; position: relative; padding: 17px 0 0; background: linear-gradient(145deg, #f2edff, #e8e0fa 65%, #f5f1ff); border: 1px solid #e7dff7; border-radius: 24px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 22px; font-size: 10px; letter-spacing: .08em; color: #65577d; }
.preview-heading span:first-child { font-weight: 700; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 24px 24px; border-radius: 20px; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 67%; min-width: 0; scroll-snap-align: start; scroll-margin-inline-start: 24px; }
.slide img { width: 100%; border-radius: 13px; box-shadow: 0 10px 20px rgb(40 26 73 / 9%); }
.carousel::after { content: ""; flex: 0 0 calc(33% - 20px); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 16px; color: #65577d; font-size: 10px; }
.carousel-buttons { display: flex; align-items: center; gap: 10px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgb(101 87 125 / 20%); border-radius: 50%; background: rgb(255 255 255 / 65%); color: var(--ink); transition: background .2s; }
.icon-button:hover { background: var(--white); }
.icon-button svg { width: 18px; height: 18px; }
.rotate { transform: rotate(180deg); }
.features, .download-section, .faq { padding-block: 68px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
h2 { margin-top: 12px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.45; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
.section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-grid article { min-width: 0; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--lavender); color: var(--accent); margin-bottom: 20px; }
h3 { font-size: 19px; line-height: 1.5; font-weight: 700; }
.feature-grid p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.feature-tag { display: block; margin-top: 20px; font-size: 11px; color: var(--accent); }
.theme-strip { display: flex; align-items: center; gap: 24px; margin-top: 42px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.theme-strip h3 { font-size: 16px; }
.theme-strip p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.theme-swatches { display: flex; padding-left: 6px; }
.theme-swatches span { width: 26px; height: 26px; background: #7c4dff; border: 3px solid var(--white); border-radius: 50%; margin-left: -6px; }
.theme-swatches span:nth-child(2) { background: #ff4081; }
.theme-swatches span:nth-child(3) { background: #00bcd4; }
.theme-swatches span:nth-child(4) { background: #ff9800; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 600; }
.text-link svg { width: 17px; }
.theme-strip > a { margin-left: auto; flex-shrink: 0; }
.download-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.platform-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.platform-card.preferred { border-color: var(--accent); box-shadow: 0 0 0 3px var(--lavender); }
.platform-top { display: flex; align-items: center; gap: 16px; }
.platform-mark { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; padding: 12px; border-radius: 13px; background: var(--lavender); color: var(--accent); font: 700 15px/1 Arial, sans-serif; }
.platform-top p, .platform-note { color: var(--muted); font-size: 12px; }
.platform-top p { margin-top: 4px; }
.platform-download { width: 100%; margin-top: 24px; font-size: 14px; }
.platform-note { margin-top: 10px; }
.other-versions { border-top: 1px solid var(--line); margin-top: 20px; }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: 22px; font-weight: 400; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
details[open] > summary > span { transform: rotate(45deg); }
.other-versions summary { font-size: 13px; }
.download-list { display: grid; gap: 8px; }
.download-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; background: var(--paper); border-radius: 10px; }
.download-option strong { display: block; font-size: 13px; font-weight: 600; }
.download-option small, .option-state { font-size: 11px; color: var(--muted); }
.download-option[href]:hover { background: var(--lavender); }
.download-option[aria-disabled="true"] { color: var(--muted); }
.install-note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: 12px; margin-top: 16px; }
.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 4px; }
.faq-list summary { padding-block: 13px; font-size: 15px; font-weight: 600; }
.faq-list p { padding: 0 32px 20px 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.faq-list .text-link { margin-bottom: 12px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 36px max(44px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer .brand > span { font-size: 16px; }
.footer p { margin-top: 10px; color: var(--muted); font-size: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--muted); }
.footer nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.footer nav a:hover { color: var(--accent); }
.browser-guide { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--lavender); }
.guide-copy { flex: 1 1 280px; }
.guide-copy strong { font-size: 15px; }
.guide-copy p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.guide-copy-button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 8px; background: var(--white); color: var(--accent); font-size: 13px; }
#manual-copy { width: 100%; font-size: 13px; }
#page-url { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 16px; }
.toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 14px; z-index: 10; box-shadow: 0 8px 30px rgb(33 28 53 / 15%); }
@media (min-width: 1600px) { .hero { padding-block: 64px 80px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  h1 { font-size: 46px; }
  .hero-description { font-size: 15px; }
  .hero-facts { gap: 10px; font-size: 11px; }
  .slide { flex-basis: 80%; }
  .carousel::after { flex-basis: calc(20% - 20px); }
  .carousel-caption { display: none; }
  .carousel-controls { justify-content: flex-end; }
  .feature-grid { gap: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .nav { min-height: 72px; gap: 12px; }
  .brand { gap: 9px; }
  .brand > span { font-size: 17px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand small { font-size: 8px; }
  .nav-links { gap: 0; font-size: 12px; }
  .nav-links > a:not(.nav-download) { display: none; }
  .nav-download { padding-inline: 12px; gap: 8px !important; }
  .nav-download svg { width: 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(36px, 8.5vw, 58px); margin-block: 19px; }
  .hero-description { font-size: 16px; }
  .hero-actions { margin-top: 26px; gap: 26px; }
  .hero-facts { font-size: 12px; margin-top: 24px; padding-top: 18px; gap: 16px; }
  .preview { width: 100%; max-width: 520px; justify-self: center; border-radius: 20px; }
  .carousel { padding-inline: 18px; gap: 14px; }
  .slide { flex-basis: 71%; scroll-margin-inline-start: 18px; }
  .carousel::after { flex-basis: calc(29% - 14px); }
  .preview-heading { padding-inline: 18px; }
  .carousel-caption { display: block; }
  .carousel-controls { justify-content: space-between; padding-inline: 16px; }
  .carousel-buttons { gap: 6px; }
  .features, .download-section, .faq { padding-block: 42px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  h2 { font-size: 27px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
  .feature-icon { width: 44px; height: 44px; grid-row: span 3; margin-bottom: 0; }
  .feature-grid h3 { font-size: 17px; }
  .feature-grid p { grid-column: 2; margin-top: 7px; }
  .feature-tag { grid-column: 2; margin-top: 12px; }
  .theme-strip { flex-wrap: wrap; gap: 16px; padding: 22px; margin-top: 28px; }
  .theme-swatches { width: 100%; }
  .theme-strip > a { margin-left: 0; }
  .download-platforms { grid-template-columns: 1fr; gap: 16px; }
  .platform-card { padding: 24px; }
  .faq-list summary { font-size: 14px; }
  .faq-list p { padding-right: 8px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 28px; }
  .footer nav { gap: 24px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .nav-download { padding-inline: 10px; }
  .nav-download svg { display: none; }
  .brand > span { font-size: 15px; }
  .brand img { width: 32px; height: 32px; }
  .hero-description { font-size: 14px; }
  .hero-facts { gap: 10px; font-size: 10px; }
  .button { gap: 12px; padding-inline: 18px; }
  .preview-heading span:last-child, .carousel-caption { display: none; }
  .carousel-controls { justify-content: flex-end; }
  h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
