/* 配置文档是首屏道具，不模拟应用界面。 */
.hero { position: relative; overflow-x: clip; padding-top: 40px; padding-bottom: 72px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.stage { position: relative; min-width: 0; }
.shard {
  position: absolute;
  left: -44px;
  bottom: -44px;
  width: 232px;
  height: 232px;
  background: var(--c-coral);
  color: var(--c-navy);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 0;
}
.frame {
  position: relative;
  z-index: 1;
  height: 640px;
  border-radius: var(--r-frame) var(--r-frame) var(--r-frame-corner) var(--r-frame);
  background-color: var(--c-navy);
  color: var(--c-panel);
  background-image: radial-gradient(circle at 0 0, var(--c-on-navy-glow), var(--c-clear) 58%), radial-gradient(var(--c-on-navy-dot) 1px, var(--c-clear) 1.5px);
  background-size: 100% 100%, 22px 22px;
  background-position: 0 0, 11px 11px;
}
.frame-cap {
  position: absolute;
  left: 44px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: .02em;
  color: var(--c-on-navy);
}
.frame-cap::before { content: ""; width: 22px; height: 1px; flex-shrink: 0; background: var(--c-on-navy); }
.doc-ghost {
  position: absolute;
  left: 92px;
  top: 76px;
  right: -8px;
  height: 392px;
  border-radius: var(--r-doc);
  background: var(--c-ghost);
  color: var(--c-panel);
  border: 1px solid var(--c-ghost-line);
}
.doc {
  position: absolute;
  left: 112px;
  top: 96px;
  right: -28px;
  background: var(--c-panel);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--r-doc);
  box-shadow: var(--sh-doc);
  overflow: hidden;
  z-index: 2;
}
.doc-bar {
  height: 46px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--c-bar);
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-mono);
}
.doc-name { font-size: var(--fs-caption); font-weight: var(--fw-semibold); }
.doc-mode { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-doc-small); color: var(--c-muted); }
.ok-dot { width: 7px; height: 7px; }
.doc-body {
  position: relative;
  padding-block: var(--pad-code);
  background: linear-gradient(90deg, var(--c-gutter) 0 var(--gut), var(--c-border) var(--gut) calc(var(--gut) + 1px), var(--c-clear) calc(var(--gut) + 1px));
  color: var(--c-text);
  overflow-x: auto;
}
.scan {
  position: absolute;
  left: calc(var(--gut) + 1px);
  right: 0;
  top: calc(var(--pad-code) + var(--ln) * 6);
  height: var(--ln);
  background: var(--c-scan);
  color: var(--c-navy);
  box-shadow: inset 3px 0 0 var(--c-accent);
  opacity: 0;
  will-change: transform, opacity;
  animation: rule-scan 6.4s cubic-bezier(.5, 0, .2, 1) infinite;
}
@keyframes rule-scan {
  0% { transform: translateY(0); opacity: 0; }
  5% { transform: translateY(0); opacity: 1; }
  18% { transform: translateY(0); }
  22% { transform: translateY(var(--ln)); }
  37% { transform: translateY(var(--ln)); }
  41% { transform: translateY(calc(var(--ln) * 2)); }
  56% { transform: translateY(calc(var(--ln) * 2)); }
  60% { transform: translateY(calc(var(--ln) * 3)); }
  84% { transform: translateY(calc(var(--ln) * 3)); opacity: 1; }
  94% { transform: translateY(calc(var(--ln) * 3)); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.conf {
  position: relative;
  z-index: 1;
  counter-reset: conf-line;
  font-family: var(--f-mono);
  font-size: var(--fs-doc);
  color: var(--c-text);
  min-width: max-content;
}
.conf li { counter-increment: conf-line; height: var(--ln); line-height: var(--ln); white-space: pre; padding-right: 18px; }
.conf li::before {
  content: counter(conf-line);
  display: inline-block;
  width: var(--gut);
  padding-right: 16px;
  margin-right: 18px;
  text-align: right;
  font-size: var(--fs-doc-small);
  color: var(--c-muted);
}
.t-sec { color: var(--c-code-section); font-weight: var(--fw-bold); }
.t-key, .t-type { color: var(--c-text); }
.t-type { font-weight: var(--fw-medium); }
.t-op, .t-val, .t-arg { color: var(--c-muted); }
.t-pol { color: var(--c-navy); font-weight: var(--fw-heavy); }
.verify {
  position: absolute;
  right: -40px;
  top: 440px;
  z-index: 3;
  width: 300px;
  padding: 16px 18px 14px;
  background: var(--c-panel);
  color: var(--c-navy);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--r-verify);
  box-shadow: var(--sh-verify);
  transform: rotate(-3deg);
}
.verify dl { display: flex; flex-direction: column; gap: 10px; }
.verify dt { font-size: var(--fs-strip); letter-spacing: .06em; color: var(--c-muted); }
.verify dd { font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1.35; color: var(--c-navy); }
.verify dd.mono { font-family: var(--f-mono); font-weight: var(--fw-semibold); letter-spacing: .02em; }
.verify-foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--c-border); font-size: var(--fs-device); font-weight: var(--fw-bold); color: var(--c-text); }
.copy { position: relative; z-index: 2; min-width: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--c-panel);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-soft);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  overflow-wrap: anywhere;
}
.badge-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-round); background: var(--c-coral); color: var(--c-navy); box-shadow: 0 0 0 4px var(--c-coral-ring); }
.h1 { margin-top: 22px; font-size: var(--fs-hero); line-height: var(--leading-title); }
.h1-line { display: block; }
.mark { background: linear-gradient(var(--c-clear) 60%, var(--c-mark) 60%, var(--c-mark) 90%, var(--c-clear) 90%); color: var(--c-navy); padding-inline: .04em; }
.lead { margin-top: 26px; max-width: 31em; font-size: var(--fs-lead); line-height: 1.75; color: var(--c-muted); }
.lead strong { color: var(--c-text); font-weight: var(--fw-bold); }
.hero-subtitle { margin-top: 16px; font-size: var(--fs-subtitle); color: var(--c-muted); }
.chips, .fact-pills { margin-top: 18px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips li, .fact-pills li, .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-panel);
  color: var(--c-muted);
  font-size: var(--fs-doc-small);
  font-weight: var(--fw-medium);
  overflow-wrap: anywhere;
}
.fact-pills strong { color: var(--c-navy); font-weight: var(--fw-semibold); }
.fact-pills .fact-wide { flex-basis: auto; }
.devices { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--c-border); }
.devices-label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; color: var(--c-muted); }
.devices-row { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 13px 7px 11px;
  border-radius: var(--r-chip);
  background: var(--c-panel);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  font-size: var(--fs-device);
  font-weight: var(--fw-semibold);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.dev svg { width: 18px; height: 18px; color: var(--c-navy); }
.dev:hover { border-color: var(--c-accent); box-shadow: var(--sh-soft); }
.dev-store { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-navy-line); font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: .02em; color: var(--c-navy); }
.dev-store:hover { background: var(--c-navy-hover); color: var(--c-navy); }
.next { background: var(--c-panel); color: var(--c-text); padding-top: 72px; padding-bottom: 96px; text-align: center; }
.next h2 { margin-top: 14px; }

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  max-width: 100%;
  padding: 12px 26px;
  border: 1px solid var(--c-accent-dark);
  border-radius: var(--r-verify);
  background: var(--c-accent);
  color: var(--c-navy);
  box-shadow: var(--sh-cta);
  transition: transform var(--motion-fast), box-shadow var(--motion-fast);
}
.app-store-button > svg { width: 30px; height: 30px; }
.app-store-button small, .app-store-button strong { display: block; }
.app-store-button small { font-size: var(--fs-xs); line-height: 1.4; }
.app-store-button strong { font-size: var(--fs-brand); line-height: 1.5; font-weight: var(--fw-heavy); }
.app-store-button:hover { transform: translateY(-2px); box-shadow: var(--sh-pop); }
.app-store-button:active { transform: translateY(1px); }
.app-store-button--primary { min-height: 76px; padding: 16px 32px; }
.store-guide { display: grid; gap: 18px; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--c-border); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.store-guide p { color: var(--c-muted); }
.store-guide .btn { justify-self: start; }

