:root {
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --nav-h: 72px;
    --max-w: 1180px;
    --font-sans: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: "Inter", "SF Pro Display", "PingFang SC", sans-serif;
    --type-page-title: clamp(1.35rem, 2.8vw, 1.6rem);
    --type-page-lead: 0.92rem;
    --type-page-body: 0.94rem;
    --type-section-label: 0.78rem;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #050816;
    --bg-elevated: #0c1222;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f7ff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-2: #22d3ee;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-card-hover: 0 32px 100px rgba(0, 0, 0, 0.55);
    --nav-scrolled-bg: rgba(5, 8, 22, 0.72);
    --page-glow: radial-gradient(900px 520px at 15% -5%, rgba(99, 102, 241, 0.22), transparent 60%),
        radial-gradient(700px 420px at 85% 5%, rgba(34, 211, 238, 0.12), transparent 55%),
        radial-gradient(600px 400px at 50% 100%, rgba(139, 92, 246, 0.08), transparent 60%);
    --grid-line: rgba(255, 255, 255, 0.03);
    --grid-opacity: 0.35;
    --card-bg: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    --panel-bg: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    --pill-bg: rgba(255, 255, 255, 0.03);
    --chip-bg: rgba(255, 255, 255, 0.04);
    --btn-ghost-bg: rgba(255, 255, 255, 0.04);
    --btn-ghost-hover: rgba(255, 255, 255, 0.08);
    --footer-bg: rgba(0, 0, 0, 0.2);
    --hero-gradient: linear-gradient(135deg, #fff 0%, #c7d2fe 45%, #67e8f9 100%);
    --title-sky: linear-gradient(135deg, #fff, #7dd3fc);
    --title-pine: linear-gradient(135deg, #fff, #6ee7b7);
    --title-rose: linear-gradient(135deg, #fff, #fda4af);
    --info-box-bg: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(34,211,238,0.06));
    --info-box-border: rgba(99, 102, 241, 0.2);
    --info-code-bg: rgba(0, 0, 0, 0.3);
    --info-code-color: #c7d2fe;
    --badge-live-bg: rgba(34, 197, 94, 0.15);
    --badge-live-color: #86efac;
    --badge-live-border: rgba(34, 197, 94, 0.25);
    --badge-beta-bg: rgba(99, 102, 241, 0.15);
    --badge-beta-color: #c7d2fe;
    --badge-beta-border: rgba(99, 102, 241, 0.25);
    --badge-soon-bg: rgba(148, 163, 184, 0.12);
    --badge-soon-color: #cbd5e1;
    --badge-soon-border: rgba(148, 163, 184, 0.2);
    --feature-icon-bg: rgba(99, 102, 241, 0.15);
    --feature-icon-color: #a5b4fc;
    --theme-toggle-bg: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #f8fafc;
    --bg-elevated: #ffffff;
    --surface: rgba(15, 23, 42, 0.04);
    --surface-hover: rgba(15, 23, 42, 0.07);
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #4f46e5;
    --accent-2: #0891b2;
    --accent-glow: rgba(79, 70, 229, 0.22);
    --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-card-hover: 0 24px 64px rgba(15, 23, 42, 0.12);
    --nav-scrolled-bg: rgba(248, 250, 252, 0.82);
    --page-glow: radial-gradient(900px 520px at 15% -5%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(700px 420px at 85% 5%, rgba(34, 211, 238, 0.08), transparent 55%),
        radial-gradient(600px 400px at 50% 100%, rgba(139, 92, 246, 0.05), transparent 60%);
    --grid-line: rgba(15, 23, 42, 0.04);
    --grid-opacity: 0.5;
    --card-bg: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 100%);
    --panel-bg: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
    --pill-bg: rgba(255, 255, 255, 0.75);
    --chip-bg: rgba(255, 255, 255, 0.85);
    --btn-ghost-bg: rgba(255, 255, 255, 0.85);
    --btn-ghost-hover: #ffffff;
    --footer-bg: rgba(255, 255, 255, 0.65);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #4338ca 45%, #0891b2 100%);
    --title-sky: linear-gradient(135deg, #0f172a, #0369a1);
    --title-pine: linear-gradient(135deg, #0f172a, #047857);
    --title-rose: linear-gradient(135deg, #0f172a, #be123c);
    --info-box-bg: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.05));
    --info-box-border: rgba(99, 102, 241, 0.15);
    --info-code-bg: rgba(15, 23, 42, 0.06);
    --info-code-color: #4338ca;
    --badge-live-bg: #dcfce7;
    --badge-live-color: #166534;
    --badge-live-border: #bbf7d0;
    --badge-beta-bg: #dbeafe;
    --badge-beta-color: #1d4ed8;
    --badge-beta-border: #bfdbfe;
    --badge-soon-bg: #f1f5f9;
    --badge-soon-color: #475569;
    --badge-soon-border: #e2e8f0;
    --feature-icon-bg: rgba(99, 102, 241, 0.1);
    --feature-icon-color: #4f46e5;
    --theme-toggle-bg: rgba(15, 23, 42, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.45) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    background-color: rgba(99, 102, 241, 0.35);
}
*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(99, 102, 241, 0.55);
}
[data-theme="dark"] body {
    scrollbar-color: rgba(129, 140, 248, 0.5) transparent;
}
[data-theme="dark"] *::-webkit-scrollbar-thumb {
    background-color: rgba(129, 140, 248, 0.38);
}
[data-theme="dark"] *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(129, 140, 248, 0.58);
}
.product-toc::-webkit-scrollbar,
.demo-page__list::-webkit-scrollbar,
.try-frame::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: var(--page-glow);
    transition: background 0.35s ease;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: var(--grid-opacity);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
    transition: opacity 0.35s ease;
}
a { color: inherit; text-decoration: none; }

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(var(--max-w), calc(100% - 3rem)); margin: 0 auto; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    border-bottom: 1px solid var(--border);
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(16px) saturate(1.35);
    transition: border-color 0.25s, backdrop-filter 0.25s, background 0.25s;
}
.nav.is-scrolled {
    border-color: var(--border-strong);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .nav.is-scrolled {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-start {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    min-width: 0;
    flex: 1;
    --nav-brand-size: 1rem;
    --nav-link-size: 0.9375rem;
}
.brand {
    flex-shrink: 0;
    color: var(--text);
    height: 34px;
}
.nav-start .ix-brand__name {
    font-family: var(--font-display);
    font-size: var(--nav-brand-size);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* 推广站冷色主题：图标跟 --accent / --accent-2，避免后台柿红在靛青页里突兀 */
.ix-brand--hub .ix-brand__mark {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow: 0 6px 22px var(--accent-glow);
    color: #fff;
}
.brand-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    height: 34px;
}
.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 0.55rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--nav-link-size);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.22s ease, opacity 0.2s ease;
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links a:hover::after {
    width: 1rem;
    opacity: 0.45;
}
.nav-links a.is-active {
    color: var(--text);
}
.nav-links a.is-active::after {
    width: 1.35rem;
    opacity: 1;
}
[data-theme="dark"] .nav-links a.is-active {
    color: #f4f7ff;
}
[data-theme="light"] .nav-links a.is-active {
    color: var(--accent);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    flex-shrink: 0;
}
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--theme-toggle-bg);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    color: var(--text);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.theme-toggle .icon-sun,
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: block; }

