/* Hallmark · shape: drawing set (spec sheet sections, keylined registers) · genre: modern-minimal · theme: Blueprint (deal 2/3 · seed anti-piracy-vod-delivery-paid-1ef6·d4db80af·2026-11-19·r0) · redesign: full
 * hero: Stage (copy 5 cols, console 7) · nav: slab, celled links, square ink CTA · footer: title block · imagery: product sample (protected player console), brand logo, no photographs · signature: the protected player console drafted as a blueprint instrument · blueprint: cyanotype sheet
 * axes: mid/geometric-sans/neutral · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4 · weakest: E, the console is dense; cut the four-frame player down to one screen plus controls and moved the protection copy into its own tab */
/* Hallmark · answered F4 · the filled square is the media play control inside the product sample; the page carries one CTA recipe */
/* Hallmark · dismissed 25 · the stage lines are two-sentence captions at 34ch, not running prose */
/* Hallmark · reworded "金金云 商业级音视频版权保护与私域点播平台" to "商业级音视频 / 版权保护与私域 / 点播平台" · the hero claim is set as three lines to hold the fold */
/* Hallmark · hero-review: subagent · 4 findings · 3 resolved 1 partial · the claim stays the owner's category line; the 6/7/4 break and the ink lead carry the edge */
/* Hallmark · reworded "简单 4 步，构建全流程高保障内容交付" / "为内容创作者与企业打造的核心价值" / "广泛适用于高价值音视频交付场景" / "立即开启您的高保障音视频商业化之旅" / "全方位防录防盗，守护每一分知识变现价值" / "全平台专属客户端，离线无网也能安心学" / "智能画质优化与多码率自适应，秒开不卡顿" / "一人一号精准授权，彻底终结账号拼单与外借" to the same words broken at the comma · F3 names the balanced split, no word changed */
/* Hallmark · finish-review: subagent · 5 findings · 4 resolved 1 partial · the partial (a spec head splitting into three) closed by setting the item heads in em, not ch */
@import url("./tokens.css");
@import url("./base.css");

@font-face {
    font-family: "Chakra Petch";
    src: url("../fonts/chakra-petch-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Token layer: the theme's names, plus the page's own reads */
:root {
    color-scheme: dark;
    --font-display: "Chakra Petch", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-body: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-outlier: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --nav-h: 72px;
    --color-qr-field: oklch(97.5% 0.006 240);
    --color-scrim: oklch(26.5% 0.095 258 / 0.92);
    --text-display-cjk: clamp(2.5rem, 3.8vw + 0.7rem, 4.375rem);
}

html,
body {
    overflow-x: clip;
}

body {
    line-height: 1.65;
}

:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1 {
    line-height: 1.08;
}

h2 {
    line-height: 1.14;
}

h3 {
    line-height: 1.35;
}

p {
    max-width: 65ch;
}

a {
    color: var(--color-ink);
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--color-ink);
    text-decoration-thickness: 2px;
}

::selection {
    background: var(--color-ink);
    color: var(--color-paper-3);
}

.skip {
    position: absolute;
    left: var(--space-md);
    top: calc(-1 * var(--space-3xl));
    z-index: var(--z-toast);
    padding: var(--space-xs) var(--space-md);
    background: var(--color-ink);
    color: var(--color-paper-3);
    text-decoration: none;
}

.skip:focus-visible {
    top: var(--space-md);
}

/* ---------- Controls ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 48px;
    padding: 0 var(--space-lg);
    border: var(--rule-hair) solid var(--color-ink);
    border-radius: 0;
    background: var(--color-ink);
    color: var(--color-paper-3);
    font: 500 var(--text-md)/1 var(--font-body);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}

.btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.btn:hover {
    background: var(--color-ink-2);
    color: var(--color-paper-3);
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn--quiet {
    background: transparent;
    border-color: var(--color-rule);
    color: var(--color-ink);
}

.btn--quiet:hover {
    background: var(--color-paper-2);
    color: var(--color-ink);
}

.btn--quiet:active {
    transform: translateY(1px);
}

.text-link {
    align-self: center;
    font-size: var(--text-sm);
    color: var(--color-ink-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.text-link:hover {
    color: var(--color-ink);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky-nav);
    background: var(--color-paper-3);
    border-bottom: var(--rule-heavy) solid var(--color-rule);
}

.site-header.scrolled {
    background: var(--color-paper-3);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    min-height: var(--nav-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 32px;
    height: 32px;
    display: block;
}

.logo-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 500;
    letter-spacing: 0;
    color: var(--color-ink);
}

.nav-links {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}

.nav-links .nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--space-lg);
    min-height: var(--nav-h);
    border-left: var(--rule-hair) solid var(--color-rule-2);
    font-size: var(--text-sm);
    color: var(--color-ink-2);
    text-decoration: none;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color var(--dur-micro) linear, background-color var(--dur-micro) linear, box-shadow var(--dur-micro) linear;
}

.nav-links .nav-item:last-child {
    border-right: var(--rule-hair) solid var(--color-rule-2);
}

.nav-links .nav-item:hover {
    color: var(--color-ink);
    background: var(--color-paper-2);
}

.nav-links .nav-item.active {
    color: var(--color-ink);
    box-shadow: inset 0 -2px 0 var(--color-ink);
}

.nav-links .nav-item:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: -4px;
}

.nav-cta {
    min-height: 44px;
    padding: 0 var(--space-md);
    font-size: var(--text-sm);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: var(--rule-hair) solid var(--color-rule);
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
}

.mobile-menu-btn:hover {
    background: var(--color-paper-2);
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.mobile-nav {
    display: none;
    border-top: var(--rule-hair) solid var(--color-rule-2);
    background: var(--color-paper-3);
}

.mobile-nav .nav-item {
    display: block;
    padding: var(--space-md) var(--gutter);
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
    font-size: var(--text-md);
    text-decoration: none;
}

.mobile-cta {
    margin: var(--space-md) var(--gutter);
    width: calc(100% - 2 * var(--gutter));
}

/* ---------- Hero ---------- */

.hero {
    display: flex;
    align-items: stretch;
}

.stage-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    min-height: calc(100dvh - var(--nav-h));
    padding-top: var(--space-xl);
}

