/* AEG light inner-page system
   The page-specific HTML keeps its copy and media; this layer gives each page type
   a different hierarchy instead of repeating one oversized marketing hero. */

:root {
  --lp-bg: #f4f5f2;
  --lp-paper: rgba(255, 255, 255, .72);
  --lp-ink: #202a32;
  --lp-muted: #5d6870;
  --lp-faint: #8b9599;
  --lp-amber: #cf861f;
  --lp-deep: #9d5f12;
  --lp-line: rgba(95, 111, 116, .2);
  --lp-shadow: 0 18px 42px rgba(43, 53, 55, .08);
  --lp-tech: "Chakra Petch", "Noto Sans SC", sans-serif;
  --lp-body: "Noto Sans SC", sans-serif;
}

body[class^="lp-"] {
  color: var(--lp-ink);
  font-family: var(--lp-body);
  background:
    radial-gradient(1000px 600px at 82% 12%, rgba(207, 134, 31, .1), transparent 62%),
    radial-gradient(900px 700px at 8% 80%, rgba(128, 164, 176, .14), transparent 64%),
    linear-gradient(160deg, #fff 0%, var(--lp-bg) 58%);
}

body[class^="lp-"] .shell {
  max-width: 1440px;
}

body[class^="lp-"] .site-header {
  min-height: 76px;
  border-bottom-color: var(--lp-line);
}

body[class^="lp-"] .brand-mark {
  color: var(--lp-amber);
}

body[class^="lp-"] .main-nav {
  gap: clamp(13px, 1.8vw, 27px);
}

body[class^="lp-"] .main-nav a {
  color: var(--lp-muted);
  font-size: .68rem;
  letter-spacing: .08em;
}

body[class^="lp-"] .main-nav a[aria-current="page"] {
  color: var(--lp-ink);
}

body[class^="lp-"] .header-cta,
body[class^="lp-"] .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--lp-amber), var(--lp-deep));
  box-shadow: 0 10px 24px rgba(157, 95, 18, .16);
}

body[class^="lp-"] .main {
  max-width: 1328px;
  min-height: auto;
  padding: clamp(42px, 7vw, 86px) 0 96px;
}

body[class^="lp-"] .main > .eyebrow {
  margin-bottom: 15px;
  color: var(--lp-deep);
  font-size: .63rem;
  letter-spacing: .15em;
}

body[class^="lp-"] h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--lp-ink);
  font: 600 clamp(2.75rem, 5.3vw, 5.2rem) / .98 var(--lp-tech);
  letter-spacing: -.015em;
}

body[class^="lp-"] h1 em,
body[class^="lp-"] h2 em {
  color: var(--lp-deep);
}

body[class^="lp-"] .main > .lede {
  max-width: 590px;
  color: var(--lp-muted);
  font-size: .92rem;
  line-height: 1.8;
}

body[class^="lp-"] .actions {
  gap: 10px;
  margin-top: 22px;
}

body[class^="lp-"] > .shell > .main > .actions .btn-ghost {
  display: none;
}

body[class^="lp-"] .btn {
  min-height: 42px;
  padding: 11px 16px;
  border-color: rgba(157, 95, 18, .28);
  font-size: .66rem;
}

body[class^="lp-"] .section {
  padding: 54px 0;
  border-top-color: var(--lp-line);
}

body[class^="lp-"] .section:first-of-type {
  margin-top: 34px;
}

body[class^="lp-"] .section-head {
  align-items: start;
  margin-bottom: 22px;
}

body[class^="lp-"] .section-head h2 {
  margin: 7px 0 0;
  font-size: clamp(1.85rem, 3.5vw, 3.4rem);
  letter-spacing: -.01em;
}

body[class^="lp-"] .section-head p {
  color: var(--lp-muted);
  font-size: .82rem;
}

body[class^="lp-"] .card {
  border-color: var(--lp-line);
  background: var(--lp-paper);
  box-shadow: var(--lp-shadow);
}