/* Hero */
.hero {
    padding: 5rem 0 3.5rem;
    text-align: center;
    max-width: 46rem;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    animation: fadeUp 0.8s ease both;
}
.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin: 0 0 1.35rem;
    animation: fadeUp 0.8s ease 0.05s both;
}
.hero h1 .gradient {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    margin: 0 auto 2rem;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-secondary);
    animation: fadeUp 0.8s ease 0.1s both;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    animation: fadeUp 0.8s ease 0.15s both;
}
.hero-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--pill-bg);
    border: 1px solid var(--border);
}
.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.2s both;
}

.section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-head--center p { max-width: 32rem; }

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.pillar-card {
    padding: 1.35rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.pillar-card:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    transform: translateY(-3px);
}
.pillar-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--feature-icon-bg);
    color: var(--feature-icon-color);
}
.pillar-card__icon svg { width: 22px; height: 22px; }
.pillar-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    font-weight: 700;
}
.pillar-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.product-card__highlights {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}
.product-card__highlights li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.product-card__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    counter-reset: step;
}
.step-card {
    padding: 1.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.step-card__num {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.step-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
}
.step-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.15rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--text-muted);
    font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
    margin: 0;
    padding: 0 1.15rem 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.product-block .faq-list,
.guide-faq .faq-list {
    max-width: none;
    margin: 0;
}
.guide-faq {
    margin: 1.5rem 0 0;
}
.guide-faq h2 {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
}
.guide-links {
    display: grid;
    gap: 0.65rem;
}
.guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.guide-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cta-band {
    margin: 1rem 0 0;
    padding: 3rem 0 4rem;
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    background: var(--info-box-bg);
    border: 1px solid var(--info-box-border);
    box-shadow: var(--shadow-card);
}
.cta-band h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}
.cta-band p {
    margin: 0;
    max-width: 36rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.92rem;
}
.btn-lg {
    padding: 0.8rem 1.35rem;
    font-size: 0.95rem;
}