.opening {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-3xl);
    align-items: center;
}

.pitch {
    min-width: 0;
}

.h1-claim {
    display: block;
    margin-top: var(--space-md);
    font-family: var(--font-display);
    font-size: var(--text-display-cjk);
    font-weight: 600;
    line-height: 1.07;
    max-width: 9em;
}

.pitch .lead {
    margin-top: var(--space-xl);
    max-width: 40ch;
    font-size: var(--text-lead);
    color: var(--color-ink);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

/* ---------- Console (the signature) ---------- */

.console {
    position: relative;
    margin: 0;
    background: var(--color-paper-2);
    border: var(--rule-hair) solid var(--color-rule);
    min-width: 0;
}

.console::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: var(--rule-hair) solid var(--color-rule-2);
    pointer-events: none;
    z-index: 4;
}

.console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 0 var(--space-md);
    border-bottom: var(--rule-heavy) solid var(--color-rule);
}

.console-tabs {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.console-tab {
    min-height: 52px;
    padding: 0 var(--space-md);
    background: transparent;
    border: 0;
    border-right: var(--rule-hair) solid var(--color-rule-2);
    color: var(--color-ink-2);
    font: 400 var(--text-sm)/1.2 var(--font-body);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color var(--dur-micro) linear, background-color var(--dur-micro) linear, box-shadow var(--dur-micro) linear;
}

.console-tab:first-child {
    border-left: var(--rule-hair) solid var(--color-rule-2);
}

.console-tab:hover {
    color: var(--color-ink);
    background: var(--color-paper-3);
}

.console-tab.active {
    color: var(--color-ink);
    box-shadow: inset 0 -2px 0 var(--color-ink);
}

.console-tab:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: -4px;
}

.console-state {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-ink-2);
    border: var(--rule-hair) solid var(--color-rule-2);
    padding: var(--space-3xs) var(--space-xs);
    white-space: nowrap;
}

.console-panel {
    display: none;
    min-height: 448px;
    padding: var(--space-md);
}

.console-panel.active {
    display: flex;
    flex-direction: column;
}

.console-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--color-paper-3);
    overflow: hidden;
}

