/* 会闹浏览器官网 · 纯原生 CSS，无外部依赖、无 CDN */
:root {
  --bg: #f7f8fd; --surface: #fff; --surface-2: #f1f3fc; --text: #171a2b;
  --muted: #5c6380; --line: #e3e7f4; --primary: #5b5bd6; --primary-2: #8b5cf6;
  --accent: #ff8a4c; --ok: #16a06a; --warn: #d98213; --bad: #d94f5c;
  --shadow: 0 12px 44px rgba(28, 34, 88, .09); --shadow-sm: 0 4px 18px rgba(28, 34, 88, .07);
  --radius: 18px; --max: 1180px;
}
[data-theme="dark"] {
  --bg: #0b0d1a; --surface: #141828; --surface-2: #1b2035; --text: #edf0ff;
  --muted: #a4abc9; --line: #282e49; --primary: #8b8bff; --primary-2: #b47bff;
  --accent: #ffa16e; --ok: #45d19d; --warn: #f0b34f; --bad: #ff7b87;
  --shadow: 0 12px 44px rgba(0, 0, 0, .36); --shadow-sm: 0 4px 18px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { height: 70px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; }
.brand-text small { font-size: 9px; letter-spacing: 2.1px; color: var(--muted); font-weight: 700; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: right .25s; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  height: 36px; min-width: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; transition: border-color .2s, transform .2s, background .2s;
}
.icon-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.lang-btn .caret { font-size: 10px; color: var(--muted); }
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 148px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.lang-menu button:hover { background: var(--surface-2); color: var(--primary); }
.lang-menu button.sel { color: var(--primary); font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px;
  font-weight: 700; font-size: 15px; padding: 12px 22px; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 32%, transparent); }
.btn-primary:hover { box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 42%, transparent); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: #2a2160; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.menu-btn { display: none; }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: -280px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent), transparent 65%); filter: blur(20px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--primary); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.eyebrow-sep { color: var(--line); }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.16; margin: 22px 0 18px; letter-spacing: -1.4px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--primary), var(--primary-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-pills span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

.hero-visual { position: relative; padding: 20px 0; }
.browser-mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px color-mix(in srgb, var(--primary) 18%, transparent), var(--shadow);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.mock-dots i:nth-child(2) { background: #ffc75a; } .mock-dots i:nth-child(3) { background: #57c98a; }
.mock-tab { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface); padding: 5px 14px; border-radius: 8px 8px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.mock-plus { margin-left: auto; color: var(--muted); font-size: 16px; }
.mock-address { display: flex; align-items: center; gap: 8px; margin: 11px 14px; padding: 8px 12px; border-radius: 9px; background: var(--surface-2); font-size: 11.5px; color: var(--muted); }
.mock-address span { flex: 1; font-family: ui-monospace, Consolas, monospace; }
.mock-address b { font-size: 10px; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 2px 8px; border-radius: 6px; }
.mock-body { padding: 26px 22px 28px; text-align: center; }
.mock-logo { font-size: 34px; font-weight: 900; letter-spacing: -2px; color: var(--primary); }
.mock-logo span { color: var(--accent); }
.mock-search { display: flex; align-items: center; justify-content: space-between; margin: 16px auto 22px; max-width: 320px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; color: var(--muted); background: var(--surface-2); }
.mock-search i { font-style: normal; font-size: 17px; color: var(--primary); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; text-align: left; }
.mock-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mc-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; color: #fff; margin-bottom: 7px; }
.mc-blue { background: #5b8dee; } .mc-orange { background: var(--accent); } .mc-green { background: #31b487; font-size: 10px; }
.mock-card b { display: block; font-size: 10.5px; line-height: 1.3; }
.mock-card small { display: block; font-size: 9px; color: var(--muted); margin: 2px 0 8px; }
.mc-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.mc-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.mc-chips { display: flex; gap: 4px; }
.mc-chips i { width: 14px; height: 4px; border-radius: 3px; background: var(--line); }
.mc-chips i:first-child { background: var(--accent); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 11.5px; font-weight: 700;
  animation: bob 4.5s ease-in-out infinite;
}
.chip-top { right: -22px; top: 6px; } .chip-bottom { left: -26px; bottom: 4px; animation-delay: -2.2s; }
.chip-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.chip-ok { color: var(--ok); font-size: 14px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- stats ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(120deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); padding: 5px 13px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; margin: 0 0 12px; letter-spacing: -.8px; }
.section-head p { color: var(--muted); margin: 0; font-size: 15.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.section-alt .feature-card { background: var(--bg); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.feature-card::after { content: ""; position: absolute; inset: auto -30% -70% 40%; height: 120px; background: radial-gradient(circle, color-mix(in srgb, var(--fc) 14%, transparent), transparent 70%); pointer-events: none; }
.fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 14%, transparent); color: var(--fc); margin-bottom: 15px; }
.fc-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16.5px; margin: 0 0 8px; line-height: 1.4; }
.feature-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.72; }

