:root {
  color-scheme: dark;
  --bg: #08090d;
  --surface: #101218;
  --line: #272a35;
  --text: #f2f3f8;
  --muted: #a0a6b6;
  --purple: #a887ff;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
figure { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #b9a0ff; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px; background: var(--surface); border: 1px solid var(--purple); }
.skip-link:focus { top: 12px; }
.nav { position: sticky; top: 0; z-index: 50; height: 76px; border-bottom: 1px solid #ffffff0c; background: #08090dec; backdrop-filter: blur(20px); }
.nav-inner, .logo, .nav-actions, .nav-links { display: flex; align-items: center; }
.nav-inner { height: 100%; gap: 36px; }
.logo { gap: 10px; font-size: 19px; font-weight: 750; letter-spacing: -.5px; flex-shrink: 0; }
.logo img { object-fit: contain; }
.logo-domain { color: var(--muted); }
.nav-links { gap: 26px; margin-left: auto; font-size: 14px; color: #bcc0ce; }
.nav-links a:hover, .text-link:hover, .guide-links a:hover { color: #d3c3ff; }
.nav-actions { gap: 10px; }
.language-select { min-height: 38px; padding: 5px 8px; color: #d8d0ec; font: inherit; font-size: 12px; border: 1px solid #363946; border-radius: 8px; background: #151720; cursor: pointer; }
.hero-copy > .language-note { display: none; font-size: 12px; color: var(--muted); margin-top: 12px; }
html[lang="en"] .language-note { display: block; }
html[lang="en"] .hero h1 { font-size: clamp(38px, 5.2vw, 70px); letter-spacing: -2px; }
html[lang="en"] .nav-inner { gap: 20px; }
html[lang="en"] .nav-links { gap: 18px; }
html[lang="en"] .guide-links { flex-shrink: 1; min-width: 165px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 46px; padding: 10px 20px; border: 1px solid #363946; border-radius: 9px; background: #151720; color: var(--text); font-size: 14px; font-weight: 600; transition: background .18s, border-color .18s; }
.button:hover { border-color: #766398; background: #1c1c29; }
.button.primary { color: #fff; background: #8552ed; border-color: #9967ff; }
.button.primary:hover { background: #9565f4; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; letter-spacing: 1.1px; color: #bca3f7; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7ee8bc; }
.gradient-text { color: #b99bff; }
.hero { overflow: hidden; position: relative; padding: 78px 0 38px; background: radial-gradient(ellipse at 50% 5%, #59309820, transparent 58%); }
.hero-copy { text-align: center; }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); line-height: 1.14; letter-spacing: -3px; margin: 22px 0; }
.hero-copy > p { font-size: 19px; color: #b3b8c7; margin: 0; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-actions .button { min-height: 50px; }
.hero-note { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: var(--muted); margin: 19px 0 0; font-size: 12px; }
.hero-note span + span::before { content: "·"; margin-right: 20px; color: #686273; }
.hero-shot { width: min(1440px, calc(100% - 48px)); margin: 52px auto 0; }
.screenshot-link { display: block; position: relative; background: #040507; border: 1px solid #3c304f; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.screenshot-link img { display: block; width: 100%; height: auto; }
.hero-shot .screenshot-link { box-shadow: 0 30px 100px #0008; }
.image-hint { position: absolute; bottom: 14px; right: 14px; background: #13101eee; border: 1px solid #77628a; border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #ede7ff; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.market-strip { border-block: 1px solid #ffffff0b; padding: 25px 0; }
.market-inner { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.market-inner strong { font-size: 13px; letter-spacing: 1px; color: #bdc0cc; }
.market-inner > span, .market-inner a { font-size: 12px; color: var(--muted); }
.market-inner a { color: #b7a2da; }
.section { padding: 90px 0; }
.section-tint { background: #0d0e14; border-block: 1px solid #ffffff08; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -1.3px; margin: 14px 0 18px; }
.section-head p { margin: 0; color: var(--muted); max-width: 620px; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.center p { margin-inline: auto; }
.split-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: end; }
.head-aside { padding-bottom: 19px; }
.text-link { display: inline-block; color: #c5aff7; font-size: 14px; margin-top: 16px; }
.compare-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.compare-toolbar > span { color: var(--muted); font-size: 13px; }
.segmented { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.segmented button { background: transparent; border: 0; border-radius: 6px; padding: 10px 18px; color: var(--muted); font-size: 14px; }
.segmented button.active { background: #a887ff24; color: #e3d6ff; }
.compare-figure .screenshot-link { aspect-ratio: 1200 / 680; }
.compare-figure img { width: 100%; height: 100%; object-fit: contain; }
.feature-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); gap: 16px; }
.feature-tabs button { text-align: left; border: 0; border-bottom: 2px solid transparent; padding: 18px 20px; background: transparent; color: var(--muted); font-weight: 650; }
.feature-tabs button span { display: block; font-size: 12px; font-weight: 400; margin-top: 4px; }
.feature-tabs button[aria-selected="true"] { background: linear-gradient(0deg, #9b70ff16, transparent); border-bottom-color: var(--purple); color: #ede2ff; }
.feature-panel { padding-top: 26px; }
.feature-copy { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 22px; }
.feature-copy h3 { font-size: 23px; margin: 0 0 8px; letter-spacing: -.4px; }
.feature-copy p { color: var(--muted); max-width: 780px; margin: 0; font-size: 14px; }
.guide-links { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; font-size: 13px; color: #c5aff7; }
.feature-panel .product-figure img { max-height: 800px; object-fit: contain; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.feature-card, .indicator-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: background .18s, border-color .18s; }
.feature-card:hover, .indicator-card:hover { border-color: #74608f; background: #171520; }
.card-code { display: flex; justify-content: space-between; color: #b89aed; font-size: 12px; letter-spacing: 1px; }
.feature-card h3 { margin: 23px 0 10px; font-size: 18px; }
.feature-card p, .indicator-card p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.card-meta { color: #928ba3; font-size: 12px; }
.card-action { margin-top: auto; padding-top: 18px; color: #c5aff7; font-size: 13px; }
.indicator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.indicator-card { background: linear-gradient(135deg, #12111b, #0e1016); }
.indicator-card h3 { display: flex; justify-content: space-between; gap: 12px; margin: 13px 0 9px; font-size: 20px; }
.indicator-card h3 span { font-size: 16px; color: #9787ad; }
.section-note { font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.section-note a { display: inline-block; color: #c5aff7; margin-left: 15px; }
.developer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.developer-grid .section-head { margin: 0; }
.align-left { justify-content: flex-start; }
.authoring-path { display: grid; gap: 12px; }
.authoring-path a { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #12131b; }
.authoring-path a:hover { border-color: #74608f; }
.authoring-path a > span { color: #b198df; font: 14px/1 monospace; }
.authoring-path h3 { font-size: 17px; margin: 0 0 6px; }
.authoring-path p { margin: 0; color: var(--muted); font-size: 14px; }
.authoring-path b { margin-left: auto; font-weight: 400; color: #b198df; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.download-card { padding: 30px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.download-platform { font-size: 12px; color: #b59bdc; letter-spacing: 1px; }
.download-card h3 { font-size: 27px; margin: 12px 0 8px; }
.download-card p { color: var(--muted); font-size: 14px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); margin: 20px 0; font-size: 12px; }
.download-card .button { width: 100%; }
.recommended-os { border-color: #8667b4 !important; background: linear-gradient(130deg, #20152e, #11131b) !important; }
.developer-download { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.developer-download h3 { margin: 0; font-size: 17px; }
.developer-download p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.developer-download-links { display: flex; gap: 10px; flex-shrink: 0; }
.release-note { color: var(--muted); font-size: 12px; margin: 14px 0 0; overflow-wrap: anywhere; }
.release-note a { color: #c5aff7; }
.release-note .button { min-height: 32px; padding: 4px 12px; font-size: 12px; margin-right: 12px; }
[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.faq-section { padding-top: 30px; }
.faq-layout { display: grid; grid-template-columns: .65fr 1fr; gap: 80px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 28px 20px 0; font-size: 16px; }
.faq p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.faq a { color: #c5aff7; }
.community-section { padding: 0 0 80px; }
.community-card { padding: 48px; border: 1px solid #41304f; border-radius: 16px; background: radial-gradient(ellipse at 0 0, #69429725, transparent 70%), #111019; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.community-card h2 { font-size: 36px; line-height: 1.3; letter-spacing: -1px; margin: 16px 0; }
.community-card p { color: var(--muted); max-width: 600px; font-size: 14px; }
.community-actions { display: flex; flex-direction: column; flex-shrink: 0; align-items: flex-start; }
footer { border-top: 1px solid var(--line); padding: 55px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; }
.footer-about p { color: var(--muted); font-size: 13px; }
.footer-column { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--muted); }
.footer-column strong { color: #d8dbe5; margin-bottom: 8px; }
.footer-column a:hover { color: #c5aff7; }
.disclaimer { padding-top: 30px; margin-top: 35px; border-top: 1px solid var(--line); color: #858b9b; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 25px; font-size: 12px; color: #858b9b; }
dialog { padding: 0; border: 1px solid #615073; border-radius: 14px; background: #101119; color: var(--text); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); }
dialog::backdrop { background: #030408df; backdrop-filter: blur(8px); }
#downloadDialog { width: 860px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 23px; margin: 0; }
.modal-version { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.modal-close { background: transparent; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 8px; font-size: 25px; flex-shrink: 0; }
.modal-body { padding: 24px; }
.download-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.download-option { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.download-option strong { font-size: 18px; }
.download-option span { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.download-option em { color: #c5aff7; font-size: 14px; font-style: normal; }
.modal-tools { margin-top: 24px; }
.modal-tools summary { cursor: pointer; }
.modal-tools p, .download-note { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.modal-tool-links { display: flex; flex-wrap: wrap; gap: 8px; }
.image-dialog { width: min(1600px, calc(100vw - 32px)); }
.image-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.image-dialog-head h2 { font-size: 14px; margin: 0; }
.image-dialog-head > div { display: flex; align-items: center; gap: 8px; }
.image-dialog-head .button { min-height: 36px; padding: 6px 12px; font-size: 12px; }
.image-stage { overflow: auto; height: min(78dvh, 1050px); background: #030406; }
.image-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-stage.original img { width: auto; height: auto; max-width: none; }
.image-note { margin: 0; padding: 8px 18px; color: var(--muted); font-size: 12px; }
body.modal-open { overflow: hidden; }
@media (min-width: 1600px) { .hero-shot { width: min(1520px, calc(100% - 100px)); } }
@media (max-width: 1100px) {
  .nav-inner { gap: 22px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .developer-grid, .faq-layout { gap: 40px; }
}
@media (max-width: 1020px) {
  .nav { height: 68px; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 68px 20px auto; padding: 14px; background: #15131d; border: 1px solid #55406b; border-radius: 12px; box-shadow: 0 20px 50px #0008; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .hero { padding-top: 60px; }
  .split-head, .developer-grid, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .split-head .section-head { margin-bottom: 0; }
  .head-aside { padding: 0; }
  .indicator-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-copy { align-items: flex-start; flex-direction: column; gap: 14px; }
  .guide-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .developer-download { flex-direction: column; align-items: flex-start; gap: 16px; }
  .community-card { padding: 32px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .logo { font-size: 17px; }
  .logo-domain { display: none; }
  .nav-inner { gap: 10px; }
  html[lang="en"] .nav-inner { gap: 8px; }
  .language-select { max-width: 80px; padding: 5px 4px; }
  .nav-actions { gap: 6px; }
  html[lang="en"] .hero h1 { font-size: clamp(33px, 9vw, 50px); letter-spacing: -1px; }
  .nav-actions .button { font-size: 12px; padding: 8px 13px; min-height: 40px; }
  .hero { padding: 44px 0 25px; }
  .hero h1 { font-size: clamp(35px, 8.8vw, 50px); letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 13px; padding: 10px 14px; }
  .hero-note { gap: 6px 14px; font-size: 11px; }
  .hero-note span + span::before { display: none; }
  .hero-shot { width: calc(100% - 24px); margin-top: 34px; }
  .screenshot-link { border-radius: 8px; }
  .image-hint { bottom: 7px; right: 7px; padding: 3px 6px; font-size: 10px; }
  .market-inner { gap: 12px 22px; }
  .market-inner > span, .market-inner a { width: 100%; text-align: center; }
  .section { padding: 58px 0; }
  .section-head h2 { font-size: 31px; }
  .section-head p { font-size: 14px; }
  .compare-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; font-size: 13px; padding: 9px 8px; }
  .feature-tabs { gap: 4px; }
  .feature-tabs button { padding: 12px 7px; font-size: 13px; }
  .feature-tabs button span { font-size: 10px; }
  .feature-copy h3 { font-size: 21px; }
  .feature-grid, .indicator-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 20px; }
  .feature-card h3 { margin-top: 12px; }
  .section-note a { margin: 8px 12px 0 0; }
  .developer-grid { gap: 30px; }
  .authoring-path a { padding: 20px; gap: 16px; }
  .download-card { padding: 24px; }
  .developer-download-links { flex-wrap: wrap; }
  .faq-section { padding-top: 0; }
  .community-section { padding-bottom: 45px; }
  .community-card { display: block; padding: 27px; }
  .community-card h2 { font-size: 29px; }
  .community-actions { margin-top: 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-column { font-size: 12px; }
  .footer-grid { gap: 25px 18px; }
  .download-options { grid-template-columns: 1fr; }
  .image-dialog-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .image-dialog-head > div { width: 100%; }
  .image-dialog-head .modal-close { margin-left: auto; }
  .image-dialog-head .button { font-size: 11px; padding: 5px 8px; }
  .image-stage { height: 65dvh; }
}
@media (max-width: 360px) {
  .nav-inner .logo > span { display: none; }
  .nav-actions .button { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