body[class^="lp-"] .card h3 {
  font-size: 1.18rem;
}

body[class^="lp-"] .card p,
body[class^="lp-"] .category p,
body[class^="lp-"] .category li {
  color: var(--lp-muted);
}

body[class^="lp-"] .label,
body[class^="lp-"] .text-link,
body[class^="lp-"] .footer h4 {
  color: var(--lp-deep);
}

body[class^="lp-"] .visual,
body[class^="lp-"] .category-art,
body[class^="lp-"] .side-card,
body[class^="lp-"] .form {
  border-color: var(--lp-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(226, 232, 229, .52));
  box-shadow: var(--lp-shadow);
}

body[class^="lp-"] .footer {
  border-top-color: var(--lp-line);
  background: rgba(255, 255, 255, .25);
}

/* A / product browser: give the first viewport a product image and a compact collection entry. */
body.lp-products .main {
  position: relative;
  min-height: 640px;
  padding-right: 45%;
}

body.lp-products .main::after {
  position: absolute;
  top: 16px;
  right: 2%;
  width: 43%;
  height: 390px;
  content: "";
  background: url("https://sc04.alicdn.com/kf/Hd7a805013a784860b84d33aa6f515b767/279604231/Hd7a805013a784860b84d33aa6f515b767.png") center / contain no-repeat;
  filter: drop-shadow(0 22px 22px rgba(42, 53, 55, .12));
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}

body.lp-products .main > * {
  position: relative;
  z-index: 1;
}

body.lp-products .metric-row {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 44px 0 0;
  border: 1px solid var(--lp-line);
  background: var(--lp-line);
}

body.lp-products .metric {
  background: rgba(255, 255, 255, .58);
}

body.lp-products .main > .section {
  position: relative;
  z-index: 1;
  margin-right: -82%;
  padding-top: 48px;
}

/* B / category browser: show category modules as the page, not a second hero. */
body.lp-categories h1 {
  max-width: 720px;
}

body.lp-categories .main > .section:first-of-type {
  margin-top: 30px;
  padding-top: 28px;
}

body.lp-categories .category {
  min-height: 300px;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, .44);
}

body.lp-categories .category-art {
  box-shadow: none;
}

body.lp-categories .category-art img {
  height: 260px;
}

/* C / utility pages: title is a label, while the data table or checklist is the visual anchor. */
body.lp-utility .main > .eyebrow {
  margin-bottom: 11px;
}

body.lp-utility h1 {
  max-width: 660px;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
}

body.lp-utility .main > .section:first-of-type {
  margin-top: 24px;
  padding-top: 26px;
}

body.lp-fitment .main {
  position: relative;
  min-height: 650px;
  padding-right: 34%;
}

body.lp-fitment .main::after {
  position: absolute;
  top: 8px;
  right: 0;
  width: 32%;
  height: 300px;
  content: "";
  background: url("https://sc04.alicdn.com/kf/H64213e99dc0045eb8754148e0edd43d5V/279604231/H64213e99dc0045eb8754148e0edd43d5V.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 18px rgba(42, 53, 55, .1));
  opacity: .86;
  z-index: 0;
  pointer-events: none;
}

body.lp-fitment .main > * {
  position: relative;
  z-index: 1;
}

body.lp-fitment .main > .section:first-of-type {
  position: relative;
  z-index: 1;
  margin-right: -51%;
}

body.lp-fitment .main > .section:first-of-type .section-head {
  display: none;
}

body.lp-fitment .data-table {
  overflow: hidden;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--lp-shadow);
}

body.lp-fitment .data-table th {
  color: var(--lp-deep);
  background: rgba(207, 134, 31, .07);
}

body.lp-fitment .data-table td,
body.lp-fitment .data-table th {
  border-color: var(--lp-line);
}

body.lp-buying .main > .section:first-of-type .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.lp-buying .main > .section:first-of-type .card {
  min-height: 190px;
}

