/* 镜像首屏 */
.hero { position: relative; overflow: hidden; overflow-x: clip; background: var(--bg); color: var(--text); min-height: calc(100vh - var(--nav-h) - var(--peek)); min-height: calc(100svh - var(--nav-h) - var(--peek)); display: grid; align-content: center; padding-block: 40px; }
.hero-inner, .next-inner { width: 100%; max-width: calc(1280px + var(--hero-gutter) * 2); padding-inline: var(--hero-gutter); margin-inline: auto; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; max-width: 100%; padding: 3px 14px 3px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--badge-bg); color: var(--text-muted); font-size: 13px; overflow-wrap: anywhere; }
.badge b { font-weight: 500; color: var(--text); }
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--accent); box-shadow: 0 0 0 4px var(--mint-ring), 0 0 12px var(--glow-mint); }
.hero-title { margin: 24px 0 0; font-size: var(--type-h1); line-height: 1.17; letter-spacing: 0; text-wrap: wrap; }
.hero-title > span { display: block; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-title { background: linear-gradient(118deg, var(--h1-a) 0%, var(--h1-b) 55%, var(--h1-c) 100%); -webkit-background-clip: text; background-clip: text; color: var(--clear); -webkit-text-fill-color: var(--clear); }
}
@media (forced-colors: active) {
  .hero-title { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
}
.cta-row { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-meta { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.hero-desc { margin: 0; max-width: 31em; font-size: var(--type-body); line-height: 1.8; color: var(--text-muted); }
.hero-desc strong { font-weight: 500; color: var(--text); }
.platforms { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-md); font-size: 13px; color: var(--text); transition: border-color .2s ease, background-color .2s ease; }
.platforms svg { width: 15px; height: 15px; color: var(--text-muted); transition: color .2s ease; }
.platforms .ico-tux { width: 14px; height: 16px; }
.platforms a:hover { border-color: var(--accent); background: var(--glow-mint-soft); color: var(--text); }
.platforms a:hover svg { color: var(--accent); }

.rig-slot { position: relative; height: 600px; pointer-events: none; }
.rig { position: absolute; left: 0; top: 0; width: 682px; height: 600px; transform-origin: left top; }
.rig-field { position: absolute; inset: -40px; background-image: radial-gradient(circle, var(--text-muted) 1px, var(--clear) 1.5px); background-size: 16px 16px; opacity: .2; -webkit-mask-image: radial-gradient(ellipse 58% 52% at 62% 38%, var(--mask-on), var(--clear) 76%); mask-image: radial-gradient(ellipse 58% 52% at 62% 38%, var(--mask-on), var(--clear) 76%); }
.rig-glow { position: absolute; border-radius: var(--r-pill); }
.rig-glow--a { left: 380px; top: 290px; width: 440px; height: 440px; background: radial-gradient(closest-side, var(--glow-mint), var(--clear)); }
.rig-glow--b { left: 170px; top: 410px; width: 320px; height: 300px; background: radial-gradient(closest-side, var(--glow-pink), var(--clear)); }
.rig-glow--c { left: 500px; top: 60px; width: 240px; height: 240px; background: radial-gradient(closest-side, var(--glow-mint-soft), var(--clear)); }
.rig-tiles { position: absolute; left: 18px; top: 8px; display: grid; grid-template-columns: repeat(10, 64px); grid-template-rows: repeat(9, 64px); }
.tile { display: block; }
.tile--solid { background: var(--tile-mint); }
.tile--deep { background: var(--tile-deep); box-shadow: inset 0 0 0 1px var(--line-soft); }
.tile--dot { background-image: radial-gradient(circle, var(--accent) 1.2px, var(--clear) 1.7px); background-size: 8px 8px; opacity: .55; }
.tile:nth-child(1) { grid-area: 1 / 3; }
.tile:nth-child(2) { grid-area: 2 / 2; }
.tile:nth-child(3) { grid-area: 2 / 3 / 3 / 5; }
.tile:nth-child(4) { grid-area: 3 / 1; }
.tile:nth-child(5) { grid-area: 3 / 2; }
.tile:nth-child(6) { grid-area: 3 / 4; }
.tile:nth-child(7) { grid-area: 1 / 8; }
.tile:nth-child(8) { grid-area: 2 / 8 / 3 / 10; }
.tile:nth-child(9) { grid-area: 2 / 10; }
.tile:nth-child(10) { grid-area: 3 / 9; }
.tile:nth-child(11) { grid-area: 4 / 10; }
.tile:nth-child(12) { grid-area: 5 / 8; }
.tile:nth-child(13) { grid-area: 6 / 9; }
.tile:nth-child(14) { grid-area: 7 / 8; }
.tile:nth-child(15) { grid-area: 8 / 9; }
.tile:nth-child(16) { grid-area: 6 / 1; }
.tile:nth-child(17) { grid-area: 7 / 2; }
.tile:nth-child(18) { grid-area: 9 / 7; }
.rig-beam { position: absolute; left: -80px; top: 360px; width: 420px; height: 280px; background: radial-gradient(circle, var(--accent-2) 1.3px, var(--clear) 1.9px) 0 0 / 7px 7px, linear-gradient(20deg, var(--clear) 10%, var(--beam-soft) 70%); clip-path: polygon(0 62%, 82% 36%, 86% 52%, 22% 100%); -webkit-mask-image: linear-gradient(68deg, var(--clear) 6%, var(--mask-on) 48%); mask-image: linear-gradient(68deg, var(--clear) 6%, var(--mask-on) 48%); animation: beam-in 1.6s ease-out .2s both; }
.phone { position: absolute; left: 210px; top: 16px; width: 260px; height: 568px; padding: 6px; border: 2px solid var(--accent); border-radius: var(--r-phone); background: var(--bg-panel); color: var(--text); box-shadow: var(--sh-phone); }
.phone::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 28px var(--glow-mint-soft); animation: halo 8s ease-in-out infinite; }
.screen { position: relative; height: 100%; padding: 0 16px; border-radius: var(--r-screen); background: var(--fog); color: var(--fog-ink); overflow: hidden; display: flex; flex-direction: column; }
.screen > * { flex-shrink: 0; }
.scr-island { height: 34px; display: flex; justify-content: center; padding-top: 9px; }
.scr-island i { display: block; width: 78px; height: 22px; border-radius: var(--r-pill); background: var(--fog-ink); }
.scr-bar { height: 44px; display: flex; align-items: center; gap: 8px; }
.scr-bar svg { width: 18px; height: 18px; }
.scr-bar span { font-size: 15.5px; font-weight: 600; letter-spacing: .005em; }
.scr-label { height: 18px; margin-top: 14px; padding-left: 4px; font-size: 11px; line-height: 18px; color: var(--fog-muted); letter-spacing: .04em; }
.scr-label--first { margin-top: 8px; }
.seg { height: 36px; margin-top: 4px; padding: 3px; display: flex; border-radius: var(--r-md); background: var(--fog-track); color: var(--fog-muted); }
.seg span { flex: 1; display: grid; place-items: center; font-size: 12.5px; border-radius: var(--r-sm); }
.seg .seg-on { background: var(--fog-card); color: var(--fog-ink); font-weight: 500; box-shadow: 0 1px 3px var(--shadow-light); }
.scr-list { margin-top: 4px; border-radius: var(--r-lg); background: var(--fog-card); color: var(--fog-ink); box-shadow: 0 0 0 1px var(--fog-line); }
.scr-row { height: 46px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; border-bottom: 1px solid var(--fog-line); }
.scr-row:last-child { border-bottom: 0; }
.scr-row code { font-size: 11px; color: var(--fog-muted); }
.sw { position: relative; width: 34px; height: 20px; border-radius: var(--r-pill); background: var(--switch-off); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: var(--r-pill); background: var(--fog-card); box-shadow: 0 1px 2px var(--shadow-light); }
.sw--on { background: var(--accent-dark); }
.sw--on::after { left: 16px; }
.scr-btn { height: 42px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: var(--r-lg); background: var(--fog-ink); color: var(--fog); font-size: 13.5px; font-weight: 500; }
.scr-btn svg { width: 15px; height: 15px; }
.scr-home { position: absolute; inset: auto 0 9px; width: 92px; height: 4px; margin-inline: auto; border-radius: var(--r-pill); background: var(--fog-ink); opacity: .28; }
.rig-wires { position: absolute; left: 0; top: 0; overflow: visible; }
.rig-wires path { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .75; }
.rig-wires .node { fill: var(--accent); }
.rig-wires .node-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .45; }
.rig-wires .cap { fill: var(--bg); stroke: var(--accent); stroke-width: 1.2; }
.fcard { position: absolute; border-radius: var(--r-md); background: var(--fog-card); color: var(--fog-ink); border: 1px solid var(--card-line); box-shadow: var(--sh-float); overflow: hidden; animation: drift 7.5s ease-in-out infinite; }
.fcard--dns { left: 0; top: 56px; width: 224px; animation-duration: 7.4s; }
.fcard--rules { left: 452px; top: 206px; width: 230px; animation-duration: 8.6s; animation-delay: -3s; }
.fcard--group { left: 462px; top: 432px; width: 200px; animation-duration: 6.6s; animation-delay: -5s; }
.chrome { min-height: 30px; padding: 4px 10px; display: flex; align-items: center; gap: 5px; background: var(--fog); color: var(--fog-ink); border-bottom: 1px solid var(--card-line); }
.cdot { width: 8px; height: 8px; border-radius: var(--r-pill); }
.cdot--r { background: var(--error); }
.cdot--y { background: var(--warn); }
.cdot--g { background: var(--success); }
.chrome-title { min-width: 0; margin-left: 6px; font: 10.5px/1.5 var(--font-mono); color: var(--fog-muted); overflow-wrap: anywhere; }
.ctag, .status { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 2px 8px; border-radius: var(--r-xs); font-size: var(--type-micro); font-weight: 500; overflow-wrap: anywhere; }
.ctag { margin-left: auto; min-height: 18px; padding: 0 6px; font-size: 10px; line-height: 18px; }
.ctag--mint { background: var(--tag-mint-bg); color: var(--tag-mint-ink); }
.ctag--pink { background: var(--tag-pink-bg); color: var(--tag-pink-ink); }
.ctag--violet { background: var(--tag-violet-bg); color: var(--tag-violet-ink); }
.fcard .code { padding: 12px; background: var(--fog-card); color: var(--fog-ink); font-size: 10.5px; line-height: 20px; }
.ln { display: block; white-space: pre; }
.ln-hit { margin-inline: -12px; padding-inline: 12px; background: var(--hit-row); color: var(--fog-ink); box-shadow: inset 2px 0 0 var(--accent-dark); }
pre.code .k { color: var(--code-key); }
pre.code .p { color: var(--fog-muted); }
pre.code .v { color: var(--code-val); font-weight: 500; }
.next { background: var(--bg-panel); color: var(--text); border-top: 1px solid var(--line-soft); padding-block: 28px 96px; }
.next-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.next h2 { margin: 10px 0 0; font-size: 30px; line-height: 1.3; }
.next-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { min-width: 0; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--bg-panel-2); color: var(--text); }
.step h3 { margin: 0; font-size: 17px; font-weight: 500; }
.step p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--text-muted); }
.step code { font-size: 13px; color: var(--text); }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes beam-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes halo { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes tab-elapse { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 标签页与内核资料浏览器 */
.tabs { min-width: 0; }
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs [role="tab"] { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 8px 15px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg-panel); color: var(--text); text-align: center; overflow-wrap: anywhere; }
.tabs [role="tab"]:hover:not(:disabled) { border-color: var(--accent); }
.tabs [role="tab"][aria-selected="true"] { border-color: var(--accent); background: var(--bg-panel-2); color: var(--accent); }
.tabs [role="tabpanel"] { min-width: 0; }
.feature-band { padding: clamp(18px, 5vw, 62px); border-radius: var(--r-band); background: linear-gradient(var(--band-shade), var(--band-shade)), linear-gradient(128deg, var(--band-a), var(--band-b) 52%, var(--band-c)); color: var(--nav-surface); box-shadow: var(--sh-float); }
.feature-head { text-align: center; margin-bottom: 32px; }
.feature-head .eyebrow { color: var(--nav-surface); }
.feature-head h2 { margin: 10px 0 0; }
.feature-browser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: 16px 24px; align-items: start; }
.feature-browser [role="tablist"] { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
.feature-browser [role="tab"] { width: 100%; justify-content: flex-start; text-align: start; border: 0; border-inline-start: 2px solid var(--h1-b); background: var(--band-c); color: var(--nav-surface); }
.feature-browser [role="tab"][aria-selected="true"] { border-inline-start-color: var(--accent); background: var(--band-c); color: var(--h1-a); }
.feature-browser.is-playing [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: var(--r-pill); background: var(--accent); transform-origin: left; animation: tab-elapse var(--tab-cycle) linear both; }
.feature-panel { border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--band-panel); color: var(--fog-ink); box-shadow: var(--sh-float); }
.feature-panel .chrome { border-radius: var(--r-md) var(--r-md) 0 0; }
.feature-body { padding: clamp(14px, 3vw, 28px); }
.feature-body pre { background: var(--fog-card); color: var(--fog-ink); border: 1px solid var(--fog-line); }
.feature-browser .tab-pause { grid-column: 1 / -1; justify-self: start; background: var(--band-c); color: var(--nav-surface); border-color: var(--h1-c); }
.fact-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 26px 0 0; }
.fact-band > div { min-width: 0; padding: 10px clamp(6px, 2vw, 16px); background: var(--band-c); color: var(--nav-surface); border-radius: var(--r-xs); border-top: 2px solid var(--accent); overflow-wrap: break-word; }
.fact-band > div:nth-child(2) { border-top-color: var(--accent-2); }
.fact-band > div:nth-child(3) { border-top-color: var(--accent-3); }
.fact-band dt { font-size: var(--type-micro); }
.fact-band dd { margin: 0; font: var(--type-small)/1.5 var(--font-mono); }

