/*
Theme Name: KEYWAY
Theme URI: https://keyway.com/
Author: KEYWAY
Description: Lanhu-accurate KEYWAY battery solutions homepage.
Version: 1.0.0
Text Domain: keyway
*/

@font-face {
  font-family: 'KeywayMobileInter';
  src: url('assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --orange: #fa8a27;
  --charcoal: #404040;
  --ink: #2b2b2b;
  --muted: #616161;
  --line: #d9d9d9;
  --soft: #f5f5f5;
  --page-width: 1920px;
  --content-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.desktop-break { display: none; }
.mobile-copy { display: none; }
.mobile-break { display: none; }
button, input, select, textarea { font: inherit; }
.site-shell { width: 100%; overflow: hidden; }
.utility-bar { height: 47px; background: var(--charcoal); color: #fff; font-size: 14px; }
.utility-inner { width: var(--content-width); height: 47px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 12px; }
.utility-right { gap: 0; }
.utility-email { width: 18px; height: 12px; object-fit: contain; }
.language-flag { width: 24px; height: 16px; object-fit: contain; margin-left: 48px; }
.language-code { margin-left: 8px; color: #fff; }
.language-chevron { width: 12px; height: 7px; object-fit: contain; margin: 6px 0 0 4px; }

.hero { position: relative; height: 800px; background: #050b0e url('assets/images/icon-2.png') center top / cover no-repeat; color: #fff; }
.hero-nav { position: absolute; top: 0; left: 0; right: 0; height: 80px; z-index: 2; display: flex; align-items: center; width: 100%; padding: 0 max(40px, calc((100% - var(--content-width)) / 2)); background: rgba(0,0,0,.5); }
.brand { display: inline-flex; align-items: center; gap: 5px; font-size: 27px; line-height: 1; font-weight: 800; letter-spacing: -1px; }
.brand-image { width: 222px; height: 32px; object-fit: contain; }
.brand-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; margin-top: 15px; }
.primary-nav { display: flex; align-items: center; gap: 46px; margin-left: 105px; font-size: 14px; font-weight: 600; }
.primary-nav a { opacity: .95; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--orange); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; min-width: 153px; height: 48px; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; }
.hero-content { position: absolute; left: 50%; top: 228px; transform: translateX(-50%); width: var(--content-width); }
.eyebrow { color: var(--orange); font-size: 18px; line-height: 1; letter-spacing: .07em; font-weight: 700; }
.hero h1 { max-width: 926px; margin: 0; font-size: 50px; line-height: 1.05; letter-spacing: -1.5px; color: #fff; }
.hero-copy { width: 520px; margin-top: 32px; color: #fff; font-size: 18px; line-height: 28px; }
.hero-copy p { margin: 0 0 7px; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; min-height: 42px; padding: 0 22px; border-radius: 3px; background: var(--orange); color: #fff; font-size: 16px; font-weight: 700; }
.text-link { font-size: 16px; text-decoration: underline; color: #fff; }

.section { width: 100%; }
.section-inner { width: var(--content-width); margin: 0 auto; }
.intro { min-height: 790px; padding: 80px 0 80px; background: #fff; }
.section-kicker { color: var(--orange); font-size: 18px; line-height: 22px; font-weight: 700; }
.orange-rule { width: 80px; height: 4px; background: var(--orange); margin-top: 16px; }
.intro-grid { display: grid; grid-template-columns: 600px 600px; gap: 80px; margin-top: 24px; align-items: start; }
.intro-copy h2 { margin: 0; font-size: 44px; line-height: 53px; font-weight: 700; }
.intro-copy p { margin: 32px 0 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.intro-copy p + p { margin-top: 24px; }
.inline-link { display: inline-block; color: var(--orange); font-weight: 700; text-decoration: underline; margin-top: 32px; }
.spec-card { width: 600px; height: 564px; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.spec-card-title { height: 54px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; }
.spec-scroll { height: 506px; overflow-y: scroll; scrollbar-color: #dbdbdb transparent; scrollbar-width: thin; }
.spec-scroll::-webkit-scrollbar { width: 6px; }
.spec-scroll::-webkit-scrollbar-track { background: transparent; }
.spec-scroll::-webkit-scrollbar-thumb { min-height: 80px; border-radius: 8px; background: #dbdbdb; }
.spec-row { display: grid; grid-template-columns: 190px 1fr; min-height: 63px; border-top: 1px solid var(--line); }
.spec-row:nth-child(even) { background: rgba(250,138,39,.08); }
.spec-label, .spec-value { padding: 14px 18px; font-size: 15px; line-height: 22px; }
.spec-label { color: var(--muted); border-right: 1px solid var(--line); }
.spec-value { color: var(--ink); }
.spec-note { margin: 18px 20px 28px; color: var(--muted); font-size: 14px; line-height: 22px; font-style: italic; }

.applications { min-height: 991px; padding: 80px 0; background: #f2f1f1; }
.applications h2, .builds h2, .certifications h2 { margin: 18px 0 0; font-size: 40px; line-height: 1.15; }
.section-lead { color: var(--muted); font-size: 16px; line-height: 26px; margin: 14px 0 0; }
.application-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.application-card { min-height: 124px; padding: 14px 18px; display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 12px; }
.application-icon-frame { width: 96px; height: 96px; flex: 0 0 96px; display: flex; align-items: center; justify-content: center; border: 1px solid #d9d9d9; border-radius: 9px; box-sizing: border-box; }
.application-icon { width: 44px; height: 44px; object-fit: contain; }
.application-card h3 { margin: 0 0 6px; font-size: 18px; line-height: 22px; }
.application-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 19px; }

.process { height: 700px; padding-top: 80px; color: #fff; background-color: #fff; background-image: url('assets/images/icon-4.png'); background-position: center 80px; background-size: 1920px 540px; background-repeat: no-repeat; }
.process h2 { width: 980px; margin: 56px 0 0; font-size: 44px; line-height: 53px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 256px); gap: 0; width: 1280px; height: 358px; margin: 73px auto 0; }
.process-step { width: 256px; height: 358px; min-height: 358px; padding: 40px 28px 92px; transition: background-color .18s ease, color .18s ease; }
.process-step:hover, .process-step:focus-within { background: rgba(255,255,255,.9); color: var(--ink); }
.process-number { color: var(--orange); font-size: 28px; font-weight: 700; line-height: 34px; }
.process-step h3 { width: 200px; margin: 22px 0 0; font-size: 18px; line-height: 22px; }
.process-step p { width: 200px; margin: 18px 0 0; font-size: 16px; line-height: 26px; opacity: 1; }

.builds { min-height: 954px; padding: 80px 0; background: #f2f1f1; }
.build-grid { display: grid; grid-template-columns: repeat(2, 628px); gap: 24px 24px; margin-top: 28px; }
.build-card { height: 320px; overflow: hidden; border-radius: 20px; background: #fff; }
.build-visual { position: relative; width: 100%; height: 216px; }
.build-image { width: 100%; height: 216px; object-fit: cover; }
.build-overlay { position: absolute; left: 24px; bottom: 22px; color: #fafaf5; }
.build-overlay h3 { margin: 0; font-size: 24px; line-height: 27px; font-weight: 600; }
.build-overlay span { display: block; margin-top: 8px; color: #ebb87a; font-size: 16px; line-height: 22px; letter-spacing: 4px; }
.build-card-body { min-height: 104px; padding: 16px 24px; }
.build-card-body p { margin: 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.build-card-body p:first-child { color: var(--ink); font-weight: 600; }
.build-card .accent { color: var(--orange); font-weight: 700; }

.reasons { min-height: 1080px; padding-top: 80px; color: #fff; background: #fff url('assets/images/icon-9.png') center 80px / min(1920px, 100%) 800px no-repeat; }
.reasons-inner { display: grid; grid-template-columns: 49.2708% 50.7292%; width: min(1920px, 100%); max-width: 100%; min-height: 800px; margin: 0 auto; }
.reasons-panel { min-height: 800px; box-sizing: border-box; background: rgba(0,0,0,.6); padding: 47px 64px 47px 71px; }
.reasons h2 { margin: 0 0 49px -7px; font-size: 44px; line-height: 48px; }
.reason { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin: 0 0 28px; }
.reason-mark { display: flex; align-items: flex-start; justify-content: flex-start; min-height: 24px; overflow: visible; color: var(--orange); font-size: 22px; font-weight: 700; }
.reason-mark img { display: block; width: 27px; height: 29px; object-fit: contain; }
.reason-mark-headset { width: 40px; height: 40px; }
.reason-mark-headset img { width: 36px; height: 36px; }
.reason-mark-factory { width: 40px; height: 40px; }
.reason-mark-factory img { width: 40px; height: 40px; }
.reason > div:last-child { min-width: 0; }
.reason h3 { margin: 0 0 6px; font-size: 18px; }
.reason p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.metrics { height: 120px; background: #fff; color: var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); width: var(--content-width); margin: 0 auto; position: relative; z-index: 1; box-shadow: inset 0 0 0 1px #eee; }
.metric { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #eee; }
.metric:last-child { border-right: 0; }
.metric strong { color: var(--ink); font-size: 48px; line-height: 40px; }
.metric span { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 22px; }

.certifications { min-height: 993px; padding: 80px 0 90px; background: #fff; }
.certifications h2 { margin: 0; font-size: 44px; line-height: 44px; }
.certifications .section-lead { margin-top: 24px; font-size: 18px; line-height: 27px; }
.certification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 51px; }
.cert-column h3 { margin: 0 0 24px; color: var(--orange); font-size: 24px; line-height: 24px; }
.cert-table { width: 100%; border-collapse: collapse; color: var(--muted); font-size: 16px; line-height: 24px; }
.cert-table td { padding: 14px 0; border-bottom: 1px solid #d9d9d9; white-space: nowrap; }
.cert-table td:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.cert-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.cert-badge { min-height: 132px; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; box-sizing: border-box; border: 1px solid #d9d9d9; border-radius: 16px; background: #f2f1f1; color: var(--muted); font-size: 18px; line-height: 28px; text-align: center; }
.cert-badge strong { color: var(--ink); font-size: 18px; line-height: 26px; }
.cert-note { margin: 40px 0 0; padding-top: 40px; border-top: 1px solid #d9d9d9; color: var(--muted); font-size: 16px; line-height: 16px; }
.cert-note .inline-link { position: relative; margin-top: 24px; font-size: 16px; line-height: 24px; text-decoration: none; }
.cert-note .inline-link::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--orange); }

.quote { min-height: 1181px; padding: 79px 0 80px; background: #f2f1f1; }
.quote-card { width: 1280px; max-width: 100%; margin: 0 auto; background: transparent; box-shadow: none; overflow: visible; }
.quote-head { height: 175px; padding: 36px 40px; box-sizing: border-box; border-radius: 20px; color: #fff; background: var(--charcoal); }
.quote-head h2 { margin: 0; font-size: 44px; line-height: 53px; }
.quote-head p { margin: 10px 0 0; color: #c8c8c8; font-size: 18px; line-height: 27px; }
.quote-form { min-height: 814px; margin-top: 34px; padding: 44px 40px; box-sizing: border-box; border: 1px solid #e3e3de; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 24px; }
.field input, .field select, .field textarea { width: 100%; box-sizing: border-box; border: 1px solid #d9d9d9; border-radius: 14px; background: #f2f2f2; padding: 19px 20px; color: var(--ink); font: inherit; font-size: 16px; line-height: 24px; }
.field input, .field select { height: 64px; }
.field select { appearance: none; background-image: url('assets/images/icon-26.png'); background-repeat: no-repeat; background-position: right 20px center; background-size: 24px 24px; padding-right: 60px; }
.field textarea { height: 134px; min-height: 134px; resize: vertical; }
.form-helper, .form-details-help { margin: 0; color: #666963; font-size: 16px; line-height: 25px; }
.form-helper.full { grid-column: 1 / -1; margin-top: -4px; }
.form-details-help { margin-top: 20px; line-height: 16px; }
.quote-note { margin: 35px 0 0; padding-top: 24px; border-top: 1px solid #d9d9d9; color: var(--muted); font-size: 16px; line-height: 24px; }
.quote-note .inline-link { margin: 0; color: #145ca6; font-weight: 400; }
.quote-submit { width: 96px; min-width: 96px; height: 48px; min-height: 48px; margin-top: 39px; padding: 0; border: 0; border-radius: 8px; font-size: 18px; line-height: 18px; cursor: pointer; }

.site-footer { height: 620px; min-height: 620px; padding: 66px 0 0; box-sizing: border-box; color: #f5f6f2; background: var(--charcoal); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px 260px; gap: 90px; }
.footer-brand { margin: 11px 0 33px; }
.footer-brand .brand-image { width: 222px; height: 32px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; color: #b8bab2; font-size: 16px; line-height: 24px; }
.footer-contact-row { display: flex; align-items: center; gap: 12px; min-height: 20px; }
.footer-contact-row img { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.footer-contact-row a { color: inherit; }
.footer-socials { display: flex; align-items: center; gap: 20px; margin-top: 46px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 18px; height: 20px; }
.footer-socials img { width: 18px; height: 20px; object-fit: contain; }
.footer-heading { color: #f5f6f2; font-size: 18px; font-weight: 600; line-height: 26px; text-transform: uppercase; }
.footer-heading::after { content: ''; display: block; width: 72px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--orange); }
.footer-links { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; color: #b8bab2; font-size: 16px; line-height: 24px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 64px; padding-top: 25px; border-top: 1px solid #666963; color: #b8bab2; }
.footer-cert-heading { color: #b8bab2; font-family: Inter, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 600; line-height: 18px; text-transform: uppercase; }
.footer-certifications { display: flex; gap: 16px; margin-top: 12px; }
.footer-cert { width: 126px; height: 72px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #7a7d75; border-radius: 12px; background: #404240; text-align: center; }
.footer-cert small { color: var(--orange); font-size: 13px; font-weight: 600; line-height: 18px; }
.footer-cert strong { margin-top: 7px; color: #f5f6f2; font-size: 16px; line-height: 22px; }
.footer-copyright { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 16px; color: #b8bab2; font-size: 16px; line-height: 24px; text-align: right; }
.footer-copyright strong { color: #f5f6f2; font-weight: 600; }

@media (max-width: 800px) {
  :root { --content-width: calc(100% - 80px); }
  .primary-nav { gap: 28px; margin-left: 70px; }
  .intro-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; }
  .build-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reasons-panel { padding: 48px 36px; }
}

@media (max-width: 800px) {
  :root { --content-width: calc(100% - 40px); }
  .utility-inner { font-size: 11px; }
  .utility-right { gap: 12px; }
  .hero { height: 700px; background-position: 56% top; }
  .hero-nav { height: 66px; align-items: center; }
  .brand { font-size: 21px; }
  .brand-image { width: 166px; height: auto; }
  .primary-nav { display: none; }
  .nav-cta { min-width: 116px; height: 38px; font-size: 12px; }
  .hero-content { top: 220px; }
  .hero h1 { max-width: 90%; font-size: 42px; }
  .hero-copy { width: min(520px, 100%); font-size: 15px; line-height: 23px; }
  .intro, .applications, .builds, .certifications, .quote { min-height: auto; padding: 56px 0; }
  .intro-grid, .certification-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-copy h2, .applications h2, .builds h2 { font-size: 34px; }
  .application-grid, .build-grid, .form-grid { grid-template-columns: 1fr; }
  .build-card .build-visual, .build-card .build-image { height: auto; aspect-ratio: 628 / 216; }
  .process { height: auto; min-height: 900px; padding: 56px 0; background-position: center 56px; background-size: auto 540px; }
  .process h2 { width: auto; margin-top: 0; font-size: 34px; line-height: 42px; }
  .process-grid { grid-template-columns: 1fr; gap: 18px; width: 100%; height: auto; margin-top: 58px; }
  .process-step { width: 100%; height: auto; min-height: auto; padding: 20px 18px 22px; }
  .process-step h3, .process-step p { width: auto; }
  .reasons { min-height: auto; padding-top: 0; background-position: 42% top; background-size: auto 825px; }
  .reasons-inner { grid-template-columns: 1fr; }
  .reasons-panel { padding: 56px 30px; }
  .metrics { width: var(--content-width); height: auto; grid-template-columns: 1fr; }
  .metric { min-height: 85px; border-right: 0; border-bottom: 1px solid #eee; }
  .metric:last-child { border-bottom: 0; }
  .quote-card { width: 100%; }
  .quote-head { height: auto; padding: 30px 24px; border-radius: 14px; }
  .quote-head h2 { font-size: 34px; line-height: 42px; }
  .quote-head p { font-size: 16px; line-height: 24px; }
  .quote-form { min-height: 0; margin-top: 20px; padding: 30px 24px; border-radius: 14px; }
  .form-grid { gap: 20px; }
  .form-helper.full { margin-top: 0; }
  .field textarea { height: 160px; min-height: 160px; }
  .cert-badges { grid-template-columns: 1fr; }
  .cert-table td { white-space: normal; }
  .spec-card { width: 100%; height: auto; }
  .spec-card-title { height: auto; }
  .spec-scroll { height: auto; overflow-y: visible; }
  .site-footer { height: auto; min-height: 0; padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-certifications { flex-wrap: wrap; }
  .footer-copyright { align-items: flex-start; padding-top: 0; text-align: left; }
}

/* Mobile homepage: values below follow the 750px Lanhu mobile artboard. */
.mobile-menu, .mobile-menu-toggle, .mobile-nav-flag { display: none; }

@media (max-width: 800px) {
  :root { --content-width: calc(100% - 64px); }
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }
  /* Mobile Lanhu export is a 750px artboard; zoom scales its authored px values to the viewport. */
  .site-shell { width: 750px; zoom: calc(100vw / 750px); overflow: clip; }
  body.mobile-menu-open { overflow: hidden; }
  .utility-bar { display: none; }

  .hero { height: 1120px; min-height: 1120px; background-color: #020608; background-image: url('assets/images/mobile-home/icon-1.png'); background-position: center 120px; background-size: min(750px, 100%) auto; background-repeat: no-repeat; }
  .hero-nav { height: 120px; padding: 0 32px 0 48px; background: #404040; }
  .brand-image { width: 222px; height: 32px; }
  .mobile-menu-toggle { display: block; width: 48px; height: 48px; margin-left: 34px; padding: 12px 8px; border: 0; background: transparent; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 32px; height: 3px; margin: 5px 0; background: #fff; }
  .nav-cta { width: 202px; min-width: 202px; height: 56px; margin-left: 46px; border-radius: 8px; font-size: 24px; line-height: 24px; }
  .mobile-nav-flag { display: block; width: 72px; height: 48px; margin-left: 46px; object-fit: contain; }
  .hero-content { top: 300px; left: 32px; width: calc(100% - 64px); transform: none; }
  .hero-content { font-family: 'KeywayMobileInter', Inter, Arial, sans-serif; }
  .hero h1 { max-width: 686px; color: #fafaf7; font-size: 56px; font-weight: 700; line-height: 68px; letter-spacing: 0; }
  .hero-content .mobile-break { display: inline; }
  .hero-copy { width: 100%; max-width: 686px; margin-top: 40px; color: #fafaf7; font-size: 26px; line-height: 36px; }
  .hero-copy p { margin: 0 0 24px; }
  .hero-copy p:last-child { max-width: 686px; margin-top: 0; margin-bottom: 0; }
  .hero-actions { margin-top: 56px; }
  .hero-actions .button { width: 240px; min-width: 240px; height: 72px; min-height: 72px; padding: 0; border-radius: 12px; font-size: 28px; line-height: 28px; }
  .hero-actions .text-link { display: none; }

  .mobile-menu { display: block; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; background: rgba(0, 0, 0, .6); isolation: isolate; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__drawer { width: 90.666667vw; min-height: 100%; background: #fff; }
  .mobile-menu__close { position: relative; width: 13.333333vw; height: 13.333333vw; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .mobile-menu__close span { position: absolute; left: 5.333333vw; top: 6.4vw; width: 5.333333vw; height: .533333vw; border-radius: 2px; background: #232323; }
  .mobile-menu__close span:first-child { transform: rotate(45deg); }
  .mobile-menu__close span:last-child { transform: rotate(-45deg); }
  .mobile-menu__links { display: flex; flex-direction: column; gap: 0; padding-top: 5.333333vw; }
  .mobile-menu__links a { display: flex; align-items: center; box-sizing: border-box; height: 13.333333vw; padding-left: 5.333333vw; color: #020202; font-size: 4.266667vw; font-weight: 700; line-height: 4.266667vw; }

  .intro { min-height: 2068px; padding: 80px 0; }
  .section-kicker { font-size: 0; line-height: 0; }
  .intro .section-kicker::after { content: 'HOW WE WORK'; color: var(--orange); font-size: 24px; font-weight: 600; line-height: 24px; }
  .orange-rule { width: 120px; height: 4px; margin-top: 20px; }
  .intro-grid { display: block; margin-top: 32px; }
  .intro-copy h2 { font-size: 48px; line-height: 48px; }
  .intro-copy p { margin-top: 32px; color: #616661; font-size: 28px; line-height: 38px; }
  .intro-copy p + p { margin-top: 24px; }
  .intro-copy .inline-link { margin-top: 40px; font-size: 28px; font-weight: 600; line-height: 34px; text-decoration: none; }
  .spec-card { width: 100%; height: auto; margin-top: 56px; border: 1px solid #d6d6cf; border-radius: 18px; }
  .spec-card-title { height: 82px; padding: 22px 24px; border: 0; background: #fff8f1; font-size: 32px; font-weight: 600; line-height: 34px; }
  .spec-scroll { height: auto; overflow: visible; }
  .spec-row { display: block; min-height: 114px; border-top: 1px solid #d6d6cf; }
  .spec-row:nth-child(even) { background: #fff8f1; }
  .spec-label, .spec-value { display: block; padding: 0 24px; border: 0; }
  .spec-label { padding-top: 20px; color: #616161; font-size: 24px; font-weight: 600; line-height: 24px; }
  .spec-value { padding-top: 10px; color: #2b2b2b; font-size: 26px; line-height: 26px; }
  .spec-note { margin: 32px 24px; color: #2b2b2b; font-size: 24px; line-height: 29px; }

  .applications { min-height: 2028px; padding: 80px 0; background: #f2f1f1; }
  .applications .section-kicker { font-size: 24px; line-height: 24px; }
  .applications .section-kicker::after { display: none; }
  .applications h2, .builds h2, .certifications h2 { margin-top: 32px; font-size: 48px; line-height: 58px; }
  .applications .section-lead, .builds .section-lead { margin-top: 28px; font-size: 28px; line-height: 40px; }
  .application-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .application-card { box-sizing: border-box; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; min-height: 0; padding: 0 20px; gap: 20px; border-radius: 18px; }
  .application-card:nth-child(1) { height: 218px; }
  .application-card:nth-child(2), .application-card:nth-child(3) { height: 186px; }
  .application-card:nth-child(n + 4) { height: 160px; }
  .application-icon-frame { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 96px; height: 96px; margin-top: 32px; border: 1px solid #d9d9d9; border-radius: 10px; }
  .application-card:nth-child(1) .application-icon-frame { margin-top: 60px; }
  .application-card:nth-child(2) .application-icon-frame, .application-card:nth-child(3) .application-icon-frame { margin-top: 45px; }
  .application-icon-picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
  .application-icon { width: 50px; height: 50px; object-fit: contain; }
  .application-card:nth-child(n + 3) .application-icon { width: 72px; height: 72px; }
  .application-card > div { min-width: 0; margin: 24px 0 0; }
  .application-card h3 { margin: 0; font-size: 26px; line-height: 34px; }
  .application-card p { margin: 8px 0 0; font-size: 24px; line-height: 32px; }

  .process { height: 1961px; min-height: 0; padding: 0; color: #fff; font-family: 'KeywayMobileInter', Inter, Arial, sans-serif; background: #05090a url('assets/images/mobile-home/icon-3.png') center top / 100% 100% no-repeat; }
  .process .section-inner { width: var(--content-width); }
  .process h2 { width: 658px; margin: 0; padding-top: 80px; font-size: 48px; line-height: 58px; }
  .process-grid { display: block; width: 750px; height: 1605px; margin: 80px 0 0 -32px; }
  .process-step { width: 750px; height: 321px; min-height: 0; padding: 32px; background: rgba(0, 0, 0, .3); color: #fff; }
  .process-step + .process-step { margin-top: 0; }
  .process-step:hover, .process-step:focus-within { background: rgba(0, 0, 0, .3); color: #fff; }
  .process-number { font-size: 48px; line-height: 56px; }
  .process-step h3 { width: auto; margin: 24px 0 0; color: var(--orange); font-size: 32px; line-height: 39px; }
  .process-step p { width: 630px; margin: 24px 0 0; font-size: 28px; line-height: 38px; }

  .builds { min-height: 2140px; padding: 80px 0; background: #f2f1f1; }
  .builds h2 { margin-top: 0; }
  .build-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .build-card { height: auto; overflow: hidden; border-radius: 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
  .build-card .build-visual { width: 100%; height: 300px; }
  .build-card .build-visual > picture { display: block; width: 100%; height: 300px; }
  .build-card .build-image { display: block; width: 100%; height: 300px; aspect-ratio: auto; object-fit: cover; }
  .build-overlay { left: 24px; bottom: 20px; }
  .build-overlay h3 { font-size: 28px; line-height: 32px; }
  .build-overlay span { margin-top: 4px; font-size: 16px; line-height: 22px; letter-spacing: 2px; }
  .build-card-body { min-height: 178px; padding: 20px 24px; }
  .build-card-body p { font-size: 18px; line-height: 26px; }
  .build-card-body p + p { margin-top: 10px; }

  .reasons { min-height: 0; padding: 0; color: #fff; background: #111716 url('assets/images/icon-9.png') 26% top / auto 520px no-repeat; }
  .reasons-inner { display: block; width: 100%; height: 1849px; min-height: 1849px; }
  .reasons-inner > div:first-child { height: 520px; }
  .reasons-panel { height: 1329px; min-height: 1329px; padding: 58px 32px 66px; background: #111716; }
  .reasons h2 { margin: 0 0 40px; font-size: 52px; line-height: 62px; }
  .reason { grid-template-columns: 60px minmax(0, 1fr); gap: 20px; margin: 0 0 28px; }
  .reason-mark, .reason-mark-headset, .reason-mark-factory { width: 60px; height: 60px; min-height: 60px; }
  .reason-mark picture, .reason-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .reason:first-of-type .reason-mark picture { width: 42px; height: 32px; margin: 13px 0 0 10px; }
  .reason h3 { margin: 0; font-size: 32px; line-height: 40px; }
  .reason p { margin-top: 16px; color: #b9bdb9; font-size: 28px; line-height: 38px; }
  .metrics { width: 100%; height: 236px; margin: 0; grid-template-columns: 257px 229px 264px; box-shadow: none; }
  .metric { display: grid; grid-template-columns: 228px; grid-template-rows: 52px 60px; row-gap: 18px; align-content: start; align-items: start; justify-content: start; justify-items: center; min-height: 0; padding: 53px 0 0 4px; border-right: 1px solid #d7d7d7; border-bottom: 0; }
  .metric:first-child { padding-left: 32px; }
  .metric strong { display: flex; align-items: flex-start; justify-content: center; gap: 0; font-size: 48px; line-height: 52px; white-space: nowrap; }
  .metric strong img { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 8px; object-fit: contain; }
  .metric span { width: 212px; max-width: 100%; margin-top: 0; color: #616161; font-size: 22px; font-weight: 600; line-height: 30px; text-align: center; }

  .certifications { min-height: 0; padding: 80px 0; }
  .certifications h2 { font-size: 48px; line-height: 52px; }
  .certifications .section-lead { margin-top: 28px; font-size: 24px; line-height: 32px; }
  .certification-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .cert-column { overflow: hidden; border: 1px solid #e3e3de; border-radius: 14px; }
  .cert-column h3 { margin: 0; padding: 18px 24px; background: #fff8f1; font-size: 24px; line-height: 28px; }
  .cert-table { font-size: 18px; line-height: 24px; }
  .cert-table td { padding: 13px 24px; white-space: normal; }
  .cert-table td:last-child { text-align: right; }
  .cert-badges { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .cert-badge { min-height: 104px; padding: 16px 24px; align-items: flex-start; gap: 6px; border: 0; border-radius: 12px; font-size: 18px; line-height: 24px; text-align: left; }
  .cert-badge strong { font-size: 18px; line-height: 24px; }
  .cert-note { margin-top: 40px; padding-top: 0; border-top: 0; font-size: 18px; line-height: 24px; }
  .cert-note .inline-link { margin-top: 24px; color: var(--orange); font-size: 18px; line-height: 24px; text-decoration: none; }

  .quote { min-height: 0; padding: 80px 0; background: #f2f1f1; }
  .quote-card { width: var(--content-width); }
  .quote-head { height: 144px; padding: 24px; border-radius: 14px; }
  .quote-head h2 { font-size: 36px; line-height: 42px; }
  .quote-head p { margin-top: 8px; font-size: 18px; line-height: 24px; }
  .quote-form { min-height: 0; margin-top: 16px; padding: 24px; border-radius: 14px; }
  .form-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .field label { font-size: 18px; line-height: 24px; }
  .field input, .field select, .field textarea { border-radius: 10px; background: #fff; font-size: max(16px, 1rem); }
  .field input, .field select { height: 56px; padding: 15px 16px; }
  .field textarea { height: 160px; min-height: 160px; padding: 16px; }
  .form-helper, .form-details-help { font-size: 16px; line-height: 22px; }
  .quote-submit { width: 128px; height: 56px; min-height: 56px; margin-top: 24px; border-radius: 8px; font-size: 20px; }
  .quote-note { margin-top: 24px; padding-top: 20px; font-size: 16px; line-height: 24px; }

  .site-footer { height: auto; min-height: 0; padding: 80px 0 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-brand { margin: 0 0 34px; }
  .footer-brand .brand-image { width: 222px; height: 32px; }
  .footer-contact { gap: 12px; font-size: 18px; line-height: 26px; }
  .footer-contact-row { gap: 12px; }
  .footer-contact-row img { width: 20px; height: 20px; }
  .footer-socials { gap: 24px; margin-top: 30px; }
  .footer-socials a, .footer-socials img { width: 22px; height: 24px; }
  .footer-heading { color: #f5f6f2; font-size: 18px; line-height: 26px; }
  .footer-heading::after { width: 72px; height: 3px; margin-top: 14px; }
  .footer-links { gap: 10px; margin-top: 22px; font-size: 18px; line-height: 26px; }
  .footer-bottom { display: block; margin-top: 48px; padding-top: 48px; }
  .footer-cert-heading { font-size: 18px; line-height: 26px; }
  .footer-certifications { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
  .footer-cert { width: 100%; height: 116px; border-radius: 16px; }
  .footer-cert small { font-size: 26px; line-height: 34px; }
  .footer-cert strong { margin-top: 8px; font-size: 28px; line-height: 38px; }
  .footer-copyright { align-items: center; gap: 14px; padding-top: 44px; font-size: 18px; line-height: 26px; text-align: center; }
}

/* Desktop Lanhu export alignment: the desktop artboard is exactly 1920px wide. */
@media (min-width: 801px) {
  html, body { overflow-x: clip; }
  .site-shell { width: 100%; margin: 0; overflow: hidden; zoom: 1; }
  .utility-bar, .hero, .section { width: 100%; }
  .utility-inner, .section-inner { width: min(1280px, calc(100% - 80px)); }
  .quote-card, .metrics { width: min(1280px, calc(100% - 80px)); }
  .intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6.25vw, 80px); }
  .spec-card { width: 100%; }
  .process-grid { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process-step { width: auto; padding-left: clamp(12px, 1.45vw, 28px); padding-right: clamp(12px, 1.45vw, 28px); }
  .process-step h3, .process-step p { width: auto; }
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { background-size: 100% 800px; }
  .reasons-inner { width: 100%; max-width: none; }

  .language-flag {
    display: block;
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    margin-left: 48px;
  }

  .hero { background-position: center top; background-size: cover; }
  .hero-nav {
    right: 0;
    width: 100%;
    padding: 0 max(40px, calc((100% - 1280px) / 2));
  }
  .hero-nav .brand { margin-left: 0; flex: 0 0 auto; }
  .hero-nav .brand-image { width: 222px; height: 32px; }
  .brand-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    margin: 22px 0 0 5px;
    border-radius: 0;
  }
  .primary-nav { gap: 0; margin-left: clamp(12px, 2.24vw, 43px); }
  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(96px, 7.8125vw, 150px);
    height: 80px;
  }
  .nav-cta {
    flex: 0 0 153px;
    width: 153px;
    min-width: 153px;
    margin-left: auto;
    margin-right: 0;
  }
  .hero-content { width: min(1280px, calc(100% - 80px)); }
  .hero h1 { font-weight: 600; }
  .hero-copy { width: 691px; }
  .hero-copy p { margin: 0; white-space: normal; }
  .hero-copy p + p { margin-top: 18px; }
  .hero-actions { margin-top: 40px; }

  .applications h2, .builds h2 { margin-top: 24px; font-size: 44px; line-height: 44px; font-weight: 600; }
  .applications .section-lead { margin-top: 24px; font-size: 18px; line-height: 28px; }
  .application-grid { gap: 12px; margin-top: 56px; }
  .application-card {
    min-height: 136px;
    height: 136px;
    padding: 0;
    gap: 0;
    border-radius: 16px;
  }
  .application-icon-frame {
    position: relative;
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    margin-left: 20px;
    border-radius: 10px;
    background: #fff;
    overflow: visible;
  }
  .application-icon { position: relative; z-index: 1; width: auto; height: auto; object-fit: contain; }
  .application-card:nth-child(1) .application-icon { width: 44px; height: 30px; }
  .application-card:nth-child(2) .application-icon { width: 44px; height: 33px; }
  .application-card:nth-child(3) .application-icon { width: 24px; height: 43px; }
  .application-card:nth-child(4) .application-icon { width: 48px; height: 35px; }
  .application-card:nth-child(5) .application-icon { width: 50px; height: 32px; }
  .application-card:nth-child(6) .application-icon { width: 24px; height: 49px; }
  .application-card:nth-child(7) .application-icon { width: 50px; height: 38px; }
  .application-card:nth-child(8) .application-icon { width: 40px; height: 41px; }
  .application-card > div {
    min-width: 0;
    align-self: flex-start;
    margin: 22px 34px 0 20px;
  }
  .application-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 24px; font-weight: 600; }
  .application-card p { margin: 0; font-size: 16px; line-height: 25px; }

  .builds h2 { margin-top: 0; }
  .builds .section-lead { margin-top: 10px; font-size: 18px; line-height: 26px; }
  .build-grid { margin-top: 34px; }

  .reasons-inner { height: 800px; min-height: 800px; overflow: hidden; }
  .reasons-panel { position: relative; height: 800px; min-height: 800px; padding: 0; overflow: hidden; }
  .reasons-panel > h2 { position: absolute; left: 64px; top: 47px; margin: 0; font-weight: 600; }
  .desktop-break { display: inline; }
  .reason {
    position: absolute;
    left: 71px;
    width: 579px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    margin: 0;
  }
  .reasons-panel > article:nth-of-type(1) { top: 192px; }
  .reasons-panel > article:nth-of-type(2) { top: 349px; }
  .reasons-panel > article:nth-of-type(3) { top: 506px; }
  .reasons-panel > article:nth-of-type(4) { top: 657px; }
  .reason h3 { width: 530px; margin: 0; font-size: 20px; line-height: 22px; font-weight: 700; white-space: nowrap; }
  .reason p { width: 620px; margin: 16px 0 0 -61px; font-size: 18px; line-height: 22px; white-space: normal; }
  .reasons-panel > article:nth-of-type(1) p { margin-top: 21px; }
  .reasons-panel > article:nth-of-type(2) p { margin-top: 20px; }
  .reasons-panel > article:nth-of-type(4) h3 { width: 476px; white-space: normal; }
  .reasons-panel > article:nth-of-type(4) p { margin-top: 8px; }
  .reason-mark {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    min-height: 40px;
    border: 0;
    overflow: visible;
  }
  .reason-mark picture { display: block; width: 40px; height: 40px; overflow: visible; }
  .reason-mark > img,
  .reason-mark picture > img { display: block; object-fit: contain; }
  .reason:first-of-type .reason-mark picture > img,
  .reason:nth-of-type(2) .reason-mark > img { width: 27px; height: 29px; margin: 5px 0 0 5px; }
  .reason-mark-headset img,
  .reason-mark-factory img { width: 34px; height: 34px; margin: 3px; object-fit: contain; }
  .metric strong { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
  .metric strong img { width: 24px; height: 24px; margin-top: 8px; object-fit: contain; }
  .metric span { font-weight: 600; }

  .footer-brand .brand-image { width: 207px; height: 32px; }
}

@media (min-width: 801px) and (max-width: 1600px) {
  .reasons-panel { display: flex; flex-direction: column; gap: 25px; padding: 42px clamp(26px, 3vw, 48px); }
  .reasons-panel > h2 { position: static; margin: 0 0 10px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; }
  .reason, .reasons-panel > article:nth-of-type(n) { position: static; width: auto; margin: 0; }
  .reason h3, .reasons-panel > article:nth-of-type(4) h3 { width: auto; white-space: normal; font-size: 18px; line-height: 23px; }
  .reason p, .reasons-panel > article:nth-of-type(n) p { width: auto; margin: 10px 0 0; font-size: 16px; line-height: 23px; }
  .reason .desktop-break { display: none; }
  .reasons-panel { height: auto; min-height: 800px; overflow: visible; }
  .reasons-inner { height: auto; min-height: 800px; overflow: visible; }
}

@media (min-width: 801px) and (max-width: 1200px) {
  .reasons { min-height: 0; padding-top: 0; background: #fff; }
  .reasons-inner { display: block; }
  .reasons-inner > div:first-child { height: clamp(340px, 42vw, 500px); background: #101619 url('assets/images/icon-9.png') center / cover no-repeat; }
  .reasons-panel { min-height: 0; background: #151b19; }
  .reasons-panel > h2 br { display: inline; }
  .reason { grid-template-columns: 40px minmax(0, 1fr); }
  .metrics { margin-top: 0; }
  .process { height: auto; min-height: 700px; padding-bottom: 80px; background-color: #111c21; background-position: center; background-size: cover; }
  .process h2 { width: auto; max-width: 980px; }
  .process-grid { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 45px; }
  .process-step { width: auto; height: auto; min-height: 260px; padding-bottom: 35px; }
  .footer-grid { gap: 40px; grid-template-columns: minmax(0, 1fr) 180px 180px; }
  .footer-bottom { gap: 20px; }
}

@media (min-width: 1201px) and (max-width: 1600px) {
  .reasons-panel { justify-content: space-between; }
}

@media (min-width: 801px) and (max-width: 1050px) {
  .intro { min-height: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .spec-card { max-width: 700px; }
  .application-grid, .build-grid, .certification-grid { grid-template-columns: 1fr; }
  .applications, .builds, .certifications { min-height: 0; }
  .application-card { height: auto; min-height: 136px; }
  .build-card { height: auto; min-height: 320px; }
  .build-card-body { min-height: 104px; }
  .hero-nav { justify-content: space-between; }
  .hero-nav .primary-nav { display: none; }
  .hero-nav .mobile-menu-toggle { display: block; order: 2; width: 44px; height: 44px; margin: 0 0 0 20px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
  .hero-nav .mobile-menu-toggle span { display: block; width: 28px; height: 3px; margin: 5px 0; background: #fff; }
  .hero-nav .nav-cta { margin-left: auto; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.6); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__drawer { width: min(360px, 85vw); min-height: 100%; background: #fff; }
  .mobile-menu__close { position: relative; display: block; width: 60px; height: 60px; border: 0; background: transparent; cursor: pointer; }
  .mobile-menu__close span { position: absolute; left: 18px; top: 29px; width: 28px; height: 2px; background: #232323; }
  .mobile-menu__close span:first-child { transform: rotate(45deg); }
  .mobile-menu__close span:last-child { transform: rotate(-45deg); }
  .mobile-menu__links { display: flex; flex-direction: column; }
  .mobile-menu__links a { padding: 15px 24px; color: #232323; font-weight: 700; }
  body.mobile-menu-open { overflow: hidden; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer { height: auto; min-height: 620px; padding-bottom: 50px; }
  .footer-bottom { flex-wrap: wrap; }
}
