/* 星河岛产品与文档共用样式 */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-raise: #ffffff;
  --fg: #1d1d1f;
  --fg-2: #424245;
  --fg-3: #63636a;
  --line: #dedee3;
  --accent: #005eb8;
  --accent-fg: #ffffff;
  --accent-soft: #edf4fc;
  --code-bg: #f4f6fa;
  --ink: #070b1a;
  --ink-fg: #eef1f8;
  --ink-fg-2: #9aa3b8;
  --stage: #05184b;
  --ok: #50657d;
  --warn: #b25e00;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --wrap: 1280px;
  --nav-h: 60px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113; --bg-soft: #1b1b1f; --bg-raise: #222226; --fg: #f5f5f7; --fg-2: #c1c1c8; --fg-3: #a0a0a8;
    --line: #34343b; --accent: #8bbfff; --accent-fg: #071c31; --accent-soft: #192c42; --code-bg: #1b1b1f;
    --ok: #a8b6ce; --warn: #f0a24a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111113; --bg-soft: #1b1b1f; --bg-raise: #222226; --fg: #f5f5f7; --fg-2: #c1c1c8; --fg-3: #a0a0a8;
  --line: #34343b; --accent: #8bbfff; --accent-fg: #071c31; --accent-soft: #192c42; --code-bg: #1b1b1f;
  --ok: #a8b6ce; --warn: #f0a24a; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 顶部导航 ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 40px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 650; font-size: 16px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 12px; border-radius: 6px; background: var(--fg); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--bg); }
.brand small { color: var(--fg-3); font-weight: 400; font-size: 14px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-links { display: flex; gap: 30px; flex: 1; min-width: 0; }
.nav-links a { color: var(--fg-2); font-size: 15px; line-height: calc(var(--nav-h) - 2px); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-links a[aria-current] { color: var(--fg); border-bottom-color: var(--accent); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-raise); color: var(--fg-2); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: color-mix(in srgb, currentColor 32%, transparent); color: inherit; }
.nav .btn { height: 36px; padding: 0 16px; font-size: 14px; }

/* 手机上的主导航抽屉 */
.mnav { display: none; }

/* ── 效果图底板：与出图时的壁纸同色，左右淡出 ── */

/* ── 文档页 ── */
.doc { display: grid; grid-template-columns: 232px minmax(0, 1fr) 188px; gap: 56px; padding-block: 40px 96px; align-items: start; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; font-size: 14px; padding-right: 4px; }
.side-title { font-size: 18px; font-weight: 650; margin-bottom: 18px; color: var(--fg); }
.side h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; color: var(--fg-3); font-weight: 600; }
.side ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; }
.side a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--fg-2); line-height: 1.5; }
.side a:hover { background: var(--bg-soft); text-decoration: none; color: var(--fg); }
.side a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 24px); font-size: 13px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc h4 { margin: 0 0 10px; font-size: 12px; color: var(--fg-3); font-weight: 600; letter-spacing: .1em; }
.toc a { display: block; padding: 4px 0; color: var(--fg-3); line-height: 1.5; }
.toc a:hover { color: var(--fg); text-decoration: none; }
.toc a.on { color: var(--accent); }
.doc-menu { display: none; }