/* Section */
.section { padding: 1rem 0 4rem; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}
.section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}
.product-grid--single {
    grid-template-columns: minmax(300px, 540px);
    justify-content: center;
}
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
    animation: fadeUp 0.7s ease both;
}
.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.16s; }
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card-hover);
}
.product-card__glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.35s;
}
.product-card:hover .product-card__glow { opacity: 0.7; }
.product-card--sky .product-card__glow { background: #38bdf8; }
.product-card--pine .product-card__glow { background: #34d399; }
.product-card--rose .product-card__glow { background: #fb7185; }

.product-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.product-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.product-card__icon svg { width: 26px; height: 26px; }
.product-card--sky .product-card__icon { color: #7dd3fc; }
.product-card--pine .product-card__icon { color: #6ee7b7; }
.product-card--rose .product-card__icon { color: #fda4af; }

.product-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}
.product-card__sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.product-card__summary {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
}
.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.badge-live { background: var(--badge-live-bg); color: var(--badge-live-color); border: 1px solid var(--badge-live-border); }
.badge-beta { background: var(--badge-beta-bg); color: var(--badge-beta-color); border: 1px solid var(--badge-beta-border); }
.badge-soon { background: var(--badge-soon-bg); color: var(--badge-soon-color); border: 1px solid var(--badge-soon-border); }

.product-card__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45); }
.btn-ghost {
    background: var(--btn-ghost-bg);
    border-color: var(--border);
    color: var(--text);
}
.btn-ghost:hover { background: var(--btn-ghost-hover); }
.btn.disabled, .btn[disabled] { opacity: 0.45; pointer-events: none; }

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 1.5rem 0 1.35rem;
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
}
.footer-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}
.footer-brand {
    min-width: 0;
    flex: 1 1 12rem;
}
.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin-left: auto;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.footer-links__item {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.footer-links__item:hover {
    color: var(--accent);
}
.footer-links__dot {
    opacity: 0.35;
}
.footer-logo {
    color: var(--text);
}
.footer-logo:hover { color: var(--text); }
.footer-logo .ix-brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.footer-tagline {
    margin: 0.35rem 0 0;
    max-width: 26rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    width: 100%;
    margin: 0.95rem 0 0;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.footer-legal__dot {
    opacity: 0.35;
}
.footer-legal__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-legal__link:hover {
    color: var(--accent);
}
.footer-icp {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-icp:hover {
    color: var(--accent);
}

/* Legal pages */
.legal-page {
    padding: 1.25rem 0 3rem;
}
.legal-hero {
    margin: 0.25rem 0 1.5rem;
}
.legal-hero__panel {
    padding: 1.35rem 1.35rem 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
    box-shadow: var(--shadow-card);
}
.legal-hero__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.legal-hero h1 {
    margin: 0;
    font-size: var(--type-page-title);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.legal-hero__intro {
    margin: 0.65rem 0 0;
    max-width: 46rem;
    font-size: var(--type-page-body);
    line-height: 1.75;
    color: var(--text-secondary);
}
.legal-hero__meta {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.legal-document {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}
.legal-section {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.legal-section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
}
.legal-section p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
    margin-top: 0.65rem;
}
.legal-section ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
}
.legal-section li + li {
    margin-top: 0.35rem;
}
.legal-switch {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.legal-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.legal-switch a:hover {
    color: var(--accent);
}

.about-page {
    padding: 1.25rem 0 3.5rem;
}
.about-hero {
    margin: 0.25rem 0 1.5rem;
}
.about-hero__panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.35rem 2rem;
    align-items: start;
    padding: 1.65rem 1.55rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 55%, rgba(99, 102, 241, 0.06) 100%);
    box-shadow: var(--shadow-card);
}
.about-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.about-hero h1 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.about-hero__intro {
    margin: 0.75rem 0 0;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}
.about-hero__highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.about-highlight {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.about-highlight__label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}
.about-highlight__detail {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.35rem 1.75rem;
    align-items: start;
}
.about-stories {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.about-story {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.85rem 1.1rem;
    padding: 1.2rem 1.25rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.about-story__index {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
    opacity: 0.85;
    padding-top: 0.15rem;
}
.about-story h2 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.about-story__summary {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--text);
}
.about-story__body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.about-story__body p + p {
    margin-top: 0.65rem;
}
.about-block {
    margin-top: 1.15rem;
    padding: 1.2rem 1.25rem 1.3rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.about-block__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.about-block__lead {
    margin: -0.35rem 0 0.95rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.about-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.about-principle {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}
.about-principle__icon {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--feature-icon-bg);
    color: var(--feature-icon-color);
}
.about-principle__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}
.about-principle__text h3 {
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    font-weight: 700;
}
.about-principle__text p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.about-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem;
}
.about-products__empty {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.about-product {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
    height: 100%;
}
.about-product:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    transform: translateY(-1px);
}
.about-product__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--feature-icon-bg);
    color: var(--feature-icon-color);
}
.about-product__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.about-product__copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.about-product__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}
.about-product__tagline {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
}
.about-product__arrow {
    flex: 0 0 auto;
    color: var(--text-muted);
}
.about-aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: sticky;
    top: calc(var(--nav-h) + 1.25rem);
}
.about-aside__card {
    padding: 1.1rem 1.15rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.about-aside__card--cta {
    background: linear-gradient(160deg, var(--card-bg) 0%, rgba(99, 102, 241, 0.1) 100%);
}
.about-aside__card--muted {
    background: var(--surface);
}
.about-aside__card h2 {
    margin: 0 0 0.55rem;
    font-size: 0.98rem;
    font-weight: 700;
}
.about-aside__card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.about-aside__card p + p {
    margin-top: 0.55rem;
}
.about-aside__btn {
    width: 100%;
    margin-top: 0.85rem;
    justify-content: center;
}
.about-aside__card .ideas-quality-contact {
    margin-top: 0.85rem;
    margin-bottom: 0;
}
.about-aside__card .feedback-support {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.about-aside__card .feedback-support__title {
    font-size: 0.98rem;
    margin-bottom: 0.45rem;
}
.about-aside__card .feedback-support__lead {
    font-size: 0.86rem;
}
.about-aside__card--nav {
    padding: 0.85rem 0.75rem 0.75rem;
}
.about-aside__nav-label {
    margin: 0 0 0.55rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.about-aside__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.about-aside__nav-item {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.about-aside__nav-item:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    transform: translateX(2px);
}
.about-aside__nav-item:hover .about-aside__nav-arrow {
    color: var(--accent);
}
.about-aside__nav-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--feature-icon-bg);
    color: var(--feature-icon-color);
}
.about-aside__nav-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}
.about-aside__nav-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}
.about-aside__nav-arrow {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.15s ease;
}
.ideas-quality-contact {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px dashed var(--border);
}
.ideas-quality-contact__text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
}
.ideas-quality-contact__badge {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.12);
}
.ideas-quality-contact__qq {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.ideas-quality-contact__qq:hover {
    text-decoration: underline;
}
.feedback-page .ideas-quality-contact:not(.ideas-quality-contact--head) {
    margin-top: 0.85rem;
}

/* Detail page (legacy) */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }

.detail-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2rem 0 3rem;
}
@media (max-width: 900px) {
    .detail-hero { grid-template-columns: 1fr; }
}
.detail-hero__content { animation: fadeUp 0.7s ease both; }
.detail-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}
.detail-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 0.65rem;
}
.detail-hero--sky h1 { background: var(--title-sky); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-hero--pine h1 { background: var(--title-pine); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-hero--rose h1 { background: var(--title-rose); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.25rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.detail-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 38rem;
}

.detail-panel {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--panel-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    animation: fadeUp 0.7s ease 0.1s both;
}
.detail-panel h2 {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.cta-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-stack .btn { width: 100%; }

.features-section { padding-bottom: 3rem; }
.features-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.feature-item {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.25s, background 0.25s;
}
.feature-item:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
}
.feature-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--feature-icon-bg);
    color: var(--feature-icon-color);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}
.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.info-box {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    background: var(--info-box-bg);
    border: 1px solid var(--info-box-border);
}
.info-box h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.info-box p {
    margin: 0 0 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.92rem;
}
.info-box p:last-child { margin-bottom: 0; }
.info-box code {
    font-size: 0.85em;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    background: var(--info-code-bg);
    color: var(--info-code-color);
}

.more-section { padding-bottom: 4rem; }
.more-section h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 1.25rem; }
.more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}
.more-card {
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.more-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--surface-hover);
}
.more-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}
.more-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
    color: var(--text-muted);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 1.25rem); }
    .hero { padding-top: 3rem; }
    .brand-tag { display: none; }
}

.product-mobile-bar {
    display: none;
}

/* --- Catalog (minimal product directory) --- */
.catalog-page { padding: 2rem 0 4rem; }
.catalog-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.catalog-header__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.catalog-header h1 {
    margin: 0 0 0.35rem;
    font-size: var(--type-page-title);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.catalog-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--type-page-body);
}

