.site-header { position: sticky; top: 0; z-index: 5; }
[hidden] { display: none !important; }
#page-content { background: white; color: #151d2b; }
.wrap { max-width: 1120px; margin: auto; padding: 52px 24px; }
.center { text-align: center; }
.muted { color: #536477; }
.tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 14px; }
.product { display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: center; min-height: 380px; padding: 28px; background: #f3f5f8 center/cover; }
.product img { width: 100%; height: min(32vw,360px); object-fit: contain; }
.product:nth-child(even) img { order: -1; }
.tiles .product { display: flex; flex-direction: column; justify-content: space-between; }
.tiles .product img {
  order: 0;
  height: clamp(290px, 38vw, 480px);
}
.pill { display: inline-block; padding: 9px 16px; border: 1px solid currentColor; border-radius: 999px; background: white; color: #172131; text-decoration: none; cursor: pointer; }
.pill:hover,.pill[aria-pressed=true],.primary { background: #0870df; color: white; border-color: #0870df; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 16px; }
.card { padding: 22px; border-radius: 16px; background: #f4f6f9; }
.card img { display: block; max-width: 100%; margin: auto; }
.thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.device { height: 130px; object-fit: contain; }
.icon { width: 36px; height: 36px; object-fit: contain; }
.band { background: #121b2e; color: white; }
.diagnostic-banner { padding: clamp(24px,5vw,62px); border-radius: 20px; background: linear-gradient(110deg,#11294d,#087fe9); color: white; }
.diagnostic-banner h1 { max-width: 700px; font-size: clamp(26px,4vw,48px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-banner { padding: 95px 24px; background: #302822 center/cover; color: white; }
.field { width: 100%; padding: 12px; border: 1px solid #9caabc; border-radius: 8px; color: #162235; background: white; font: inherit; }
.support-banner .field { max-width: 540px; }
.support-hero { height: clamp(360px,26vw,630px); padding: 32px 24px; display: grid; place-items: center; background-position: center; }
.support-hero-copy { width: min(100%,680px); }
.support-hero h1 { font-size: clamp(30px,3.2vw,54px); margin: 0 0 26px; }
.support-hero .field { max-width: none; border-radius: 999px; padding: 17px 24px; }
.support-shortcuts { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.support-shortcuts a { padding: 6px 14px; border-radius: 999px; background: #0004; border: 1px solid #ffffff40; color: white; font-size: 12px; text-decoration: none; }
.support-section { max-width: 1100px; padding-block: 54px; }
.support-section > h2 { font-size: clamp(24px,2vw,34px); margin: 0 0 36px; }
.support-section .tabs { justify-content: center; margin-bottom: 34px; }
.support-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.support-product { color: inherit; text-decoration: none; }
.support-product .device { display: block; width: 100%; height: 190px; margin: auto; }
.support-product h3 { font-size: 17px; font-weight: 400; margin-top: 18px; }
.support-services,.support-contacts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.support-services .card,.support-contacts .card { min-height: 245px; border-radius: 4px; padding: 30px 16px; }
.support-section .pill,.resource-card .pill { border: 0; background: transparent; color: #0870df; padding: 8px; }
.support-section .pill:hover,.resource-card .pill:hover { text-decoration: underline; }
.support-section .tabs .pill { padding: 10px 24px; background: #f3f4f6; color: #526071; }
.support-section .tabs [aria-pressed=true] { background: #0870df; color: white; }
.support-resources { background: #f5f7fa; }
.resource-grid { display: grid; grid-template-columns: 1.8fr 1fr; grid-template-rows: repeat(2,minmax(190px,auto)); gap: 24px; }
.resource-card { background: white; text-align: center; overflow: hidden; padding: 28px 20px 0; }
.resource-0 { grid-row: span 2; }
.resource-card h3 { margin: 8px 0; }
.resource-image { width: 100%; height: 140px; object-fit: contain; margin-top: 12px !important; }
.resource-0 .resource-image { height: 300px; }
.resource-2 { display: grid; align-content: center; justify-items: center; padding-bottom: 28px; }
@media (max-width: 700px) {
  .support-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .support-services,.support-contacts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-0 { grid-row: auto; }
}
@media (max-width: 400px) {
  .support-services,.support-contacts { grid-template-columns: 1fr; }
}
.dealer-layout { align-items: start; }
.dealer-countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 32px; }
.dealer-countries [aria-current=page] { background: #0870df; border-color: #0870df; color: white; }
.dealer-list { display: grid; gap: 12px; }
.dealer-list h3,.dealer-map h2 { margin-top: 0; }
.dealer-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dealer-actions [aria-current=location] { background: #0870df; color: white; border-color: #0870df; }
.dealer-map iframe { display: block; border: 0; border-radius: 10px; width: 100%; height: 360px; margin-bottom: 14px; }
.faq details { padding: 14px; margin: 8px 0; border-radius: 8px; background: #f4f6f9; }
summary { cursor: pointer; font-weight: 650; }
.featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: center; margin-bottom: 16px; }
.featured .thumb { height: auto; aspect-ratio: auto; object-fit: contain; }
.service-card { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.service-card .icon { margin: 0; }
.product-page-title { margin: 0; padding: 20px 16px; background: #071719; color: #fff; }
.footer { padding: 22px; text-align: center; background: #121b2e; color: white; }
.speed-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 12px; margin: 24px 0 12px; }
.speed-metrics > div { padding: 16px; border-radius: 10px; background: white; }
.speed-metrics p { margin: 8px 0 0; }
.speed-metrics strong { font-size: 26px; }
.speed-panel canvas { display: block; width: 100%; height: 160px; background: white; border-radius: 10px; }
.speed-panel button:disabled { opacity: .45; cursor: default; }
.company-footer { text-align: start; }
.company-footer .wrap { padding-block: 20px; }
.company-footer p { margin: 10px 0 6px; }
.company-footer a { color: inherit; line-height: 1.7; }
.brand-card { position: relative; display: block; isolation: isolate; overflow: hidden; border-radius: 12px; color: #111a29; text-align: start; }
.brand-card .thumb { display: block; aspect-ratio: 2.15; }
.brand-card span { position: absolute; inset: 0 auto 0 0; width: 60%; display: grid; align-content: center; padding: 8%; font-size: clamp(15px,1.55vw,24px); line-height: 1.22; font-weight: 650; background: linear-gradient(90deg,#fffffff2,transparent); overflow-wrap: anywhere; }
.brand-card:last-child span { color: white; background: linear-gradient(90deg,#000c,transparent); }
.brand-card:hover span { text-decoration: underline; text-underline-offset: .2em; }
.language-trigger { background: transparent; border: 0; padding: 8px; cursor: pointer; display: flex; align-items: center; gap: 6px; color: #172131; white-space: nowrap; }
.language-trigger img { width: 23px; height: 23px; }
.site-header { gap: clamp(8px,2vw,32px); }
.site-header .nav { margin-inline-start: auto; gap: clamp(12px,2vw,38px); }
#language-dialog { width: min(92vw,620px); border: 0; border-radius: 16px; padding: clamp(20px,5vw,44px); color: #172131; }
#language-dialog::backdrop { background: #10172299; }
#language-dialog h2 { margin: 0 42px 22px 0; }
.language-close { position: absolute; top: 12px; right: 12px; }
.language-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#language-dialog { max-height: 85svh; overflow-y: auto; }
.language-options button { white-space: normal; overflow-wrap: anywhere; min-height: 48px; }
.nav a,.pill,.hero-explore { overflow-wrap: anywhere; text-align: center; }
.hero-title { max-width: 100%; }
.hero-copy .tagline { text-wrap: balance; }
.product h2,.scene h3,.purpose h2,.diagnostic-banner h1 { overflow-wrap: anywhere; text-wrap: balance; }
.grid > *,.split > *,.resource-grid > * { min-width: 0; }
html:lang(th) body { font-family: Tahoma,"Noto Sans Thai",sans-serif; line-height: 1.7; }
html:lang(ja) body { font-family: "MiSans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; line-height: 1.65; }
html:lang(ko) body { font-family: "Malgun Gothic","Apple SD Gothic Neo",sans-serif; line-height: 1.6; word-break: keep-all; }
html:lang(th) .eyebrow,html:lang(ja) .eyebrow,html:lang(ko) .eyebrow { letter-spacing: .02em; }
html:lang(ru) .hero-copy .tagline,html:lang(es) .hero-copy .tagline { font-size: clamp(18px,1.7vw,28px); line-height: 1.4; }
.brand-card span { hyphens: auto; }
@media (max-width: 1280px) {
  :root { --header-height: 76px; }
  .site-header .menu-button { display: block; margin-inline-start: auto; min-width: 44px; min-height: 44px; }
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 24px; background: white; box-shadow: 0 12px 24px #0002; max-height: calc(100svh - var(--header-height)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .nav.open { display: flex; }
  .site-header .nav a { padding: 14px 0; white-space: normal; text-align: start; }
  .site-header .nav a::after { bottom: 4px; width: 45px; right: auto; }
}
.language-options button { border-radius: 8px; padding: 14px 8px; }
.lifestyle,.purpose { padding-block: clamp(52px,8vw,110px); }
.eyebrow { font: 650 11px/1.5 MiSans,sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #0867ce; }
.lifestyle h2,.purpose h2 { font-size: clamp(30px,4.6vw,60px); line-height: 1.05; letter-spacing: -.045em; margin: 12px 0 28px; }
.scene-grid,.purpose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.scene { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; aspect-ratio: 4/3; background: #162333; color: white; }
.scene img,.scene::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; background: linear-gradient(0deg,#071221e8,transparent 66%); }
.scene-copy { position: absolute; inset: auto 0 0; padding: clamp(16px,3vw,36px); z-index: 1; }
.scene-copy h3 { font-size: clamp(22px,3vw,38px); line-height: 1.05; margin: 5px 0 8px; }
.scene-copy p { margin: 0; }
.scene .eyebrow,.band .eyebrow { color: #a8d3ff; }
.purpose { gap: clamp(18px,5vw,76px); align-items: center; }
.purpose-surface { background: #eef3fa; }
.purpose-surface .purpose { align-items: start; }
.purpose-surface article { border-top: 1px solid #c4d1e1; padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-ready { transition: opacity .55s ease, transform .55s ease; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tiles .product { overflow: hidden; }
  .tiles .product img,.scene img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
  .tiles .product:hover img { transform: scale(1.035); }
  .scene:hover img { transform: scale(1.055); }
}
@media (max-width: 640px) {
  :root { --header-height: 62px; }
  .site-header { padding-inline: 14px; gap: 6px; }
  .site-header .brand-wordmark { margin-inline-end: auto; font-size: 21px; }
  .site-header .menu-button,.language-trigger { min-width: 44px; min-height: 44px; }
  .site-header .nav { gap: 0; padding: 6px 18px 14px; overscroll-behavior: contain; }
  .site-header .nav a { white-space: normal; }
  .hero {
    min-height: max(calc(100svh - var(--header-height)), 158vw, 530px);
    background: #071719 url("../assets/hero-mobile.png") center bottom / cover no-repeat;
  }
  .hero::after {
    background: linear-gradient(180deg,#061114a6,transparent 42%,transparent 85%,#061114b3);
  }
  .hero-copy { top: clamp(22px,6vw,42px); bottom: auto; }
  .hero-title { font-size: clamp(32px,11vw,50px); }
  .tagline { font-size: clamp(17px,4.8vw,22px); }
  html:lang(ru) .hero-copy .tagline,html:lang(es) .hero-copy .tagline { font-size: clamp(16px,4.5vw,21px); }
  .hero-explore { margin-top: 20px; min-height: 44px; }
  .hero-note { font-size: 11px; bottom: 14px; z-index: 1; }
  .scene-grid,.purpose { grid-template-columns: 1fr; }
  .tiles,.product,.split,.featured { grid-template-columns: 1fr; }
  .product { min-height: 0; padding: 22px 14px; }
  .product h2 { margin-block: 8px; }
  .product img,.product:nth-child(even) img { order: 0; height: clamp(185px,61vw,310px); }
  .tiles .product { padding-inline: 12px; }
  .tiles .product img { height: clamp(215px,66vw,330px); }
  section:not(.tiles) > .product { gap: 22px; overflow: hidden; }
  section:not(.tiles) > .product img {
    display: block;
    justify-self: center;
    translate: var(--device-offset, 0%) 0;
  }
  section:not(.tiles) > .product[data-model="M86"] { --device-offset: 16%; }
  section:not(.tiles) > .product[data-model="HU8"] { --device-offset: -3%; }
  section:not(.tiles) > .product[data-model="M101"] { --device-offset: 9%; }
  .wrap { padding: 36px 18px; }
  .site-header .nav { max-height: calc(100svh - var(--header-height)); overflow-y: auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: start; padding: 4px 2px 8px; }
  .support-section .tabs { justify-content: start; }
  .tabs > * { flex: 0 0 auto; }
  .pill { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .field { font-size: 16px; }
  .support-hero { height: 345px; padding-inline: 18px; }
  .support-product .device { height: 128px; }
  .support-services,.support-contacts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .support-services .card,.support-contacts .card { min-height: 155px; padding: 14px 8px; }
  .support-services .card h3,.support-contacts .card h3 { margin-block: 8px; }
  .speed-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .speed-metrics > div { padding: 10px; }
  .speed-metrics strong { font-size: 22px; }
  .speed-panel canvas { height: 120px; }
  .dealer-layout > * { min-width: 0; overflow-wrap: anywhere; }
  .dealer-map iframe { height: 280px; }
}
