@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root { --primary-color: #5B8FF9; --accent: #00D9B1; --bg: #0F1117; --surface: #151A24; --surface-soft: #101620; --text: #E7ECF7; --muted: #9AA7B8; --line: #263142; --heading: 'JetBrains Mono', Consolas, monospace; --body: 'IBM Plex Sans', 'Microsoft YaHei', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.72; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; top: -60px; left: 16px; background: var(--surface); color: var(--text); padding: 10px 14px; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { background: #090B10; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { max-width: 1180px; margin: 0 auto; min-height: 74px; padding: 0 28px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--heading); color: var(--primary-color); font-size: 21px; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; border: 2px solid var(--primary-color); box-shadow: inset 8px 0 0 var(--accent); display: inline-block; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--muted); padding: 25px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav .active { color: var(--accent); border-color: var(--accent); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.github-link, .download-link, .btn { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--text); font-family: var(--heading); font-size: 14px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.download-link, .btn.primary, .btn.cta { background: var(--primary-color); color: #06111F; border-color: var(--primary-color); }
.github-link:hover, .download-link:hover, .btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn.secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.hero { max-width: 1180px; margin: 0 auto; padding: 86px 28px 68px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); gap: 48px; align-items: center; }
.eyebrow, .section-heading span, .panel-kicker { color: var(--accent); font-family: var(--heading); font-size: 13px; letter-spacing: 0; }
h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.16; }
h1 { font-size: clamp(36px, 4.8vw, 64px); max-width: 920px; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: 21px; }
.hero-lead, .page-hero p { color: var(--muted); font-size: 18px; max-width: 820px; }
.hero-actions, .badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.badge-row span, .chip-strip span { border: 1px solid var(--line); background: rgba(21,26,36,.8); color: var(--muted); padding: 8px 12px; font-family: var(--heading); font-size: 13px; }
.hero-panel { background: #0A0D14; border: 1px solid var(--line); padding: 30px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.hero-panel strong { font-family: var(--heading); font-size: 27px; color: var(--text); line-height: 1.35; margin: 12px 0; }
.hero-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.progress-meter { height: 8px; background: #070A0F; border: 1px solid var(--line); margin-top: 28px; overflow: hidden; }
.progress-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--accent)); animation: loadBar 2.2s ease-in-out infinite alternate; }
.stat-band { border-block: 1px solid var(--line); background: #090B10; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 max(28px, calc((100vw - 1180px) / 2)); }
.stat-band div { padding: 32px 20px; border-right: 1px solid var(--line); }
.stat-band strong { display: block; font-family: var(--heading); color: var(--primary-color); font-size: 34px; }
.stat-band span { color: var(--muted); }
.chip-strip, .section, .page-shell { max-width: 1180px; margin: 0 auto; padding: 72px 28px; }
.chip-strip div { display: flex; gap: 12px; overflow-x: auto; padding-top: 16px; }
.section-heading { display: grid; gap: 9px; margin-bottom: 28px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card, .download-box, .meta-grid div, .steps article, .value-list article, .module-list article, .side-panel, .notice { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.info-card:nth-child(even) { background: var(--surface-soft); }
.card-mark { color: var(--accent); font-family: var(--heading); }
.info-card p, .feature-copy p, .article-body p, .module-list p, .disclaimer p { color: var(--muted); }
.feature-row { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; margin-top: 26px; }
.feature-row.reverse { grid-template-columns: 1.28fr .72fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { background: #090B10; border: 1px solid var(--line); min-height: 250px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.feature-visual span { color: var(--primary-color); font-family: var(--heading); font-size: 48px; }
.feature-visual strong { color: var(--accent); font-family: var(--heading); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); }
.faq-item button { width: 100%; border: 0; background: transparent; color: var(--text); padding: 20px 24px; display: flex; justify-content: space-between; text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.faq-panel { color: var(--muted); padding: 0 24px 22px; }
.faq-panel[hidden] { display: none; }
.download-cta { background: #090B10; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 54px max(28px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.download-cta p { color: var(--muted); }
.download-cta .btn { background: var(--accent); color: #06111F; border-color: var(--accent); }
.page-hero { padding: 58px 0 22px; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.primary-column { display: grid; gap: 24px; }
.download-box { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.download-box span, .meta-grid span, table th { color: var(--muted); font-size: 14px; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.meta-grid strong { display: block; overflow-wrap: anywhere; font-family: var(--heading); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.steps, .value-list, .module-list { display: grid; gap: 16px; }
.steps article span { color: var(--accent); font-family: var(--heading); font-size: 32px; }
.note-list { background: var(--surface); border: 1px solid var(--line); padding: 24px 28px 24px 48px; color: var(--muted); }
.side-panel { position: sticky; top: 98px; display: grid; gap: 14px; }
.side-panel a { border-top: 1px solid var(--line); padding-top: 14px; }
.side-panel span { display: block; color: var(--accent); font-weight: 700; }
.side-panel small { color: var(--muted); }
.site-footer { background: #090B10; color: var(--text); margin-top: 50px; padding: 52px max(28px, calc((100vw - 1180px) / 2)) 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 26px; }
.site-footer h2 { font-size: 18px; margin-bottom: 14px; }
.site-footer a { display: block; color: var(--muted); margin: 8px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { border: 1px solid var(--line); padding: 6px 10px; color: var(--muted); font-family: var(--heading); font-size: 13px; }
.footer-bottom { margin-top: 34px; color: #6E7A8F; border-top: 1px solid var(--line); padding-top: 18px; }
.reveal { animation: fadeUp .65s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loadBar { from { width: 18%; } to { width: 98%; } }
@media (max-width: 1024px) { .hero, .content-with-sidebar { grid-template-columns: 1fr; } .side-panel { position: static; } .card-grid, .meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .header-inner { flex-wrap: wrap; padding: 16px 20px; gap: 14px; } .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; } .main-nav a { padding: 6px 0; } .header-actions { margin-left: auto; } .hero, .section, .chip-strip, .page-shell { padding-left: 20px; padding-right: 20px; } .card-grid, .meta-grid, .stat-band, .footer-grid { grid-template-columns: 1fr; } .feature-row, .feature-row.reverse { grid-template-columns: 1fr; } .feature-row.reverse .feature-visual { order: 0; } .download-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 520px) { h1 { font-size: 32px; } .hero-actions, .badge-row, .header-actions { flex-direction: column; align-items: stretch; width: 100%; } .download-box { flex-direction: column; align-items: flex-start; } .btn, .download-link, .github-link { width: 100%; } }