.catalog-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-elevated);
}
.catalog-list--compact { margin-top: 0.5rem; }

.catalog-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.catalog-row:last-child { border-bottom: none; }
.catalog-row:hover { background: var(--surface); }
.catalog-row--compact {
    grid-template-columns: 1fr auto;
    padding: 0.85rem 1rem;
}

.catalog-row__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--chip-bg);
    border: 1px solid var(--border);
    color: var(--feature-icon-color);
}
.catalog-row__icon svg { width: 22px; height: 22px; }
.catalog-row__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}
.catalog-row__name {
    font-size: 1.05rem;
    font-weight: 700;
}
.catalog-row__sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.catalog-row__version {
    font-size: 0.72rem;
    font-weight: 600;
}
.catalog-row__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.catalog-row__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    min-width: 7rem;
}
.catalog-row__platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}
.catalog-row__arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
}

.product-page { padding: 1.25rem 0 3.5rem; }
.product-page .breadcrumb {
    margin-bottom: 1rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text); }

.product-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
}
.product-header__main {
    flex: 1;
    min-width: 0;
}
.product-header__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}
.product-header__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    flex-shrink: 0;
    color: var(--feature-icon-color);
}
.product-header__icon svg { width: 24px; height: 24px; }
.product-header h1 {
    margin: 0;
    font-size: var(--type-page-title);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.product-header__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    margin-bottom: 0.25rem;
}
.product-header__version {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    line-height: 1.2;
}
.product-header__sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.product-header__tagline {
    margin: 0 0 0.45rem;
    font-size: var(--type-page-lead);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-secondary);
}
.product-header__summary {
    margin: 0 0 0.85rem;
    max-width: 52rem;
    font-size: var(--type-page-body);
    line-height: 1.75;
    color: var(--text-secondary);
}
.product-header__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}
.product-header__facts li {
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--chip-bg);
    border: 1px solid var(--border);
}
.product-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.product-header__actions .btn {
    min-width: 132px;
}
.product-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}
.chip--muted,
.chip--free {
    color: var(--text-muted);
}
.chip--paid {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.download-hint-mobile { display: none; }

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.product-layout--with-toc {
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 2rem 2.5rem;
}
.product-toc {
    position: sticky;
    top: 72px;
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding-left: 1.25rem;
    border-left: 1px solid var(--border);
}
.product-toc__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}
.product-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.1rem;
}
.product-toc__link {
    display: block;
    padding: 0.28rem 0.6rem 0.28rem 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
    border-right: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.product-toc__link:hover {
    color: var(--text);
}
.product-toc__link.is-active {
    color: var(--accent);
    border-right-color: var(--accent);
    font-weight: 600;
}
.product-main {
    min-width: 0;
}
.product-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 72px;
    align-self: start;
}
.product-block {
    margin-bottom: 2rem;
    scroll-margin-top: 88px;
}
.product-block h2 {
    margin: 0 0 0.75rem;
    font-size: var(--type-section-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}
.product-block p {
    margin: 0 0 0.65rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-size: var(--type-page-body);
}
.product-block p:last-child { margin-bottom: 0; }
.product-block--note {
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
}
.product-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}
.product-list li {
    position: relative;
    padding-left: 1.15rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.product-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.product-list--compact li {
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}
.product-lead {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.65;
}
.product-footnote {
    margin-top: 0.85rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.product-source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.85rem;
}
.product-source-links__item {
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}
.product-source-links__item:hover {
    text-decoration: underline;
}
.product-gallery {
    margin-top: 1.15rem;
}
.product-gallery + .product-gallery {
    margin-top: 1.35rem;
}
.product-gallery__label {
    margin: 0 0 0.7rem;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--text-secondary);
}
.product-gallery__grid {
    display: grid;
    gap: 0.85rem;
}
.product-gallery--phone .product-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-gallery--wide .product-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-gallery__shot {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.product-gallery__shot a {
    display: block;
    background: #0b0f18;
}
.product-gallery__shot img {
    display: block;
    width: 100%;
    height: auto;
}
.product-gallery__shot figcaption {
    padding: 0.45rem 0.55rem 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}
@media (max-width: 900px) {
    .product-gallery--phone .product-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .product-gallery--wide .product-gallery__grid {
        grid-template-columns: 1fr;
    }
}
.product-block--warn {
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(239, 68, 68, 0.04);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
}
[data-theme="light"] .product-block--warn {
    background: rgba(239, 68, 68, 0.05);
}
.format-groups {
    display: grid;
    gap: 0.75rem;
}
.format-groups--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}
.format-sample {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.95rem 1rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.format-sample__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.format-sample__head strong {
    font-size: 0.95rem;
}
.format-sample__file {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.format-sample__code {
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--info-code-bg);
    color: var(--info-code-color);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow: auto;
}
.format-sample__note {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
@media (max-width: 720px) {
    .format-groups--pair {
        grid-template-columns: 1fr;
    }
}
.format-group {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}
.format-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.55rem;
}
.format-group__head strong {
    font-size: 0.92rem;
}
.format-group__note {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ext-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.ext-chips--wrap { margin-top: 0.15rem; }
.ext-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.74rem;
    line-height: 1.4;
    border: 1px solid var(--border);
    background: var(--chip-bg);
    color: var(--text-secondary);
}
.ext-chip--muted {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.ext-chip--blocked {
    border-color: rgba(239, 68, 68, 0.22);
    color: #f87171;
    background: rgba(239, 68, 68, 0.06);
}
[data-theme="light"] .ext-chip--blocked {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}
.plugin-list {
    display: grid;
    gap: 0.75rem;
}
.plugin-item {
    padding: 0.85rem 0.95rem;
    border: 1px dashed var(--border);
    border-radius: 10px;
}
.plugin-item__main strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.92rem;
}
.plugin-item__main p {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.feedback-modes {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .feedback-modes { grid-template-columns: 1fr 1fr; }
}
.feedback-mode {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}
.feedback-mode strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
}
.feedback-mode p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.feedback-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}
.feedback-tags__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-right: 0.15rem;
}

