/* ==========================================================================
   济川养元官网 · 三种版式共用一套内容骨架
   editorial 纸本医书 / chronograph 时辰仪 / scroll 山水卷
   ========================================================================== */

:root {
    --paper: #f7f2e8;
    --ink: #1e2a24;
    --muted: #646a61;
    --line: rgba(30, 42, 36, 0.14);
    --surface: #fffdf7;
    --surface-2: #efe7d6;
    --accent: #b23a2e;
    --accent-text: var(--accent);
    --accent-soft: rgba(178, 58, 46, 0.08);
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    --wrap: 1200px;
    --gutter: clamp(20px, 5vw, 64px);
    --radius: 3px;
    --nav-h: 72px;
    --bg: var(--paper);
    --nav-bg: rgba(247, 242, 232, 0.96);
    --footer-bg: #1e2a24;
    --footer-ink: #ece5d7;
    --footer-muted: #b7b6a8;
    --dial-tint: rgba(30, 42, 36, 0.055);
    --dial-core: var(--paper);
    --screen-ring: rgba(30, 42, 36, 0.1);
    --screen-shadow: 0 28px 56px -28px rgba(30, 42, 36, 0.4), 0 6px 18px -10px rgba(30, 42, 36, 0.16);
    --screen-shadow-hover: 0 38px 72px -30px rgba(30, 42, 36, 0.48), 0 10px 24px -12px rgba(30, 42, 36, 0.2);
    --screen-glow: rgba(30, 42, 36, 0.08);
    --screen-stage: rgba(30, 42, 36, 0.025);
}

[data-mode="chronograph"] {
    --bg: #121815;
    --paper: #121815;
    --ink: #ece5d7;
    --muted: #a4a89d;
    --accent-text: color-mix(in srgb, var(--accent) 55%, #f2e9dc);
    --line: rgba(236, 229, 215, 0.16);
    --surface: #18211c;
    --surface-2: #1f2a24;
    --accent-soft: rgba(178, 58, 46, 0.18);
    --nav-bg: #121815;
    --footer-bg: #0d1210;
    --footer-ink: #ece5d7;
    --footer-muted: #9aa093;
    --dial-tint: rgba(236, 229, 215, 0.07);
    --dial-core: #18211c;
    --screen-ring: rgba(236, 229, 215, 0.16);
    --screen-shadow: 0 30px 64px -28px rgba(0, 0, 0, 0.86), 0 8px 20px -12px rgba(0, 0, 0, 0.6);
    --screen-shadow-hover: 0 42px 82px -30px rgba(0, 0, 0, 0.92), 0 12px 28px -12px rgba(0, 0, 0, 0.7);
    --screen-glow: rgba(236, 229, 215, 0.07);
    --screen-stage: rgba(236, 229, 215, 0.035);
}

[data-mode="scroll"] {
    --bg: #f4efe4;
    --paper: #f4efe4;
    --ink: #26302a;
    --muted: #646a61;
    --line: rgba(38, 48, 42, 0.13);
    --surface: #faf6ec;
    --surface-2: #ece4d3;
    --nav-bg: rgba(244, 239, 228, 0.97);
    --footer-bg: #ece4d3;
    --footer-ink: #26302a;
    --footer-muted: #62685f;
    --dial-tint: rgba(38, 48, 42, 0.05);
    --dial-core: #f4efe4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: clip;
    transition: background-color 0.25s ease, color 0.25s ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background-image: repeating-linear-gradient(90deg, rgba(30, 42, 36, 0.018) 0 1px, transparent 1px 3px);
    mix-blend-mode: multiply;
}

[data-mode="chronograph"] body::before {
    opacity: 0.35;
    mix-blend-mode: screen;
    background-image: repeating-linear-gradient(90deg, rgba(236, 229, 215, 0.016) 0 1px, transparent 1px 3px);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-color: color-mix(in srgb, var(--accent-text) 50%, transparent);
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--accent-text);
}

p {
    margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 600;
    font-family: var(--serif);
    line-height: 1.28;
    letter-spacing: 0.015em;
}

ul,
ol,
dl,
dd {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 3px;
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding-inline: var(--gutter);
    position: relative;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   导航
   -------------------------------------------------------------------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line);
    backdrop-filter: none;
}

.nav__inner {
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

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

.brand__logo {
    display: block;
    height: 34px;
    width: auto;
}

.brand__seal {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: #fdf9f0;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1;
    border-radius: 2px;
    letter-spacing: 0;
}

.brand__name {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.nav__menu {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(14px, 2vw, 28px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav__menu::-webkit-scrollbar {
    display: none;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 2px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 1px;
    background: var(--accent-text);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
    color: var(--ink);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
    transform: scaleX(1);
}

.mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    flex-shrink: 0;
}

.mode-switch__label {
    padding: 0 8px 0 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.mode-switch__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.mode-switch__item:hover {
    color: var(--ink);
    background: var(--surface);
}

.mode-switch__item.is-active {
    background: var(--accent);
    color: #fdf9f0;
}

[data-mode="scroll"] .nav__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 14px 10px;
    gap: 6px 28px;
}

[data-mode="scroll"] .brand {
    order: 1;
    width: 100%;
    justify-content: center;
}

[data-mode="scroll"] .brand__name {
    letter-spacing: 0.2em;
    font-size: 22px;
}

[data-mode="scroll"] .nav__menu {
    order: 2;
    flex: 0 1 auto;
    justify-content: center;
}

[data-mode="scroll"] .mode-switch {
    order: 3;
}

[data-mode="scroll"] .nav {
    position: relative;
}

/* --------------------------------------------------------------------------
   通用文字与按钮
   -------------------------------------------------------------------------- */

.eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--accent-text);
    font-weight: 500;
}

.eyebrow--center {
    text-align: center;
}

.section {
    position: relative;
    padding-block: clamp(56px, 8vw, 104px);
    border-top: 1px solid var(--line);
}

.section--intro {
    border-top: none;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.24;
    text-wrap: balance;
}

.section-desc {
    margin: 14px 0 0;
    max-width: 56ch;
    color: var(--muted);
    font-size: 15px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    color: var(--accent-text);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-text) 40%, transparent);
    padding-bottom: 2px;
    cursor: pointer;
}

.text-link::after {
    content: "→";
    font-size: 13px;
    transition: transform 0.18s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn--solid {
    background: var(--accent);
    color: #fdf9f0;
    border-color: var(--accent-text);
}

.btn--solid:hover {
    color: #fff;
    background: color-mix(in srgb, var(--accent) 86%, #000);
    border-color: transparent;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn--ghost:hover {
    color: var(--ink);
    border-color: var(--ink);
    background: var(--surface);
}

.btn--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.btn--disabled {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    cursor: not-allowed;
}

.btn--qr {
    gap: 8px;
}

.btn__qr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
    transition: opacity 0.18s ease;
}

.btn--qr:hover .btn__qr-icon {
    opacity: 1;
}

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

/* --------------------------------------------------------------------------
   首屏 · 纸本医书
   -------------------------------------------------------------------------- */

.hero--editorial {
    padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}

.hero--editorial .eyebrow::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--accent);
}