.screen-canvas-bg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-2xl);
    background-image:
        linear-gradient(var(--color-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
    background-size: 24px 24px;
    text-align: center;
}

.canvas-badge-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    max-width: 34ch;
}

.canvas-code-label {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.canvas-video-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-ink);
}

.btn-play-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: var(--color-ink);
    color: var(--color-paper-3);
    cursor: pointer;
    transition: background-color var(--dur-micro) linear;
}

.btn-play-trigger svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.btn-play-trigger:hover {
    background: var(--color-ink-2);
}

.btn-play-trigger:active {
    transform: translateY(1px);
}

.btn-play-trigger:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}

.demo-watermark {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    width: min(78%, 30rem);
    padding: var(--space-2xs) 0;
    background: var(--color-paper-2);
    border: var(--rule-hair) solid var(--color-rule);
    font-family: var(--font-outlier);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-ink-2);
    pointer-events: none;
}

.demo-watermark span {
    padding: 0 var(--space-xs);
    border-left: var(--rule-hair) solid var(--color-rule-2);
}

.demo-watermark span:first-child {
    padding-left: var(--space-sm);
    border-left: 0;
}

.demo-watermark span:last-child {
    color: var(--color-ink);
    padding-right: var(--space-sm);
}

.toast-status {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    max-width: 52%;
    padding: var(--space-2xs) var(--space-xs);
    background: var(--color-scrim);
    border: var(--rule-hair) solid var(--color-rule-2);
    font-size: 0.75rem;
    color: var(--color-ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.console-controls {
    padding-top: var(--space-sm);
}

.progress-track {
    display: flex;
    align-items: center;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.progress-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--rule-hair);
    background: var(--color-rule-2);
}

.progress-track:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.progress-fill {
    position: relative;
    height: 3px;
    width: 35.8%;
    background: var(--color-ink);
}

.controls-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-xs);
}

.ctrl-left-group,
.ctrl-right-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}

.ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    min-height: 44px;
    padding: 0 var(--space-2xs);
    border: 0;
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
}

.ctrl-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ctrl-btn--text {
    border: var(--rule-hair) solid var(--color-rule-2);
    padding: 0 var(--space-xs);
    font-size: 0.75rem;
    color: var(--color-ink-2);
    white-space: nowrap;
}

.ctrl-btn--text svg {
    fill: none;
}

.ctrl-btn:hover {
    color: var(--color-ink);
    background: var(--color-paper-3);
}

.ctrl-btn:active {
    transform: translateY(1px);
}

.ctrl-btn:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.time-text {
    font-family: var(--font-outlier);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-ink-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.quality-selector {
    min-height: 44px;
    padding: 0 var(--space-xs);
    border: var(--rule-hair) solid var(--color-rule-2);
    background: transparent;
    color: var(--color-ink-2);
    font-family: var(--font-outlier);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.quality-selector:hover {
    color: var(--color-ink);
    background: var(--color-paper-3);
}

.quality-selector:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

/* Panels 2 and 3 */

.inspector-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
}

.inspector-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: var(--rule-heavy) solid var(--color-rule);
    font-size: var(--text-sm);
    color: var(--color-ink);
}

.badge-status-code {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    border: var(--rule-hair) solid var(--color-rule-2);
    padding: var(--space-3xs) var(--space-xs);
    white-space: nowrap;
    color: var(--color-ink-2);
}

.checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checks li {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.checks b {
    font-weight: 500;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-ink);
}

.checks span {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--color-ink-2);
}

.inspector-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.i-metric {
    padding: var(--space-sm) 0 0 var(--space-md);
    border-left: var(--rule-hair) solid var(--color-rule-2);
}

.i-metric:first-child {
    padding-left: 0;
    border-left: 0;
}

.i-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.i-val {
    display: block;
    margin-top: var(--space-3xs);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-ink);
}

.auth-device-list {
    display: flex;
    flex-direction: column;
}

.auth-device-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.device-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: var(--rule-hair) solid var(--color-rule-2);
    color: var(--color-ink-2);
}

.device-icon svg {
    width: 18px;
    height: 18px;
}

.device-name {
    font-size: var(--text-sm);
    color: var(--color-ink);
}