.preview-window {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    margin-bottom: 1rem;
}
.preview-window__bar {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.preview-window__bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
}
.preview-window__body { padding: 1rem; }
.preview-line {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}
.preview-line--title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.preview-line--split {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: var(--surface);
    border: 1px dashed var(--border);
}
.preview-line--muted { color: var(--text-muted); font-size: 0.78rem; }

.product-aside__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.product-aside__actions .btn { width: 100%; }
.download-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.download-meta--hint,
.download-meta--notes {
    margin-top: -0.35rem;
    margin-bottom: 0.55rem;
}
.download-meta--notes {
    color: var(--text-secondary);
}
.download-meta--count {
    font-variant-numeric: tabular-nums;
}
.release-log {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.release-log__item {
    padding: 1rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.release-log__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.65rem;
}
.release-log__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.release-log__version {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}
.release-log__kind {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--chip-bg);
    color: var(--text-secondary);
}
.release-log__kind--installer {
    color: var(--badge-beta-color);
    background: var(--badge-beta-bg);
    border-color: var(--badge-beta-border);
}
.release-log__kind--hotupdate {
    color: var(--badge-live-color);
    background: var(--badge-live-bg);
    border-color: var(--badge-live-border);
}
.release-log__date {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.release-log__changes {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
    line-height: 1.65;
}
.release-log__changes li {
    position: relative;
    padding-left: 1.35rem;
}
.release-log__changes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.release-log__changes li + li {
    margin-top: 0.45rem;
}
.release-log__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1.5rem;
    align-items: start;
}
.release-log__download {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    min-width: 7.5rem;
}
.release-log__download-btn {
    min-height: 38px;
    padding-inline: 1rem;
    white-space: nowrap;
}
.release-log__download-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Changelog page */
.changelog-page {
    padding: 1.25rem 0 3rem;
}
.changelog-hero {
    margin: 0.25rem 0 1.75rem;
}
.changelog-hero__panel {
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
    box-shadow: var(--shadow-card);
}
.changelog-hero__top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.changelog-hero__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--feature-icon-bg);
    border: 1px solid var(--border);
    color: var(--feature-icon-color);
}
.changelog-hero__icon svg { width: 24px; height: 24px; }
.changelog-hero__copy { min-width: 0; }
.changelog-hero__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.changelog-hero h1 {
    margin: 0;
    font-size: var(--type-page-title);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.changelog-hero__intro {
    margin: 0.55rem 0 0;
    max-width: 42rem;
    font-size: var(--type-page-body);
    line-height: 1.75;
    color: var(--text-secondary);
}
.changelog-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}
.changelog-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 6.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: var(--chip-bg);
    border: 1px solid var(--border);
}
.changelog-stat__label {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.changelog-stat__value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
}
.changelog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.changelog-hero__actions .btn {
    min-height: 42px;
}
.changelog-body {
    width: 100%;
}

/* Timeline variant */
.release-log--timeline {
    gap: 0;
    position: relative;
}
.release-log--timeline .release-log__item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.85rem 1rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.release-log--timeline .release-log__item:not(:last-child) {
    padding-bottom: 1.15rem;
}
.release-log--timeline .release-log__rail {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 1.35rem;
}
.release-log--timeline .release-log__rail::after {
    content: "";
    position: absolute;
    top: 1.75rem;
    bottom: -0.35rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0.08));
}
.release-log--timeline .release-log__item:last-child .release-log__rail::after {
    display: none;
}
.release-log--timeline .release-log__dot {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid rgba(99, 102, 241, 0.55);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.release-log--timeline .release-log__item--latest .release-log__dot {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 0 18px rgba(34, 211, 238, 0.25);
}
.release-log--timeline .release-log__card {
    padding: 1.05rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.release-log--timeline .release-log__item--latest .release-log__card {
    border-color: rgba(99, 102, 241, 0.28);
    background: var(--info-box-bg);
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.08);
}
.release-log--timeline .release-log__item:hover .release-log__card {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.release-log__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.changelog-back {
    margin-top: 1.5rem;
}
.changelog-back a {
    color: var(--text-secondary);
    text-decoration: none;
}
.changelog-back a:hover {
    color: var(--accent);
}
.product-header__changelog-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}
.product-header__changelog-link:hover {
    color: var(--accent);
}
.btn-inline {
    display: inline-flex;
    width: auto;
    margin-bottom: 0.75rem;
}
.product-block--others { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

.product-block--highlight {
    border: 1px solid rgba(56, 189, 248, 0.22);
    background: rgba(56, 189, 248, 0.05);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
}
[data-theme="light"] .product-block--highlight {
    background: rgba(56, 189, 248, 0.06);
}
.preview-try-link {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.try-body {
    --try-bg: #0b1020;
    --try-panel: #121933;
    --try-border: #2a3558;
    --try-text: #e8edf8;
    --try-muted: #94a3b8;
    --try-accent: #6366f1;
    --try-link: #a5b4fc;
    --try-link-hover: #c7d2fe;
    background: var(--try-bg) !important;
    color: var(--try-text);
    height: 100vh;
    overflow: hidden;
}
[data-theme="light"] .try-body {
    --try-bg: #f8fafc;
    --try-panel: #ffffff;
    --try-border: #e2e8f0;
    --try-text: #0f172a;
    --try-muted: #64748b;
    --try-accent: #4f46e5;
    --try-link: #4338ca;
    --try-link-hover: #312e81;
}
.try-body::before,
.try-body::after {
    display: none;
}
.try-body .page,
.try-body main {
    background: var(--try-bg);
    height: 100%;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.try-page {
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    background: var(--try-bg);
}
.try-chrome {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--try-bg);
    border-bottom: 1px solid var(--try-border);
}
.try-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.72rem 1rem 0.5rem;
    min-width: 0;
}
.try-toolbar__main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex-wrap: nowrap;
}
.try-toolbar__back {
    font-size: 0.84rem;
    color: var(--try-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.try-toolbar__back:hover { color: var(--try-text); }
.try-toolbar__sep {
    color: var(--try-muted);
    font-size: 0.82rem;
    flex-shrink: 0;
}
.try-toolbar__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    flex-wrap: nowrap;
}
.try-toolbar__title strong {
    font-size: 0.96rem;
    color: var(--try-text);
    white-space: nowrap;
}
.try-toolbar__badge {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--try-border);
    background: var(--try-panel);
    color: var(--try-muted);
    font-size: 0.76rem;
    white-space: nowrap;
}
.try-toolbar__download {
    flex-shrink: 0;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--try-border);
    background: var(--try-panel);
    color: var(--try-text);
    font-size: 0.82rem;
    white-space: nowrap;
}
.try-toolbar__download:hover {
    border-color: color-mix(in srgb, var(--try-accent) 55%, var(--try-border));
    background: color-mix(in srgb, var(--try-accent) 16%, var(--try-panel));
    color: #fff;
}
.try-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.try-theme {
    position: relative;
    flex-shrink: 0;
}
.try-theme__button {
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--try-border);
    background: var(--try-panel);
    color: var(--try-text);
    font-size: 0.82rem;
    white-space: nowrap;
    cursor: pointer;
}
.try-theme__button:hover {
    border-color: color-mix(in srgb, var(--try-accent) 55%, var(--try-border));
}
.try-theme__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 30;
    display: grid;
    gap: 4px;
    min-width: 132px;
    padding: 6px;
    border: 1px solid var(--try-border);
    border-radius: 12px;
    background: var(--try-panel);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.try-theme__menu[hidden] {
    display: none;
}
.try-theme__menu button {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    background: transparent;
    color: var(--try-text);
    text-align: left;
    cursor: pointer;
    font-size: 0.82rem;
}
.try-theme__menu button:hover,
.try-theme__menu button.is-active {
    border-color: color-mix(in srgb, var(--try-accent) 35%, var(--try-border));
    background: color-mix(in srgb, var(--try-accent) 12%, transparent);
}
.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
}
.try-notice {
    padding: 0.45rem 1rem 0.58rem;
    border-top: 1px solid var(--try-border);
    flex-shrink: 0;
    background: var(--try-panel);
}
.try-notice p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--try-muted);
    line-height: 1.5;
}
.try-notice strong {
    color: var(--try-text);
    font-weight: 600;
}
.try-notice a {
    color: var(--try-link);
}
.try-notice a:hover {
    color: var(--try-link-hover);
}
.try-notice--live {
    border-left: 3px solid #3ecf8e;
}
.try-notice--warn {
    border-left: 3px solid #ffb020;
}
.try-notice--muted {
    border-left: 3px solid var(--try-border);
}
.try-frame-shell {
    flex: 1;
    min-height: 0;
    display: flex;
    padding: 0;
    background: var(--try-bg);
}
.try-frame-shell--preview {
    padding: 0.75rem;
}
.try-frame {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: var(--try-bg);
    box-shadow: none;
}
.try-frame-shell--preview .demo-shell {
    margin: 0;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.08);
}