.feature-tabs { display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 1.45fr); gap: 56px; align-items: center; }
.tab-list, [role="tablist"].tab-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tab-list [role="tab"] {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 14px 20px;
  background: var(--c-panel);
  color: var(--c-navy);
  border: 2px solid var(--c-clear);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}
.tab-list [role="tab"]:hover { transform: translateY(-2px); }
.tab-list [role="tab"][aria-selected="true"] { border-color: var(--c-accent); box-shadow: var(--sh-pop); }
.tab-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: var(--r-chip); background: var(--c-gutter); color: var(--c-navy); }
.tab-icon svg { width: 24px; height: 24px; }
.feature-stage { position: relative; padding: 40px 24px 48px; min-width: 0; isolation: isolate; overflow-x: clip; }
.feature-stage::before, .feature-stage::after { content: ""; position: absolute; z-index: -1; inset: 20% 0 0; border-radius: var(--r-card); }
.feature-stage::before { background: var(--c-navy); color: var(--c-panel); clip-path: polygon(0 100%, 72% 0, 100% 100%); }
.feature-stage::after { background: var(--c-coral); color: var(--c-navy); clip-path: polygon(60% 34%, 100% 52%, 100% 100%, 32% 100%); box-shadow: inset 22px -22px 0 var(--c-coral-soft); }
.tab-panel {
  position: relative;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-panel);
  color: var(--c-text);
  box-shadow: var(--sh-pop);
}
.tab-panel p { margin-top: 16px; color: var(--c-muted); }
.rule-snippet { margin-top: 24px; border: 1px solid var(--c-border); border-radius: var(--r-chip); overflow: hidden; background: var(--c-panel); color: var(--c-text); }
.rule-snippet .doc-body { overflow-x: auto; }
.rule-snippet .conf { font-size: var(--fs-sm); }
.rule-snippet .doc-bar { height: auto; min-height: 40px; }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-menu);
  background: var(--c-panel);
  color: var(--c-navy);
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.toc a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); font-size: var(--fs-sm); }
.toc a:hover, .toc a[aria-current="location"] { background: var(--c-accent); color: var(--c-navy); }
.toc--sticky { position: sticky; top: 16px; z-index: 10; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-menu); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-weight: var(--fw-semibold); color: var(--c-navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 22px; color: var(--c-navy); }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--c-border); }
.faq-answer { padding: 20px 24px 24px; color: var(--c-muted); }
.faq-answer p + p { margin-top: 14px; }
.term-card { padding: 26px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.term-card dt { font-family: var(--f-mono); font-size: var(--fs-brand); font-weight: var(--fw-bold); color: var(--c-navy); }
.term-card dd { margin-top: 12px; color: var(--c-muted); }
.term-card .tag { margin-bottom: 14px; }
.official-shot { width: 100%; max-width: 280px; margin-inline: auto; flex-shrink: 0; min-width: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-shot); }
.official-shot { border: 1px solid var(--c-border); border-radius: var(--r-shot); background: var(--c-panel); color: var(--c-muted); }
.official-shot figcaption { padding-block: 12px; padding-inline: 10px; font-size: var(--fs-xs); line-height: 1.6; }
.shot-row { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.shot-placeholder { display: grid; place-items: center; aspect-ratio: 750 / 1334; border-radius: var(--r-shot); background: var(--c-bar); color: var(--c-muted); text-align: center; font-family: var(--f-mono); font-size: var(--fs-sm); }
.device-card { display: flex; align-items: flex-start; gap: 22px; padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.device-card > svg { width: 46px; height: 58px; color: var(--c-navy); }
.device-card > div { min-width: 0; }
.device-card p { color: var(--c-muted); margin-top: 10px; }
.device-card .text-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; }
.article-card { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.article-card .tag { align-self: flex-start; }
.article-card p { color: var(--c-muted); }
.article-card .text-link { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: var(--c-muted); }
.callout { padding: 22px 26px; border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent); border-radius: var(--r-verify); background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-soft); }
.callout p + p { margin-top: 12px; }
.callout--note { border-left-color: var(--c-navy); }
.callout--warning { border-left-color: var(--c-coral); }
.grouped-list { border: 1px solid var(--c-border); border-radius: var(--r-card); overflow: hidden; background: var(--c-panel); color: var(--c-navy); box-shadow: var(--sh-soft); }
.grouped-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 16px 22px; }
.grouped-list li + li { border-top: 1px solid var(--c-border); }
.grouped-list a::after { content: "›"; font-size: var(--fs-h3); flex-shrink: 0; }
.grouped-list a:hover { background: var(--c-gutter); color: var(--c-navy); }
.table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-verify); overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; background: var(--c-panel); color: var(--c-text); text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td, .document-body table th, .document-body table td {
  min-width: 7em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  overflow-wrap: normal;
  word-break: normal;
  vertical-align: top;
}
.data-table th, .prose table th, .document-body table th { background: var(--c-bar); color: var(--c-navy); font-weight: var(--fw-semibold); }
.data-table caption { text-align: left; padding: 14px 18px; background: var(--c-panel); color: var(--c-muted); font-size: var(--fs-sm); }
.prose table, .document-body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: var(--c-panel);
  color: var(--c-text);
  margin-block: 24px;
}
.dl-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 40px);
  min-height: 58px;
  padding: 12px 20px;
  border: 1px solid var(--c-accent-dark);
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-navy);
  box-shadow: var(--sh-pop);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.dl-fab svg { width: 22px; height: 22px; }