.device-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: var(--space-3xs);
    font-family: var(--font-outlier);
    font-size: 0.6875rem;
    color: var(--color-muted);
}

.device-meta span {
    padding: 0 var(--space-xs);
    border-left: var(--rule-hair) solid var(--color-rule-2);
}

.device-meta span:first-child {
    padding-left: 0;
    border-left: 0;
}

.device-status-badge {
    font-size: 0.75rem;
    padding: var(--space-3xs) var(--space-xs);
    border: var(--rule-hair) solid var(--color-rule);
    color: var(--color-ink);
    white-space: nowrap;
}

.badge-idle {
    border-color: var(--color-rule-2);
    color: var(--color-muted);
}

.auth-note {
    padding: var(--space-sm) 0 0;
    border-top: var(--rule-hair) solid var(--color-rule-2);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--color-ink-2);
}

.auth-note strong {
    font-weight: 500;
    color: var(--color-ink);
}

/* ---------- The sheet's title block ---------- */

.title-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.figure-cell {
    padding: var(--space-lg) 0 var(--space-lg) var(--space-lg);
    border-left: var(--rule-hair) solid var(--color-rule-2);
}

.figure-cell:first-child {
    padding-left: 0;
    border-left: 0;
}

.figure-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.6vw + 1rem, 2.75rem);
    font-weight: 600;
    line-height: 1;
    color: var(--color-ink);
    font-variant-numeric: tabular-nums;
}

.figure-value span {
    font-size: 0.5em;
    margin-left: var(--space-3xs);
    color: var(--color-ink-2);
}

.figure-label {
    margin-top: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-ink-2);
}

/* ---------- Sheets ---------- */

.sheet {
    padding-block: var(--section-gap);
}

.sheet--band {
    background: var(--color-paper-2);
    color: var(--color-ink);
    border-top: var(--rule-heavy) solid var(--color-rule);
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.sheet-head {
    margin-bottom: var(--space-2xl);
}

.sheet-head h2 {
    max-width: 16em;
}

.sheet-head .lead {
    margin-top: var(--space-md);
    max-width: 46ch;
    color: var(--color-ink-2);
}

.sheet-head--split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-2xl) var(--gap-columns);
    align-items: end;
}

.sheet-head--split .lead {
    margin-top: 0;
    max-width: 32ch;
}

/* Stages */

.stages {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.stage {
    position: relative;
    padding: var(--space-lg) var(--space-lg) 0 0;
    border-left: var(--rule-hair) solid var(--color-rule-2);
    margin-left: var(--space-lg);
}

.stage:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

.stage::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -1px;
    width: var(--tick);
    height: var(--rule-hair);
    background: var(--color-rule);
    transform: rotate(45deg);
    transform-origin: left center;
}

.stage-no {
    display: block;
    font-family: var(--font-outlier);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: var(--space-lg);
}

.stage-body h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-ink);
    max-width: 12em;
}

.stage-body p {
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-ink-2);
    max-width: 34ch;
}

/* Core value spec grid */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-2xl) var(--gap-columns);
}

.spec {
    grid-column: span 5;
    min-width: 0;
    padding-top: var(--space-lg);
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.spec--wide {
    grid-column: span 7;
}

.spec-head {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.spec-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: var(--space-2xs);
    color: var(--color-ink-2);
}

.spec h3 {
    font-size: var(--text-title);
    font-weight: 600;
    max-width: 18em;
    color: var(--color-ink);
}

.spec p {
    margin-top: var(--space-md);
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--color-ink-2);
    max-width: 46ch;
}

.terms {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: var(--space-lg) 0 0;
    padding: 0;
}

.terms li {
    padding: 0 var(--space-sm);
    border-left: var(--rule-hair) solid var(--color-rule-2);
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.terms li:first-child {
    padding-left: 0;
    border-left: 0;
}

/* Clients register */

.download-grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: var(--space-2xl) var(--gap-columns);
    align-items: stretch;
}

.register-wrap {
    min-width: 0;
}

.register {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.register thead th {
    padding: 0 0 var(--space-sm);
    border-bottom: var(--rule-heavy) solid var(--color-rule);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted);
    text-align: left;
}