/* 查阅与下载 */
.toc-tabs { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; max-width: 100%; padding: 8px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-float); }
.toc-tabs.is-static { position: static; }
.toc-tabs a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 4px 12px; border-radius: var(--r-sm); color: var(--accent); }
.toc-tabs a:hover { background: var(--bg-panel-2); color: var(--text); }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--bg-panel); color: var(--text); }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { padding: 14px 18px; cursor: pointer; }
.faq-item summary::marker { color: var(--accent); }
.faq-item[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq-answer { padding: 14px 18px; color: var(--text-muted); }
.term-card { border-inline-start: 2px solid var(--accent); }
.term-card .eyebrow { margin-bottom: 10px; }
.client-heading { display: flex; align-items: flex-start; gap: 14px; }
.app-icon { width: 56px; height: 56px; flex-shrink: 0; }
.client-heading > div { min-width: 0; }
.client-card p, .post-card p, .term-card p:not(.eyebrow) { color: var(--text-muted); }
.client-card .chip-row { margin-block: 12px; }
.client-card .client-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.client-card [data-rev] { font: var(--type-micro)/1.5 var(--font-mono); color: var(--text-muted); }
.status--first { background: var(--accent); color: var(--ink-on-accent); }
.status--recommend { background: var(--h1-c); color: var(--ink-on-accent); }
.status--ended { background: var(--h1-b); color: var(--ink-on-accent); }
.post-card { display: flex; flex-direction: column; }
.post-card h3 { margin-top: 12px; }
.post-card h3 a:hover { color: var(--accent); }
.post-card time { font: var(--type-micro)/1.5 var(--font-mono); color: var(--text-muted); }
.post-card > .link-arrow { margin-top: auto; align-self: start; }
.callout { margin: 18px 0; padding: 16px 18px; border-inline-start: 2px solid var(--accent); border-radius: var(--r-sm); background: var(--bg-panel-2); color: var(--text); }
.table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; }
.data-table, .prose table, .article-body table { width: 100%; border-collapse: collapse; background: var(--bg-panel); color: var(--text); text-align: start; }
.prose table, .article-body table, .data-table:not(.table-wrap > .data-table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }
.data-table th, .data-table td, .prose table :is(th, td), .article-body table :is(th, td) { min-width: 7em; padding: 10px 14px; border: 1px solid var(--border); text-align: start; overflow-wrap: normal; word-break: normal; }
.data-table th, .prose table th, .article-body table th { background: var(--bg-panel-2); color: var(--text); }
.dl-fab { position: fixed; z-index: 20; right: max(var(--gutter), env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); max-width: calc(100% - var(--gutter) * 2); min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink-on-accent); font-weight: 600; box-shadow: var(--sh-cta), var(--sh-float); }
.dl-fab:hover { transform: translateY(-1px); }
.dl-fab__icon { flex-shrink: 0; }
.article-download { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-block: 32px; border-inline-start: 2px solid var(--accent); }
.article-download h2 { margin: 0 0 8px; font-size: var(--type-h3); }
.article-download p { color: var(--text-muted); }
.has-dl-fab .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