.hero__title {
    font-size: clamp(44px, 6.2vw, 88px);
    line-height: 1.06;
    letter-spacing: 0.02em;
    max-width: 11em;
    text-wrap: balance;
}

.hero__lead {
    margin: 24px 0 0;
    max-width: 34em;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.9;
    color: var(--muted);
    text-wrap: pretty;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__actions--center {
    justify-content: center;
}

.hero__note {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 44px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.hero__facts > div {
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid var(--line);
}

.hero__facts > div:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.hero__facts dt {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.hero__facts dd {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.1;
}

.hero__facts em {
    margin-left: 3px;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.hero__aside {
    padding: 12px 0;
}

/* --------------------------------------------------------------------------
   首屏 · 时辰仪
   -------------------------------------------------------------------------- */

.hero--chronograph {
    position: relative;
    padding-block: clamp(48px, 7vw, 80px);
    text-align: center;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, var(--accent-soft), transparent 70%);
}

.hero--chronograph .hero__title {
    max-width: none;
    margin: 0 auto;
    font-size: clamp(40px, 5.4vw, 72px);
}

.hero--chronograph .hero__lead {
    margin-inline: auto;
    max-width: 34em;
}

.hero__dial {
    margin: clamp(28px, 4vw, 44px) auto 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__dial .dial {
    --dial-size: clamp(280px, 54vw, 480px);
}

.hero__dial .dial__caption {
    max-width: 360px;
}

/* --------------------------------------------------------------------------
   首屏 · 山水卷
   -------------------------------------------------------------------------- */

.hero--scroll {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 7vw, 84px) 0;
    border-bottom: 1px solid var(--line);
}

.hero__mountain {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    color: var(--ink);
    opacity: 0.13;
    pointer-events: none;
}

.hero__mountain svg {
    width: 100%;
    height: 100%;
}

.hero__scroll-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: clamp(32px, 5vw, 56px);
}

.hero__seal-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.hero__seal-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.hero__seal-mark {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 1.5px solid var(--accent);
    color: var(--accent-text);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.hero--scroll .hero__title {
    max-width: none;
    margin: 0 auto;
    font-size: clamp(40px, 5.6vw, 76px);
}

.hero--scroll .hero__lead {
    margin-inline: auto;
    max-width: 36em;
}

.scroll-strip {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(32px, 5vw, 56px);
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.scroll-strip__track {
    display: flex;
    gap: 20px;
    width: max-content;
    margin: 0 auto;
    padding-inline: max(24px, calc((100vw - var(--wrap)) / 2));
}

.scroll-card {
    position: relative;
    width: 214px;
    margin: 0;
    scroll-snap-align: center;
}

.scroll-card::before {
    content: "";
    position: absolute;
    inset: 6% 4% -2%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 62%, var(--screen-glow), transparent 68%);
    filter: blur(26px);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-card__link {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
}

.scroll-card__frame {
    aspect-ratio: 621 / 1170;
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--screen-shadow), 0 0 0 1px var(--screen-ring);
}

.scroll-card__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.scroll-card figcaption {
    margin-top: 12px;
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   表盘（时辰仪）
   -------------------------------------------------------------------------- */

.dial {
    --dial-size: clamp(288px, 40vw, 440px);
    --dial-r: calc(var(--dial-size) * 0.325);
    --dial-r-inner: calc(var(--dial-size) * 0.225);
    --angle: 0deg;
    --dial-tick: color-mix(in srgb, var(--ink) 24%, transparent);
    --dial-tick-strong: color-mix(in srgb, var(--ink) 48%, transparent);
    --dial-glow: color-mix(in srgb, var(--accent) 14%, transparent);
    position: relative;
    width: var(--dial-size);
    height: var(--dial-size);
    margin: 0 auto;
    aspect-ratio: 1;
    isolation: isolate;
}

.dial-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dial-link:hover {
    transform: translateY(-3px);
}

.dial-link:active {
    transform: translateY(0);
}

.dial-link:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 8px;
}

.dial__link-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 10px auto 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--accent-text);
    text-decoration: none;
}

.dial__link-hint:hover span:last-child {
    transform: translateX(4px);
}

.dial__link-hint span:last-child {
    transition: transform 0.2s ease;
}

.dial-link:hover + .dial__caption + .dial__link-hint span:last-child {
    transform: translateX(4px);
}

.dial__aura {
    position: absolute;
    inset: -7%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dial-glow), transparent 62%);
    filter: blur(12px);
    opacity: 0.55;
    animation: dial-breathe 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.dial__face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.05) 0 26%, transparent 62%),
        radial-gradient(circle closest-side at 50% 42%, var(--dial-core) 0 64%, color-mix(in srgb, var(--dial-core) 74%, var(--ink) 7%) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -18px 38px -24px rgba(0, 0, 0, 0.35),
        0 26px 60px -36px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dial__face::after {
    content: "";
    position: absolute;
    inset: 4.5%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05), transparent 52%);
    pointer-events: none;
}

.dial__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--line);
    pointer-events: none;
    z-index: 2;
}

.dial__ring--outer {
    inset: 2.7%;
    opacity: 0.85;
}

.dial__ring--mid {
    inset: 12.3%;
    opacity: 0.38;
}

.dial__ring--inner {
    inset: 22.7%;
    opacity: 0.55;
}

