/* Hero 与事实带共用静态细点舞台，不承载实时数据。 */
.stage {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(circle at 23px 41px, var(--star-a) 0 .7px, var(--clear) 1.3px),
    radial-gradient(circle at 140px 92px, var(--star-b) 0 .6px, var(--clear) 1.2px),
    radial-gradient(circle at 77px 163px, var(--star-a) 0 .8px, var(--clear) 1.5px),
    radial-gradient(circle at 301px 37px, var(--star-b) 0 .6px, var(--clear) 1.2px),
    radial-gradient(circle at 196px 268px, var(--star-c) 0 1px, var(--clear) 1.8px),
    radial-gradient(circle at 54px 58px, var(--star-d) 0 .6px, var(--clear) 1.1px);
  background-size: 211px 197px, 263px 241px, 389px 353px, 457px 419px, 613px 577px, 151px 167px;
}
.hero { position: relative; padding-top: 40px; }
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -40px;
  left: 50%;
  width: 1100px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--veil), var(--clear));
  color: var(--text);
  pointer-events: none;
}
.hero__aura {
  position: absolute;
  z-index: 0;
  width: 780px;
  height: 780px;
  border-radius: var(--radius-round);
  background: radial-gradient(closest-side, var(--glow-violet), var(--glow-magenta) 55%, var(--clear) 100%);
  color: var(--text);
  pointer-events: none;
}
.hero__aura--left { left: -330px; top: 430px; }
.hero__aura--right { right: -340px; top: 470px; }
.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
  text-align: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 12px 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-tag);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.pulse { position: relative; width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--radius-round); background: var(--success); color: var(--ink); }