.register tbody tr {
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.register tbody tr:last-child {
    border-bottom: var(--rule-heavy) solid var(--color-rule);
}

.register tbody th,
.register tbody td {
    padding: var(--space-md) var(--space-md) var(--space-md) 0;
    vertical-align: middle;
    font-weight: 400;
}

.register tbody th {
    width: 46%;
}

.cell-platform .platform-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-ink);
}

.cell-platform .platform-sub {
    display: block;
    margin-top: var(--space-3xs);
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.cell-platform .platform-desc {
    display: block;
    margin-top: var(--space-2xs);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-ink-2);
    max-width: 36ch;
}

.cell-version,
.cell-format {
    font-family: var(--font-outlier);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-ink-2);
    white-space: nowrap;
}

.cell-version {
    width: 10%;
}

.cell-format {
    width: 12%;
}

.cell-action {
    width: 32%;
    text-align: right;
    padding-right: 0;
}

.btn-download {
    min-height: 44px;
    padding: 0 var(--space-md);
    font-size: 0.8125rem;
}

.qr-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
    border: var(--rule-hair) solid var(--color-rule);
    background: var(--color-paper-2);
    text-align: center;
}

.qr-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 176px;
    padding: var(--space-sm);
    background: var(--color-qr-field);
}

.qr-code-placeholder {
    width: 100%;
    height: 100%;
}

.qr-code-placeholder img,
.qr-code-placeholder canvas,
.qr-code-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-tip {
    margin-top: var(--space-md);
    font-size: var(--text-md);
    font-weight: 500;
    color: var(--color-ink);
}

.qr-note {
    margin-top: var(--space-xs);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.client-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap-columns);
    margin-top: var(--space-3xl);
    padding-top: var(--space-lg);
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.c-feature-item h3 {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--color-ink);
}

.c-feature-item p {
    margin-top: var(--space-xs);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--color-ink-2);
    max-width: 46ch;
}

/* Scenarios */

.scenario-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.scenario-row {
    display: grid;
    grid-template-columns: 4rem 9rem minmax(0, 4fr) minmax(0, 5fr);
    gap: var(--space-lg) var(--gap-columns);
    align-items: baseline;
    padding: var(--space-lg) 0;
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.row-no {
    font-family: var(--font-outlier);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted);
}

.row-tag {
    font-size: 0.8125rem;
    color: var(--color-ink-2);
}

.scenario-row h3 {
    font-size: var(--text-title);
    font-weight: 600;
    color: var(--color-ink);
}

.scenario-row p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-ink-2);
}

/* Close band */

.close-band {
    background: var(--color-paper-3);
    color: var(--color-ink);
    border-top: var(--rule-heavy) solid var(--color-rule);
    padding-block: var(--section-gap-s);
}

.close-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-2xl) var(--gap-columns);
    align-items: center;
}

.close-grid h2 {
    max-width: 18ch;
    font-size: var(--text-section);
}

.close-grid p {
    margin-top: var(--space-md);
    max-width: 46ch;
    font-size: var(--text-md);
    color: var(--color-ink-2);
}

.close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: flex-end;
}

/* ---------- Footer ---------- */

footer {
    background: var(--color-paper-2);
    color: var(--color-ink);
    border-top: var(--rule-heavy) solid var(--color-rule);
}

.footer-block {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 2.5fr) minmax(0, 2.5fr) minmax(0, 3fr);
    gap: var(--space-2xl) var(--gap-columns);
    padding-block: var(--space-2xl);
}

.footer-logo .logo-text {
    font-size: var(--text-lg);
}

.footer-desc {
    margin-top: var(--space-md);
    max-width: 34ch;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--color-ink-2);
}

.footer-col h3 {
    padding-bottom: var(--space-xs);
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted);
}

.footer-links {
    list-style: none;
    margin: var(--space-sm) 0 0;
    padding: 0;
}

.footer-links li {
    line-height: 1;
}

.footer-links a {
    display: inline-block;
    padding: var(--space-xs) 0;
    font-size: 0.875rem;
    color: var(--color-ink-2);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-ink);
    text-decoration: underline;
}

.footer-contact {
    display: none;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
}

.contact-label {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.footer-contact-item a {
    font-family: var(--font-outlier);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    white-space: nowrap;
}

.footer-contact-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2xs);
}