.dial__ring--core {
    inset: 32.3%;
    border-color: color-mix(in srgb, var(--line) 80%, transparent);
    background: color-mix(in srgb, var(--dial-core) 94%, #fff 6%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 4;
}

.dial__ticks {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.dial__ticks--minute {
    background: repeating-conic-gradient(from -90deg, var(--dial-tick) 0deg 0.35deg, transparent 0.35deg 6deg);
    -webkit-mask: radial-gradient(circle, transparent 0 59.8%, #000 60.3% 64.8%, transparent 65.3%);
    mask: radial-gradient(circle, transparent 0 59.8%, #000 60.3% 64.8%, transparent 65.3%);
    opacity: 0.62;
}

.dial__ticks--hour {
    background: repeating-conic-gradient(from -90deg, var(--dial-tick-strong) 0deg 1.2deg, transparent 1.2deg 30deg);
    -webkit-mask: radial-gradient(circle, transparent 0 59.2%, #000 59.8% 66.8%, transparent 67.4%);
    mask: radial-gradient(circle, transparent 0 59.2%, #000 59.8% 66.8%, transparent 67.4%);
    opacity: 0.82;
}

.dial__sector {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from calc(-15deg + var(--i) * 30deg), var(--dial-glow) 0deg 30deg, transparent 30deg 360deg);
    -webkit-mask: radial-gradient(circle, transparent 0 24.8%, #000 25.2% 53.1%, transparent 53.5%);
    mask: radial-gradient(circle, transparent 0 24.8%, #000 25.2% 53.1%, transparent 53.5%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.dial__sector.is-current {
    opacity: 1;
}

.dial__branch {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1em;
    height: 2.1em;
    margin: -1.05em 0 0 -1.05em;
    border-radius: 50%;
    font-family: var(--serif);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1;
    text-align: center;
    color: var(--muted);
    transform:
        rotate(calc(var(--i) * 30deg))
        translateY(calc(var(--dial-r) * -1))
        rotate(calc(var(--i) * -30deg));
    text-shadow: 0 0 5px var(--dial-core), 0 0 10px var(--dial-core);
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 4;
}

.dial__branch.is-current {
    color: var(--accent-text);
    font-weight: 600;
    background: color-mix(in srgb, var(--dial-core) 86%, var(--accent) 14%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--accent-text) 26%, transparent),
        0 0 14px color-mix(in srgb, var(--accent) 12%, transparent);
}

.dial__meridian-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.2em;
    margin: -0.66em 0 0 -2.1em;
    font-size: clamp(8px, 0.9vw, 10px);
    line-height: 1.32em;
    letter-spacing: 0.04em;
    text-align: center;
    color: var(--muted);
    opacity: 0.68;
    transform:
        rotate(calc(var(--i) * 30deg))
        translateY(calc(var(--dial-r-inner) * -1))
        rotate(calc(var(--i) * -30deg));
    text-shadow: 0 0 5px var(--dial-core), 0 0 10px var(--dial-core);
    transition: color 0.3s ease, opacity 0.3s ease;
    z-index: 4;
}

.dial__meridian-tag.is-current {
    color: var(--accent-text);
    font-weight: 600;
    opacity: 1;
}

.dial__hour {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    margin: -0.55em 0 0 -1em;
    font-size: clamp(8px, 0.9vw, 10px);
    line-height: 1.2em;
    letter-spacing: 0.12em;
    text-align: center;
    color: var(--muted);
    opacity: 0.5;
    transform:
        rotate(var(--h))
        translateY(calc(var(--dial-size) * -0.4))
        rotate(calc(var(--h) * -1));
    text-shadow: 0 0 5px var(--dial-core), 0 0 10px var(--dial-core);
    z-index: 4;
}

.dial__hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 46.2%;
    margin-top: -46.2%;
    margin-left: -1px;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--accent) 45%, transparent),
        var(--accent-text) 58%,
        color-mix(in srgb, var(--accent-text) 55%, transparent)
    );
    border-radius: 1px;
    transform-origin: 50% 100%;
    transform: rotate(var(--angle));
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 0 3px var(--dial-glow));
    z-index: 3;
}

.dial__hand-tip {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--accent-text);
    box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 40%, transparent);
}

.dial__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-text);
    background: var(--dial-core);
    box-shadow:
        0 0 0 4px var(--dial-glow),
        inset 0 0 0 1.5px var(--dial-core);
    z-index: 5;
}

.dial__hub::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--accent-text);
}

.dial__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    pointer-events: none;
    z-index: 5;
}

.dial__label {
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--muted);
    opacity: 0.8;
}

.dial__time {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.dial__meridian {
    font-family: var(--serif);
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.12em;
    color: var(--accent-text);
}

.dial__range {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.dial__caption {
    margin: 20px auto 0;
    max-width: 38ch;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    text-align: center;
}

.dial__caption-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink);
}

.dial__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-text);
    box-shadow: 0 0 0 0 var(--dial-glow);
    animation: dial-pulse 2.6s ease-out infinite;
}

.dial__next {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.78;
}

[data-mode="chronograph"] .dial__face {
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.04) 0 26%, transparent 62%),
        radial-gradient(circle closest-side at 50% 42%, #1d2822 0 64%, #121815 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -24px 46px -30px rgba(0, 0, 0, 0.9),
        0 34px 80px -40px rgba(0, 0, 0, 0.85);
}

[data-mode="chronograph"] .dial__aura {
    background: radial-gradient(circle, rgba(178, 58, 46, 0.24), transparent 64%);
    opacity: 0.72;
}

[data-mode="chronograph"] .dial__ring--outer {
    border-color: rgba(236, 229, 215, 0.26);
}

@media (max-width: 640px) {
    .dial__meridian-tag {
        font-size: 8px;
    }

    .dial__hour {
        font-size: 8px;
    }

    .dial__branch {
        font-size: 15px;
    }

    .dial__time {
        font-size: 24px;
    }

    .dial__meridian {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .dial__meridian-tag {
        width: 3.6em;
        margin-left: -1.8em;
        font-size: 7px;
    }
}

@keyframes dial-breathe {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.97);
    }

    50% {
        opacity: 0.78;
        transform: scale(1.03);
    }
}

@keyframes dial-pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 34%, transparent);
    }

    70% {
        box-shadow: 0 0 0 8px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dial__aura,
    .dial__pulse {
        animation: none;
    }

    .dial__hand,
    .dial__sector {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   介绍 / 统计 / 功能 / 截图
   -------------------------------------------------------------------------- */

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.intro__head {
    position: relative;
    padding-right: clamp(0px, 4vw, 48px);
}

.intro__head .section-title {
    font-size: clamp(26px, 3vw, 40px);
}

.intro__head::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, var(--line), transparent);
}

.intro__seal {
    margin: 26px 0 0;
    width: 88px;
    padding: 7px;
    border: 1px solid var(--line);
    background: var(--surface);
    transform: rotate(-2.5deg);
    box-shadow: 0 10px 24px rgba(30, 42, 36, 0.08);
}

.intro__seal img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

[data-mode="chronograph"] .intro__seal img {
    mix-blend-mode: normal;
}

.intro__body {
    max-width: 60ch;
    font-size: 17px;
    line-height: 1.95;
    color: var(--ink);
}

.intro__body .text-link {
    margin-top: 8px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.stat {
    padding: 22px 20px 20px;
    background: var(--bg);
}

.stat dt {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.stat dd {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.05;
}

.stat em {
    margin-left: 3px;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
    font-family: var(--sans);
}

.feature-list {
    border-top: 1px solid var(--line);
}

.feature {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: clamp(16px, 3vw, 40px);
    align-items: start;
    padding-block: clamp(26px, 4vw, 40px);
    border-bottom: 1px solid var(--line);
}

.feature__index {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--accent-text);
    letter-spacing: 0.1em;
    padding-top: 6px;
}

.feature__main h2,
.feature__main h3 {
    font-size: clamp(21px, 2.2vw, 27px);
}

.feature__sub {
    margin: 7px 0 0;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.feature__desc {
    margin: 12px 0 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.feature__link {
    align-self: center;
    font-size: 13px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    white-space: nowrap;
}

.feature__link:hover {
    color: var(--accent-text);
    border-color: var(--accent-text);
}

.feature-list--detailed .feature__desc {
    color: var(--ink);
}

.section--screens {
    overflow: hidden;
}

.section--screens::before {
    content: "";
    position: absolute;
    inset: 14% 3% 4%;
    background:
        radial-gradient(ellipse 60% 46% at 50% 20%, var(--screen-stage), transparent 72%),
        radial-gradient(ellipse 86% 44% at 50% 100%, var(--screen-stage), transparent 72%);
    pointer-events: none;
}

.section--screens > .wrap {
    position: relative;
}

.section--screens .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section--screens .eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 4vw, 52px) clamp(18px, 3vw, 34px);
    counter-reset: screen;
}

@media (min-width: 1180px) {
    .screen-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.screen {
    position: relative;
    margin: 0;
    counter-increment: screen;
}

.screen::before {
    content: "";
    position: absolute;
    inset: 7% 4% -3%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 64%, var(--screen-glow), transparent 68%);
    filter: blur(30px);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

.screen__link {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
}

.screen__link:focus-visible {
    outline: none;
}

.screen__link:focus-visible .screen__frame {
    outline: 2px solid var(--accent-text);
    outline-offset: 4px;
}

.screen__frame {
    aspect-ratio: 621 / 1170;
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--screen-shadow), 0 0 0 1px var(--screen-ring);
}

.screen__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.screen figcaption {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
    transition: border-color 0.28s ease;
}

.screen figcaption::before {
    content: counter(screen, decimal-leading-zero);
    grid-row: 1 / span 3;
    padding-top: 2px;
    font-family: var(--serif);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: var(--accent-text);
    opacity: 0.7;
}

.screen figcaption strong {
    grid-column: 2;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.02em;
    transition: color 0.22s ease;
}

.screen figcaption > span {
    grid-column: 2;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
}

.screen figcaption .screen__more {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--accent-text);
    text-decoration: none;
    opacity: 0.88;
}