.pulse::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--success-ring); border-radius: var(--radius-round); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(.6); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
}
.hero__title { margin: 20px 0 0; font-size: clamp(26px, calc(2.2vw + 16px), 48px); font-weight: var(--weight-title); line-height: 1.15; color: var(--text); }
.hero__rule { display: block; width: 112px; height: 2px; margin-top: 18px; border-radius: var(--radius-line); background: linear-gradient(90deg, var(--accent), var(--magenta)); color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero__lead { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.hero__lead strong { color: var(--text); }
.devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.devices__item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; line-height: 26px; color: var(--text-muted); }
.devices__item a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; }
.devices__item a:hover { color: var(--text); }
.devices__item svg { width: 19px; height: 19px; color: var(--text); opacity: .82; }
.devices__sep { width: 1px; height: 16px; background: var(--border-strong); color: var(--text); }
.chip, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.chip svg { width: 11px; height: 11px; color: var(--text); }
.badge--success { color: var(--success); }
.badge--warn { color: var(--warn); }
.badge--error { color: var(--error); }
.section--light .badge, .panel .badge { background: var(--paper-tint); color: var(--accent-dark); border-color: var(--paper-line); }
.conf-stage { position: relative; z-index: 2; width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin: 44px auto 0; }
.hero-screenshot { display: block; width: min(100%, 300px); height: auto; margin-inline: auto; border-radius: var(--radius-card); box-shadow: 0 22px 48px -18px var(--shadow-mid); }
.conf {
  position: relative;
  margin: 0;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 6px var(--accent-softer), 0 60px 140px -40px var(--shadow-deep), 0 22px 48px -18px var(--shadow-mid);
}
.conf::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, var(--clear), var(--glow-edge), var(--clear)); color: var(--ink); }
.conf__bar { display: flex; align-items: stretch; justify-content: space-between; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--paper-line); border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--paper-bar); color: var(--ink); }
.conf__file { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.conf__file svg { width: 16px; height: 16px; color: var(--accent-dark); }
.conf__note { font-family: var(--font-body); font-size: 12px; color: var(--ink-muted); }
.conf__sections { display: flex; align-items: stretch; gap: 4px; }
.sec { position: relative; display: flex; align-items: center; padding: 0 3px; }
.sec span { padding: 3px 10px; border: 1px solid var(--paper-line); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; line-height: 18px; }
.sec.is-on span { border-color: var(--accent-soft); background: var(--paper-tint); color: var(--accent-dark); }
.sec.is-on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: var(--radius-line); background: var(--accent); color: var(--ink); }
.conf__body { display: grid; grid-template-columns: minmax(0, 1fr) 440px; }
.conf__body > * { min-width: 0; }
.code { margin: 0; padding: 18px 24px 24px 8px; list-style: none; counter-reset: ln; font-family: var(--font-mono); font-size: 13.5px; line-height: 28px; overflow-x: auto; overscroll-behavior-inline: contain; }
.code li { position: relative; display: flex; width: max-content; min-width: 100%; white-space: pre; counter-increment: ln; border-radius: var(--radius-small); }
.code li::before { content: counter(ln); flex: 0 0 40px; margin-right: 20px; text-align: right; color: var(--ink-muted); }
.code li.is-hit { background: var(--accent-softer); color: var(--ink); }
.code li.is-hit::before { color: var(--accent-dark); }
.code li.is-hit::after { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 2px; border-radius: var(--radius-line); background: var(--accent); color: var(--ink); }
.t-sec { color: var(--accent-dark); font-weight: var(--weight-title); }
.t-kw { color: var(--accent-dark); }
.t-key { color: var(--ink); }
.t-op, .t-com { color: var(--ink-muted); }
.t-val { color: var(--ink-muted); }
.t-pol { color: var(--ink-policy); font-weight: var(--weight-title); }
.parse { padding: 18px 24px 24px; border-left: 1px solid var(--paper-line); }
.parse__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--paper-line); font-size: 12.5px; line-height: 18px; color: var(--ink-muted); }
.parse__title code { color: var(--accent-dark); }
.parse__table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12.5px; }
.parse__table th { height: 30px; padding: 0; text-align: left; font-family: var(--font-body); font-size: 11.5px; font-weight: var(--weight-title); color: var(--ink-muted); }
.parse__table td { height: 38px; padding: 0; border-top: 1px solid var(--paper-line); color: var(--ink); }
.parse__table td:first-child { color: var(--accent-dark); width: 150px; }
.parse__table tr.is-hit td { background: var(--accent-softer); color: var(--ink); }
.parse__table tr.is-hit td:first-child { color: var(--accent-dark); box-shadow: inset 2px 0 0 var(--accent); padding-left: 10px; }
.parse__table th:last-child, .parse__table td:last-child { text-align: right; padding-right: 6px; }
.pol { display: inline-block; padding: 1px 8px; border-radius: var(--radius-small); font-size: 11.5px; line-height: 18px; font-weight: var(--weight-title); }
.pol--proxy { background: var(--accent-soft); color: var(--accent-dark); }
.pol--direct { background: var(--paper-neutral); color: var(--ink-policy); }
.orb-card { position: absolute; z-index: 3; top: 312px; right: -44px; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 228px; padding: 14px 16px; border: 2px solid var(--accent); border-radius: var(--radius-float); background: var(--bg-panel); color: var(--text); box-shadow: 0 0 0 5px var(--accent-ring), 0 28px 64px -18px var(--shadow-deep); }
.orb { position: relative; width: 64px; height: 64px; border-radius: var(--radius-round); background: radial-gradient(circle at 38% 32%, var(--orb-core) 0%, var(--accent) 38%, var(--accent-dark) 62%, var(--magenta) 100%); color: var(--text); box-shadow: 0 0 26px 4px var(--glow-violet), 0 0 56px 10px var(--glow-magenta); }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-round); box-shadow: inset 0 0 0 1px var(--orb-ring); }
.orb-card__label { font-family: var(--font-mono); font-size: 11.5px; line-height: 16px; color: var(--text-muted); }
.facts { position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-top: 96px; padding-bottom: 72px; padding-inline: var(--gutter); }
.facts__eyebrow { margin: 0 0 32px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-muted); }
.facts__eyebrow em { font-style: normal; color: var(--accent-hover); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.facts__item { min-width: 0; padding: 4px 28px; border-left: 1px solid var(--border); }
.facts__item:first-child { border-left: 0; }
.facts__item dt { font-size: 13px; color: var(--text-muted); }
.facts__item dd { margin: 6px 0 0; font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.facts__item dd.is-mono { font-family: var(--font-mono); font-size: 15px; }
.statusline { position: relative; z-index: 2; border-top: 1px solid var(--border); background: var(--bg-panel); color: var(--text-muted); }
.statusline__inner { display: flex; align-items: center; gap: 22px; min-height: 40px; font-family: var(--font-mono); font-size: 12px; flex-wrap: wrap; padding-block: 8px; }
.statusline__dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: var(--radius-round); background: var(--success); color: var(--ink); }
.statusline__strong { color: var(--text-muted); }
.statusline__bar { color: var(--border-strong); }

/* 竖向 tabs：面板与列表由同一个 data-tabs 容器管理。 */
.feature-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.feature-layout h2 { margin-top: 0; margin-bottom: 28px; }
.feature-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.feature-tabs [role="tab"] {
  position: relative;
  min-height: 52px;
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-small);
  background: var(--clear);
  color: var(--ink-muted);
  text-align: left;
  font-size: var(--size-body);
}
.feature-tabs [role="tab"]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--clear); color: var(--ink); border-radius: var(--radius-line); }
.feature-tabs [role="tab"][aria-selected="true"] { background: var(--paper-tint); color: var(--accent-dark); }
.feature-tabs [role="tab"][aria-selected="true"]::before { background: var(--accent); color: var(--ink); }
.feature-tabs [role="tab"]:hover { background: var(--paper-tint); color: var(--accent-dark); }
.tab-panel { min-width: 0; }
.tab-panel h3 { margin-top: 0; }
.tab-panel p { margin-bottom: 28px; line-height: 1.9; }
.tab-strip { display: flex; align-items: center; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 8px; }
.tab-strip [role="tab"] { flex-shrink: 0; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-btn); background: var(--bg-panel); color: var(--text-muted); }
.tab-strip [role="tab"][aria-selected="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.settings-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--paper-line); border-radius: var(--radius-card); background: var(--paper-bar); color: var(--ink); }
.settings-list li + li { border-top: 1px solid var(--paper-line); }
.settings-list a, .settings-list__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; min-height: 54px; overflow-wrap: anywhere; }
.settings-list a::after, .settings-list__row::after { content: "›"; flex-shrink: 0; color: var(--ink-muted); font-size: 22px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-small); color: var(--text-muted); }
.toc a:hover, .toc a[aria-current="location"] { background: var(--border); color: var(--text); }
.toc--sticky { position: sticky; top: 12px; z-index: 5; }
.section--light .toc { background: var(--paper); color: var(--ink); border-color: var(--paper-line); }
.section--light .toc a { color: var(--ink-muted); }
.section--light .toc a:hover { background: var(--paper-tint); color: var(--accent-dark); }
.faq { border: 1px solid var(--paper-line); border-radius: var(--radius-card); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-card); }
.faq + .faq { margin-top: 12px; }
.faq summary { position: relative; display: block; min-height: 56px; padding: 18px 52px 18px 22px; list-style: none; cursor: pointer; font-weight: var(--weight-title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; color: var(--accent-dark); font-size: 22px; }
.faq[open] summary::after { content: "−"; }
.faq__answer { padding: 0 22px 22px; color: var(--ink-muted); }
.faq__answer > :last-child { margin-bottom: 0; }
.term-card { border-top: 2px solid var(--accent); }
.term-card dt { font-family: var(--font-mono); font-weight: var(--weight-title); margin-bottom: 14px; overflow-wrap: anywhere; }
.term-card dd { margin: 0; color: var(--ink-muted); }
.app-store { min-height: 48px; gap: 10px; }
.app-store svg { width: 20px; height: 22px; }
.app-store__copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.app-store__copy small { font-size: 11px; font-weight: var(--weight-body); }
.app-store__copy span { font-size: 15px; }
.fact-pills { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.fact-pills li { min-width: 0; max-width: 100%; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-tag); background: var(--bg-panel); color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
.fact-pills strong { color: var(--text); }
.section--light .fact-pills { justify-content: flex-start; }
.section--light .fact-pills li { background: var(--paper); color: var(--ink-muted); border-color: var(--paper-line); }
.section--light .fact-pills strong { color: var(--ink); }
.official-shot { flex-shrink: 0; width: 100%; max-width: 280px; margin: 0 auto; padding: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-shot); }
.official-shot figcaption { padding-top: 12px; color: var(--text-muted); font-size: var(--size-caption); line-height: 1.7; }
.section--light .official-shot figcaption, .panel .official-shot figcaption { color: var(--ink-muted); }
.official-shot__media { border: 1px solid var(--paper-line); border-radius: var(--radius-shot); }
.shot-row { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.device-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.device-card__icon { width: 48px; height: 58px; color: var(--accent-dark); }
.device-card h3, .device-card p { margin: 0; }
.device-card .text-link { margin-top: auto; }
.article-card { display: flex; flex-direction: column; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; color: var(--ink-muted); font-size: var(--size-caption); }
.article-card h3 a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.article-card .text-link { margin-top: auto; align-self: flex-start; }
.callout { margin: 28px 0; padding: 22px 24px; border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.callout p { color: var(--text-muted); }
.callout > :last-child { margin-bottom: 0; }
.section--light .callout, .panel .callout { background: var(--paper-tint); color: var(--ink); border-color: var(--paper-line); border-left-color: var(--accent); }
.section--light .callout p, .panel .callout p { color: var(--ink-muted); }
.table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; background: var(--paper); color: var(--ink); font-size: var(--size-small); }
.data-table th, .data-table td, .prose table th, .prose table td {
  min-width: 7em;
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--paper-line);
  overflow-wrap: normal;
  word-break: normal;
}
.data-table th, .prose table th { background: var(--paper-tint); color: var(--ink-policy); font-weight: var(--weight-title); }
.data-table td, .prose table td { background: var(--paper); color: var(--ink-muted); }
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin-block: 24px;
  overscroll-behavior-inline: contain;
}
.dl-fab {
  position: fixed;
  z-index: 30;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: 0 14px 40px -12px var(--shadow-deep);
  font-size: var(--size-small);
}
.dl-fab svg { width: 20px; height: 20px; color: var(--accent-hover); }
.dl-fab:hover { background: var(--border); color: var(--text); }
.article-store-card { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.article-store-card__copy { flex: 1 1 260px; min-width: 0; }
.article-store-card h2 { margin-top: 0; font-size: var(--size-h3); }
.article-store-card p { margin-bottom: 0; }
.has-article-fab { padding-bottom: 88px; }

/* 无脚本设计预览专用家具；正式页面无需使用。 */
.preview-header .desktop-nav { display: block; }
.preview-language summary { list-style: none; cursor: pointer; }
.preview-language summary::-webkit-details-marker { display: none; }
.preview-header .header-tools { margin-left: 20px; }
.preview-label { margin-bottom: 28px; font-family: var(--font-mono); font-size: var(--size-caption); color: var(--text-muted); }
.section--light .preview-label { color: var(--ink-muted); }
.token-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.token-chip { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text-muted); }
.token-chip code { font-size: 11px; }
.token-chip::before { content: ""; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--hairline-light); border-radius: var(--radius-small); background: var(--swatch); color: var(--text); }
.sw-bg { --swatch: var(--bg); }
.sw-panel { --swatch: var(--bg-panel); }
.sw-light { --swatch: var(--bg-light); }
.sw-border { --swatch: var(--border); }
.sw-border-strong { --swatch: var(--border-strong); }
.sw-accent { --swatch: var(--accent); }
.sw-accent-dark { --swatch: var(--accent-dark); }
.sw-accent-hover { --swatch: var(--accent-hover); }
.sw-magenta { --swatch: var(--magenta); }
.sw-text { --swatch: var(--text); }
.sw-muted { --swatch: var(--text-muted); }
.sw-faint { --swatch: var(--text-faint); }
.sw-success { --swatch: var(--success); }
.sw-success-ring { --swatch: var(--success-ring); }
.sw-warn { --swatch: var(--warn); }
.sw-error { --swatch: var(--error); }
.sw-on { --swatch: var(--on-accent); }
.sw-ink { --swatch: var(--ink); }
.sw-ink-muted { --swatch: var(--ink-muted); }
.sw-policy { --swatch: var(--ink-policy); }
.sw-ink-faint { --swatch: var(--ink-faint); }
.sw-ghost { --swatch: var(--ink-ghost); }
.sw-paper { --swatch: var(--paper); }
.sw-bar { --swatch: var(--paper-bar); }
.sw-line { --swatch: var(--paper-line); }
.sw-tint { --swatch: var(--paper-tint); }
.sw-neutral { --swatch: var(--paper-neutral); }
.sw-star-a { --swatch: var(--star-a); }
.sw-star-b { --swatch: var(--star-b); }
.sw-star-c { --swatch: var(--star-c); }
.sw-star-d { --swatch: var(--star-d); }
.sw-veil { --swatch: var(--veil); }
.sw-glow-violet { --swatch: var(--glow-violet); }
.sw-glow-magenta { --swatch: var(--glow-magenta); }
.sw-glow-edge { --swatch: var(--glow-edge); }
.sw-orb-core { --swatch: var(--orb-core); }
.sw-orb-ring { --swatch: var(--orb-ring); }
.sw-hairline { --swatch: var(--hairline-light); }
.sw-soft { --swatch: var(--accent-soft); }
.sw-softer { --swatch: var(--accent-softer); }
.sw-ring { --swatch: var(--accent-ring); }
.sw-shadow { --swatch: var(--accent-shadow); }
.sw-highlight { --swatch: var(--btn-highlight); }
.sw-deep { --swatch: var(--shadow-deep); }
.sw-mid { --swatch: var(--shadow-mid); }
.sw-shadow-light { --swatch: var(--shadow-light); }
.sw-clear { --swatch: var(--clear); }
.shot-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 750 / 1334; border: 1px solid var(--paper-line); border-radius: var(--radius-shot); background: var(--paper-neutral); color: var(--ink-muted); text-align: center; }
.preview-type-h1 { font-size: var(--size-h1); line-height: 1.15; font-weight: var(--weight-title); letter-spacing: var(--track-title); }
.preview-type-h2 { font-size: var(--size-h2); line-height: 1.3; font-weight: var(--weight-title); }
.preview-type-h3 { font-size: var(--size-h3); font-weight: var(--weight-title); }
.preview-dl-fab { position: static; max-width: 100%; }
@media (max-width: 1240px) { .orb-card { right: 20px; } }
@media (max-width: 1080px) {
  .conf__body { grid-template-columns: minmax(0, 1fr); }
  .parse { display: none; }
  .orb-card { top: 300px; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .facts__item:nth-child(3) { border-left: 0; }
  .feature-layout { gap: 32px; }
  .token-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .preview-header .topbar__inner { flex-wrap: wrap; padding-top: 12px; }
  .preview-header .header-tools { margin-left: auto; }
  .preview-header .desktop-nav { order: 3; width: 100%; margin: 8px 0 0; overflow-x: auto; }
  .preview-header .tabs { height: 46px; }
  .preview-header .tabs__item { min-height: 46px; }
  .preview-header .tabs li { flex-shrink: 0; }
}
@media (max-width: 768px) {
  .hero__title { font-size: 28px; }
  .feature-layout { grid-template-columns: minmax(0, 1fr); }
  .conf__note { display: none; }
  .sec:not(.is-on) { display: none; }
  .code { font-size: 12px; }
  .code li::before { flex-basis: 26px; margin-right: 12px; }
  .orb-card { display: none; }
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__item { border-left: 0; padding: 0; }
}
@media (max-width: 640px) {
  .hero__lead { font-size: 15px; }
  .hero__tag { font-size: 11px; }
  .hero__title .keep:first-child { white-space: normal; }
  .devices { gap: 8px 14px; }
  .devices__sep { display: none; }
  .conf__bar { padding-inline: 12px; }
  .conf__file { font-size: 11px; }
  .conf-stage { margin-top: 36px; }
  .facts { padding-top: 56px; padding-bottom: 48px; }
  .fact-pills { flex-direction: row; flex-wrap: wrap; }
  .fact-pills li { padding: 5px 8px; font-size: 11px; }
  .shot-row { flex-direction: column; align-items: center; }
  .token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .token-chip { gap: 8px; padding: 8px; }
  .token-chip::before { width: 22px; height: 22px; }
  .preview-type-h1 { font-size: 28px; }
  .dl-fab { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; opacity: 1; transform: none; } }