.has-dl-fab { padding-bottom: 100px; }

/* 仅供静态设计预览，不改变正式组件。 */
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--c-border); border-radius: var(--r-verify); overflow: hidden; background: var(--c-panel); color: var(--c-text); }
.swatch-color { min-height: 76px; }
.swatch code { display: block; padding: 12px; font-size: var(--fs-xs); }
.swatch-bg { background: var(--c-bg); color: var(--c-text); }
.swatch-panel { background: var(--c-panel); color: var(--c-text); }
.swatch-navy { background: var(--c-navy); color: var(--c-panel); }
.swatch-border { background: var(--c-border); color: var(--c-navy); }
.swatch-accent { background: var(--c-accent); color: var(--c-navy); }
.swatch-accent-dark { background: var(--c-accent-dark); color: var(--c-navy); }
.swatch-text { background: var(--c-text); color: var(--c-panel); }
.swatch-muted { background: var(--c-muted); color: var(--c-panel); }
.swatch-success { background: var(--c-success); color: var(--c-panel); }
.swatch-coral { background: var(--c-coral); color: var(--c-navy); }
.swatch-coral-soft { background: var(--c-coral-soft); color: var(--c-navy); }
.swatch-error { background: var(--c-error); color: var(--c-panel); }
.swatch-faint { background: var(--c-faint); color: var(--c-navy); }
.swatch-gutter { background: var(--c-gutter); color: var(--c-text); }
.swatch-bar { background: var(--c-bar); color: var(--c-text); }
.swatch-scan { background: var(--c-scan); color: var(--c-navy); }
.swatch-mark { background: var(--c-mark); color: var(--c-navy); }
.preview-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.preview-spaced { margin-top: 28px; }
.preview-type > * + * { margin-top: 20px; }
.preview-static-nav { display: none; }
.preview-language > summary { list-style: none; cursor: pointer; }
.preview-language > summary::-webkit-details-marker { display: none; }