.screen figcaption .screen__more span {
    transition: transform 0.22s ease;
}

.phone-placeholder {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: inherit;
    background:
        linear-gradient(160deg, var(--surface-2), transparent 62%),
        var(--bg);
    border: 1px solid var(--line);
    text-align: center;
}

.phone-placeholder__label {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.4;
}

.phone-placeholder__line {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
}

.phone-placeholder--light {
    background:
        linear-gradient(160deg, #fdfaf2, transparent 62%),
        #f4efe4;
    border-color: rgba(38, 48, 42, 0.14);
}

[data-mode="chronograph"] .phone-placeholder--light {
    background:
        linear-gradient(160deg, #1c2620, transparent 62%),
        #121815;
}

[data-mode="chronograph"] .phone-placeholder--light .phone-placeholder__label {
    color: #ece5d7;
}

[data-mode="chronograph"] .phone-placeholder--light .phone-placeholder__line {
    color: #a4a89d;
}

/* --------------------------------------------------------------------------
   下载
   -------------------------------------------------------------------------- */

.download-grid,
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.download-card,
.platform {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(22px, 3vw, 30px);
    background: var(--bg);
}

.download-card h3,
.platform__head h2 {
    font-size: 22px;
}

.download-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.download-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 13px !important;
    color: var(--ink) !important;
    letter-spacing: 0.03em;
}

.download-card .btn,
.download-card .btn--disabled {
    align-self: flex-start;
    margin-top: 4px;
}

.platform {
    gap: 14px;
}

.platform__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.platform__tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent-text);
}

.platform__meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.platform__meta > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.platform__meta dt {
    color: var(--muted);
}

.platform__meta dd {
    font-family: var(--serif);
}

.platform__empty {
    color: var(--muted);
    font-size: 14px;
}

.platform__tip {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

.platform .btn,
.platform .btn--disabled {
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   入口 / 二维码 / H5
   -------------------------------------------------------------------------- */

.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
}

.entry-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 46%), var(--surface);
    box-shadow: var(--screen-shadow);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.entry-card__media {
    position: relative;
    flex: 0 0 118px;
    width: 118px;
    padding: 9px;
    border-radius: 15px;
    background: #fdfbf6;
    box-shadow: inset 0 0 0 1px rgba(30, 42, 36, 0.08), 0 1px 2px rgba(30, 42, 36, 0.06);
    overflow: hidden;
}

.entry-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.entry-card__empty {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    padding: 10px;
    border: 1px dashed var(--line);
    border-radius: 15px;
    background: var(--screen-stage);
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
}

.entry-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.entry-card__body h3,
.entry-row h3 {
    font-size: 17px;
    line-height: 1.4;
}

.entry-card__body p {
    margin: 6px 0 12px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
}

.entry-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: auto;
}

.entry-card__body .text-link,
.entry-card__body .btn {
    flex: 0 0 auto;
    margin-top: auto;
}

.entry-card__actions .btn,
.entry-card__actions .text-link {
    flex: 0 0 auto;
    margin-top: 0;
}

.entry-card__body .text-link {
    font-size: 13px;
}

.qr-grid,
.h5-grid {
    display: grid;
    gap: clamp(18px, 2.6vw, 28px);
    align-items: start;
}

.qr-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.h5-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: stretch;
}

.qr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 420px;
    padding: clamp(18px, 2.2vw, 24px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 46%), var(--surface);
    box-shadow: var(--screen-shadow);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.qr-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qr-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--accent-text);
}

.qr-card__badge-icon {
    display: inline-flex;
    opacity: 0.85;
}

.qr-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    color: var(--muted);
    white-space: nowrap;
}

.qr-card__status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.qr-card__status.is-off {
    color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.qr-card__media {
    display: grid;
    place-items: center;
    padding: clamp(12px, 1.6vw, 16px);
    border-radius: 16px;
    background: #fdfbf6;
    box-shadow: inset 0 0 0 1px rgba(30, 42, 36, 0.08), 0 1px 2px rgba(30, 42, 36, 0.05);
}

.qr-card__frame {
    position: relative;
    width: 100%;
    max-width: 236px;
    aspect-ratio: 1;
}

.qr-card__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.qr-card__corners,
.qr-modal__corners {
    position: absolute;
    inset: -8px;
    pointer-events: none;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    background:
        linear-gradient(var(--accent-text), var(--accent-text)) left top / 15px 1.5px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) left top / 1.5px 15px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) right top / 15px 1.5px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) right top / 1.5px 15px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) left bottom / 15px 1.5px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) left bottom / 1.5px 15px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) right bottom / 15px 1.5px no-repeat,
        linear-gradient(var(--accent-text), var(--accent-text)) right bottom / 1.5px 15px no-repeat;
}

.qr-card__scan,
.qr-modal__scan {
    position: absolute;
    left: 2%;
    right: 2%;
    top: 0;
    height: 34%;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-130%);
    background: linear-gradient(180deg,
            transparent,
            color-mix(in srgb, var(--accent) 24%, transparent) 68%,
            color-mix(in srgb, var(--accent) 5%, transparent));
    mix-blend-mode: multiply;
}

.qr-card__empty {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 236px;
    aspect-ratio: 1;
    padding: 12px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--screen-stage);
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.qr-card__body {
    display: flex;
    flex-direction: column;
}

.qr-card__body h3 {
    font-size: 19px;
    line-height: 1.4;
}

.qr-card__body p {
    margin: 7px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.qr-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
}

.qr-card__actions .btn {
    flex: 0 0 auto;
}

.qr-card__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    white-space: nowrap;
}

.qr-card__hint::before {
    content: "";
    width: 16px;
    height: 1px;
    background: color-mix(in srgb, var(--accent-text) 45%, transparent);
}

/* H5 在线体验卡片（官网「关注与体验」与首页「其他入口」共用） */

