/* v0.5: product series, conversion header and structured footer. */
.header-cta { grid-column: 3; grid-row: 1; }
.theme-toggle { grid-column: 4; grid-row: 1; justify-self: end; border: 0; background: transparent; padding-inline: 6px 0; color: rgba(255,255,255,.64); }
.theme-toggle:hover { border: 0; background: transparent; color: rgba(255,255,255,.9); }
html[data-theme="light"] .theme-toggle { border: 0; background: transparent; color: rgba(30,37,45,.62); }
html[data-theme="light"] .theme-toggle:hover { border: 0; background: transparent; color: var(--ink); }
.theme-toggle-track { flex: 0 0 28px; }
.header-cta,html[data-theme="light"] .header-cta {
 display: inline-flex; align-items: center; justify-content: center; gap: 14px;
 min-height: 42px; padding: 9px 18px; border: 1px solid #aa1bc0; border-radius: 6px;
 background: #aa1bc0; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4;
 transition: background-color .18s, border-color .18s;
}
.header-cta::after { content: '↗'; font-size: 17px; }
.header-cta:hover,html[data-theme="light"] .header-cta:hover { background: #861397; border-color: #861397; color: #fff; }
.header-cta:focus-visible { outline: 3px solid #dea46f; outline-offset: 4px; }
.product-visual { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.product-visual img { aspect-ratio: auto; width: 100%; height: auto; object-fit: contain; border-radius: 0; }
.product-visual figcaption { padding: 14px 8px 6px; }
/* Images keep their original backgrounds; no added framing or fill. */
.insight-grid article,.insight-grid article > a,.content-card {
 background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.insight-grid article > a { padding: 0; }
.insight-grid article > div { padding: 24px 0; }
.insight-grid img,.office-gallery img,.office-gallery figure:last-child img,
.article-hero img,.content-card img {
 background: transparent; border: 0; border-radius: 0; box-shadow: none; filter: none;
}
.product-copy li:last-child { font-size: 13px; color: #59636f; }
.footer-v5 { padding: 0 0 28px; --footer-muted: #b0b7c2; --footer-border: #303641; }
html[data-theme="light"] .footer-v5 { --footer-muted: #58616d; --footer-border: #d2d9e2; }
.footer-invitation { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 48px; border-bottom: 1px solid var(--footer-border); }
.footer-invitation .section-label { margin-bottom: 12px; }
.footer-invitation h2 { margin: 0 0 12px; font-size: clamp(24px,2.5vw,32px); line-height: 1.4; }
.footer-invitation p:last-child { margin: 0; font-size: 14px; color: var(--footer-muted); }
.footer-contact-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; flex-shrink: 0; background: #aa1bc0; color: #fff; border-radius: 6px; padding: 13px 22px; font-size: 14px; }
.footer-contact-button:hover { background: #861397; }
.footer-directory { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,.7fr) minmax(0,.7fr) minmax(0,1.1fr); gap: 40px; padding-top: 48px; }
.footer-identity strong { font-size: 14px; font-weight: 500; }
.footer-identity p { font-size: 13px; color: var(--footer-muted); margin: 12px 0; }
.footer-identity .footer-address-label { margin-top: 28px; margin-bottom: 8px; }
.footer-v5 address { max-width: 32em; margin: 0; font-size: 13px; color: var(--footer-muted); line-height: 1.9; word-break: normal; overflow-wrap: break-word; }
.footer-directory h3 { font-size: 13px; font-weight: 600; margin: 0 0 22px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links h3 { margin-bottom: 7px; }
.footer-links a,.footer-reach a { font-size: 13px; color: var(--footer-muted); overflow-wrap: anywhere; }
.footer-links a:hover,.footer-reach a:hover { color: #aa1bc0; }
.footer-reach p { font-size: 12px; color: var(--footer-muted); margin: 0 0 8px; }
.footer-reach .footer-service-note { margin-top: 24px; line-height: 1.8; }
.footer-socials { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.footer-social-link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--footer-border); border-radius: 50%; padding: 0; color: var(--footer-muted); background: transparent; cursor: pointer; transition: color .18s,border-color .18s,background-color .18s; }
.footer-social-link:hover,.footer-social-link:focus-visible { color: #fff; border-color: #aa1bc0; background: rgba(170,27,192,.14); }
.footer-social-link svg { display: block; width: 18px; height: 18px; fill: currentColor; }
html[data-theme="light"] .footer-social-link:hover,html[data-theme="light"] .footer-social-link:focus-visible { color: #1e252d; }
.footer-social-block { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.footer-wechat-card { flex: 0 0 auto; width: max-content; margin: 0; text-align: center; }
.footer-wechat-card img { display: block; width: 88px; height: 88px; padding: 4px; object-fit: contain; border-radius: 5px; background: #fff; }
.footer-wechat-card figcaption { margin-top: 6px; color: var(--footer-muted); font-size: 11px; }
.footer-v5 .footer-bottom { margin-top: 40px; padding-top: 24px; border-color: var(--footer-border); color: var(--footer-muted); gap: 20px; flex-wrap: wrap; }
@media(max-width:1120px) { .header-cta { display: none !important; } }
@media(max-width:1120px) { .theme-toggle { grid-column: 3; } }
@media(max-width:980px) { .theme-toggle { grid-column: 2; } }
@media(max-width:980px) { .footer-directory { grid-template-columns: 1.5fr 1fr; gap: 36px; } }
@media(max-width:640px) {
 .footer-invitation { flex-direction: column; align-items: flex-start; padding-block: 36px; gap: 24px; }
 .footer-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; padding-top: 36px; }
 .footer-identity,.footer-reach { grid-column: 1/-1; }
 .footer-invitation h2 { font-size: 24px; }
}