.footer-contact-qr img {
    display: block;
    width: 72px;
    height: 72px;
    background: var(--color-qr-field);
}

.footer-contact-qr span {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
    padding-block: var(--space-md) var(--space-xl);
    border-top: var(--rule-hair) solid var(--color-rule-2);
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.footer-bottom a {
    color: var(--color-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--color-ink);
    text-decoration: underline;
}

/* ---------- Toast ---------- */

.global-toast {
    position: fixed;
    top: calc(var(--nav-h) + var(--space-md));
    left: 50%;
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    max-width: min(90vw, 32rem);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-paper-2);
    border: var(--rule-hair) solid var(--color-rule);
    color: var(--color-ink);
    font-size: 0.8125rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.global-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.global-toast svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-ink-2);
}

/* ---------- Floating contact ---------- */

.floating-contact-wrap {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-lg);
    z-index: var(--z-sticky);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

.floating-item {
    position: relative;
}

.btn-floating {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--color-paper-2);
    border: var(--rule-hair) solid var(--color-rule);
    color: var(--color-ink-2);
    cursor: pointer;
}

.btn-floating svg {
    width: 20px;
    height: 20px;
}

.btn-floating:hover {
    background: var(--color-paper-3);
    color: var(--color-ink);
}

.btn-floating:active {
    transform: translateY(1px);
}

.btn-floating:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.btn-floating-top {
    display: none;
}

.btn-floating-top.show {
    display: flex;
}

.floating-popup-card {
    position: absolute;
    right: calc(100% + var(--space-sm));
    bottom: 0;
    width: 236px;
    padding: var(--space-sm);
    background: var(--color-paper-2);
    border: var(--rule-hair) solid var(--color-rule);
    color: var(--color-ink);
    transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.js .floating-popup-card {
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
}

.js .floating-popup-card.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.popup-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs);
    background: var(--color-qr-field);
}

.popup-qr-img {
    width: 100%;
    height: auto;
    display: block;
}

.popup-title {
    margin-top: var(--space-xs);
    font-size: var(--text-md);
    font-weight: 500;
    color: var(--color-ink);
}

.popup-sub {
    margin-top: var(--space-3xs);
    font-size: 0.75rem;
    color: var(--color-muted);
}

.popup-phone-card {
    padding: var(--space-md);
}

.phone-card-title {
    font-size: var(--text-md);
    font-weight: 500;
    color: var(--color-ink);
    padding-bottom: var(--space-xs);
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.phone-list {
    display: flex;
    flex-direction: column;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: var(--rule-hair) solid var(--color-rule-2);
    text-decoration: none;
}

.phone-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.phone-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: var(--rule-hair) solid var(--color-rule-2);
    color: var(--color-ink-2);
}

.phone-icon-wrap svg {
    width: 15px;
    height: 15px;
}

.phone-info {
    min-width: 0;
}

.phone-num {
    display: block;
    font-family: var(--font-outlier);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-ink);
    white-space: nowrap;
}

.phone-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.phone-item:hover .phone-num {
    text-decoration: underline;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .btn:active,
    .btn-play-trigger:active,
    .ctrl-btn:active,
    .btn-floating:active {
        transform: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 80rem) {
    .stage-inner {
        padding-top: var(--space-lg);
        gap: var(--space-lg);
    }

    .figure-cell {
        padding-block: var(--space-sm);
    }

    .figure-value {
        font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.25rem);
    }

    .console-tab {
        padding: 0 var(--space-sm);
        font-size: 0.8125rem;
    }

    .checks li {
        grid-template-columns: 7.5rem minmax(0, 1fr);
    }
}

@media (max-width: 72rem) {
    .opening {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-2xl);
    }

    .h1-claim {
        max-width: 12em;
    }
}