/* 静态预览 */
.preview-stack { display: grid; min-width: 0; gap: 28px; }
.preview-stack > * { min-width: 0; }
.swatch-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 124px), 1fr)); gap: 8px; }
.swatch-grid li { min-width: 0; padding: 7px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--bg-panel); color: var(--text); font-size: var(--type-micro); }
.swatch-grid i { display: block; height: 28px; margin-bottom: 4px; border: 1px solid var(--line-soft); border-radius: var(--r-xs); background: var(--swatch); }
.s-bg { --swatch: var(--bg); } .s-bg-panel { --swatch: var(--bg-panel); } .s-bg-panel-2 { --swatch: var(--bg-panel-2); } .s-border { --swatch: var(--border); }
.s-accent { --swatch: var(--accent); } .s-accent-dark { --swatch: var(--accent-dark); } .s-text { --swatch: var(--text); } .s-text-muted { --swatch: var(--text-muted); }
.s-success { --swatch: var(--success); } .s-warn { --swatch: var(--warn); } .s-error { --swatch: var(--error); } .s-nav-surface { --swatch: var(--nav-surface); }
.s-nav-ink { --swatch: var(--nav-ink); } .s-nav-muted { --swatch: var(--nav-muted); } .s-nav-line { --swatch: var(--nav-line); } .s-nav-hover { --swatch: var(--nav-hover); }
.s-accent-2 { --swatch: var(--accent-2); } .s-accent-3 { --swatch: var(--accent-3); } .s-band-a { --swatch: var(--band-a); } .s-band-b { --swatch: var(--band-b); }
.s-band-c { --swatch: var(--band-c); } .s-ink-on-accent { --swatch: var(--ink-on-accent); } .s-h1-a { --swatch: var(--h1-a); } .s-h1-b { --swatch: var(--h1-b); }
.s-h1-c { --swatch: var(--h1-c); } .s-fog { --swatch: var(--fog); } .s-fog-card { --swatch: var(--fog-card); } .s-fog-ink { --swatch: var(--fog-ink); }
.s-fog-muted { --swatch: var(--fog-muted); } .s-fog-line { --swatch: var(--fog-line); } .s-fog-track { --swatch: var(--fog-track); } .s-switch-off { --swatch: var(--switch-off); }
.s-code-key { --swatch: var(--code-key); } .s-code-val { --swatch: var(--code-val); } .s-tag-mint-bg { --swatch: var(--tag-mint-bg); } .s-tag-mint-ink { --swatch: var(--tag-mint-ink); }
.s-tag-pink-bg { --swatch: var(--tag-pink-bg); } .s-tag-pink-ink { --swatch: var(--tag-pink-ink); } .s-tag-violet-bg { --swatch: var(--tag-violet-bg); } .s-tag-violet-ink { --swatch: var(--tag-violet-ink); }
.s-hit-row { --swatch: var(--hit-row); } .s-line-soft { --swatch: var(--line-soft); } .s-badge-bg { --swatch: var(--badge-bg); } .s-glow-mint { --swatch: var(--glow-mint); }
.s-glow-mint-soft { --swatch: var(--glow-mint-soft); } .s-glow-pink { --swatch: var(--glow-pink); } .s-beam-soft { --swatch: var(--beam-soft); } .s-tile-mint { --swatch: var(--tile-mint); }
.s-tile-deep { --swatch: var(--tile-deep); } .s-mint-ring { --swatch: var(--mint-ring); } .s-shadow-deep { --swatch: var(--shadow-deep); } .s-shadow-mid { --swatch: var(--shadow-mid); }
.s-shadow-light { --swatch: var(--shadow-light); } .s-card-line { --swatch: var(--card-line); } .s-mask-on { --swatch: var(--mask-on); } .s-veil { --swatch: var(--veil); }
.s-band-panel { --swatch: var(--band-panel); } .s-band-shade { --swatch: var(--band-shade); } .s-clear { --swatch: var(--clear); }
@media (max-width: 1375px) {
  .rig { transform: scale(.88); }
  .rig-slot { height: 528px; }
}
@media (max-width: 1180px) {
  .rig { transform: scale(.76); }
  .rig-slot { height: 456px; }
}
@media (max-width: 1050px) and (min-width: 981px) {
  .rig { transform: scale(.65); }
  .rig-slot { height: 390px; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .hero-copy { grid-row: 1; }
  .rig-slot { width: 518px; max-width: 100%; margin-inline: auto; }
  .next-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-block: 32px 48px; }
  .hero-inner { row-gap: 34px; }
  .rig { transform: scale(.48); }
  .rig-slot { width: 328px; height: 288px; }
  .cta-row { gap: 16px; }
  .platforms { justify-content: center; }
  .feature-browser, .article-download { grid-template-columns: minmax(0, 1fr); }
  .feature-browser [role="tablist"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-download .btn-primary { justify-self: start; }
}
@media (max-width: 367px) {
  .rig { transform: scale(.41); }
  .rig-slot { width: 280px; height: 246px; }
  .platforms a { padding-inline: 9px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard, .rig-beam, .phone::before, .feature-browser.is-playing [role="tab"][aria-selected="true"]::after { animation: none; }
  .platforms a, .platforms svg { transition: none; }
}