.demo-shell {
    margin: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
}
.demo-shell__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.demo-shell__brand { font-weight: 700; }
.demo-shell__actions {
    display: flex;
    gap: 0.45rem;
}
.demo-shell__pill {
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.demo-shell__body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 520px;
}
.demo-sidebar {
    border-right: 1px solid var(--border);
    background: var(--surface);
    padding: 0.75rem;
}
.demo-sidebar__head {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}
.demo-job {
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    margin-bottom: 0.45rem;
    border: 1px solid transparent;
}
.demo-job--active {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
}
.demo-job__name {
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.demo-job__meta {
    display: flex;
    gap: 0.45rem;
    font-size: 0.74rem;
    color: var(--text-muted);
}
.demo-score {
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
}
.demo-score--good {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}
.demo-score--warn {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
}
.demo-compare__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--surface);
}
.demo-compare__panes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
}
.demo-pane {
    padding: 1rem;
    overflow: auto;
}
.demo-pane--source {
    border-right: 1px solid var(--border);
    background: #fff;
    color: #111;
}
[data-theme="dark"] .demo-pane--source {
    background: #f8fafc;
    color: #0f172a;
}
.demo-pane--markdown {
    background: var(--card-bg);
}
.demo-pane--markdown pre {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.55;
    white-space: pre-wrap;
    color: var(--text-secondary);
}
.demo-page__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.demo-page p {
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0 0 0.65rem;
}
.demo-page__table {
    margin-top: 1rem;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    overflow: hidden;
}
.demo-page__row {
    display: grid;
    grid-template-columns: 1fr 0.7fr 1.2fr;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    border-top: 1px solid #eef2f7;
}
.demo-page__row--head {
    background: #f1f5f9;
    font-weight: 600;
    border-top: 0;
}
@media (max-width: 900px) {
    .demo-shell__body { grid-template-columns: 1fr; }
    .demo-sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
    .demo-compare__panes { grid-template-columns: 1fr; }
    .demo-pane--source { border-right: 0; border-bottom: 1px solid var(--border); }
    .demo-compare__head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .try-toolbar { flex-wrap: wrap; }
}