.crumb { font-size: 13px; color: var(--fg-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--fg-3); }
.article { min-width: 0; max-width: 780px; }
.article h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.25; font-weight: 700; margin-top: 14px; }
.lead { margin-top: 14px; font-size: 17px; color: var(--fg-2); line-height: 1.8; }
.article h2 { font-size: 24px; line-height: 1.35; font-weight: 650; margin-top: 64px; padding-top: 4px; }
.article h2:first-of-type { margin-top: 48px; }
.article h3 { font-size: 18px; font-weight: 650; margin-top: 36px; }
.article h4 { font-size: 15px; font-weight: 650; margin-top: 24px; }
.article p { margin-top: 14px; color: var(--fg-2); }
.article p strong, .article li strong { color: var(--fg); font-weight: 600; }
.article ul:not([class]), .article ol:not([class]) { margin: 14px 0 0; padding-left: 1.3em; color: var(--fg-2); display: grid; gap: 8px; }
.article code { font-family: var(--mono); font-size: .88em; background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--fg); overflow-wrap: anywhere; }
.article pre { margin: 18px 0 0; background: var(--code-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font: 13px/1.65 var(--mono); color: var(--fg); }
.article pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.codebox { position: relative; }
.codebox .copy { position: absolute; top: 8px; right: 8px; font: 12px var(--font); padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg-raise); color: var(--fg-2); cursor: pointer; }
.codebox .copy:hover { color: var(--fg); }
.tok-k { color: #c2185b; } .tok-s { color: #2e7d32; } .tok-c { color: var(--fg-3); font-style: italic; } .tok-n { color: #1565c0; }
:root[data-theme="dark"] .tok-k { color: #ff7ab2; } :root[data-theme="dark"] .tok-s { color: #8fd58c; } :root[data-theme="dark"] .tok-n { color: #7fb8ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tok-k { color: #ff7ab2; } :root:not([data-theme="light"]) .tok-s { color: #8fd58c; } :root:not([data-theme="light"]) .tok-n { color: #7fb8ff; } }

figure { margin: 24px 0 0; min-width: 0; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--fg-3); line-height: 1.6; }
figcaption b { color: var(--fg); font-weight: 600; }
.figs { display: grid; gap: 16px; margin-top: 24px; }
.figs figure { margin: 0; }
.figs.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figs.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figs .stage { height: 100%; min-height: 110px; }
.figs figure { display: flex; flex-direction: column; }
.figs figure .stage { flex: 1; }

.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { text-align: left; font-weight: 600; color: var(--fg-3); font-size: 12.5px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); white-space: nowrap; }
.spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
.spec tr:last-child td { border-bottom: 0; }
.spec td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.spec td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec td code { white-space: nowrap; }
.num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: 12px; line-height: 1.6; padding: 1px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--fg-3); white-space: nowrap; font-weight: 500; }
.tag.app { background: var(--accent-soft); color: var(--accent); }
.tag.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.tag.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }

.note { margin-top: 24px; border-radius: 12px; padding: 16px 18px; background: var(--accent-soft); color: var(--fg); font-size: 14.5px; }
.note > b:first-child { color: var(--accent); display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .04em; }
.note.warn { background: color-mix(in srgb, var(--warn) 10%, var(--bg)); }
.note.warn > b:first-child { color: var(--warn); }
.note p { margin-top: 6px; color: var(--fg-2); }
.rules { margin: 18px 0 0; display: grid; gap: 10px; padding: 0; list-style: none; }
.rules li { padding-left: 18px; position: relative; color: var(--fg-2); }
.rules li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--bg-raise); display: flex; flex-direction: column; gap: 6px; color: var(--fg); min-width: 0; }
a.card:hover { text-decoration: none; border-color: var(--accent); }
.card h3, .article .card h3 { margin: 0; font-size: 16px; }
.card p, .article .card p { margin: 0; font-size: 14px; color: var(--fg-2); }
.card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }

.tpl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 20px; align-items: start; }
.tpl figure { margin: 0; }
.tpl dl { margin-top: 0; }
.tpl .stage { padding: 20px 12px; }
.tpl h3, .article .tpl h3 { margin: 0; }
.tpl dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.tpl dt { color: var(--fg-3); white-space: nowrap; }
.tpl dd { margin: 0; color: var(--fg-2); }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.sw { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sw i { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.sw span { color: var(--fg-3); font-size: 12.5px; display: block; font-family: var(--mono); }

.pager { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; color: var(--fg); font-weight: 600; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager small { display: block; color: var(--fg-3); font-size: 12.5px; font-weight: 400; }
.pager .next { text-align: right; grid-column: 2; }

/* ── 页脚 ── */
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--fg-3); font-size: 13px; padding-block: 48px 32px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--fg); font-size: 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--fg-3); }
.foot a:hover { color: var(--fg); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── 平板 ── */
@media (max-width: 1180px) {
  .doc { grid-template-columns: 216px minmax(0, 1fr); gap: 40px; }
  .toc { display: none; }
}
/* ── 手机与竖放平板 ── */
@media (max-width: 860px) {
  .wrap { padding-inline: 16px; }
  .nav .wrap { gap: 12px; }
  .nav-links { display: none; }
  .brand small { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .mnav { display: block; position: fixed; inset: calc(env(safe-area-inset-top, 0px) + var(--nav-h)) 0 auto 0; z-index: 29; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 16px 32px rgba(0, 0, 0, .12); }
  .mnav[hidden] { display: none !important; }
  .mnav a { display: block; padding: 12px 4px; font-size: 16px; color: var(--fg); border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
  .mnav a[aria-current] { color: var(--accent); font-weight: 600; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 16px 64px; }
  .doc-menu { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--fg); font: 600 14px var(--font); cursor: pointer; }
  .side { position: static; max-height: none; display: none; margin-bottom: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
  .side.open { display: block; }
  .figs.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cards.c3 { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .article h2 { margin-top: 48px; }
}
@media (max-width: 520px) {
  .figs.c2, .figs.c3, .cards, .swatches { grid-template-columns: minmax(0, 1fr); }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .foot-cols { grid-template-columns: 1fr; }
  .lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ── 质感与动效 ── */
:root { --ease: cubic-bezier(.2, .8, .2, 1); --shadow-1: 0 1px 2px rgba(16, 24, 48, .06), 0 8px 24px rgba(16, 24, 48, .06); --shadow-2: 0 2px 6px rgba(16, 24, 48, .08), 0 18px 40px rgba(16, 24, 48, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .45); } }
:root[data-theme="dark"] { --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .45); }
.theming, .theming * { transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease) !important; }

.nav { transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.nav.scrolled { box-shadow: 0 6px 24px rgba(16, 24, 48, .08); }

.btn { transition: transform .15s var(--ease), filter .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent); }
.icon-btn { transition: color .2s, border-color .2s, transform .15s var(--ease); }
.icon-btn:active { transform: scale(.94); }
.nav-links a { position: relative; transition: color .2s; }
.side a { transition: background-color .2s, color .2s; }

.card, .entry, .tile, .step, .pager a, .dl-item { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }

/* 真实效果图 */
.shot { border-radius: 18px; overflow: hidden; background: #0c1020; box-shadow: var(--shadow-1); display: block; position: relative; }
.shot img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.figs .shot { height: auto; }

.toc { position: sticky; }
.toc-ind { position: absolute; left: -1px; top: 0; width: 2px; height: 20px; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease), height .3s var(--ease); }
.toc a { transition: color .2s; }


.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6, 9, 20, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .22s var(--ease); cursor: zoom-out; }
.lightbox.show { opacity: 1; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; height: auto; border-radius: 16px; transform: scale(.96); transition: transform .3s var(--ease); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox.show img { transform: none; }
.lightbox p { color: #d8deeb; font-size: 14px; margin-top: 14px; text-align: center; }

.codebox .copy { transition: color .2s, border-color .2s, background-color .2s; }
.codebox .copy.ok { color: var(--ok); border-color: var(--ok); }

@media (prefers-reduced-motion: reduce) { .rise { transform: none; } }
.spec td strong { white-space: nowrap; }

/* 产品展示与文档采用中性底色，颜色只出现在功能画面中。 */
.nav { background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; }
.nav .wrap { justify-content:space-between; gap:28px; }
.nav-links { flex:none; }
.nav-tools { margin-left:0; }
.btn-primary, .nav.scrolled { box-shadow:none; }
.btn-primary { background:var(--fg); color:var(--bg); }
.shot { background:transparent; border-radius:10px; box-shadow:none; }
.foot { background:var(--bg); padding-block:28px; }
.foot .brand + p { margin-top:5px; }
.foot-cols { grid-template-columns:1.4fr repeat(3,1fr); gap:28px; }
.foot-legal { margin-top:25px; padding-top:14px; }
.opening { padding-block:36px 50px; }
.opening-title { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.opening h1 { font-size:clamp(35px,4vw,56px); line-height:1.12; letter-spacing:-.035em; font-weight:680; }
.opening-title p { margin-top:9px; color:var(--fg-2); font-size:clamp(14px,1.6vw,19px); }
.opening-title .btn { flex:none; }
.opening-demos, .finish-demos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.product-demo, .island-forms figure { margin:0; }
.demo-media { position:relative; overflow:hidden; background:transparent; border-radius:12px; }
.demo-media video, .demo-media img { width:100%; height:auto; display:block; }
.demo-media video { aspect-ratio:1272/790; object-fit:contain; }
.demo-play { position:absolute; right:10px; bottom:10px; color:#fff; background:#27272dbb; border:1px solid #ffffff65; border-radius:99px; font:500 12px var(--font); padding:4px 10px; cursor:pointer; }
.product-demo figcaption { color:var(--fg-2); font-size:14px; margin-top:10px; }
.product-demo figcaption a { color:var(--fg); font-size:18px; font-weight:600; }
.product-demo figcaption span { display:block; margin-top:3px; }
.island-forms { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:28px; gap:20px; }
.island-forms img { width:100%; aspect-ratio:1272/176; object-fit:contain; border-radius:6px; }
.island-forms figcaption { color:var(--fg-2); margin-top:5px; font-size:13px; }
.product-story, .finishes { border-top:1px solid var(--line); padding-block:60px; }
.product-story { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); align-items:center; gap:56px; }
.story-copy h2 { font-size:clamp(26px,3vw,40px); line-height:1.3; font-weight:650; letter-spacing:-.025em; }
.story-copy p { margin:15px 0; color:var(--fg-2); max-width:34em; }
.story-copy a { font-size:14px; text-decoration:underline; text-underline-offset:4px; }
.finishes .story-copy { margin-bottom:26px; }
.product-lower { border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px; padding-block:38px 60px; }
.product-lower h2 { font-size:21px; }
.product-lower p { margin:10px 0; color:var(--fg-2); }
.product-lower a { margin-right:16px; font-size:14px; }
.doc { grid-template-columns:200px minmax(0,1fr) 152px; gap:36px; padding-block:32px 72px; }
.side h4,.toc h4 { letter-spacing:normal; font-size:13px; }
.side a { padding:6px 10px; }
.article { max-width:820px; }
.article h1 { font-size:34px; font-weight:650; }
.article h2 { margin-top:42px; padding-top:16px; border-top:1px solid var(--line); font-size:23px; }
.article h2:first-of-type { margin-top:32px; }
.article .lead { font-size:16px; }
.tpl { grid-template-columns:minmax(0,1fr); gap:14px; }
.tpl figure { max-width:700px; }
.tpl dl { grid-template-columns:52px minmax(0,1fr); line-height:1.8; }
.card,.pager a,.note { border-radius:8px; box-shadow:none; }
.pager a:hover { transform:none; box-shadow:none; }
@media(max-width:1180px) { .doc { grid-template-columns:190px minmax(0,1fr); gap:30px; } }
@media(max-width:860px) {
  .doc { grid-template-columns:minmax(0,1fr); }
  .product-story { grid-template-columns:minmax(0,1fr); gap:24px; }
  .foot-cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .opening { padding-block:24px 30px; }
  .opening-title { align-items:start; gap:12px; margin-bottom:18px; }
  .opening-title p { max-width:18em; font-size:13px; }
  .opening .btn { height:33px; padding-inline:13px; font-size:12px; }
  .opening-demos,.finish-demos { gap:9px; }
  .product-demo figcaption { font-size:12px; line-height:1.5; }
  .product-demo figcaption a { font-size:15px; }
  .product-demo figcaption span { font-size:12px; }
  .demo-play { bottom:5px; right:5px; padding:2px 6px; font-size:10px; }
  .island-forms { grid-template-columns:minmax(0,1fr); gap:8px; margin-top:19px; }
  .island-forms figure { display:flex; align-items:center; gap:10px; }
  .island-forms img { width:calc(100% - 63px); }
  .island-forms figcaption { margin:0; font-size:12px; white-space:nowrap; }
  .product-story,.finishes { padding-block:32px; }
  .product-lower { grid-template-columns:minmax(0,1fr); gap:27px; padding-block:30px; }
  .foot-cols { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .foot-cols>div:first-child { grid-column:1/-1; }
  .article h1 { font-size:29px; }
}