@media (max-width: 60rem) {
    .stage-inner {
        min-height: 0;
        padding-top: 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav.active {
        display: block;
    }

    .hero {
        padding-block: var(--space-2xl);
    }

    .opening {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-2xl);
    }

    .h1-claim {
        max-width: 12em;
    }

    .pitch .lead {
        max-width: 40ch;
    }

    .console-panel {
        min-height: 0;
    }

    .title-block {
        grid-template-columns: minmax(0, 1fr);
    }

    .figure-cell {
        padding: var(--space-md) 0;
        border-left: 0;
        border-top: var(--rule-hair) solid var(--color-rule-2);
    }

    .figure-cell:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .sheet {
        padding-block: var(--section-gap-s);
    }

    .sheet-head--split {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-md);
        align-items: start;
    }

    .stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: var(--space-xl);
    }

    .stage {
        padding-right: var(--space-md);
    }

    .stage:nth-child(odd) {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
    }

    .spec {
        grid-column: span 12;
    }

    .download-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .qr-cell {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: var(--space-md);
        align-items: center;
        text-align: left;
    }

    .qr-box {
        width: 120px;
        height: 120px;
        grid-row: span 2;
    }

    .qr-tip {
        margin-top: 0;
    }

    .client-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: var(--space-xl);
    }

    .scenario-row {
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: var(--space-xs) var(--space-md);
    }

    .scenario-row h3,
    .scenario-row p {
        grid-column: 2;
    }

    .close-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .close-actions {
        justify-content: flex-start;
    }

    .footer-block {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-xl);
    }
}

@media (max-width: 40rem) {
    .actions {
        gap: var(--space-sm);
    }

    .actions .btn {
        flex: 1 1 auto;
    }

    .console-head {
        flex-wrap: wrap;
        padding: var(--space-xs) var(--space-sm);
        gap: var(--space-xs);
    }

    .console-tabs {
        width: 100%;
    }

    .console-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: var(--space-2xs) var(--space-2xs);
        min-height: 52px;
        font-size: 0.75rem;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }

    .console-state {
        display: none;
    }

    .console-panel {
        padding: var(--space-sm);
    }

    .screen-canvas-bg {
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .canvas-video-title {
        font-size: var(--text-md);
    }

    .demo-watermark {
        width: calc(100% - 24px);
        font-size: 0.6875rem;
    }

    .console-screen {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
    }

    .demo-watermark {
        position: static;
        width: 100%;
        border: 0;
        border-bottom: var(--rule-hair) solid var(--color-rule);
    }

    .demo-watermark span:first-child {
        padding-left: var(--space-md);
    }

    .demo-watermark span:last-child {
        padding-right: var(--space-md);
    }

    .screen-canvas-bg {
        position: relative;
        inset: auto;
        flex: 1;
        min-height: 200px;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .btn-play-trigger {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .controls-flex {
        flex-wrap: wrap;
        row-gap: var(--space-2xs);
    }

    .floating-contact-wrap {
        display: none;
    }

    .toast-status {
        display: none;
    }

    .checks li {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-3xs);
    }

    .register thead {
        display: none;
    }

    .register tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: var(--space-xs) var(--space-md);
        padding: var(--space-md) 0;
    }

    .register tbody th,
    .register tbody td {
        padding: 0;
    }

    .register tbody th {
        width: auto;
        grid-column: 1;
    }

    .cell-version,
    .cell-format {
        display: inline-block;
        grid-column: 1;
        font-size: 0.75rem;
    }

    .cell-version::before {
        content: "版本 ";
        font-family: var(--font-body);
        color: var(--color-muted);
    }

    .cell-format {
        display: inline-block;
    }

    .cell-format::before {
        content: "安装包 ";
        font-family: var(--font-body);
        color: var(--color-muted);
    }

    .cell-action {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .btn-download {
        padding: 0 var(--space-sm);
    }

    .qr-cell {
        grid-template-columns: minmax(0, 1fr);
    }

    .qr-box {
        grid-row: auto;
        width: 140px;
        height: 140px;
    }

    .client-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-block {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: var(--space-md);
        padding-block: var(--space-lg);
        border-top: var(--rule-hair) solid var(--color-rule-2);
    }

    .footer-contact-item {
        flex: 1 1 30%;
    }

    .stages {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage,
    .stage:nth-child(odd) {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
        border-top: var(--rule-hair) solid var(--color-rule-2);
        padding-top: var(--space-md);
    }

    .stage:first-child {
        border-top: 0;
    }

    .stage::before {
        display: none;
    }

    .floating-popup-card {
        width: 216px;
    }
}