/* --- Responsive hub (catalog + product detail) --- */
@media (max-width: 900px) {
    .product-layout--with-toc {
        grid-template-columns: minmax(0, 1fr);
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .product-main { order: 2; }
    .product-toc {
        order: 1;
        max-height: none;
        padding-left: 0;
        border-left: 0;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
        --toc-bar-h: 46px;
    }

    .cta-desktop-only {
        display: none !important;
    }
    .download-hint-mobile {
        display: block;
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

    .nav-start {
        gap: 0.85rem;
        --nav-brand-size: 0.95rem;
        --nav-link-size: 0.9rem;
    }
    .nav-links a {
        padding: 0 0.4rem;
    }
    .brand .ix-brand__mark {
        width: 32px;
        height: 32px;
    }

    .catalog-page {
        padding: 1.25rem 0 calc(3rem + env(safe-area-inset-bottom, 0px));
    }
    .catalog-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
    .catalog-header h1 { font-size: 1.3rem; }
    .catalog-row {
        grid-template-columns: auto 1fr;
        padding: 1rem;
        gap: 0.85rem;
    }
    .catalog-row__meta {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-left: 3.25rem;
        min-width: 0;
    }
    .catalog-row__arrow { margin-left: auto; }
    .catalog-row__name { font-size: 1rem; }
    .catalog-row__desc { font-size: 0.86rem; }

    .product-page {
        padding: 1rem 0 calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
    .product-page .breadcrumb {
        margin-bottom: 0.75rem;
        font-size: 0.8rem;
    }

    .product-header {
        flex-direction: row;
        align-items: center;
        gap: 0.85rem;
        margin-bottom: 0.85rem;
        padding: 0.95rem 1rem;
        border-radius: var(--radius-md);
    }
    .product-header__icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .product-header__icon svg {
        width: 22px;
        height: 22px;
    }
    .product-header h1 {
        font-size: 1.2rem;
    }
    .product-header__title-row {
        margin-bottom: 0.1rem;
        gap: 0.35rem 0.45rem;
    }
    .product-header__version {
        font-size: 0.68rem;
        padding: 0.16rem 0.45rem;
    }
    .product-header__sub {
        display: none;
    }
    .product-header__tagline {
        font-size: 0.82rem;
        font-weight: 500;
        margin-bottom: 0;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-header__summary,
    .product-header__facts,
    .product-header__actions {
        display: none;
    }
    .product-header__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        margin-bottom: 0.35rem;
    }
    .product-header__meta {
        display: none;
    }

    .product-layout,
    .product-layout--with-toc {
        gap: 0.75rem;
    }
    .product-toc {
        display: none;
    }

    .product-block {
        margin-bottom: 1.35rem;
        scroll-margin-top: calc(var(--nav-h) + 12px);
    }
    .product-block h2 {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    .product-block p,
    .product-list li {
        font-size: 0.9rem;
    }
    .product-block--highlight,
    .product-block--warn,
    .product-block--note {
        padding: 0.95rem 1rem;
        border-radius: 12px;
    }
    .product-main .btn-inline {
        display: none;
    }
    .format-group {
        padding: 0.75rem 0.85rem;
    }
    .ext-chip {
        font-size: 0.7rem;
        padding: 0.15rem 0.38rem;
    }
    .plugin-item {
        padding: 0.75rem 0.85rem;
    }
    .feedback-modes {
        grid-template-columns: 1fr;
    }
    .product-block--others {
        margin-top: 0.5rem;
        padding-top: 1.25rem;
    }
    .product-aside {
        position: static;
    }

    .product-mobile-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        gap: 0.55rem;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: var(--nav-scrolled-bg);
        backdrop-filter: blur(18px) saturate(1.3);
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    }
    .product-mobile-bar .btn {
        flex: 1;
        min-width: 0;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        font-size: 0.88rem;
    }

    .site-footer {
        padding: 1.5rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    }
    .page-product-detail .site-footer {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
    .footer-shell {
        align-items: stretch;
    }
    .footer-main {
        align-items: flex-start;
    }
    .footer-links {
        width: 100%;
        justify-content: flex-end;
    }
    .footer-legal {
        font-size: 0.72rem;
    }
    .about-page {
        padding: 1rem 0 2.5rem;
    }
    .about-hero__panel {
        grid-template-columns: 1fr;
        padding: 1.2rem 1.1rem 1.1rem;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-aside {
        position: static;
        order: -1;
    }
    .about-story {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }
    .about-principles {
        grid-template-columns: 1fr;
    }
    .about-products {
        grid-template-columns: 1fr;
    }

    .changelog-hero__panel {
        padding: 1rem;
        border-radius: 16px;
    }
    .changelog-hero__top {
        gap: 0.75rem;
    }
    .changelog-hero__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .changelog-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .changelog-hero__stats li {
        min-width: 0;
    }
    .changelog-hero__actions {
        flex-direction: column;
    }
    .changelog-hero__actions .btn {
        width: 100%;
    }
    .changelog-body {
        max-width: none;
    }
    .release-log--timeline .release-log__item {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 0.65rem 0.75rem;
    }
    .release-log--timeline .release-log__card {
        padding: 0.9rem 0.95rem;
    }
    .release-log__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .release-log__body {
        grid-template-columns: 1fr;
    }
    .release-log__download {
        align-items: stretch;
        min-width: 0;
    }
    .release-log__download-btn {
        width: 100%;
    }
}

/* ---------- 需求收集 / 需求墙 ---------- */
.feedback-page {
    padding: 1.15rem 0 2.25rem;
}
.needs-layout {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    max-width: 920px;
    margin: 0 auto;
}
/* 公开动态：更新流（无大外框，偏 changelog） */
.needs-stream {
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
}
.needs-stream__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    padding-top: 0.5rem;
}
.needs-stream__head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.needs-stream__head p {
    margin: 0.3rem 0 0;
    max-width: 28rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.needs-stream__count {
    flex-shrink: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--chip-bg);
    border: 1px solid var(--border);
}
.needs-stream__list {
    display: flex;
    flex-direction: column;
}
.need-entry {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0 1.35rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid var(--border);
    animation: need-entry-in 0.45s ease backwards;
}
.need-entry:nth-child(1) { animation-delay: 0.02s; }
.need-entry:nth-child(2) { animation-delay: 0.06s; }
.need-entry:nth-child(3) { animation-delay: 0.1s; }
.need-entry:nth-child(4) { animation-delay: 0.14s; }
.need-entry:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem;
}
@keyframes need-entry-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.need-entry__date {
    text-align: right;
    padding-top: 0.15rem;
    font-variant-numeric: tabular-nums;
}
.need-entry__md {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}
.need-entry__y {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
}
.need-entry__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
    padding-left: 1.25rem;
    border-left: 2px solid var(--border);
    transition: border-color 0.2s ease;
}
.need-entry--answered .need-entry__body {
    border-left-color: transparent;
    border-image: linear-gradient(180deg, var(--accent), var(--accent-2)) 1;
}
.need-entry__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}
.need-entry__prose {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.need-entry__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
    max-width: min(100%, 13rem);
}
.need-entry__status {
    color: var(--accent);
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.08);
}
.need-entry__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
}
.need-entry__text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.need-entry__text--lead {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text);
}
.need-entry__answer {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0.15rem 0 0;
    padding: 0;
}
.need-entry__avatar {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 20px var(--accent-glow);
}
.need-entry__quote {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--info-box-border);
    background: var(--info-box-bg);
}
.need-entry__quote p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text);
}
.need-entry__quote figcaption {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}
.need-entry__quote figcaption time {
    margin-left: 0.35rem;
    font-weight: 500;
}
@media (max-width: 560px) {
    .need-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .need-entry__date {
        display: flex;
        align-items: baseline;
        gap: 0.45rem;
        text-align: left;
    }
    .need-entry__md,
    .need-entry__y {
        display: inline;
        font-size: 0.78rem;
    }
    .need-entry__top {
        flex-direction: column;
        gap: 0.65rem;
    }
    .need-entry__meta {
        max-width: none;
        justify-content: flex-start;
    }
    .need-entry__body {
        padding-left: 0;
        border-left: none;
        padding-top: 0.15rem;
    }
    .need-entry--answered .need-entry__body {
        border-image: none;
    }
}
.needs-submit .feedback-shell {
    width: 100%;
}
.feedback-shell {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-card);
    padding: 1.15rem 1.25rem 1.2rem;
}
.feedback-shell__head {
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.feedback-shell__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 1rem 1.25rem;
    align-items: stretch;
}
.feedback-shell__hero-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    min-width: 0;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding: 0.8rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.feedback-shell__title-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.feedback-shell__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 18px var(--accent-glow);
}
.feedback-shell__icon svg {
    width: 19px;
    height: 19px;
}
.feedback-shell__title-row h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.feedback-shell__title-row p {
    margin: 0.2rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.feedback-shell__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
}
.feedback-shell__hero .ideas-quality-contact--head {
    margin: 0;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.8rem 0.85rem;
    border-style: solid;
    border-color: var(--border);
    background: linear-gradient(160deg, var(--surface) 0%, rgba(99, 102, 241, 0.08) 100%);
}
.feedback-shell__hero .ideas-quality-contact--head .ideas-quality-contact__text {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    line-height: 1.6;
}
.feedback-notice {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    line-height: 1.45;
}
.feedback-notice--ok {
    background: var(--badge-live-bg);
    color: var(--badge-live-color);
    border: 1px solid var(--badge-live-border);
}
.feedback-notice--err {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
[data-theme="light"] .feedback-notice--err {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.feedback-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.feedback-form__row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feedback-form__row--meta {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
}
.feedback-field--label-right {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
}
.feedback-field--label-right .hub-select {
    flex: 1;
    min-width: 0;
}
.feedback-field--label-right .feedback-field__label {
    flex-shrink: 0;
    width: 3.25rem;
    margin: 0;
    text-align: right;
    line-height: 1.3;
}
.feedback-field--label-right .feedback-field__label#product-label {
    width: 3.5rem;
}
.feedback-field--title {
    align-self: stretch;
}
.feedback-support {
    margin-top: 1.35rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm, 12px);
    border: 1px solid var(--line, #e2e8f0);
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.06), rgba(8, 145, 178, 0.04));
}
.feedback-support__title {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #0f172a);
}
.feedback-support__lead {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--muted, #64748b);
}
.feedback-support__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.85rem;
}
.feedback-support__list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.feedback-support__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted, #94a3b8);
}
.feedback-support__list a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.feedback-support__list a:hover {
    text-decoration: underline;
}

