/* v1.05 shared website palette; structure, content and interactions stay the same. */
body{--ink:var(--site-ink);--muted:var(--site-muted);--blue:var(--site-accent);--line:var(--site-line);--paper:var(--site-surface);background:var(--site-bg);color:var(--site-ink)}
header,header nav{background:var(--site-header);color:var(--site-headerText);border-color:var(--site-line)}header nav a,header nav a:hover,header select,header #menu{color:var(--site-headerText)}header select option{background:var(--site-header);color:var(--site-headerText)}.brand small{color:inherit;opacity:.7}
.hero{background:linear-gradient(115deg,var(--site-hero),var(--site-heroEnd));color:var(--site-heroText)}.hero-copy>p{color:var(--site-heroMuted)}.hero .eyebrow,.hero .text-link{color:var(--site-heroText)}.hero .eyebrow span{background:var(--site-accent)}.hero .button,.hero .button:hover{background:var(--site-heroButton);color:var(--site-heroButtonText)}
.orbit{border-color:var(--site-heroMuted);background:transparent;opacity:.4}.orbit:after{border-color:var(--site-heroMuted)}.vertical,.hero-bottom,.hero-caption,.carousel-controls,.carousel-count{color:var(--site-heroMuted)}.hero-caption{border-color:var(--site-heroMuted)}.carousel-dots button{background:var(--site-heroMuted);opacity:.45}.carousel-dots button.active{background:var(--site-heroText);opacity:1}
.range-strip,.catalog-bottom,.product-info>a,.steps article,.evidence-list>a,td,th{border-color:var(--site-line)}.product{background:var(--site-bg);border-color:var(--site-line)}.product-picture,.detail-hero img,.resources>a,.about,.contact,th{background:var(--site-surface)}.product:hover{box-shadow:0 12px 28px #00000018}.factory>span{background:var(--site-bg);color:var(--site-ink)}
.button,.button:hover{background:var(--site-button);color:var(--site-buttonText)}.button:hover{filter:brightness(.94)}.tabs button{color:var(--site-ink);border-color:var(--site-line)}.tabs button.active{background:var(--site-button);color:var(--site-buttonText);border-color:var(--site-button)}
#search,form input,form textarea{background:var(--site-bg);color:var(--site-ink);border-color:var(--site-line)}input::placeholder,textarea::placeholder{color:var(--site-muted)}.applications,footer{background:var(--site-deep);color:var(--site-deepText)}.applications .eyebrow,footer p,.footer-brand small,footer button{color:var(--site-deepText)}.resources>a{border-color:var(--site-line)}dialog{background:var(--site-bg);color:var(--site-ink);border-color:var(--site-line)}
@media(max-width:800px){header nav{background:var(--site-header);border-color:var(--site-line)}}

/* 石墨深色：与参考站一致的中性灰渐变和浅色高对比文字。 */
html[data-palette="dark"] body{background:linear-gradient(135deg,#323438 0%,#414348 50%,#36383d 100%) fixed;color:#f4f5f7}
html[data-palette="dark"] .announcement-bar{background:linear-gradient(120deg,#17181c 0%,#26282d 55%,#1d1f23 100%);color:#f4f5f7;border-color:#5d6067}
html[data-palette="dark"] header,html[data-palette="dark"] header nav{background:linear-gradient(120deg,#17181c 0%,#26282d 55%,#1d1f23 100%);color:#f4f5f7;border-color:#5d6067}
html[data-palette="dark"] .hero{background:linear-gradient(135deg,#323438 0%,#414348 50%,#36383d 100%);color:#f4f5f7}
html[data-palette="dark"] .range-strip,html[data-palette="dark"] .section,html[data-palette="dark"] #resources{background:transparent;color:#f4f5f7}
html[data-palette="dark"] .product{background:linear-gradient(145deg,#414349 0%,#4c4e54 56%,#414349 100%);color:#f4f5f7;border-color:#666970}
html[data-palette="dark"] .product-picture,html[data-palette="dark"] .detail-hero img{background:linear-gradient(135deg,#4b4d53 0%,#393b40 55%,#4b4d53 100%)}
html[data-palette="dark"] .resources>a,html[data-palette="dark"] .about,html[data-palette="dark"] .contact,html[data-palette="dark"] th,html[data-palette="dark"] dialog{background:linear-gradient(145deg,#414349 0%,#4c4e54 56%,#414349 100%);color:#f4f5f7;border-color:#666970}
html[data-palette="dark"] .applications,html[data-palette="dark"] footer{background:linear-gradient(135deg,#292b30 0%,#393b40 52%,#2e3035 100%);color:#f4f5f7}
html[data-palette="dark"] .steps article,html[data-palette="dark"] .evidence-list>a,html[data-palette="dark"] .product-info>a,html[data-palette="dark"] td,html[data-palette="dark"] th{border-color:#5d6067}
html[data-palette="dark"] p,html[data-palette="dark"] address,html[data-palette="dark"] .section-note,html[data-palette="dark"] .catalog-bottom,html[data-palette="dark"] .resources small,html[data-palette="dark"] .product p{color:#c8cbd1}
html[data-palette="dark"] .button,html[data-palette="dark"] .button:hover{background:#6d58f4;color:#fff}
html[data-palette="dark"] .hero .button,html[data-palette="dark"] .hero .button:hover{background:linear-gradient(140deg,#44464c,#515359);color:#fff}
html[data-palette="dark"] .tabs button{color:#f4f5f7;border-color:#70737a}
html[data-palette="dark"] .tabs button.active{background:#6d58f4;color:#fff;border-color:#6d58f4}
html[data-palette="dark"] form input,html[data-palette="dark"] form textarea,html[data-palette="dark"] #search{background:#303237;color:#f7f8fa;border-color:#767980}
html[data-palette="dark"] form input::placeholder,html[data-palette="dark"] form textarea::placeholder{color:#bfc2c8}
html[data-palette="dark"] .orbit,html[data-palette="dark"] .orbit:after{border-color:#c8cbd1}
html[data-palette="dark"] .hero-caption{border-color:#c8cbd1}

/* v1.39 set the vertical hero motto to blue across palettes */
.hero .vertical{color:#1890ff}
