/* 首页：曲面、界面外框和白色切入面。 */
.field {
  position: relative;
  overflow-x: clip;
  padding-bottom: 136px;
  background: var(--bg);
  color: var(--on-dark);
}
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arc { stroke: var(--line-ring); stroke-width: 1.2; }
.arc-1 { fill: var(--hero-deep); }
.arc-2 { fill: var(--hero-curve-1); }
.arc-3 { fill: var(--hero-curve-2); }
.ring, .ring-soft { fill: none; stroke: var(--line-ring); stroke-width: 1; }
.ring-soft { stroke: var(--line-ring-soft); }
.hero {
  position: relative;
  z-index: 2;
  padding: 34px var(--gutter) 0;
  text-align: center;
}
.hero-inner { position: relative; max-width: var(--mast-approved); margin-inline: auto; }
.hero-copy { position: relative; z-index: 1; max-width: 900px; margin-inline: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  max-width: 100%;
  padding: 2px 15px 2px 12px;
  border-radius: var(--r-pill);
  background: var(--chip-bg);
  color: var(--on-dark);
  border: 1px solid var(--chip-border);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
  overflow-wrap: anywhere;
}
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-round); background: var(--sun); color: var(--text); }
.hero-title {
  margin: 20px 0 0;
  font-weight: var(--weight-heavy);
  font-size: var(--size-h1);
  line-height: 1.16;
  letter-spacing: -.005em;
  color: var(--on-dark);
}
.hero-title .lat { font-weight: var(--weight-display); letter-spacing: -.02em; }
.h1-line { display: block; }
.h1-accent { color: var(--sky); }
.cta-row { margin-top: 26px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-desc { margin: 18px auto 0; max-width: 660px; font-size: 17px; color: var(--on-dark-muted); }
.hero-desc strong { color: var(--on-dark); font-weight: var(--weight-strong); }
.platforms, .statusbar, .sample-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.platforms { margin-top: 20px; }
.platforms a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 3px 15px 3px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--chip-border);
  color: var(--on-dark);
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: background-color var(--ease-quick);
}
.platforms a:hover { background: var(--chip-bg-hover); color: var(--on-dark); }
.platforms svg { width: 16px; height: 16px; }
.geo, .disc { position: absolute; display: block; pointer-events: none; }
.geo-suntri { width: 46px; height: 42px; left: 3%; top: 300px; transform: rotate(12deg); }
.geo-fold { width: 38px; height: 38px; right: 4%; top: 214px; transform: rotate(-16deg); }
.fill-sun { fill: var(--sun); }
.fill-blossom { fill: var(--blossom); }
.fill-fold { fill: var(--blossom-fold); }
.fill-sky { fill: var(--sky); }
.stroke { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stage { position: relative; z-index: 3; width: min(1080px, 92vw); max-width: 100%; margin: 50px auto 0; text-align: left; }
.disc { border-radius: var(--r-round); }
.disc-blossom { width: 210px; height: 210px; left: -78px; top: -64px; background: var(--blossom); color: var(--text); }
.disc-sun { width: 250px; height: 250px; right: -126px; top: 168px; background: var(--sun); color: var(--text); }
.geo-skytri { width: 48px; height: 46px; right: -104px; top: 18px; }
.modebar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-bar);
  white-space: nowrap;
}
.modebar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 2px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: var(--weight-strong);
  color: var(--text-muted);
  text-decoration: none;
}
.modebar a:hover { color: var(--accent-dark); }
.modebar a.is-lead { background: var(--accent-tint); color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent-line); }
.modebar svg { width: 16px; height: 16px; }
.visual-device { position: relative; }
.visual-device > img { width: 100%; height: auto; border-radius: var(--r-win); }
.win-shell { position: relative; z-index: 2; padding: 12px; border-radius: var(--r-win); background: var(--frame); color: var(--text); box-shadow: var(--shadow-win), inset 0 0 0 1px var(--frame-edge); }
.win { border-radius: var(--r-win-inner); background: var(--panel); color: var(--text); overflow: hidden; }
.win-chrome {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 16px;
  background: var(--chrome-bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.win-logo { width: 20px; height: 20px; }
.win-title { font: var(--weight-bold) 13.5px/1.6 var(--font-display); }
.win-ctrls { margin-left: auto; display: flex; gap: 18px; color: var(--text-muted); }
.win-ctrls svg { width: 12px; height: 12px; }
.win-body { display: grid; grid-template-columns: 188px minmax(0, 1fr) 300px; min-height: 420px; }
.side { margin: 0; list-style: none; padding: 14px 10px; border-right: 1px solid var(--border); }
.side-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 38px;
  padding-inline: 12px;
  border-radius: var(--r-tile);
  font-size: 13.5px;
  color: var(--text-muted);
}
.side-item + .side-item { margin-top: 2px; }
.side-item svg { width: 18px; height: 18px; }
.side-item.is-current { background: var(--accent-tint); color: var(--accent-dark); font-weight: var(--weight-bold); }
.side-item.is-current::before { content: ""; position: absolute; inset: 9px auto 9px 0; width: 3px; border-radius: 0 var(--r-notch) var(--r-notch) 0; background: var(--accent); color: var(--on-dark); }
.win-main { padding: 20px 22px 22px; }
.main-head, .pcard-top { display: flex; align-items: center; gap: 8px; }
.main-head { justify-content: space-between; flex-wrap: wrap; }
.main-title { font: var(--weight-display) 20px/1.6 var(--font-display); letter-spacing: -.01em; }
.mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 3px 12px;
  border-radius: var(--r-small);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 12.5px;
  font-weight: var(--weight-strong);
}
.mbtn svg { width: 13px; height: 13px; }
.mbtn.is-soft { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--clear); }
.mbtn.is-solid { background: var(--accent); color: var(--on-dark); border-color: var(--accent); }
.cards { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 18px 16px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.pcard.is-current { border-color: var(--accent-line); }
.pcard.is-current::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); color: var(--on-dark); }
.ptile {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: var(--r-tile);
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent-dark);
}
.ptile svg { width: 18px; height: 18px; }
.ptag {
  margin-left: auto;
  min-height: 22px;
  padding-inline: 9px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: var(--weight-strong);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ptag.is-current { color: var(--on-dark); background: var(--accent); border-color: var(--accent); }
.pcard-name { margin-top: 14px; font-size: 15.5px; font-weight: var(--weight-bold); }
.pcard-meta { margin-top: 2px; font: 12.5px/1.6 var(--font-mono); color: var(--text-muted); overflow-wrap: anywhere; }
.pcard-actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.drop {
  margin-top: 14px;
  min-height: 56px;
  padding: 6px 12px;
  border-radius: var(--r-btn);
  border: 1.5px dashed var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.drop code { font-size: 12px; color: var(--text); }
.code { background: var(--code-bg); color: var(--text); border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.code-head { min-height: 42px; display: flex; align-items: center; gap: 7px; padding-inline: 14px; border-bottom: 1px solid var(--border); }
.cdot { width: 9px; height: 9px; border-radius: var(--r-round); }
.cdot-1 { background: var(--blossom); color: var(--text); }
.cdot-2 { background: var(--sun); color: var(--text); }
.cdot-3 { background: var(--sky); color: var(--text); }
.code-file { margin-left: 8px; font: 12px/1.6 var(--font-mono); color: var(--text-muted); }
.code-body { margin: 0; padding: 14px 16px 18px 0; font-size: var(--size-code); line-height: 1.95; }
.ln { display: grid; grid-template-columns: 38px max-content; white-space: pre; }
.ln-no { text-align: right; padding-right: 14px; color: var(--text-muted); user-select: none; }
.tk-key { color: var(--text); }
.tk-pun { color: var(--text-muted); }
.tk-val { color: var(--accent-dark); }
.caret { display: inline-block; width: 7px; height: 15px; vertical-align: -2px; background: var(--accent); color: var(--on-dark); }

.tray {
  position: absolute;
  z-index: 4;
  width: 260px;
  max-width: 100%;
  top: 96px;
  left: max(-80px, calc((100% - 100vw) / 2 + 20px));
  padding: 8px;
  border-radius: var(--r-tray);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-tray);
  transform: rotate(-2deg);
  transform-origin: 50% 0;
}
.tray-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); font: var(--weight-bold) 13px/1.6 var(--font-display); }
.tray-head img { width: 18px; height: 18px; }
.tray-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding-inline: 10px; border-radius: var(--r-small); font-size: 13.5px; color: var(--text); }
.tray-row.is-quiet { color: var(--text-muted); }
.tg { position: relative; width: 34px; height: 20px; border-radius: var(--r-pill); background: var(--border-strong); color: var(--text); flex-shrink: 0; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: var(--r-round); background: var(--panel); color: var(--text); box-shadow: var(--shadow-seg); }
.tg.is-on { background: var(--accent); color: var(--on-dark); }
.tg.is-on::after { left: 16px; }
.tray-mode { padding: 6px 10px 8px; }
.tray-mode-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 3px; border-radius: var(--r-seg); background: var(--code-bg); color: var(--text); }
.seg span { min-height: 28px; display: grid; place-items: center; border-radius: var(--r-seg-item); font-size: 12.5px; color: var(--text-muted); }
.seg span.is-on { background: var(--panel); color: var(--accent-dark); font-weight: var(--weight-bold); box-shadow: var(--shadow-seg); }
.tray-sep { height: 1px; margin: 6px; background: var(--border); color: var(--text); }
.facts { position: relative; z-index: 2; max-width: 1080px; margin: 84px auto 0; padding-inline: var(--gutter); }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.facts-list li { padding: 4px 28px; text-align: center; }
.facts-list li + li { border-left: 1px solid var(--chip-border); }
.fact-k { display: block; font: var(--weight-bold) 17px/1.6 var(--font-mono); color: var(--on-dark); }
.fact-v { display: block; margin-top: 6px; font-size: var(--size-small); color: var(--on-dark); }
.statusbar { margin-top: 40px; }
.statusbar span { font: 12.5px/1.6 var(--font-mono); color: var(--on-dark); }
.statusbar .cap { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 2px 14px; border-radius: var(--r-pill); border: 1px solid var(--chip-border); background: var(--chip-bg); color: var(--on-dark); }
.statusbar .sep { color: var(--on-dark-soft); }
.sheet { position: relative; z-index: 4; margin-top: calc(-1 * var(--r-sheet)); background: var(--panel); color: var(--text); border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding-block: 120px 140px; }
.sheet-title { margin: 0; text-align: center; letter-spacing: -.01em; }
.sheet-title em { font-style: normal; color: var(--accent); }
.sheet-lede { max-width: 720px; margin: 20px auto 0; text-align: center; font-size: 18px; line-height: 1.85; color: var(--text-muted); }
.feature-stack { display: grid; gap: 128px; padding-top: var(--section-gap); }
.feature-row { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: center; gap: clamp(24px, 5vw, 76px); }
.feature-row:nth-child(even) { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
.feature-row:nth-child(even) .feature-board { grid-area: 1 / 1; }
.feature-row h3 { margin: 0 0 14px; }
.feature-fragment { color: var(--accent-dark); font-size: var(--size-code); }
.feature-board { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(24px, 5vw, 60px); min-height: 220px; display: grid; align-content: center; }
.feature-board > * { min-width: 0; position: relative; }
.feature-board::before { content: ""; position: absolute; inset: auto 18px 16px auto; width: 54px; height: 54px; background: var(--sun); color: var(--text); clip-path: polygon(50% 5%, 100% 100%, 0 100%); }
.feature-row:nth-child(even) .feature-board::before { background: var(--blossom); color: var(--text); border-radius: var(--r-round); clip-path: none; }
.mini-stack > .card + .card { margin: -4px 0 0 18px; position: relative; }
.mini-stack > .card { padding: 12px 16px; }

/* 内页组件。 */
[role="tablist"], .toc-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
[role="tablist"] { padding: 6px; background: var(--panel-2); color: var(--text); border-radius: var(--r-card); }
[role="tab"], .toc-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 6px 14px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  background: var(--clear);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}
[role="tab"]:not(:disabled) { cursor: pointer; }
[role="tab"]:is(:hover, [aria-selected="true"]), .toc-tabs a:hover {
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-color: var(--accent-line);
}
[role="tab"][aria-selected="true"] { font-weight: var(--weight-bold); }
[role="tabpanel"] { min-width: 0; margin-block-start: 18px; }
.toc-tabs { padding: 8px; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-tray); }
.toc-sticky { position: sticky; top: var(--toc-offset); z-index: 5; box-shadow: var(--shadow-card); }
.toc-sticky.is-static { position: static; }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 10px; font-weight: var(--weight-bold); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--accent-dark); font-family: var(--font-mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: 18px; color: var(--text-muted); }
.term-card { border-top: 3px solid var(--accent-line); }
.term-card dt { font: var(--weight-display) var(--size-h3)/1.3 var(--font-display); }
.term-card dd { margin: 8px 0 0; }
.download-card + .download-card { margin-top: 16px; }
.download-card header, .post-meta, .card-actions, .tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.download-card header h3 { margin: 0; }
.download-card > p { margin-block: 14px; }
.card-actions { margin-top: 12px; }
.card-actions > * { min-width: 0; }
.card-actions .btn { overflow-wrap: anywhere; }
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--chrome-bg);
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: var(--weight-strong);
  overflow-wrap: anywhere;
}
.tag-first { background: var(--accent-dark); color: var(--on-dark); border-color: var(--accent-dark); }
.tag-recommended { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--accent-line); }
.tag-archived { background: var(--panel-2); color: var(--text); border-color: var(--warn); }
[data-ver]:empty { display: none; }
.post-meta { color: var(--text-muted); font-size: var(--size-small); }
.post-meta time { font-family: var(--font-mono); }
.post-card h3 { margin-block: 14px 10px; }
.post-card h3 a:hover { color: var(--accent-dark); }
.callout {
  margin: 20px 0;
  padding: 16px 20px;
  border-inline-start: 4px solid var(--accent);
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  background: var(--accent-tint);
  color: var(--text);
}
.callout.is-warning { border-color: var(--warn); background: var(--panel-2); color: var(--text); }
.callout.is-success { border-color: var(--success); background: var(--chrome-bg); color: var(--text); }
.callout.is-error { border-color: var(--error); background: var(--panel-2); color: var(--text); }
.table-wrap { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; text-align: start; }
:is(.data-table, .prose table, .reading-wrap table) :is(th, td) {
  min-width: 7em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: start;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
}
:is(.data-table, .prose table, .reading-wrap table) th { background: var(--chrome-bg); color: var(--text); }
:is(.data-table, .prose table, .reading-wrap table) :is(th, td) code { overflow-wrap: anywhere; }
:where(.prose, .reading-wrap, .page-surface) table:not(.table-wrap table), .data-table:not(.table-wrap table) {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-download { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.article-download > * { min-width: 0; }
.article-download h2 { margin: 0 0 8px; font-size: var(--size-h3); }
.dl-fab {
  position: fixed;
  z-index: 12;
  inset-inline-end: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  max-width: calc(100% - var(--gutter) * 2);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--accent-dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-bar);
  text-decoration: none;
  font-weight: var(--weight-bold);
}
.dl-fab:hover { background: var(--hero-deep); color: var(--on-dark); }
.dl-fab svg { width: 18px; height: 18px; }
.has-dl-fab .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

/* 静态样张：只补页内展示样式，不影响正式页组件。 */
.preview .masthead-row { max-width: var(--mast-approved); gap: 32px; }
.preview .topnav { gap: 14px; }
.preview .topnav li { gap: 14px; }
.preview summary { list-style: none; }
.preview summary::-webkit-details-marker { display: none; }
.preview-mobile { display: none; }
.preview .language-list { display: block; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 10px; padding: 0; list-style: none; }
.sample-grid li { min-width: 0; }
.sample-grid svg { display: block; width: 100%; height: 36px; border: 1px solid var(--border); border-radius: var(--r-small); }
.sample-grid code { font-size: 12px; }
.sw-bg { fill: var(--bg); }
.sw-deep { fill: var(--hero-deep); }
.sw-c1 { fill: var(--hero-curve-1); }
.sw-c2 { fill: var(--hero-curve-2); }
.sw-panel { fill: var(--panel); }
.sw-panel2 { fill: var(--panel-2); }
.sw-border { fill: var(--border); }
.sw-border2 { fill: var(--border-strong); }
.sw-accent { fill: var(--accent); }
.sw-accent2 { fill: var(--accent-dark); }
.sw-tint { fill: var(--accent-tint); }
.sw-line { fill: var(--accent-line); }
.sw-text { fill: var(--text); }
.sw-muted { fill: var(--text-muted); }
.sw-faint { fill: var(--text-faint); }
.sw-ok { fill: var(--success); }
.sw-warn { fill: var(--warn); }
.sw-error { fill: var(--error); }
.sw-sky { fill: var(--sky); }
.sw-sun { fill: var(--sun); }
.sw-pink { fill: var(--blossom); }
.sw-fold { fill: var(--blossom-fold); }
.sw-white { fill: var(--on-dark); }
.sw-white2 { fill: var(--on-dark-muted); }
.sw-white3 { fill: var(--on-dark-soft); }
.sw-chip { fill: var(--chip-bg); }
.sw-chip2 { fill: var(--chip-bg-hover); }
.sw-chip3 { fill: var(--chip-border); }
.sw-ghost { fill: var(--ghost-border); }
.sw-ring { fill: var(--line-ring); }
.sw-ring2 { fill: var(--line-ring-soft); }
.sw-frame { fill: var(--frame); }
.sw-edge { fill: var(--frame-edge); }
.sw-chrome { fill: var(--chrome-bg); }
.sw-code { fill: var(--code-bg); }
.sw-veil { fill: var(--veil); }
.sw-clear { fill: var(--clear); }
.dark-sample { background: var(--hero-deep); color: var(--on-dark); padding: 18px; border-radius: var(--r-card); }
.focus-sample { outline: 2px solid var(--ink-focus); outline-offset: 3px; }
.type-display { font: var(--weight-heavy) var(--size-h1)/1.16 var(--font-display); }

@media (max-width: 1180px) {
  .geo-skytri { display: none; }
  .win-body { grid-template-columns: 172px minmax(0, 1fr) 260px; }
  .preview .topnav, .preview .topnav li { gap: 9px; }
}
@media (max-width: 960px) {
  .preview .masthead-row { gap: 8px; }
  .preview-mobile { display: block; }
  .preview-mobile .language-list { max-height: calc(100dvh - var(--mast-height) - 16px); overflow-y: auto; overscroll-behavior: contain; min-width: min(260px, 82vw); }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .code { border-left: 0; border-top: 1px solid var(--border); }
  .tray { position: relative; top: auto; left: auto; margin: -20px 18px 0 auto; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .facts-list li:nth-child(3) { border-left: 0; }
  .feature-row, .feature-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature-row:nth-child(even) .feature-board { grid-area: auto; }
}
@media (max-width: 640px) {
  .hero { padding-top: 18px; }
  .hero-title { margin-top: 16px; }
  .cta-row { margin-top: 20px; gap: 10px; }
  .hero-desc { font-size: var(--size-body); }
  .platforms { gap: 6px; }
  .platforms a { padding-inline: 9px; }
  .arc-3, .geo-suntri, .geo-fold, .geo-skytri, .ring-soft { display: none; }
  .disc-blossom { width: 116px; height: 116px; top: -28px; left: -38px; }
  .disc-sun { width: 136px; height: 136px; right: -56px; }
  .stage { width: 100%; margin-top: 42px; }
  .modebar a { padding-inline: 10px; font-size: var(--size-small); gap: 4px; }
  .modebar svg { width: 14px; height: 14px; }
  .win-shell { padding: 8px; }
  .win-main { padding: 14px 12px; }
  .win-ctrls { gap: 10px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-height: 0; }
  .tray { margin: 14px auto 0; transform: none; }
  .facts { margin-top: 48px; }
  .facts-list li { padding-inline: 8px; }
  .statusbar { margin-top: 26px; gap: 6px; }
  .statusbar .sep { display: none; }
  .statusbar .cap { padding-inline: 8px; }
  .field { padding-bottom: 88px; }
  .sheet { padding-block: 70px 84px; }
  .feature-stack { gap: 64px; }
  .toc-sticky { position: static; }
}