/* =====================================================================
 * Sneditor 官网 · site.css
 * 所有规则都收在 .site 作用域下，避免影响编辑器自身的 .sne-* 样式
 * =================================================================== */

:root {
  --bg:        #fbfcfe;
  --surface:   #ffffff;
  --surface-2: #f6f8fb;
  --line:      #e6e9f0;
  --line-soft: #eef1f6;
  --text:      #171a20;
  --text-2:    #4a5260;
  --muted:     #8b909a;
  --brand:     #2563eb;
  --brand-2:   #7c3aed;
  --brand-ink: #1d4fd8;
  --brand-soft:#eef4ff;
  --ok:        #0d9488;
  --warn:      #b45309;
  --radius:    14px;
  --radius-sm: 10px;
  --sh-sm:     0 1px 2px rgba(16,24,40,.05);
  --sh-md:     0 6px 24px -8px rgba(16,24,40,.14);
  --sh-lg:     0 24px 60px -24px rgba(16,24,40,.22);
  --nav-h:     60px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site { overflow-x: hidden; }

/* ---------------------------------------------------------------- 排版 */
.site h1, .site h2, .site h3, .site h4 { margin: 0; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.site p { margin: 0; }
.site a { color: var(--brand); text-decoration: none; }
.site a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site code {
  font-family: var(--mono);
  font-size: .88em;
  padding: 1.5px 6px;
  border-radius: 6px;
  background: #eff1f6;
  color: #3a4152;
  border: 1px solid #e3e7ef;
  white-space: nowrap;
}
.site pre { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 900px; }

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: sticky; top: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(16,24,40,.05); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 4px 12px -3px rgba(37,99,235,.5);
}
.brand-ver {
  font-size: 11.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); border: 1px solid #dbe6ff;
  padding: 1px 7px; border-radius: 999px; letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); font-size: 14px; padding: 7px 11px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-links a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: 9px; background: var(--text); color: #fff; font-size: 13.5px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh-md); }
.nav-burger {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; margin-left: auto; padding: 0;
}
.nav-burger span { display: block; width: 16px; height: 1.6px; background: var(--text-2); margin: 3.4px auto; border-radius: 2px; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: 78px 0 64px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -120px -10% auto; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 340px at 18% 20%, rgba(37,99,235,.13), transparent 70%),
    radial-gradient(620px 320px at 82% 6%, rgba(124,58,237,.12), transparent 70%),
    radial-gradient(520px 300px at 60% 60%, rgba(13,148,136,.08), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0 0 auto; height: 560px; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(760px 380px at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(760px 380px at 50% 0%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; }
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-2); box-shadow: var(--sh-sm);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5.2vw, 56px);
  letter-spacing: -.035em;
  font-weight: 700;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 62%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 18px; max-width: 660px; font-size: 16.5px; color: var(--text-2); line-height: 1.78; }
.lead b { color: var(--text); font-weight: 650; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: 11px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px rgba(37,99,235,.85); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { box-shadow: var(--sh-md); }
.btn--sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }

.hero-install { margin-top: 30px; max-width: 660px; box-shadow: var(--sh-lg); }
.hero-install pre { font-size: 13px; padding: 15px 18px; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; max-width: 860px;
}
.stat { background: #fff; padding: 16px 18px; }
.stat b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.stat b small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.stat span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- 区块 */
.sec { padding: 74px 0; }
.sec--alt { background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-num {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); border: 1px solid #dbe6ff;
  padding: 2px 9px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .02em;
}
.sec-title { font-size: clamp(23px, 3vw, 31px); }
.sec-desc { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- 卡片 */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: #d9e0ec; }
.card h3 { font-size: 15.5px; display: flex; align-items: center; gap: 9px; }
.card h3 .ico {
  width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 700;
}
.card p { margin-top: 9px; font-size: 13.8px; color: var(--text-2); line-height: 1.72; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 11.8px; color: #5c6473; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-family: var(--mono);
}
.tag--brand { color: var(--brand); background: var(--brand-soft); border-color: #dbe6ff; }

.callout {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--brand-soft); border: 1px solid #dbe6ff; font-size: 13.8px; color: #29406b;
}
.callout--warn { background: #fff8ed; border-color: #f7e0bd; color: #6b4a13; }
.callout i { font-style: normal; font-weight: 700; flex: none; }
.callout b { color: inherit; }

/* ---------------------------------------------------------------- 代码块 */
.code {
  position: relative; border-radius: 12px; overflow: hidden; background: #16181d;
  border: 1px solid #21242c; box-shadow: var(--sh-md);
}
.code + .code { margin-top: 14px; }
.code-head {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px;
  background: #1c1f26; border-bottom: 1px solid #262a33;
}
.code-head .dots { display: inline-flex; gap: 6px; margin-right: 4px; }
.code-head .dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.code-head .dots i:nth-child(1) { background: #ff5f57; }
.code-head .dots i:nth-child(2) { background: #febc2e; }
.code-head .dots i:nth-child(3) { background: #28c840; }
.code-head .title { font-size: 12.5px; color: #8b93a3; font-family: var(--mono); }
.code-head .spacer { margin-left: auto; }
.code-copy {
  height: 25px; padding: 0 10px; border-radius: 7px; cursor: pointer;
  border: 1px solid #333844; background: #23262e; color: #aab2c0;
  font-size: 11.5px; font-family: inherit; transition: all .15s ease;
}
.code-copy:hover { background: #2c313b; color: #e6ebf4; }
.code-copy.is-done { color: #7ee787; border-color: #2c4a33; background: #1b2a1f; }
.code pre {
  margin: 0; padding: 16px 18px; overflow: auto; max-height: 520px;
  font-family: var(--mono); font-size: 12.8px; line-height: 1.72; color: #d8dee9;
  -webkit-font-smoothing: auto;
}
.code pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; white-space: pre; font-family: inherit; }
/* 语法着色 */
.tk-cm { color: #6b7280; font-style: italic; }
.tk-st { color: #a5d6ff; }
.tk-kw { color: #ff8fbf; }
.tk-nu { color: #79c0ff; }
.tk-tg { color: #7ee787; }
.tk-at { color: #ffa657; }
.tk-bi { color: #d2a8ff; }

/* ---------------------------------------------------------------- 表格 */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--sh-sm); }
.site table.tbl { width: 100%; border-collapse: collapse; font-size: 13.6px; }
.site table.tbl th, .site table.tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.site table.tbl thead th {
  background: var(--surface-2); font-size: 12.5px; font-weight: 650; color: var(--text-2);
  letter-spacing: .01em; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.site table.tbl tbody tr:last-child td { border-bottom: 0; }
.site table.tbl tbody tr:hover { background: #fafbfd; }
.site table.tbl td:first-child { white-space: nowrap; }
.site table.tbl code { white-space: nowrap; }
.tbl-scroll { overflow-x: auto; }

/* ---------------------------------------------------------------- 标签页 */
.tabs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--sh-sm); overflow: hidden; }
.tabs-bar { display: flex; gap: 2px; padding: 8px; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn {
  height: 33px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent;
  color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.tab-btn:hover { background: #eef1f6; color: var(--text); }
.tab-btn.is-on { background: #fff; color: var(--brand); box-shadow: var(--sh-sm); }
.tab-pane { display: none; padding: 20px; }
.tab-pane.is-on { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 演示 */
.demo-shell {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--sh-lg); overflow: visible; padding: 14px;
}
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.demo-bar .lbl { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text-2);
  font: inherit; font-size: 12.8px; cursor: pointer; transition: all .15s ease;
}
.chip:hover { background: var(--surface-2); color: var(--text); }
.chip.is-on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.chip .sw { width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(0,0,0,.1); flex: none; }
.chip--primary { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.chip--primary:hover { background: #000; color: #fff; }
.demo-bar .sep { width: 1px; height: 20px; background: var(--line); margin: 0 3px; }
#themeChips { display: inline-flex; flex-wrap: wrap; gap: 6px; }

.demo-out {
  margin-top: 12px; background: #16181d; color: #e8eaed; border-radius: 12px;
  font-family: var(--mono); font-size: 12.4px; line-height: 1.7; max-height: 320px; overflow: auto;
  white-space: pre-wrap; word-break: break-word; padding: 14px 16px; display: none;
}
.demo-out.is-on { display: block; }
.demo-out .t { display: block; margin-bottom: 7px; color: #7ee787; font-weight: 600; }
.demo-note { margin-top: 12px; font-size: 12.8px; color: var(--muted); line-height: 1.85; }
.demo-note b { color: var(--text-2); }

/* ---------------------------------------------------------------- 主题墙 */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.theme-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px;
  cursor: pointer; text-align: left; font: inherit; transition: all .16s ease;
}
.theme-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.theme-card.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.theme-card .pv { height: 52px; border-radius: 8px; border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.theme-card .pv i { position: absolute; left: 10px; right: 34px; height: 5px; border-radius: 3px; opacity: .8; }
.theme-card .pv i:nth-child(1) { top: 12px; }
.theme-card .pv i:nth-child(2) { top: 23px; right: 58px; opacity: .5; }
.theme-card .pv i:nth-child(3) { top: 34px; right: 20px; opacity: .3; }
.theme-card .nm { margin-top: 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.theme-card .nm .k { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-weight: 400; }
.theme-card .hint { font-size: 11.8px; color: var(--muted); margin-top: 2px; }
.theme-card .dz { font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- API 检索 */
.api-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.api-search {
  flex: 1 1 260px; height: 40px; padding: 0 14px 0 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b909a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center;
  font: inherit; font-size: 14px; color: var(--text); box-shadow: var(--sh-sm);
}
.api-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.api-count { font-size: 12.8px; color: var(--muted); }
.api-group { margin-top: 22px; }
.api-group h3 { font-size: 14px; color: var(--text-2); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.api-group h3 .n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.api-group.is-empty { display: none; }
.api-group tbody tr.is-hidden { display: none; }
.api-empty { display: none; padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.api-empty.is-on { display: block; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  box-shadow: var(--sh-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 15px 18px; font-size: 14.5px; font-weight: 600; color: var(--text);
  list-style: none; display: flex; align-items: flex-start; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "?"; flex: none; width: 20px; height: 20px; border-radius: 6px; margin-top: 2px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.faq summary::after {
  content: ""; margin-left: auto; margin-top: 7px; flex: none;
  width: 8px; height: 8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq .ans { padding: 14px 18px 16px 48px; font-size: 13.9px; color: var(--text-2); line-height: 1.85; }
.faq .ans p + p { margin-top: 9px; }
.faq .ans ul { margin: 8px 0 0; padding-left: 20px; }
.faq .ans li { margin-bottom: 4px; }
.faq .ans code { white-space: normal; word-break: break-all; }

/* ---------------------------------------------------------------- 杂项 */
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  font-size: 12.2px; padding: 4px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--text-2); font-family: var(--mono);
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.6px; }
.kv dt { color: var(--muted); white-space: nowrap; }
.kv dd { margin: 0; color: var(--text-2); }

.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 400;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); cursor: pointer;
  box-shadow: var(--sh-md); color: var(--text-2); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .2s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--brand); }

.footer { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 34px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: space-between; }
.footer .about { max-width: 420px; font-size: 13.2px; color: var(--muted); line-height: 1.8; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 46px; }
.footer .col h4 { font-size: 12.5px; color: var(--text-2); margin-bottom: 10px; letter-spacing: .02em; }
.footer .col a { display: block; font-size: 13px; color: var(--muted); padding: 3px 0; }
.footer .col a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 14px 16px;
    box-shadow: var(--sh-md);
  }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .hero { padding: 52px 0 44px; }
  .sec { padding: 54px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); }
  .faq .ans { padding-left: 18px; }
  .hero-install { display: block; width: 100%; }
  .hero-install code { white-space: pre-wrap; word-break: break-all; }
}
