:root {
    color-scheme: light;
    --bg: #fbfbfd;
    --bg-soft: #f5f5f7;
    --bg-elevated: #ffffff;
    --fg: #1d1d1f;
    --fg-soft: #424245;
    --muted: #6e6e73;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.14);
    --card: rgba(255, 255, 255, 0.72);
    --card-solid: #ffffff;
    --header-bg: rgba(251, 251, 253, 0.72);
    --code-bg: #f5f5f7;
    --accent: #0071e3;
    --accent-contrast: #ffffff;
    --danger: #d70015;
    --success: #248a3d;
    /* 浅色提示条上的成功文案需要更深，才能达到 WCAG AA 4.5:1。 */
    --success-text: #176c2e;
    --warning: #b25000;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.09);
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 32px;
    --max-width: 1200px;
    --header-height: 64px;
    /* 产品微站的二级导航是第二层 sticky；有产品导航的页面用 :has 自动加上这段高度。 */
    --product-bar-height: 0px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #000000;
        --bg-soft: #0b0b0d;
        --bg-elevated: #141416;
        --fg: #f5f5f7;
        --fg-soft: #d2d2d7;
        --muted: #a1a1a6;
        --line: rgba(255, 255, 255, 0.12);
        --line-strong: rgba(255, 255, 255, 0.2);
        --card: rgba(28, 28, 30, 0.72);
        --card-solid: #1c1c1e;
        --header-bg: rgba(0, 0, 0, 0.64);
        --code-bg: #1c1c1e;
        --accent: #2997ff;
        --accent-contrast: #ffffff;
        --danger: #ff6961;
        --success: #30d158;
        --success-text: #30d158;
        --warning: #ff9f0a;
        --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.4);
        --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
        --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #000000;
    --bg-soft: #0b0b0d;
    --bg-elevated: #141416;
    --fg: #f5f5f7;
    --fg-soft: #d2d2d7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --card: rgba(28, 28, 30, 0.72);
    --card-solid: #1c1c1e;
    --header-bg: rgba(0, 0, 0, 0.64);
    --code-bg: #1c1c1e;
    --accent: #2997ff;
    --accent-contrast: #ffffff;
    --danger: #ff6961;
    --success: #30d158;
    --warning: #ff9f0a;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--product-bar-height) + 24px);
}

/* 产品微站的二级导航固定在主导航下方；锚点、文档侧栏都要把这段高度算进去。 */
:root:has(.product-bar) {
    --product-bar-height: 56px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

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

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    letter-spacing: -0.022em;
    margin: 0;
}

p {
    margin: 0;
}

::selection {
    background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--fg);
    color: var(--bg);
    transition: top 0.2s var(--ease);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
}

.header-inner {
    width: min(var(--max-width), 100%);
    height: var(--header-height);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
    font-weight: 650;
    font-size: 18px;
    letter-spacing: -0.01em;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex: none;
    filter: drop-shadow(0 4px 10px rgba(10, 61, 145, 0.2));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    color: var(--fg-soft);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.site-nav a:hover {
    color: var(--fg);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.lang-switch {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--fg-soft);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch:hover {
    border-color: var(--fg-soft);
    color: var(--fg);
    text-decoration: none;
}

.icon-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--fg-soft);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-button:hover {
    background: color-mix(in srgb, var(--fg) 8%, transparent);
    color: var(--fg);
}

.icon-button:active {
    transform: scale(0.94);
}

.icon {
    width: 20px;
    height: 20px;
}

.icon-sun {
    display: none;
}

:root[data-theme="light"] .icon-sun {
    display: block;
}

:root[data-theme="light"] .icon-moon {
    display: none;
}

:root[data-theme="dark"] .icon-sun {
    display: none;
}

:root[data-theme="dark"] .icon-moon {
    display: block;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .icon-sun {
        display: block;
    }

    :root:not([data-theme="dark"]) .icon-moon {
        display: none;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 1.6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.3px) rotate(-45deg);
}

.announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 20px;
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
    color: var(--fg-soft);
    font-size: 14px;
    text-align: center;
}