.h5-card {
    --h5-panel: #131c17;
    --h5-panel-top: #202b24;
    --h5-ink: #f4edde;
    --h5-muted: rgba(244, 237, 222, 0.64);
    --h5-line: rgba(244, 237, 222, 0.14);
    --h5-accent: color-mix(in srgb, var(--accent) 60%, #f2e9dc);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 1.8vw, 20px);
    width: 100%;
    max-width: 560px;
    padding: clamp(14px, 1.5vw, 18px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 46%),
        var(--surface);
    box-shadow: var(--screen-shadow);
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.h5-card__view {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 208px;
    padding: 30px 20px 14px;
    border-radius: 15px;
    background:
        radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%),
        linear-gradient(155deg, var(--h5-panel-top), var(--h5-panel) 72%);
    box-shadow:
        inset 0 0 0 1px rgba(244, 237, 222, 0.08),
        0 14px 30px -22px rgba(19, 28, 23, 0.85);
    color: var(--h5-ink);
    overflow: hidden;
}

.h5-card__view::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(72%, 210px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(244, 237, 222, 0.1);
    box-shadow:
        0 0 0 18px rgba(244, 237, 222, 0.04),
        0 0 0 36px rgba(244, 237, 222, 0.02);
    pointer-events: none;
}

.h5-card__status {
    position: absolute;
    top: 11px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--h5-muted);
    white-space: nowrap;
}

.h5-card__status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--h5-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
    animation: h5-status-pulse 3.2s ease-in-out infinite;
}

.h5-card__frame {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(100%, 172px);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

.h5-card__frame:focus-visible {
    outline: 2px solid var(--h5-accent);
    outline-offset: 6px;
    border-radius: 8px;
}

.h5-card__plate {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 10px;
    background: #fdfbf6;
    box-shadow:
        0 8px 20px -12px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(30, 42, 36, 0.06);
    overflow: hidden;
}

.h5-card__plate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.h5-card__frame:hover img,
.h5-card__frame:focus-visible img {
    transform: scale(1.03);
}

.h5-card__corners {
    position: absolute;
    inset: -8px;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0.58;
    transition: opacity 0.3s ease;
    background:
        linear-gradient(var(--h5-accent), var(--h5-accent)) left top / 14px 1.5px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) left top / 1.5px 14px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) right top / 14px 1.5px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) right top / 1.5px 14px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) left bottom / 14px 1.5px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) left bottom / 1.5px 14px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) right bottom / 14px 1.5px no-repeat,
        linear-gradient(var(--h5-accent), var(--h5-accent)) right bottom / 1.5px 14px no-repeat;
}

.h5-card__scan {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 8%;
    height: 28%;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
            transparent,
            color-mix(in srgb, var(--accent) 24%, transparent) 70%,
            transparent);
    mix-blend-mode: multiply;
    animation: h5-scan 7s cubic-bezier(0.45, 0, 0.3, 1) 1.2s infinite;
}

.h5-card:nth-child(2) .h5-card__scan {
    animation-delay: 2.6s;
}

.h5-card__viewtip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--h5-muted);
    white-space: nowrap;
}

.h5-card__viewtip svg {
    opacity: 0.7;
}

.h5-card__glyph {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--h5-accent);
    opacity: 0.72;
}

.h5-card__glyph em {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--h5-muted);
}

.h5-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 2px 6px 4px;
}

.h5-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent-text);
}

.h5-card__rule {
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-text), transparent);
}

.h5-card__body h3 {
    margin: 0;
    font-size: clamp(19px, 1.7vw, 22px);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.h5-card__desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

.h5-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.h5-card__features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-2) 52%, transparent);
    color: color-mix(in srgb, var(--ink) 82%, var(--muted));
    font-size: 10.5px;
    letter-spacing: 0.06em;
    line-height: 1.6;
    white-space: nowrap;
}

.h5-card__features li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-text);
    opacity: 0.55;
}

.h5-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
}

.h5-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: #fdf9f0;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 12px 24px -16px rgba(178, 58, 46, 0.9);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.h5-card__cta:hover {
    color: #fffdf7;
    background: color-mix(in srgb, var(--accent) 86%, #000);
    border-color: transparent;
    box-shadow: 0 16px 28px -16px rgba(178, 58, 46, 0.95);
}

.h5-card__cta:active {
    transform: translateY(1px);
}

.h5-card__zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.h5-card__zoom:hover {
    color: var(--ink);
    border-color: color-mix(in srgb, var(--ink) 36%, var(--line));
    background: var(--surface);
}

.h5-card__zoom svg {
    opacity: 0.7;
}

.h5-card__cta:focus-visible,
.h5-card__zoom:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 3px;
}

.h5-card__arrow {
    transition: transform 0.18s ease;
}

.h5-card__cta:hover .h5-card__arrow {
    transform: translateX(3px);
}

/* 首页「其他入口」中的加宽版本 */

.h5-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: clamp(190px, 16vw, 240px) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 42px);
    max-width: none;
    padding: clamp(16px, 1.8vw, 22px);
}

.h5-card--wide .h5-card__view {
    min-height: 100%;
    padding: 34px 22px 18px;
}

.h5-card--wide .h5-card__frame {
    width: min(100%, 190px);
}

.h5-card--wide .h5-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "eyebrow actions"
        "title actions"
        "desc actions"
        "features actions";
    align-content: center;
    align-items: start;
    column-gap: clamp(24px, 4vw, 56px);
    padding: 8px 10px 8px 0;
}

.h5-card--wide .h5-card__eyebrow {
    grid-area: eyebrow;
}

.h5-card--wide .h5-card__body h3 {
    grid-area: title;
    font-size: clamp(22px, 2.1vw, 27px);
}

.h5-card--wide .h5-card__desc {
    grid-area: desc;
    max-width: 44em;
    font-size: 14px;
}

.h5-card--wide .h5-card__features {
    grid-area: features;
    margin-top: 16px;
}

.h5-card--wide .h5-card__actions {
    grid-area: actions;
    align-self: center;
    flex-wrap: nowrap;
    width: auto;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .h5-card--wide .h5-card__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .h5-card--wide .h5-card__actions {
        flex-wrap: wrap;
        width: 100%;
        margin-top: 20px;
        padding-top: 0;
    }

    .h5-card--wide .h5-card__features {
        margin-top: 14px;
    }
}

@media (max-width: 760px) {
    .h5-card--wide {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .h5-card--wide .h5-card__view {
        min-height: 200px;
        padding: 30px 20px 14px;
    }

    .h5-card--wide .h5-card__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2px 6px 4px;
    }

    .h5-card--wide .h5-card__actions {
        flex-wrap: wrap;
        width: 100%;
        margin-top: auto;
        padding-top: 18px;
    }
}

@keyframes h5-scan {
    0%, 8% {
        transform: translateY(-30%);
        opacity: 0;
    }
    16% {
        opacity: 0.75;
    }
    46% {
        opacity: 0.75;
    }
    58%, 100% {
        transform: translateY(235%);
        opacity: 0;
    }
}

@keyframes h5-status-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
    }
    50% {
        box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 4%, transparent);
    }
}

@media (hover: hover) {
    .h5-card:hover .h5-card__corners {
        opacity: 0.92;
    }
}

@media (prefers-reduced-motion: reduce) {
    .h5-card__scan {
        animation: none;
        display: none;
    }

    .h5-card__status i {
        animation: none;
    }
}

.connect-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.connect-note__icon {
    display: inline-flex;
    color: var(--accent-text);
    opacity: 0.8;
}