body.lp-buying .main > .section:first-of-type .label {
  display: block;
  margin-bottom: 11px;
}

/* D / capability pages: process cards become a horizontal control rail. */
body.lp-process h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 4.8vw, 4.7rem);
}

body.lp-process .main > .section:first-of-type {
  margin-top: 28px;
  padding-top: 30px;
}

body.lp-process .process .grid {
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
}

body.lp-process .process .card {
  min-height: 220px;
}

body.lp-oem .main > .section:nth-of-type(2) .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.lp-oem .main > .section:nth-of-type(2) .card {
  min-height: 230px;
}

/* E / evidence page: a matrix of checkpoints, with the certificate note kept compact. */
body.lp-quality h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
}

body.lp-quality .checks .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.lp-quality .checks .card {
  min-height: 188px;
}

/* F / story pages: make the image and the statement share the first visual beat. */
body.lp-story h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 4.8vw, 4.8rem);
}

body.lp-story .main > .section:first-of-type {
  margin-top: 30px;
  padding-top: 30px;
}

body.lp-cases .main > .section:first-of-type {
  padding-top: 30px;
}

body.lp-cases .main > .section:first-of-type .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.lp-cases .card-media img {
  height: 190px;
}

/* G / conversion page: shorten the preamble so the form arrives earlier. */
body.lp-quote h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
}

body.lp-quote .main > .section:first-of-type {
  margin-top: 22px;
  padding-top: 26px;
}

body.lp-quote .main > .section:first-of-type .split {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  align-items: start;
}

body.lp-quote .form {
  padding: 24px;
}

body.lp-quote .side-card {
  position: sticky;
  top: 24px;
}

/* H / legal and system pages: keep the reading task quiet. */
body.lp-legal .main {
  max-width: 920px;
  padding-top: 64px;
}

body.lp-legal h1 {
  max-width: 560px;
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
}

body.lp-legal .legal {
  max-width: 760px;
  padding-top: 34px;
}

body.lp-legal .legal h2 {
  font-size: 1.45rem;
}

body.lp-404 .main {
  min-height: 660px;
}

body.lp-404 .code {
  color: var(--lp-amber);
  font-size: clamp(6rem, 16vw, 12rem);
}

@media (max-width: 1000px) {
  body.lp-products .main {
    padding-right: 0;
  }

  body.lp-products .main::after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(560px, 80vw);
    height: 270px;
    margin: 20px auto 0;
  }

  body.lp-products .main > .section {
    margin-right: 0;
  }

  body.lp-fitment .main {
    min-height: auto;
    padding-right: 0;
  }

  body.lp-fitment .main::after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(480px, 78vw);
    height: 230px;
    margin: 18px auto 0;
  }

  body.lp-fitment .main > .section:first-of-type {
    margin-right: 0;
  }

  body.lp-quality .checks .grid,
  body.lp-cases .main > .section:first-of-type .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[class^="lp-"] .site-header {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  body[class^="lp-"] .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  body[class^="lp-"] .header-cta {
    margin-left: auto;
  }

  body[class^="lp-"] .section-head {
    display: block;
  }

  body[class^="lp-"] .section-head p {
    margin-top: 14px;
  }

  body.lp-buying .main > .section:first-of-type .grid,
  body.lp-oem .main > .section:nth-of-type(2) .grid,
  body.lp-quality .checks .grid,
  body.lp-cases .main > .section:first-of-type .grid {
    grid-template-columns: 1fr;
  }

  body.lp-quote .main > .section:first-of-type .split,
  body.lp-categories .category,
  body.lp-categories .category:nth-child(even) {
    grid-template-columns: 1fr;
  }

  body.lp-categories .category:nth-child(even) .category-art {
    order: 0;
  }

  body.lp-quote .side-card {
    position: static;
  }

  body[class^="lp-"] .footer-grid {
    grid-template-columns: 1fr;
  }
}