.announcement-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.announcement.is-hidden {
    display: none;
}

.site-main {
    flex: 1;
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 0 32px 96px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    min-height: min(720px, calc(100vh - var(--header-height)));
    padding: 72px 0 64px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10% 0 auto;
    height: 620px;
    background:
        radial-gradient(42% 55% at 22% 30%, color-mix(in srgb, #0a84ff 22%, transparent), transparent 70%),
        radial-gradient(38% 50% at 72% 20%, color-mix(in srgb, #bf5af2 18%, transparent), transparent 70%),
        radial-gradient(40% 48% at 55% 70%, color-mix(in srgb, #30d158 14%, transparent), transparent 72%);
    filter: blur(30px);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    background: color-mix(in srgb, var(--bg-elevated) 60%, transparent);
    backdrop-filter: blur(12px);
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d158;
    box-shadow: 0 0 0 4px color-mix(in srgb, #30d158 20%, transparent);
}

.hero-copy {
    min-width: 0;
}

.hero-title {
    font-size: clamp(46px, 7.2vw, 88px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.hero-title .gradient {
    background: linear-gradient(100deg, #0a84ff 0%, #30d158 48%, #bf5af2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 560px;
    margin-top: 24px;
    color: var(--fg-soft);
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.45;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 34%, transparent);
}

.button:active {
    transform: scale(0.98);
}

.button.secondary {
    background: color-mix(in srgb, var(--fg) 6%, transparent);
    color: var(--fg);
    border-color: var(--line-strong);
    box-shadow: none;
}

.button.secondary:hover {
    background: color-mix(in srgb, var(--fg) 10%, transparent);
}

.button.small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
}

.button.ghost {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    padding-left: 8px;
    padding-right: 8px;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-stack {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1 / 1;
}

.device {
    position: absolute;
    border-radius: 34px;
    border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--bg-elevated) 92%, transparent), color-mix(in srgb, var(--bg-soft) 70%, transparent));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.device::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.38), transparent 42%);
    opacity: 0.5;
    pointer-events: none;
}

.device-main {
    inset: 6% 12% 12% 18%;
    transform: rotate(-5deg);
    animation: float-main 9s ease-in-out infinite;
}

.device-back {
    inset: 20% 22% 4% 4%;
    transform: rotate(7deg);
    opacity: 0.72;
    animation: float-back 11s ease-in-out infinite;
}

.device-screen {
    position: absolute;
    inset: 4%;
    border-radius: 24px;
    background:
        radial-gradient(58% 44% at 50% 42%, rgba(255, 255, 255, 0.12), transparent 72%),
        linear-gradient(160deg, #1c1c1f, #08080a);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.device-app-icon {
    width: min(100%, 200px);
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

@keyframes float-main {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-14px); }
}

@keyframes float-back {
    0%, 100% { transform: rotate(7deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(12px); }
}

.section {
    padding: 84px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.section-lead {
    margin-top: 16px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.5;
}

.section-soft {
    position: relative;
    margin: 0 -32px;
    padding: 84px 32px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--accent, #0a84ff) 14%, transparent), transparent 60%),
        var(--card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    text-decoration: none;
    color: var(--fg);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--accent, #0a84ff) 30%, var(--line));
    text-decoration: none;
}

.product-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent, #0a84ff) 18%, transparent);
    filter: blur(40px);
    pointer-events: none;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--accent, #0a84ff) 16%, transparent);
    color: var(--accent, #0a84ff);
}

.product-icon svg {
    width: 26px;
    height: 26px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.product-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.product-arrow {
    color: var(--accent, #0a84ff);
    font-size: 20px;
    transition: transform 0.3s var(--ease);
}

.product-card:hover .product-arrow {
    transform: translateX(5px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    background: color-mix(in srgb, var(--fg) 7%, transparent);
    color: var(--muted);
}

.status-badge.available {
    background: color-mix(in srgb, #30d158 16%, transparent);
    color: #1a7f37;
}

.status-badge.in-development {
    background: color-mix(in srgb, #0a84ff 14%, transparent);
    color: #0066cc;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .status-badge.available {
        color: #30d158;
    }

    :root:not([data-theme="light"]) .status-badge.in-development {
        color: #64b5ff;
    }
}

:root[data-theme="dark"] .status-badge.available {
    color: #30d158;
}

:root[data-theme="dark"] .status-badge.in-development {
    color: #64b5ff;
}

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

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
}

.cta-panel {
    position: relative;
    margin-top: 64px;
    padding: 56px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 120% at 12% 0%, color-mix(in srgb, #0a84ff 28%, transparent), transparent 60%),
        radial-gradient(80% 120% at 88% 100%, color-mix(in srgb, #bf5af2 24%, transparent), transparent 60%),
        var(--bg-elevated);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-panel h2 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.035em;
}

.cta-panel p {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 18px;
}

.cta-panel .hero-actions {
    justify-content: center;
}

/* 页面通用头部 */
.page-hero {
    padding: 64px 0 44px;
    border-bottom: 1px solid var(--line);
}

.page-hero .section-eyebrow {
    margin-bottom: 14px;
}

.page-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.5;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs span {
    color: var(--line-strong);
}

.page-section {
    padding: 56px 0;
}

.page-section.narrow {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.page-section h2 {
    margin-bottom: 20px;
    font-size: clamp(26px, 3.4vw, 38px);
    letter-spacing: -0.03em;
}

.page-section h3 {
    margin: 32px 0 12px;
    font-size: 21px;
}

.page-section p,
.page-section li {
    color: var(--fg-soft);
    line-height: 1.7;
}

.page-section p + p {
    margin-top: 16px;
}

.page-section ul,
.page-section ol {
    padding-left: 24px;
    margin: 12px 0;
}

.page-section li + li {
    margin-top: 8px;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.panel + .panel {
    margin-top: 18px;
}

.panel h2,
.panel h3 {
    margin-bottom: 12px;
}

.panel h2:first-child,
.panel h3:first-child {
    margin-top: 0;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.meta-item {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--fg) 4%, transparent);
}

.meta-item dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.meta-item dd {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 550;
    word-break: break-word;
}

.code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--code-bg);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
}

pre {
    overflow-x: auto;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: var(--code-bg);
    border: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
}

pre code {
    padding: 0;
    background: transparent;
    font-size: inherit;
}

blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: color-mix(in srgb, var(--accent) 7%, transparent);
    color: var(--fg-soft);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--fg) 4%, transparent);
}

tr:last-child td {
    border-bottom: 0;
}

/* 下载 */
.release-list {
    display: grid;
    gap: 16px;
}

.release-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.release-card h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 20px;
}

.release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 13px;
}

.release-notes {
    margin-top: 12px;
    color: var(--fg-soft);
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}

.release-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.release-hash {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    word-break: break-all;
    max-width: 280px;
}

.tag {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fg) 7%, transparent);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.tag.beta {
    background: color-mix(in srgb, #ff9f0a 16%, transparent);
    color: #a35a00;
}

.tag.latest {
    background: color-mix(in srgb, #30d158 16%, transparent);
    color: #1a7f37;
}

.download-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--accent, #0a84ff) 18%, transparent), transparent 60%),
        var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.download-hero h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    letter-spacing: -0.03em;
}

.download-hero p {
    margin-top: 10px;
    color: var(--muted);
}

.download-hero .hero-actions {
    margin-top: 22px;
}

/* 文档 */
.docs-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 48px;
    padding-top: 40px;
}

.docs-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--product-bar-height) + 24px);
    align-self: start;
    display: grid;
    gap: 26px;
}

.docs-sidebar h3 {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.docs-sidebar a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--fg-soft);
    font-size: 14px;
    text-decoration: none;
}

.docs-sidebar a:hover {
    background: color-mix(in srgb, var(--fg) 6%, transparent);
    text-decoration: none;
}

.docs-sidebar a.is-active {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    font-weight: 600;
}

.doc-content {
    min-width: 0;
    max-width: 820px;
}

.doc-content h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -0.04em;
}

.doc-content h2 {
    margin: 40px 0 14px;
    font-size: 26px;
    letter-spacing: -0.02em;
}

.doc-content h3 {
    margin: 28px 0 10px;
    font-size: 20px;
}

.doc-content p,
.doc-content li {
    color: var(--fg-soft);
    line-height: 1.75;
}

.doc-content p + p {
    margin-top: 14px;
}

.doc-content ul,
.doc-content ol {
    padding-left: 24px;
    margin: 12px 0;
}

.doc-content li + li {
    margin-top: 7px;
}

.doc-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.doc-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.doc-nav a {
    display: grid;
    gap: 4px;
    max-width: 45%;
    color: var(--fg);
    text-decoration: none;
}

.doc-nav span {
    color: var(--muted);
    font-size: 12px;
}

/* FAQ */
.faq-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.chip {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--fg-soft);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chip:hover,
.chip.is-active {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}

.search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--fg);
    font: inherit;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 550;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}

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