@media (min-width: 1100px) {
  .h1-line.nowrap { white-space: nowrap; }
}
@media (max-width: 1200px) {
  .hero-in { gap: 64px; }
  .doc { left: 84px; }
  .doc-ghost { left: 64px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 28px; padding-bottom: 64px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .copy { order: 1; }
  .stage { order: 2; }
  .frame { height: auto; padding: 68px 20px 132px; border-radius: var(--r-frame-mobile); }
  .frame-cap { left: 22px; right: 22px; top: 26px; }
  .doc-ghost { display: none; }
  .doc { position: relative; left: auto; top: auto; right: auto; }
  .verify { right: 16px; top: auto; bottom: 22px; width: 250px; }
  .shard { width: 150px; height: 150px; left: -24px; bottom: -24px; }
  .feature-tabs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tab-list, [role="tablist"].tab-list { flex-direction: row; overflow-x: auto; padding: 6px 2px 18px; }
  .tab-list [role="tab"] { width: auto; flex: 0 0 auto; min-height: 56px; padding: 10px 16px; border-radius: var(--r-pill); gap: 10px; }
  .tab-icon { width: 32px; height: 32px; }
  .tab-icon svg { width: 20px; height: 20px; }
  .feature-stage { padding: 28px 12px 20px; }
  .feature-stage::before, .feature-stage::after { inset: 0 0 auto; height: 74px; }
  .feature-stage::before { clip-path: polygon(0 0, 100% 0, 65% 100%, 0 65%); }
  .feature-stage::after { clip-path: polygon(45% 0, 100% 0, 100% 100%); }
}
@media (max-width: 1100px) {
  .preview-static-nav { display: block; }
  .preview-static-nav > summary { list-style: none; }
  .preview-static-nav > summary::-webkit-details-marker { display: none; }
  .preview-static-nav .menu { position: absolute; top: 76px; left: var(--gutter); right: var(--gutter); width: auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; transform: none; }
}
@media (max-width: 640px) {
  .tilt, .verify, [data-tilt] { transform: none; }
  .shot-row { flex-direction: column; align-items: center; }
  .tab-panel { padding: 24px 20px; }
  .device-card { padding: 22px; gap: 16px; }
  .device-card > svg { width: 34px; height: 48px; }
  .fact-pills, .chips { flex-direction: row; flex-wrap: wrap; }
  .fact-pills { justify-content: center; }
  .dl-fab { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: calc(100% - 32px); }
}
@media (max-width: 560px) {
  :root { --ln: 26px; --gut: 40px; --pad-code: 14px; --fs-doc: .75rem; }
  .hero .btn { flex: 1 1 100%; }
  .lead { font-size: var(--fs-nav); }
  .conf { font-size: var(--fs-xs); }
  .conf li::before { padding-right: 10px; margin-right: 12px; font-size: var(--fs-strip); }
  .verify { width: 228px; padding: 13px 14px 12px; }
  .verify dd { font-size: var(--fs-caption); }
  .frame-cap { font-size: var(--fs-strip); gap: 7px; }
  .frame-cap::before { width: 12px; }
  .next h2 { font-size: var(--fs-h2); }
  .preview-static-nav .menu { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .scan { animation: none; opacity: 1; transform: translateY(calc(var(--ln) * 3)); }
}