/* ---------- download ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; background: var(--bg); border: 1px solid var(--line); padding: 6px; border-radius: 13px; width: fit-content; margin: 0 auto 30px; }
.tab { padding: 9px 26px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); transition: .2s; }
.tab:hover { color: var(--primary); }
.tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 5px 14px color-mix(in srgb, var(--primary) 30%, transparent); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.dl-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; position: relative; }
.dl-card.primary { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); box-shadow: var(--shadow); }
.dl-card.primary::before { content: attr(data-rec); position: absolute; right: 18px; top: -11px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); padding: 3px 11px; border-radius: 999px; }
.dl-head { display: flex; align-items: flex-start; gap: 12px; }
.dl-os { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; color: var(--primary); }
.dl-head h3 { margin: 0; font-size: 17px; }
.dl-arch { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.badge { margin-left: auto; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ready { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.badge.config { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.badge.planned, .badge.na { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.dl-meta { margin: 16px 0 0; display: grid; gap: 8px; }
.dl-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.dl-row span { color: var(--muted); flex: none; }
.dl-row code { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; color: var(--text); word-break: break-all; text-align: right; }
.dl-row.sha code { color: var(--muted); }
.dl-actions { display: flex; gap: 9px; margin-top: 18px; }
.dl-actions .btn { flex: 1; padding: 10px 14px; font-size: 13.5px; border-radius: 10px; }
.dl-actions .btn-copy { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.dl-actions .btn-copy:hover { color: var(--primary); border-color: var(--primary); }
.dl-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 26px; font-size: 14px; }
.download-note { display: flex; align-items: flex-start; gap: 11px; max-width: 900px; margin: 22px auto 0; padding: 14px 18px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line); color: var(--muted); }
.download-note svg { flex: none; margin-top: 3px; color: var(--primary); }
.download-note p { margin: 0; font-size: 12.8px; line-height: 1.7; }
.platform-hint { max-width: 900px; margin: 0 auto 18px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- tech / table / docs / faq ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.tech-card h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: center; gap: 9px; }
.tech-card h3::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); }
.tech-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.72; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.matrix-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.matrix-table th { text-align: left; padding: 14px 20px; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.matrix-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.matrix-table tr:last-child td { border-bottom: 0; }
.matrix-table td:first-child { font-weight: 700; white-space: nowrap; }
.matrix-table td:last-child { color: var(--muted); font-size: 13px; }
.matrix-table .badge { margin: 0; }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .22s; }
.doc-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.doc-card code { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, transparent); padding: 2px 8px; border-radius: 6px; margin-bottom: 9px; }
.doc-card h3 { margin: 0 0 6px; font-size: 15.5px; }
.doc-card p { margin: 0; font-size: 12.8px; color: var(--muted); }
.faq-list { display: grid; gap: 11px; }
.faq-item { border: 1px solid var(--line); border-radius: 13px; background: var(--bg); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; text-align: left; font-size: 15px; font-weight: 700; }
.faq-q:hover { color: var(--primary); }
.faq-q .plus { flex: none; font-size: 20px; color: var(--primary); transition: transform .25s; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 480px; }
.faq-a p { margin: 0; padding: 0 20px 18px; font-size: 13.8px; color: var(--muted); line-height: 1.8; }
.cta-band { background: linear-gradient(125deg, var(--primary), var(--primary-2)); color: #fff; padding: 54px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-inner h2 { margin: 0 0 6px; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.5px; }
.cta-inner p { margin: 0; opacity: .85; font-size: 14.5px; }

/* ---------- footer / misc ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.footer-brand small { display: block; font-size: 9px; letter-spacing: 2px; color: var(--muted); }
.site-footer p { color: var(--muted); font-size: 13px; max-width: 360px; margin: 0; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; }
.site-footer .footer-grid a, .site-footer .footer-grid span { display: block; font-size: 13px; color: var(--muted); padding: 3px 0; }
.site-footer .footer-grid a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 20px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; }
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; transform: translate(-50%, 16px); background: var(--text); color: var(--bg); padding: 10px 20px; border-radius: 10px; font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 30px; }
  .feature-grid, .tech-grid, .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-top { right: 0; } .chip-bottom { left: 0; }
  .nav { gap: 16px; }
}
@media (max-width: 860px) {
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 24px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero { padding: 52px 0 64px; }
  .section { padding: 64px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container, .container-narrow { width: calc(100% - 32px); }
  .nav-cta { display: none; }
  .brand-text small { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .feature-grid, .tech-grid, .docs-grid, .download-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .float-chip { font-size: 10px; padding: 7px 10px; }
  .tab { padding: 9px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .dl-actions { flex-direction: column; }
  .matrix-table td, .matrix-table th { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