.faq-answer {
    padding: 0 22px 22px;
    color: var(--fg-soft);
    line-height: 1.7;
}

.faq-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.empty-state {
    padding: 48px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

/* 表单 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.field {
    display: grid;
    align-items: start;
    align-content: start;
    min-width: 0;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--fg-soft);
    font-size: 13px;
    font-weight: 600;
}

.field .hint {
    color: var(--muted);
    font-size: 12px;
}

.input,
.select,
.textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--bg-elevated);
    color: var(--fg);
    font: inherit;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.select::-ms-expand {
    display: none;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--fg-soft);
    font-size: 14px;
}

.checkbox-row input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.alert.success {
    background: color-mix(in srgb, #30d158 14%, transparent);
    color: var(--success-text);
}

.alert.error {
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
}

.alert.warning {
    background: color-mix(in srgb, #ff9f0a 14%, transparent);
    color: var(--warning);
}

.text-danger {
    color: var(--danger);
}

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

.lead {
    color: var(--fg-soft);
    font-size: 19px;
}

/* 路线图 */
.timeline {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.timeline-date {
    color: var(--accent);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline-item h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.6;
}

/* 页脚 */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.footer-inner {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 60px 32px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 48px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    flex: none;
    filter: drop-shadow(0 6px 14px rgba(10, 61, 145, 0.18));
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-links h3 {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    color: var(--fg-soft);
    font-size: 14px;
    text-decoration: none;
}

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

.footer-bottom {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 18px 32px 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

/* 备案号与工信部图标作为一个整体，避免手机换行时图标与文字分离。 */
.footer-icp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.footer-icp img {
    width: 20px;
    height: 20px;
    flex: none;
    object-fit: contain;
}

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

/* 滚动入场 */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

@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;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .device-main,
    .device-back {
        animation: none;
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        min-height: auto;
        padding-top: 48px;
    }

    .hero-visual {
        min-height: 380px;
        order: -1;
    }

    .device-stack {
        width: min(100%, 380px);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .docs-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .docs-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .docs-sidebar > div {
        min-width: 160px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .release-card {
        grid-template-columns: 1fr;
    }

    .release-actions {
        align-items: flex-start;
    }

    .download-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* 主导航在 960px 以下折叠：721–950px 时 8 个入口会挤出 header。 */
@media (max-width: 960px) {
    .site-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 32px 18px;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 8px;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .site-main {
        padding: 0 16px 72px;
    }

    .section-soft {
        margin: 0 -16px;
        padding: 64px 16px;
        border-radius: 0;
    }

    .site-nav {
        padding: 10px 16px 18px;
    }

    .hero {
        padding: 32px 0 40px;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 56px);
    }

    .hero-visual {
        min-height: 300px;
    }

    .device-stack {
        width: min(100%, 300px);
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .product-card {
        min-height: 240px;
        padding: 24px;
    }

    .cta-panel {
        padding: 36px 22px;
    }

    .page-hero {
        padding: 40px 0 32px;
    }

    .page-section {
        padding: 40px 0;
    }

    .panel {
        padding: 22px;
    }

    .release-card {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-inner {
        padding: 44px 16px 32px;
    }

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

    .footer-bottom {
        padding: 16px 16px 24px;
    }

    .doc-nav {
        flex-direction: column;
    }

    .doc-nav a {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .brand span {
        display: none;
    }

    .lang-switch {
        padding: 6px 9px;
        font-size: 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* 产品微站：产品二级导航、Hero、叙事与下载区 */
.product-bar {
    position: sticky;
    top: var(--header-height);
    z-index: 40;
    margin: 0 -32px;
    padding: 0 32px;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.product-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 56px;
}

.product-bar-id {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
    text-decoration: none;
}

.product-bar-id:hover {
    text-decoration: none;
}

.product-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
}

.product-bar-icon svg {
    width: 20px;
    height: 20px;
}

.product-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.product-bar-text strong {
    font-size: 14px;
}

.product-bar-status {
    color: var(--muted);
    font-size: 11px;
}

.product-bar-nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-bar-nav::-webkit-scrollbar {
    display: none;
}

.product-bar-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 550;
    white-space: nowrap;
    text-decoration: none;
}

.product-bar-nav a:hover {
    color: var(--fg);
    background: color-mix(in srgb, var(--fg) 6%, transparent);
    text-decoration: none;
}

.product-bar-nav a.is-active {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--line);
}

.product-hero-copy {
    min-width: 0;
}

.product-hero-copy h1 {
    font-size: clamp(38px, 5.4vw, 62px);
    font-weight: 700;
    letter-spacing: -0.04em;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-hero-copy .lead {
    max-width: 640px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.5;
}

.product-hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.product-hero-visual {
    position: relative;
    min-height: 320px;
}

.product-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
    border-radius: var(--radius-lg);
    background:
        radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 70%),
        var(--card-solid);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-visual-orbit {
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
    border-radius: 50%;
}

.product-visual-orbit.orbit-1 {
    inset: 12%;
}

.product-visual-orbit.orbit-2 {
    inset: 27%;
    border-style: dashed;
}

.product-visual-core {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--accent) 24%, var(--card-solid));
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.product-visual-core svg {
    width: 44px;
    height: 44px;
}

.product-visual-caption {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 48px;
}

.product-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.product-points li {
    position: relative;
    padding-left: 20px;
    color: var(--fg-soft);
    font-size: 15px;
}

.product-points li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.product-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
    padding: 44px 0;
    border-top: 1px solid var(--line);
}

.product-story:first-child {
    padding-top: 0;
    border-top: 0;
}

.product-story.reverse .product-story-copy {
    order: 2;
}

.product-story.reverse .product-story-visual {
    order: 1;
}

.product-story-number {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.product-story-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(26px, 3.4vw, 38px);
}

.product-story-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.product-story-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.product-story-list li {
    position: relative;
    padding-left: 22px;
    color: var(--fg-soft);
    font-size: 15px;
}

.product-story-list li::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.product-story-visual .product-visual {
    max-width: 360px;
}

.product-usecase-grid,
.product-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-usecase,
.product-step {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.product-usecase h3,
.product-step h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.product-usecase p,
.product-step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.product-guide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.product-limitations {
    padding-left: 22px;
    color: var(--fg-soft);
}

.product-limitations li + li {
    margin-top: 8px;
}

.product-download-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
        var(--card);
    box-shadow: var(--shadow);
}

.product-download-band h2 {
    font-size: clamp(26px, 3.4vw, 38px);
}

.product-download-band p {
    margin-top: 10px;
    color: var(--muted);
}

.product-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-scope {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.search-scope .select {
    max-width: 260px;
}

.faq-toolbar + .faq-toolbar {
    margin-top: -16px;
}

@media (max-width: 980px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 44px;
    }

    .product-hero-visual {
        min-height: 0;
        order: -1;
    }

    .product-visual {
        max-width: 320px;
    }

    .product-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-story.reverse .product-story-copy {
        order: 1;
    }

    .product-story.reverse .product-story-visual {
        order: 2;
    }

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

    .product-guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    :root:has(.product-bar) {
        --product-bar-height: 0px;
    }

    .product-bar {
        position: static;
        margin: 0 -16px;
        padding: 0 16px;
    }

    .product-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0;
    }

    .product-bar-nav {
        flex-wrap: wrap;
        width: 100%;
        overflow: visible;
    }

    .product-hero {
        padding: 36px 0 40px;
    }

    .product-hero-copy h1 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .product-points {
        grid-template-columns: 1fr;
    }

    .product-usecase-grid,
    .product-step-grid {
        grid-template-columns: 1fr;
    }

    .product-download-band {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .search-scope {
        flex-direction: column;
        align-items: stretch;
    }

    .search-scope .select {
        max-width: none;
    }
}

/* 社区讨论 */
.community-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.community-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.community-list {
    display: grid;
    gap: 12px;
}

.community-thread {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.community-thread:hover {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    transform: translateY(-2px);
}

.community-thread-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.community-project {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #0a84ff) 12%, transparent);
    color: var(--accent, #0a84ff);
    font-size: 11px;
    font-weight: 650;
}

.community-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.community-thread-title {
    display: block;
    color: var(--fg);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    text-decoration: none;
}

.community-thread-title:hover {
    color: var(--accent);
    text-decoration: none;
}

.community-excerpt {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.community-thread-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.community-pagination {
    margin-top: 22px;
    text-align: center;
}

.community-notice {
    margin-bottom: 18px;
}

.community-thread-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.community-thread-page {
    padding-top: 34px;
}

.community-post {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.community-post + .community-post {
    margin-top: 12px;
}

.community-post-original {
    border-left: 3px solid var(--accent);
}

.community-post.is-accepted {
    border-color: color-mix(in srgb, #30d158 45%, var(--line));
    background: color-mix(in srgb, #30d158 6%, var(--card));
}

.community-post-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.community-post-head .muted {
    color: var(--muted);
    font-size: 12px;
}

.community-post-body {
    color: var(--fg-soft);
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.community-post-body h1,
.community-post-body h2,
.community-post-body h3 {
    margin: 24px 0 10px;
    color: var(--fg);
}

.community-post-body p + p {
    margin-top: 12px;
}

.community-post-body ul,
.community-post-body ol {
    padding-left: 23px;
    margin: 10px 0;
}

.community-post-body li + li {
    margin-top: 6px;
}

.community-post-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.community-post-body code {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--code-bg);
    font-size: 0.92em;
}

.community-post-body pre {
    padding: 14px;
    border-radius: var(--radius-sm);
    background: var(--code-bg);
    overflow-x: auto;
}

.community-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.community-post-actions form {
    display: inline;
}

.community-replies {
    margin-top: 18px;
}

.community-form h2 {
    margin-bottom: 14px;
}

.community-new-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .community-new-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.community-report {
    margin-top: 20px;
}

@media (max-width: 720px) {
    .community-thread {
        padding: 18px;
    }

    .community-thread-title {
        font-size: 17px;
    }

    .community-post {
        padding: 18px;
    }

    .community-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .community-toolbar .button {
        align-self: flex-start;
    }
}

/* 评论点赞与嵌套回复 */
.community-vote-form {
    display: inline;
}

.community-vote {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.community-vote:hover {
    color: var(--fg);
    border-color: color-mix(in srgb, var(--fg) 30%, var(--line-strong));
}

.community-vote.is-active {
    color: #d70015;
    border-color: color-mix(in srgb, #d70015 40%, var(--line-strong));
    background: color-mix(in srgb, #d70015 8%, transparent);
}

.community-vote svg {
    flex: none;
}

.community-reply-to {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.community-children {
    margin: 10px 0 0 26px;
    padding-left: 22px;
    border-left: 2px solid var(--line);
}

.community-children .community-post {
    background: color-mix(in srgb, var(--bg-soft) 55%, var(--card));
}

.community-thread-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 26px 0 12px;
}

.community-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.community-sort .chip {
    padding: 5px 11px;
    font-size: 12px;
}

.community-reply-target {
    margin: -4px 0 14px;
    padding: 10px 12px;
    border-left: 2px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    font-size: 13px;
    line-height: 1.6;
}

.community-reply-target a {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .community-children {
        margin-left: 8px;
        padding-left: 12px;
    }
}

.community-replies + .community-form {
    margin-top: 20px;
}

html[lang="en"] .product-hero-copy h1 {
    text-wrap: balance;
}

/* 首页产品聚焦与补充内容 */
.spotlight-section {
    padding: 8px 0 84px;
}

.spotlight {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 40px;
    min-width: 0;
    padding: 52px;
    border: 1px solid color-mix(in srgb, var(--accent, #0a84ff) 24%, var(--line));
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--accent, #0a84ff) 22%, transparent), transparent 62%),
        radial-gradient(60% 90% at 100% 100%, color-mix(in srgb, #30d158 12%, transparent), transparent 60%),
        var(--bg-elevated);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.spotlight::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -48%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent, #0a84ff) 18%, transparent), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}

.spotlight-copy,
.spotlight-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.spotlight h2 {
    max-width: 720px;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.spotlight-lead {
    max-width: 620px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.55;
}

.spotlight-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.spotlight-facts li {
    padding: 7px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--fg-soft);
    background: color-mix(in srgb, var(--bg-elevated) 64%, transparent);
    font-size: 13px;
    line-height: 1.3;
}

.spotlight-note {
    max-width: 620px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.spotlight-visual .product-visual {
    max-width: 360px;
}

.connection-grid,
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.connection-card,
.scenario-card,
.step-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.connection-card {
    min-height: 220px;
}

.connection-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 20px;
    padding: 0 8px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.connection-card h3,
.scenario-card h3,
.step-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
    letter-spacing: -0.015em;
}

.connection-card p,
.scenario-card p,
.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.connection-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.connection-foot a {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.scenario-card {
    min-height: 188px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.scenario-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow: var(--shadow);
}

.scenario-number {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.steps-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.resource-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.resource-copy h2 {
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.resource-copy p {
    max-width: 420px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.resource-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--fg);
    text-decoration: none;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.resource-link:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.resource-link-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.resource-link-copy strong {
    font-size: 15px;
    font-weight: 650;
}

.resource-link-copy > span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.resource-arrow {
    flex: none;
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 980px) {
    .spotlight {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 38px;
    }

    .spotlight-visual {
        order: -1;
    }

    .spotlight-visual .product-visual {
        max-width: 280px;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .resource-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 720px) {
    .spotlight-section {
        padding: 0 0 60px;
    }

    .spotlight {
        gap: 24px;
        padding: 28px 22px;
        border-radius: var(--radius);
    }

    .spotlight h2 {
        font-size: clamp(28px, 8.6vw, 38px);
    }

    .spotlight-lead {
        margin-top: 14px;
    }

    .spotlight-facts {
        gap: 6px;
        margin-top: 18px;
    }

    .spotlight-facts li {
        padding: 6px 9px;
        font-size: 12px;
    }

    .connection-grid,
    .scenario-grid,
    .resource-links {
        grid-template-columns: 1fr;
    }

    .connection-card {
        min-height: 0;
    }

    .connection-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .resource-panel {
        padding: 26px 22px;
        border-radius: var(--radius);
    }

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