/* Bright product-focused homepage. Shared accessibility and dialog primitives remain in styles.css. */
:root, [data-theme='light'] {
  color-scheme: light;
  --background: #f7f9fc;
  --surface: #edf2f7;
  --surface-hover: #e3ecf5;
  --text: #152c46;
  --muted: #52677e;
  --subtle: #5a7088;
  --accent: #2467b9;
  --button-text: #f8fbff;
  --border: #d7e1ed;
  --header: #f7f9fc;
  --radius: 18px;
}
[data-theme='dark'] {
  color-scheme: dark;
  --background: #101c2d;
  --surface: #192a40;
  --surface-hover: #223951;
  --text: #f1f6fa;
  --muted: #b0c2d4;
  --subtle: #9cb5cb;
  --accent: #86b8f2;
  --button-text: #102439;
  --border: #31455f;
  --header: #101c2d;
}
.container { width: min(1280px, calc(100% - 112px)); }
.site-header { border-bottom: 0; }
.header-inner { min-height: 80px; }
.brand strong { font-size: 28px; letter-spacing: -.055em; }
.brand-cn { border: 0; padding-left: 0; font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.desktop-nav { gap: 24px; }
.desktop-nav a { font-weight: 500; }
.button { border-radius: 8px; gap: 26px; padding: 14px 23px; box-shadow: 0 5px 14px #2467b915; }
.button-small { padding: 9px 18px; min-height: 42px; border-radius: 7px; }
.button:hover { opacity: 1; background: color-mix(in srgb, var(--accent) 90%, var(--text)); border-color: transparent; }
.hero { grid-template-columns: .82fr 1.18fr; gap: 28px; min-height: 560px; padding-block: 28px 44px; }
.hero-copy { padding-bottom: 10px; }
.hero h1 { margin-top: 19px; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.35; font-weight: 650; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 380px; margin-top: 22px; font-size: 16px; line-height: 1.85; }
.hero-actions { margin-top: 29px; gap: 25px; }
.hero-visual img { aspect-ratio: 1.34; object-position: 58% center; border-radius: 28px; }
.hero-visual figcaption { margin-top: 8px; font-size: 10px; color: var(--subtle); }
.hero:after { display: none; }
.hero .eyebrow { font-size: 13px; font-weight: 550; color: var(--accent); letter-spacing: .02em; }
.section { padding-top: 70px; padding-bottom: 0; }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .about-section h2, .contact-section h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.045em; font-weight: 650; }
.section-heading > p:not(.eyebrow) { font-size: 15px; margin-top: 10px; }
.solutions-section { padding-top: 36px; }
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.solution-card { position: relative; overflow: hidden; isolation: isolate; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); text-align: left; color: var(--text); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.solution-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px #35577a18; }
.solution-card:active { transform: translateY(-1px); }
.solution-card img { transition: transform 550ms var(--ease); }
.solution-card:hover img { transform: scale(1.045); }
.large-card { grid-column: span 2; height: 288px; }
.large-card .solution-card-copy { width: 53%; padding: 34px 0 30px 32px; position: relative; z-index: 2; }
.card-category { font-size: 12px; color: var(--subtle); }
.solution-card h3 { font-size: 25px; font-weight: 600; margin-top: 8px; letter-spacing: -.035em; }
.solution-card p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 10px; max-width: 21ch; }
.card-more { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; margin-top: 25px; font-size: 13px; font-weight: 550; color: var(--accent); }
.audio-card { background: var(--surface); }
.audio-card > img { position: absolute; width: 64%; height: 100%; right: 0; top: 0; object-fit: cover; object-position: 62% 50%; border-radius: 0; }
.audio-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--surface) 32%, color-mix(in srgb, var(--surface) 88%, transparent) 44%, transparent 67%); }
.ble-card { background: var(--surface); }
.ble-card > .ble-image { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; object-position: right center; }
.ble-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--surface) 37%, color-mix(in srgb, var(--surface) 85%, transparent) 46%, transparent 63%); }
.compact-card { height: 254px; }
.compact-card .solution-card-copy { padding: 16px 24px 20px; position: absolute; bottom: 0; left: 0; right: 0; background: var(--surface); z-index: 2; }
.compact-card h3 { font-size: 19px; margin-top: 0; }
.compact-card p { font-size: 12px; margin-top: 5px; max-width: none; }
.card-arrow { position: absolute; top: 19px; right: 22px; font-size: 18px; color: var(--accent); }
.compact-card > img { width: 100%; height: 160px; object-fit: cover; }
.findmy-card > img { object-position: center 58%; }
.findmy-card { display: flex; flex-direction: column; }
.findmy-card > img { flex: 1 1 auto; min-height: 0; width: 100%; }
.findmy-card .solution-card-copy { position: relative; inset: auto; flex: 0 0 auto; width: 100%; }
.findmy-card h3 { padding-right: 18px; }
.mcu-card > img { object-position: 67% center; }
.mesh-card, .app-card { display: grid; grid-template-rows: minmax(128px, 1fr) auto; height: auto; min-height: 254px; }
.solution-visual { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.solution-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mesh-card .solution-card-copy, .app-card .solution-card-copy { position: relative; inset: auto; width: 100%; min-width: 0; }
.section-note { font-size: 11px; margin-top: 18px; }
.application-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.applications-image { overflow: hidden; border-radius: var(--radius); }
.applications-image img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.application-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 35px; }
.application-grid article { padding-top: 0; border: 0; }
.application-symbol { margin-bottom: 12px; font-size: 27px; }
.application-grid h3 { font-size: 18px; }
.application-grid p { font-size: 13px; margin-top: 8px; }
.process-section { margin-top: 44px; padding: 42px 40px; border-radius: var(--radius); background: var(--surface); }
.process-section .eyebrow { display: none; }
.process-section h2 { font-size: 28px; }
.process-list { margin-top: 30px; }
.process-list li { padding: 0 24px; }
.process-list h3 { margin-top: 12px; font-size: 17px; }
.process-list p { font-size: 12px; line-height: 1.75; }
.process-index { font-size: 12px; }
.about-section { padding-block: 40px; margin-top: 68px; border-top: 0; border-bottom: 1px solid var(--border); grid-template-columns: .85fr 1.15fr; gap: 64px; }
.about-section h2 { font-size: 31px; }
.about-lead { font-size: 16px; margin-top: 12px; }
.about-body > p { font-size: 14px; }
.company-facts { margin-top: 22px; gap: 60px; }
.company-facts dd { font-size: 17px; }
.resources-section { padding-top: 50px; }
.resources-section h2 { font-size: 28px; }
.resource-list article { background: var(--surface); border: 0; padding: 22px 26px; }
.contact-section { margin-top: 58px; padding: 48px; border: 1px solid var(--border); border-radius: 24px; gap: 40px; }
.contact-section h2 { font-size: 34px; }
.contact-section > .contact-main > p { font-size: 14px; }
.contact-email { font-size: 28px; margin-top: 25px; }
.contact-phone { font-size: 20px; margin-top: 16px; }
.qr-card { border: 0; background: transparent; width: 220px; }
.qr-card img { width: 220px; border-radius: 14px; border: 1px solid var(--border); }
.qr-card figcaption { padding: 12px 0 0; }
.qr-card strong { font-size: 14px; }
.qr-card button { font-size: 12px; }
.site-footer { margin-top: 45px; border-top: 0; font-size: 11px; }
.site-dialog { padding: 28px; background: var(--background); }
.solution-dialog { width: min(640px, calc(100% - 32px)); }
.solution-dialog .dialog-header > span { color: var(--accent); font-size: 13px; }
.solution-dialog .solution-panel { border: 0; border-radius: 0; background: none; padding: 0; min-height: 0; }
.solution-dialog .panel-main { margin-top: 0; }
.solution-dialog .panel-main h3 { font-size: 28px; }
.solution-dialog .solution-contact { margin-top: 28px; }
.scope-block li { background: var(--surface); border: 0; padding: 8px 12px; }
html[lang='en'] .hero h1 { font-size: clamp(35px, 3.4vw, 51px); line-height: 1.18; }
html[lang='en'] .large-card .solution-card-copy { width: 56%; }
html[lang='en'] .solution-card h3 { font-size: 23px; }
html[lang='en'] .compact-card h3 { font-size: 16px; }