.entry-list {
    border-top: 1px solid var(--line);
}

.entry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.entry-row__main p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.entry-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12px !important;
    letter-spacing: 0.03em;
}

.entry-row__hash {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.entry-row__hash summary {
    cursor: pointer;
    color: var(--accent, #b23a2e);
    letter-spacing: 0.03em;
}

.entry-row__hash-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.015);
}

.entry-row__hash code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    line-height: 1.7;
    word-break: break-all;
}

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent, #b23a2e);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-btn:hover {
    opacity: 0.78;
}

.section--connect > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

.section--connect .section-head {
    display: block;
    margin-bottom: 0;
}

.section--connect .section-title {
    font-size: clamp(24px, 2.6vw, 32px);
}

@media (min-width: 901px) {
    .section--connect .section-head > div::after {
        content: "";
        display: block;
        width: 36px;
        height: 1px;
        margin-top: 22px;
        background: linear-gradient(90deg, var(--accent-text), transparent);
        opacity: 0.5;
    }
}

.page-hero--connect {
    position: relative;
    overflow: hidden;
}

.page-hero--connect::before {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(24px, 6vw, 120px);
    width: min(26vw, 300px);
    height: min(26vw, 300px);
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent-text) 22%, transparent);
    box-shadow:
        0 0 0 28px color-mix(in srgb, var(--accent-text) 6%, transparent),
        0 0 0 56px color-mix(in srgb, var(--accent-text) 3%, transparent);
    opacity: 0.9;
    pointer-events: none;
}

.page-hero--connect::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(clamp(24px, 6vw, 120px) + min(13vw, 150px) - 4px);
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
    pointer-events: none;
}

@media (max-width: 900px) {
    .section--connect > .wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .section--connect .section-head {
        margin-bottom: 24px;
    }

    .page-hero--connect::before,
    .page-hero--connect::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   关于 / 内容原则
   -------------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.about__copy p {
    margin-top: 18px;
    max-width: 62ch;
    color: var(--muted);
    line-height: 1.9;
}

.about__note {
    padding: 26px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

.about__full {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 14px;
    color: var(--ink);
}

.about-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.about-detail__copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 18px;
}

.about-detail__copy p {
    max-width: 62ch;
    color: var(--muted);
    line-height: 1.95;
}

.about-detail__entity {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink) !important;
}

.about-detail__aside {
    padding: 26px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.about-detail__aside h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.about-detail__aside li {
    padding: 9px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.about-detail__aside li:first-child {
    border-top: none;
}

.about-detail__aside .text-link {
    margin-top: 16px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.value {
    padding: clamp(22px, 3vw, 32px);
    background: var(--bg);
}

.value__index {
    display: block;
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--accent-text);
}

.value h3 {
    font-size: 21px;
}

.value__sub {
    margin: 6px 0 12px;
    font-size: 13px;
    color: var(--ink);
}

.value p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 44px 18px 0;
    cursor: pointer;
    font-family: var(--serif);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 11px;
    height: 11px;
    margin-top: -6px;
    border-right: 1px solid var(--muted);
    border-bottom: 1px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(225deg);
}

.faq-item__body {
    padding: 0 0 22px;
    max-width: 72ch;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.faq-item__body p {
    margin: 0 0 10px;
}

.faq-list--full .faq-item summary {
    min-height: 68px;
}

/* --------------------------------------------------------------------------
   子页面头部 / 内容 / 通知 / CTA
   -------------------------------------------------------------------------- */

.page-back {
    padding-top: 8px;
}

.page-back__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.page-back__link svg {
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.page-back__link:hover {
    color: var(--accent-text);
}

.page-back__link:hover svg {
    transform: translateX(-3px);
}

.page-back + .page-hero {
    padding-top: clamp(22px, 3.4vw, 38px);
}

.page-hero {
    padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 60px);
    border-bottom: 1px solid var(--line);
}

[data-mode="chronograph"] .page-hero {
    background: radial-gradient(ellipse 60% 80% at 20% 0%, var(--accent-soft), transparent 65%);
}

.page-hero__inner {
    max-width: calc(var(--wrap) + var(--gutter) * 2);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-text);
}

.page-hero__title {
    max-width: 20ch;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.16;
    text-wrap: balance;
}

.page-hero--features .page-hero__title {
    max-width: 26ch;
    text-wrap: wrap;
}

.page-hero__lead {
    margin: 20px 0 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.9;
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.notice {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    background: var(--surface);
}

.notice h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.notice p {
    max-width: 72ch;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.notice .btn,
.notice .text-link {
    margin-top: 8px;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    background: var(--surface);
}

.cta p {
    margin: 12px 0 0;
    max-width: 54ch;
    color: var(--muted);
    font-size: 15px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.section--cta .cta {
    position: relative;
    overflow: hidden;
}

.section--cta .cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), transparent 78%);
}

@media (hover: hover) {
    .download-card,
    .platform,
    .value,
    .stat {
        transition: background-color 0.22s ease, border-color 0.22s ease;
    }

    .entry-card:hover,
    .qr-card:hover,
    .h5-card:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--accent-text) 34%, var(--line));
        box-shadow: var(--screen-shadow-hover);
    }

    .qr-card:hover .qr-card__corners {
        opacity: 0.75;
    }

    .qr-card:hover .qr-card__scan {
        animation: qr-scan 2.6s cubic-bezier(0.42, 0, 0.3, 1) 1;
    }

    .download-card:hover,
    .platform:hover,
    .value:hover,
    .stat:hover {
        background: var(--surface);
    }

    .screen__frame,
    .scroll-card__frame {
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
    }

    .screen:hover .screen__frame,
    .screen__link:hover .screen__frame,
    .scroll-card__link:hover .scroll-card__frame {
        transform: translateY(-6px);
        box-shadow: var(--screen-shadow-hover), 0 0 0 1px color-mix(in srgb, var(--accent-text) 42%, var(--screen-ring));
    }

    .screen:hover::before,
    .scroll-card:hover::before {
        opacity: 0.9;
    }

    .screen:hover figcaption {
        border-color: color-mix(in srgb, var(--accent-text) 28%, var(--line));
    }

    .screen:hover figcaption strong {
        color: var(--accent-text);
    }

    .screen:hover figcaption .screen__more span {
        transform: translateX(4px);
    }
}

/* --------------------------------------------------------------------------
   联系
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.contact-card {
    padding: clamp(24px, 3.4vw, 36px);
    background: var(--bg);
}

.contact-card h2 {
    font-size: 14px;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 14px;
}

.contact-card__value {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5;
    word-break: break-word;
}

.contact-card__value a {
    text-decoration: none;
}

.contact-card__value a:hover {
    color: var(--accent-text);
}

.contact-card__note {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.contact-card .text-link {
    margin-top: 12px;
    font-size: 13px;
}

.section--legal-info .section-title {
    margin-bottom: 24px;
}

.legal-table {
    border-top: 1px solid var(--line);
}

.legal-table > div {
    display: flex;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.legal-table dt {
    flex: 0 0 8em;
    color: var(--muted);
}

.legal-table dd {
    color: var(--ink);
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   协议正文
   -------------------------------------------------------------------------- */

.doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    max-width: 1080px;
    margin-inline: auto;
}

.doc {
    max-width: 78ch;
}

.doc__body {
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.doc__body h1,
.doc__body h2,
.doc__body h3,
.doc__body h4 {
    margin: 1.6em 0 0.6em;
    line-height: 1.4;
}

.doc__body h1 {
    font-size: 26px;
}

.doc__body h2 {
    font-size: 21px;
}

.doc__body h3 {
    font-size: 17px;
}

.doc__body p {
    margin: 0 0 0.9em;
}

.doc__body ul,
.doc__body ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.doc__body li {
    list-style: disc;
    margin-bottom: 0.4em;
}

.doc__body ol li {
    list-style: decimal;
}

.doc__body a {
    color: var(--accent-text);
}

.doc__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.2em 0;
}

.doc__body table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
    font-size: 14px;
}

.doc__body th,
.doc__body td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.doc__body blockquote {
    margin: 1.2em 0;
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--accent-text);
    color: var(--muted);
}

.doc__body p:last-child {
    margin-bottom: 0;
}

.doc__empty {
    padding: 32px;
    border: 1px dashed var(--line);
}

.doc__empty h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.doc__empty p {
    color: var(--muted);
}

.doc__footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.doc__note {
    margin-top: 32px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.doc__note h2 {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
}

.doc__note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
}

.doc__footer p {
    margin-bottom: 6px;
}

.doc-aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.doc-aside h2 {
    font-size: 15px;
    margin-bottom: 12px;
}

.doc-aside li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.doc-aside li:first-child {
    border-top: none;
}

.doc-aside a {
    text-decoration: none;
}

.doc-aside a:hover {
    color: var(--accent-text);
}

.doc-aside__note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   更新日志 / 404
   -------------------------------------------------------------------------- */

.changelog {
    border-top: 1px solid var(--line);
    max-width: 1080px;
    margin-inline: auto;
}

.changelog__item {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    padding-block: 28px;
    border-bottom: 1px solid var(--line);
}

.changelog__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
}

.changelog__platform {
    color: var(--accent-text);
    letter-spacing: 0.1em;
    font-size: 12px;
}

.changelog__body h2 {
    font-size: 22px;
}

.changelog__body p {
    margin: 8px 0 0;
    max-width: 66ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.changelog__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 13px !important;
}

.changelog__sub .text-link {
    font-size: 13px;
}

.section--notfound {
    border-top: none;
}

.notfound {
    max-width: 720px;
    padding-block: clamp(48px, 8vw, 96px);
}

.notfound__title {
    font-size: clamp(32px, 4.8vw, 54px);
    line-height: 1.2;
}

.notfound__lead {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.notfound__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.notfound__note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */

.footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-block: clamp(44px, 6vw, 72px) 28px;
    background: var(--footer-bg);
    color: var(--footer-ink);
    border-top: 1px solid var(--line);
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-text);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr)) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
}

.brand--footer .brand__seal {
    background: transparent;
    border: 1px solid var(--footer-muted);
    color: var(--footer-ink);
}

.brand--footer .brand__name {
    color: var(--footer-ink);
}

.footer__full {
    margin: 16px 0 8px;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--footer-ink);
}

.footer__desc {
    max-width: 34ch;
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: var(--footer-muted);
}

.footer__title {
    margin-bottom: 14px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--footer-muted);
}

.footer__col li {
    padding: 6px 0;
    font-size: 14px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: 13px;
}

.footer__contact li span {
    flex: 0 0 3em;
    color: var(--footer-muted);
}

.footer__contact li + li {
    margin-top: 2px;
}

.footer__map {
    border-bottom: 1px solid var(--footer-muted);
}

.footer__bottom {
    margin-top: clamp(30px, 4vw, 48px);
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--footer-muted) 30%, transparent);
}

.footer__copy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--footer-muted);
}

/* --------------------------------------------------------------------------
   二维码弹层
   -------------------------------------------------------------------------- */

.qr-modal[hidden] {
    display: none;
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.qr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(12, 16, 14, 0.62), rgba(12, 16, 14, 0.78));
}

.qr-modal__panel {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 36px) clamp(26px, 3.6vw, 34px);
    background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 55%), var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 24px;
    text-align: center;
    box-shadow:
        0 40px 90px -40px rgba(10, 14, 12, 0.6),
        0 12px 30px -18px rgba(10, 14, 12, 0.4),
        0 0 0 1px var(--screen-ring);
    animation: qr-modal-in 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.qr-modal__panel::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid color-mix(in srgb, var(--accent-text) 12%, transparent);
    border-radius: 17px;
    pointer-events: none;
}

.qr-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.qr-modal__close:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.qr-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--accent-text);
}

.qr-modal__pulse {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    animation: qr-pulse 2.4s ease-in-out infinite;
}

.qr-modal__title {
    margin-bottom: 20px;
    font-size: 23px;
    line-height: 1.35;
}

.qr-modal__image {
    display: flex;
    justify-content: center;
    padding: clamp(14px, 2.4vw, 18px);
    border-radius: 18px;
    background: #fdfbf6;
    box-shadow: inset 0 0 0 1px rgba(30, 42, 36, 0.08), 0 1px 2px rgba(30, 42, 36, 0.05);
}

.qr-modal__frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
}

.qr-modal__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-modal__frame .qr-modal__scan {
    animation: qr-scan 2.8s cubic-bezier(0.42, 0, 0.3, 1) 0.35s 1 both;
}

.qr-modal__tip {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

.qr-modal__hint {
    margin: 6px 0 0;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--muted) 76%, transparent);
}

@keyframes qr-scan {
    0% {
        opacity: 0;
        transform: translateY(-130%);
    }

    12% {
        opacity: 0.9;
    }

    72% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(330%);
    }
}

@keyframes qr-modal-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes qr-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px var(--accent-soft);
    }

    50% {
        box-shadow: 0 0 0 7px transparent;
    }
}

body.modal-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   微信内下载引导
   -------------------------------------------------------------------------- */

.wechat-tip[hidden] {
    display: none;
}

.wechat-tip {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 24px;
}

.wechat-tip__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 16, 14, 0.7);
}

.wechat-tip__panel {
    position: relative;
    width: min(440px, 100%);
    padding: 34px 30px 28px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(10, 14, 12, 0.3);
}

.wechat-tip__arrow {
    position: absolute;
    top: -52px;
    right: 22px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 16px solid var(--surface);
    filter: drop-shadow(0 -1px 0 var(--line));
}

.wechat-tip__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent-text);
}

.wechat-tip__title {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.3;
}

.wechat-tip__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

.wechat-tip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wechat-tip__note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    opacity: 0.8;
}

@media (max-width: 640px) {
    .wechat-tip__arrow {
        display: none;
    }

    .wechat-tip__panel {
        padding: 28px 22px 24px;
    }
}

/* --------------------------------------------------------------------------
   模式差异
   -------------------------------------------------------------------------- */

[data-mode="chronograph"] .brand__seal {
    color: #fdf9f0;
}