.feedback-form__foot {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: 0.75rem;
    align-items: end;
    padding-top: 0.15rem;
}
.feedback-field {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    min-width: 0;
}
.feedback-field__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.feedback-field__opt {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.feedback-field input,
.feedback-field select,
.feedback-field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
/* 自定义下拉（需求表单） */
.hub-select {
    position: relative;
}
.hub-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.hub-select__chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.18s ease;
}
.hub-select.is-open .hub-select__chevron {
    transform: rotate(180deg);
}
.hub-select__trigger:hover {
    border-color: var(--border-strong);
}
.hub-select__trigger:focus-visible,
.hub-select.is-open .hub-select__trigger {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.hub-select__menu {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-card);
    max-height: 240px;
    overflow-y: auto;
    transform-origin: top center;
    animation: hub-select-in 0.16s ease-out;
}
@keyframes hub-select-in {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hub-select__menu[hidden] {
    display: none;
}
.hub-select__option {
    width: 100%;
    display: block;
    text-align: left;
    font: inherit;
    font-size: 0.88rem;
    padding: 0.55rem 0.65rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.hub-select__option:hover {
    background: var(--surface-hover);
}
.hub-select__option.is-selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.08));
    color: var(--text);
    font-weight: 600;
}
[data-theme="light"] .hub-select__option.is-selected {
    background: rgba(79, 70, 229, 0.1);
}
.feedback-field textarea {
    resize: vertical;
    min-height: 112px;
    line-height: 1.6;
}
.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
    color: var(--text-muted);
}
.feedback-field input:focus,
.feedback-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.feedback-form__submit {
    min-width: 7.5rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .feedback-shell__hero {
        grid-template-columns: 1fr;
    }
    .feedback-form__row--meta {
        grid-template-columns: 1fr 1fr;
    }
    .feedback-field--title {
        grid-column: 1 / -1;
    }
    .feedback-form__row--3 {
        grid-template-columns: 1fr 1fr;
    }
    .feedback-form__row--3 .feedback-field:last-child {
        grid-column: 1 / -1;
    }
    .feedback-form__foot {
        grid-template-columns: 1fr 1fr;
    }
    .feedback-form__submit {
        grid-column: 1 / -1;
        width: 100%;
    }
}
@media (max-width: 520px) {
    .feedback-shell {
        padding: 1rem;
    }
    .feedback-form__row,
    .feedback-form__row--3,
    .feedback-form__row--meta,
    .feedback-form__foot {
        grid-template-columns: 1fr;
    }
    .feedback-form__row--3 .feedback-field:last-child,
    .feedback-field--title {
        grid-column: auto;
    }
    .feedback-field--label-right {
        flex-direction: column;
        align-items: stretch;
    }
    .feedback-field--label-right .feedback-field__label {
        width: auto;
        text-align: left;
    }
}
