:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --success: #047857;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(226, 232, 240, .9); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.25rem; font-weight: 800; font-style: italic; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--primary); color: #fff; font-style: normal; font-size: 1rem; }
.brand strong { color: var(--primary); }
.site-nav { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 24px; }
.site-nav a { overflow-wrap: anywhere; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: color .15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.language-dropdown { position: relative; flex: 0 0 auto; }
.language-dropdown summary { display: flex; min-width: 142px; min-height: 40px; align-items: center; gap: 9px; box-sizing: border-box; padding: 6px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 750; cursor: pointer; list-style: none; box-shadow: 0 4px 14px rgba(15, 23, 42, .04); transition: border-color .18s ease, box-shadow .18s ease; }
.language-dropdown summary::-webkit-details-marker { display: none; }
.language-dropdown summary:hover,
.language-dropdown[open] summary { border-color: rgba(79, 70, 229, .35); box-shadow: 0 9px 24px rgba(79, 70, 229, .10); }
.language-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: .8125rem; }
.language-current { flex: 1; }
.language-chevron { color: var(--muted); font-size: .875rem; transition: transform .18s ease; }
.language-dropdown[open] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: grid; width: 184px; box-sizing: border-box; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 44px rgba(15, 23, 42, .14); }
.language-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 9px; padding: 10px 11px; color: var(--ink); font-size: .75rem; font-weight: 750; text-decoration: none; }
.language-menu a:hover { background: var(--soft); color: var(--primary); }
.language-menu a[aria-current="true"] { background: var(--soft); color: var(--primary); }
.language-menu small { color: var(--muted); font-size: .625rem; font-weight: 800; letter-spacing: .08em; }
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, .10), transparent 52%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: radial-gradient(#c7d2fe 1px, transparent 1px); background-size: 24px 24px; }
.hero-content { position: relative; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; margin: 0 0 20px; padding: 6px 14px; border: 1px solid rgba(79, 70, 229, .18); border-radius: 999px; background: rgba(79, 70, 229, .06); color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0 auto; overflow-wrap: break-word; text-wrap: balance; font-size: clamp(2.125rem, 1.45rem + 2.6vw, 3.375rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.18; color: #0f172a; }
:lang(zh-CN) h1 { letter-spacing: -.012em; line-height: 1.28; }
:lang(ru) h1 { font-size: clamp(1.95rem, 1.35rem + 2.2vw, 3rem); letter-spacing: -.02em; line-height: 1.2; }
.lede { max-width: 680px; margin: 20px auto 0; overflow-wrap: break-word; text-wrap: pretty; color: #475569; font-size: 1rem; font-weight: 500; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15, 23, 42, .08); }
.button.primary { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 8px 20px -6px rgba(79, 70, 229, .45); }
.button.primary:hover { border-color: #4338ca; background: #4338ca; box-shadow: 0 12px 24px -6px rgba(79, 70, 229, .55); }
.section { padding: 64px 0 76px; }
.section.soft { border-block: 1px solid var(--line); background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2, .prose h2 { margin: 0; text-wrap: balance; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); font-weight: 750; letter-spacing: -.022em; line-height: 1.28; }
.section-head p { margin: 14px 0 0; color: var(--muted); line-height: 1.75; }
.grid { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; min-width: 0; flex-direction: column; min-height: 300px; padding: 28px; border: 1px solid rgba(203, 213, 225, .85); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .03); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(79, 70, 229, .28); box-shadow: 0 20px 38px -16px rgba(15, 23, 42, .11), 0 2px 6px rgba(15, 23, 42, .04); transform: translateY(-2px); }
.card-top { display: flex; min-width: 0; align-items: center; justify-content: flex-start; gap: 16px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid #f1f5f9; }
.os-badge { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .08); background: #f8fafc; color: #0f172a; }
.os-badge svg { width: 26px; height: 26px; display: block; }
.os-windows { background: #f0f9ff; border-color: #bae6fd; color: #0284c7; }
.os-macos { background: #f1f5f9; border-color: #cbd5e1; color: #0f172a; }
.os-ios { background: #eef2ff; border-color: #c7d2fe; color: #4f46e5; }
.os-android { background: #ecfdf5; border-color: #a7f3d0; color: #059669; }
.platform { margin: 0; font-size: 1.375rem; font-weight: 780; letter-spacing: -.02em; line-height: 1.2; color: #0f172a; }
.version { display: inline-block; margin: 6px 0 0; padding: 2px 9px; border-radius: 6px; background: #f1f5f9; color: #334155; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; font-weight: 700; line-height: 1.5; }
.card p { margin: 12px 0 0; color: #475569; font-size: .875rem; line-height: 1.72; }
.card p + p { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e2e8f0; color: #64748b; font-size: .8125rem; line-height: 1.68; }
.card > p:last-of-type { margin-bottom: 22px; }
.card .button { width: 100%; margin-top: auto; }
.note { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #475569; font-size: .8125rem; line-height: 1.75; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 1.1875rem; font-weight: 700; }
.prose p, .prose li { overflow-wrap: break-word; color: #475569; font-size: .9375rem; line-height: 1.9; }
.prose ul, .prose ol { padding-left: 22px; }
.prose strong { color: var(--ink); }
.steps { counter-reset: steps; display: grid; gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 20px 22px 20px 66px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.steps li::before { counter-increment: steps; content: counter(steps); position: absolute; top: 18px; left: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eef2ff; color: var(--primary); font-weight: 800; }
.site-footer { border-top: 1px solid #1e293b; padding: 36px 0; background: #0f172a; color: #94a3b8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 740px) {
  .shell { width: min(100% - 28px, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 14px; }
  .site-nav { justify-content: flex-start; gap: 12px 18px; }
  .language-dropdown { align-self: flex-start; }
  .language-menu { right: auto; left: 0; }
  .hero { padding: 54px 0 46px; }
  .section { padding: 44px 0 56px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .card { min-height: 0; padding: 22px; border-radius: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