@media (max-width: 1200px) {
  .container { width: calc(100% - 80px); }
  .desktop-nav { gap: 24px; }
  .hero { min-height: 520px; grid-template-columns: .88fr 1.12fr; }
  .hero h1 { font-size: 51px; }
  .large-card .solution-card-copy { padding-left: 25px; }
  .compact-card .solution-card-copy { padding-inline: 18px; }
  .compact-card h3 { font-size: 18px; }
  .card-arrow { right: 16px; }
  .application-layout { gap: 36px; }
}
@media (max-width: 1023px) {
  .container { width: calc(100% - 64px); }
  .header-inner { min-height: 72px; }
  .hero { min-height: 490px; gap: 20px; }
  .hero h1 { font-size: 42px; }
  .hero-visual img { aspect-ratio: .96; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 18px; font-size: 14px; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .large-card { grid-column: span 1; height: 295px; }
  .large-card .solution-card-copy { width: 68%; padding-top: 24px; }
  .large-card .solution-card-copy p { font-size: 13px; }
  .large-card .card-more { margin-top: 18px; }
  .large-card > img { width: 60%; object-position: 69%; }
  .ble-card > .ble-image { width: 67%; }
  .solution-card h3 { font-size: 23px; }
  .compact-card { height: 248px; }
  .compact-card h3 { font-size: 19px; }
  .compact-card > img { height: 160px; }
  .application-layout { grid-template-columns: 1fr; gap: 32px; }
  .applications-image img { aspect-ratio: 1.9; }
  .process-section { padding-inline: 32px; }
  .about-section { gap: 35px; }
  .contact-section { padding: 32px; grid-template-columns: 1fr 200px; }
  .contact-email { font-size: 24px; gap: 14px; }
  .qr-card, .qr-card img { width: 200px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; }
  .brand strong { font-size: 24px; }
  .brand-cn { font-size: 12px; }
  .hero { display: flex; gap: 28px; padding-top: 36px; padding-bottom: 28px; min-height: auto; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(38px, 9.3vw, 50px); margin-top: 17px; }
  .hero-description { font-size: 15px; max-width: 33ch; }
  .hero-actions { margin-top: 23px; gap: 25px; }
  .hero-visual img { aspect-ratio: 1.52; border-radius: 20px; }
  .section { padding-top: 48px; }
  .solutions-section { padding-top: 30px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; }
  .solution-grid { gap: 12px; }
  .large-card { grid-column: span 2; height: 244px; }
  .large-card .solution-card-copy { width: 56%; padding: 26px 0 20px 24px; }
  .solution-card h3 { font-size: 24px; }
  .card-more { margin-top: 22px; }
  .audio-card > img { width: 62%; object-position: 62%; }
  .ble-card > .ble-image { width: 64%; }
  .compact-card { height: 224px; }
  .compact-card > img { height: 127px; }
  .findmy-card h3 { padding-right: 0; }
  .compact-card .solution-card-copy { padding: 14px 15px 18px; }
  .compact-card h3 { font-size: 17px; }
  .compact-card p { font-size: 11px; max-width: 17ch; }
  .card-arrow { position: static; display: block; font-size: 16px; line-height: 1; margin-top: 8px; }
  .mesh-card, .app-card { height: auto; min-height: 224px; grid-template-rows: minmax(104px, 1fr) auto; }
  .applications-image img { aspect-ratio: 1.5; }
  .application-grid { gap: 26px 22px; }
  .application-grid h3 { font-size: 17px; }
  .process-section { padding: 28px 24px; margin-top: 45px; }
  .process-section h2 { font-size: 25px; }
  .process-list { margin-top: 18px; }
  .process-list li, .process-list li:first-child, .process-list li:nth-child(4) { padding: 14px 0; }
  .process-list h3 { font-size: 16px; }
  .process-list p { font-size: 13px; }
  .about-section { grid-template-columns: 1fr; margin-top: 32px; gap: 22px; padding-block: 32px; }
  .about-section h2 { font-size: 27px; }
  .about-body > p { font-size: 14px; }
  .about-lead { font-size: 15px; }
  .resources-section h2 { font-size: 27px; }
  .resource-list article { padding: 20px; }
  .contact-section { padding: 26px 23px; grid-template-columns: 1fr; margin-top: 44px; gap: 28px; }
  .contact-section h2 { font-size: 27px; }
  .contact-email { font-size: clamp(19px, 5.8vw, 25px); gap: 10px; }
  .contact-phone { font-size: 19px; }
  .qr-card, .qr-card img { width: 205px; }
  .site-footer { padding-top: 0; margin-top: 35px; }
  .solution-dialog { padding: 24px; }
  .solution-dialog .panel-main h3 { font-size: 24px; }
  html[lang='en'] .hero h1 { font-size: clamp(34px, 8.5vw, 45px); }
  html[lang='en'] .large-card .solution-card-copy { width: 60%; }
  html[lang='en'] .large-card h3 { font-size: 23px; }
  html[lang='en'] .compact-card h3 { font-size: 16px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 35px; }
  .hero-actions { gap: 18px; }
  .large-card .solution-card-copy { padding-left: 20px; }
  .large-card p { font-size: 12px !important; }
  .compact-card h3 { font-size: 15px; }
}

/* Contact footer: local service links, real contact details, and a compact WeChat entry. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .desktop-nav, .header-contact { display: none; }
  .header-actions { margin-left: auto; gap: 4px; }
  .brand-cn { display: block; }
  .menu-toggle { display: grid; }
}
.homepage-products-link { margin-top: 18px; min-height: 44px; }
.local-icon-image { display: block; flex-shrink: 0; width: 24px; height: 24px; object-fit: contain; pointer-events: none; }
[data-theme='dark'] .local-icon-image { filter: brightness(0) invert(.8); }
.contact-footer { margin-top: 76px; background: var(--background); scroll-margin-top: 80px; }
.footer-service-band { background: var(--surface); }
.footer-services { min-height: 106px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; }
.footer-service { display: flex; align-items: center; justify-content: center; gap: 17px; min-height: 76px; font-size: 17px; font-weight: 550; }
.service-icon { width: 36px; height: 36px; color: var(--subtle); }
.footer-service > span:last-child { font-size: 24px; font-weight: 400; }
.footer-service:hover { color: var(--accent); }
.footer-service:hover .service-icon { opacity: .8; }
.footer-columns { display: grid; grid-template-columns: 1.15fr .92fr .9fr 1.5fr; gap: 40px; padding: 60px 0 54px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-group h3 { font-size: 16px; font-weight: 600; margin-bottom: 13px; }
.footer-group > a, .footer-group > button { display: block; text-align: left; border: 0; background: none; padding: 6px 0; min-height: 34px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-group > a:hover, .footer-group > button:hover { color: var(--accent); }
.footer-contact-details { border-left: 1px solid var(--border); padding-left: 42px; }
.footer-contact-details h2 { font-size: 16px; font-weight: 600; line-height: 1.65; margin-bottom: 15px; }
.footer-contact-label { display: block; font-size: 12px; color: var(--subtle); }
.footer-phone { display: flex; align-items: baseline; gap: 8px; width: fit-content; font-size: clamp(26px, 2.5vw, 36px); font-weight: 400; letter-spacing: -.04em; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-phone-country { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.footer-phone:hover, .footer-email:hover { color: var(--accent); }
.footer-phone-hint { display: block; font-size: 11px; color: var(--muted); }
.footer-email-label { margin-top: 20px; }
.footer-email { display: block; width: fit-content; margin-top: 3px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.footer-contact-icons { display: flex; align-items: center; gap: 10px; margin-top: 17px; }
.contact-icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 7px; background: var(--surface); color: var(--subtle); transition: color 160ms var(--ease), background 160ms var(--ease); }
.contact-icon-button:hover { background: var(--surface-hover); color: var(--accent); }
.footer-legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 19px 78px 30px 0; border-top: 1px solid var(--border); color: var(--subtle); font-size: 11px; }
.footer-legal > div { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-filing { margin: 0; padding: 0 0 20px; text-align: center; color: var(--subtle); font-size: 12px; line-height: 1.6; }
.footer-filing a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; white-space: nowrap; }
.footer-filing a:hover { color: var(--accent); }
.wechat-widget { position: fixed; right: 28px; bottom: 28px; z-index: 40; }
.wechat-float-button { width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #10a84d; color: #f8fff9; box-shadow: 0 5px 20px #10a84d26; transition: transform 180ms var(--ease), background 180ms var(--ease); }
.wechat-float-button > .wechat-logo-image { width: 33px; height: 33px; object-fit: contain; pointer-events: none; }
.wechat-float-button:hover { background: #0b9442; transform: translateY(-2px); }
.wechat-float-button:active { transform: scale(.96); }
.wechat-widget:has(.wechat-popover:not([hidden]))::before { content: ''; position: absolute; bottom: 100%; right: 0; width: 100%; height: 22px; }
.wechat-popover { position: absolute; bottom: 76px; right: 0; width: 260px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--background); box-shadow: 0 12px 44px #152c4626; }
.wechat-popover::after { content: ''; position: absolute; width: 12px; height: 12px; right: 21px; bottom: -7px; background: var(--background); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: rotate(45deg); }
.wechat-popover-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.wechat-popover-heading > strong { font-size: 16px; font-weight: 600; }
.wechat-popover-heading > button { font-size: 24px; width: 36px; height: 36px; }
.wechat-popover img { width: 100%; height: auto; border-radius: 8px; }
.wechat-popover > p { color: var(--muted); font-size: 12px; text-align: center; margin-top: 10px; }
.wechat-popover > .copy-wechat { width: 100%; justify-content: center; font-size: 12px; margin-top: 5px; }
.toast { bottom: 100px; }
html[lang='en'] .footer-service { font-size: 16px; }
@media (max-width: 1023px) {
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; padding-block: 42px; }
  .footer-contact-details { grid-column: 1 / -1; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .footer-contact-icons { margin-top: 14px; }
  .footer-services { gap: 15px; }
  .footer-service { gap: 12px; font-size: 15px; }
  .service-icon { width: 30px; height: 30px; }
  html[lang='en'] .footer-service { font-size: 14px; }
}
@media (max-width: 767px) {
  .contact-footer { margin-top: 46px; }
  .footer-services { display: flex; flex-direction: column; gap: 0; padding-block: 10px; }
  .footer-service { width: 100%; justify-content: flex-start; min-height: 66px; padding: 10px 4px; gap: 18px; font-size: 15px; }
  .footer-service + .footer-service { border-top: 1px solid var(--border); }
  .footer-service > span:last-child { margin-left: auto; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 36px 30px; gap: 29px 18px; }
  .footer-group h3 { font-size: 15px; margin-bottom: 11px; }
  .footer-group > a, .footer-group > button { padding-block: 8px; min-height: 39px; font-size: 12px; }
  .footer-contact-details { grid-column: 1 / -1; padding-top: 25px; }
  .footer-contact-details h2 { font-size: 15px; }
  .footer-phone { font-size: 31px; }
  .footer-email { font-size: 14px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; padding: 17px 56px 35px 0; }
  .footer-legal > div { flex-direction: column; gap: 7px; }
  .wechat-widget { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .wechat-float-button { width: 50px; height: 50px; }
  .wechat-float-button > .wechat-logo-image { width: 30px; height: 30px; }
  .toast { bottom: 92px; }
  html[lang='en'] .footer-service { font-size: 15px; }
}
