/* Scoped styles keep the legacy About stylesheet out of the shared layout. */
.site-header, .site-footer { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.6; color: #17243d; letter-spacing: normal; }
.site-header *, .site-footer * { box-sizing: border-box; margin: 0; padding: 0; }
.site-header a, .site-footer a { color: inherit; text-decoration: none; font-family: inherit; }
.site-header a:hover, .site-footer a:hover, .site-header a[aria-current="page"] { color: #245eea; }
.site-container { width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 92%); backdrop-filter: blur(18px); border-bottom: 1px solid #e5eaf2; }
.site-navbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { flex-shrink: 0; display: block; }
.site-logo img { display: block; width: 240px; height: auto; max-width: 100%; }
.site-header #site-navigation { display: flex; position: static; align-items: center; width: auto; gap: 28px; font-size: 16px; font-weight: 500; padding: 0; background: transparent; }
.site-header #site-navigation a { padding: 12px 0; white-space: nowrap; }
.site-menu-toggle { display: none; }
.site-products { position: relative; }
.site-products-toggle { display: flex; align-items: center; gap: 8px; padding: 12px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.site-products-toggle:hover, .site-products-toggle[aria-expanded="true"] { color: #245eea; }
.site-products-toggle span { transition: transform .2s; }
.site-products-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.site-products-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; border: 1px solid #e5eaf2; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgb(23 36 61 / 12%); }
.site-header #site-navigation .site-products-menu a { display: block; padding: 10px 12px; border-radius: 6px; }
.site-products-menu a[href]:hover, .site-products-menu a[href]:focus-visible { background: #f0f5ff; color: #245eea; }
.site-header #site-navigation .site-products-menu a[aria-disabled="true"] { color: #77849a; cursor: default; }
.site-footer { border-top: 1px solid #e5eaf2; padding: 30px 0; background: #fff; }
.site-footer-content { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.site-footer .site-footer-brand { font-size: 17px; font-weight: 700; }
.site-footer-brand span { font-size: 11px; color: #65728a; margin-left: 18px; font-weight: 400; }
.site-footer p { font-size: 10px; color: #77849a; margin-top: 8px; line-height: 1.6; }
.site-footer-links { display: flex; gap: 25px; font-size: 12px; color: #65728a; }
.site-header [hidden] { display: none !important; }
@media (max-width: 1100px) {
    .site-container { width: calc(100% - 48px); }
    .site-header #site-navigation { gap: 18px; font-size: 14px; }
    .site-logo img { width: 200px; }
}
@media (max-width: 1000px) {
    .site-navbar { min-height: 74px; flex-wrap: wrap; gap: 0; }
    .site-logo img { width: 175px; }
    .site-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid #e5eaf2; border-radius: 8px; cursor: pointer; }
    .site-menu-toggle span { display: block; width: 22px; height: 2px; background: #17243d; }
    .site-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .site-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .site-header #site-navigation { display: none; width: 100%; padding: 10px 0 18px; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 16px; }
    .site-header #site-navigation.is-open { display: grid; }
    .site-header #site-navigation a { padding: 10px 12px; }
    .site-products-toggle { padding: 10px 12px; }
    .site-products-menu { left: auto; right: 0; min-width: 210px; max-width: calc(100vw - 36px); }
    .site-footer-content { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) { .site-container { width: calc(100% - 36px); } }