[data-mode="chronograph"] .entry-card__media,
[data-mode="chronograph"] .entry-card__media img,
[data-mode="chronograph"] .qr-card__media,
[data-mode="chronograph"] .qr-card__media img,
[data-mode="chronograph"] .qr-modal__image {
    background: #fdfbf6;
}

[data-mode="chronograph"] .doc-aside,
[data-mode="chronograph"] .notice,
[data-mode="chronograph"] .about__note,
[data-mode="chronograph"] .about-detail__aside,
[data-mode="chronograph"] .cta {
    background: var(--surface);
}

[data-mode="chronograph"] .stat {
    background: var(--bg);
}

[data-mode="chronograph"] .hero--chronograph .eyebrow::before,
[data-mode="chronograph"] .hero--chronograph .eyebrow::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin: 0 12px;
    vertical-align: middle;
    background: var(--accent);
    opacity: 0.6;
}

[data-mode="chronograph"] .feature__index,
[data-mode="chronograph"] .value__index {
    letter-spacing: 0.18em;
}

/* 山水卷：内容居中，减少卡片边界感 */
[data-mode="scroll"] .section-head {
    align-items: center;
}

[data-mode="scroll"] .intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
}

[data-mode="scroll"] .intro__body {
    margin: 0 auto;
    max-width: 60ch;
}

[data-mode="scroll"] .feature {
    grid-template-columns: 48px minmax(0, 1fr) auto;
}

[data-mode="scroll"] .value-grid,
[data-mode="scroll"] .download-grid,
[data-mode="scroll"] .platform-grid,
[data-mode="scroll"] .contact-grid {
    background: transparent;
    border: 0;
    gap: 20px;
}

[data-mode="scroll"] .value,
[data-mode="scroll"] .download-card,
[data-mode="scroll"] .platform,
[data-mode="scroll"] .stat,
[data-mode="scroll"] .contact-card {
    border: 1px solid var(--line);
    background: var(--surface);
}

[data-mode="scroll"] .footer {
    border-top: 1px solid var(--line);
}

[data-mode="scroll"] .footer__copy {
    color: var(--footer-muted);
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .nav__inner {
        gap: 18px;
    }

    .nav__menu {
        gap: 16px;
    }

    .mode-switch__label {
        display: none;
    }

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

    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero__grid,
    .intro,
    .about,
    .about-detail,
    .doc-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .intro__head {
        padding-right: 0;
    }

    .intro__head::after {
        display: none;
    }

    .hero--editorial .hero__aside {
        order: -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero--editorial .dial {
        --dial-size: clamp(260px, 62vw, 340px);
    }

    .doc-aside {
        position: static;
    }

    .screen-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

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

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

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

    .changelog__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .changelog__meta {
        flex-direction: row;
        gap: 14px;
    }
}

@media (max-width: 760px) {
    :root {
        --nav-h: 64px;
    }

    .nav__inner {
        flex-wrap: wrap;
        padding-block: 10px;
        gap: 6px 16px;
    }

    .brand__name {
        font-size: 18px;
    }

    .nav__menu {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        gap: 18px;
        padding-bottom: 2px;
    }

    .nav__link {
        min-height: 38px;
        font-size: 13px;
    }

    .nav__link.is-active::after {
        bottom: 6px;
    }

    .mode-switch {
        margin-left: auto;
    }

    [data-mode="scroll"] .nav__inner {
        padding-block: 12px 8px;
    }

    [data-mode="scroll"] .brand {
        order: 1;
        width: auto;
        justify-content: flex-start;
    }

    [data-mode="scroll"] .brand__name {
        font-size: 18px;
    }

    [data-mode="scroll"] .mode-switch {
        order: 2;
    }

    [data-mode="scroll"] .nav__menu {
        order: 3;
    }

    .mode-switch__item {
        min-height: 34px;
        padding: 0 8px;
        font-size: 11px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-head > .text-link {
        align-self: flex-start;
    }

    .feature {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .feature__link {
        grid-column: 2;
        justify-self: start;
    }

    .hero__title {
        font-size: clamp(36px, 10.4vw, 52px);
    }

    .hero__lead {
        font-size: 15px;
    }

    .hero__actions {
        margin-top: 26px;
    }

    .btn {
        flex: 1 1 auto;
        min-height: 46px;
        padding: 0 18px;
    }

    .hero__actions .btn,
    .cta__actions .btn,
    .notfound__links .btn {
        flex: 1 1 46%;
    }

    .hero__facts {
        gap: 18px;
        margin-top: 32px;
    }

    .hero__facts > div {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
        flex: 1 1 28%;
    }

    .screen-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 340px;
        margin-inline: auto;
    }

    .screen__frame {
        aspect-ratio: 621 / 1170;
    }

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

    .entry-card {
        gap: 14px;
        padding: 16px;
    }

    .entry-card__media {
        flex: 0 0 96px;
        width: 96px;
        padding: 7px;
        border-radius: 13px;
    }

    .entry-card__media img {
        border-radius: 7px;
    }

    .entry-card__empty {
        width: 96px;
        height: 96px;
        padding: 8px;
        border-radius: 13px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta__actions {
        width: 100%;
    }

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

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

    .hero__dial .dial {
        --dial-size: clamp(260px, 78vw, 340px);
    }

    .dial__branch {
        font-size: 15px;
    }

    .page-hero__title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .doc__body {
        font-size: 14px;
    }

    .doc__body h1 {
        font-size: 22px;
    }

    .doc__body h2 {
        font-size: 19px;
    }

    .legal-table > div {
        flex-direction: column;
        gap: 4px;
    }

    .legal-table dt {
        flex: none;
    }

    .hero__facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .hero__facts > div {
        padding: 0;
        margin: 0;
        border-right: 0;
    }

    .hero__facts dd {
        font-size: 24px;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }

    .footer__brand,
    .footer__contact {
        grid-column: span 2;
    }

    .footer__bottom {
        margin-top: 28px;
    }

    .scroll-strip__track {
        padding-inline: 20px;
    }

    .mode-switch__item {
        letter-spacing: 0.02em;
    }
}

@media (max-width: 560px) {
    .qr-modal {
        padding: 16px;
    }

    .qr-modal__panel {
        max-height: calc(100vh - 32px);
        padding: 28px 18px 24px;
    }

    .qr-modal__title {
        font-size: 20px;
    }

    .h5-card {
        gap: 14px;
        padding: 12px;
    }

    .h5-card__view {
        min-height: 190px;
        padding: 28px 16px 12px;
    }

    .h5-card__frame {
        width: min(100%, 156px);
    }

    .h5-card__body {
        padding: 2px 4px 4px;
    }

    .h5-card__body h3 {
        font-size: 19px;
    }

    .h5-card__desc {
        font-size: 12.5px;
    }

    .h5-card__actions {
        gap: 8px 10px;
        padding-top: 16px;
    }

    .h5-card__cta {
        flex: 1 1 auto;
        padding: 0 16px;
    }

    .h5-card__zoom {
        flex: 0 0 auto;
    }
}

@media (max-width: 400px) {
    .mode-switch__item {
        padding: 0 7px;
    }

    .brand__name {
        letter-spacing: 0.08em;
    }

    .stat dd {
        font-size: 28px;
    }

    .hero__facts > div {
        flex: 1 1 40%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
