/* 2026-10 visual refinement: automotive typography, softer rhythm, and fluid controls. */
:root {
  --prale-ui: "Aptos", "Segoe UI Variable Text", "Helvetica Neue", "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  --prale-display: "Bahnschrift SemiCondensed", "DIN Alternate", "Arial Narrow", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --prale-radius-sm: 10px;
  --prale-radius-md: 16px;
  --prale-radius-lg: 24px;
  --prale-ease: cubic-bezier(.22,.61,.36,1);
}

html[lang="zh-CN"] {
  --prale-ui: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
  --prale-display: "DengXian", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
}

html { scroll-padding-top: 24px; }
body {
  font-family: var(--prale-ui);
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }

.home-page .wrap { width: min(1320px, calc(100% - clamp(40px, 7vw, 112px))); }
.home-page h1,
.home-page h2,
.home-page h3,
.home-page .card h3,
.home-page .product-copy h3 {
  font-family: var(--prale-display);
  font-kerning: normal;
  font-stretch: semi-condensed;
  font-weight: 650;
  text-wrap: balance;
}

/* Navigation */
.home-page .nav { height: 88px; gap: 28px; }
.home-page .navlinks { gap: clamp(20px, 2.4vw, 34px); font-size: 11px; letter-spacing: .095em; }
.home-page .navlinks a { padding: 10px 0; }
.home-page .pill,
.home-page .btn,
.home-page .payment-button,
.home-page .catalog-pay-button,
.home-page .track-inquiry {
  border-radius: var(--prale-radius-sm);
  transition: transform .22s var(--prale-ease), background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-page .pill { padding: 12px 18px; }
.home-page .pill:hover,
.home-page .btn.primary:hover,
.home-page .payment-button:hover,
.home-page .catalog-pay-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #0004;
}

/* Hero */
.home-page .hero { min-height: 680px; }
.home-page .hero-copy { width: min(690px, 100%); padding: clamp(88px, 10vh, 126px) 0 clamp(96px, 12vh, 138px); }
.home-page .hero .eyebrow,
.home-page .eyebrow,
.home-page .section-label { letter-spacing: .12em; line-height: 1.55; }
.home-page .hero h1 {
  font-size: clamp(4rem, 7.6vw, 7.15rem);
  line-height: .91;
  letter-spacing: -.058em;
  margin: 24px 0 28px;
}
.home-page .hero p { max-width: 500px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.72; }
.home-page .actions { gap: 20px; margin-top: 34px; }
.home-page .btn { padding: 15px 20px; letter-spacing: .06em; }
.home-page .hero-text-link { letter-spacing: .06em; }
.home-page .hero-footnote {
  width: min(560px, 100%);
  margin-top: 56px;
  line-height: 1.55;
  letter-spacing: .075em;
}
.home-page .hero-caption { line-height: 1.55; }
.home-page .service-strip .wrap { min-height: 72px; }
.home-page .service-strip span { text-transform: none; letter-spacing: .045em; line-height: 1.5; }

/* Section rhythm */
.home-page .catalog,
.home-page .detail-story,
.home-page .fitment,
.home-page .notice { padding-block: clamp(82px, 9vw, 118px) !important; }
.home-page .catalog,
.home-page .detail-story,
.home-page .fitment,
.home-page .notice,
.home-page .closing-cta {
  position: relative;
  isolation: isolate;
  border-block: 0 !important;
}
.home-page .catalog > .wrap,
.home-page .detail-story > .wrap,
.home-page .fitment > .wrap,
.home-page .notice > .wrap,
.home-page .closing-cta > .wrap { position: relative; z-index: 1; }
.home-page .catalog {
  color: #f5f3ee;
  background: linear-gradient(180deg, #0b0b0d 0, #101012 72px, #121214 150px, #121214 100%);
}
.home-page .detail-story {
  background: linear-gradient(180deg, #121214 0, #0e0e10 86px, #09090b 180px, #09090b 100%);
}
.home-page .fitment {
  padding-top: clamp(150px, 12vw, 178px) !important;
  background: linear-gradient(180deg, #09090b 0, #454443 34px, #aaa8a3 82px, #e9e7e1 138px, #e9e7e1 100%) !important;
}
.home-page .fitment:before { top: 91px; }
.home-page .notice {
  padding-top: clamp(150px, 12vw, 178px) !important;
  background: linear-gradient(180deg, #e9e7e1 0, #aaa9a5 46px, #474748 92px, #161618 148px, #161618 100%) !important;
}
.home-page .closing-cta {
  background: linear-gradient(180deg, #161618 0, #0e0e10 92px, #0a0a0c 190px, #0a0a0c 100%);
}
.home-page .service-strip {
  border-block-color: #ffffff12;
  background: linear-gradient(180deg, #09090b, #0d0d0f 52%, #0b0b0d);
}
.home-page .section-row { gap: clamp(40px, 8vw, 120px); }
.home-page .section-row h2,
.home-page .fitment h2,
.home-page .detail-story h2,
.home-page .notice h2 { line-height: .98 !important; letter-spacing: -.05em !important; }
.home-page .section-row > p,
.home-page .story-copy > p,
.home-page .fitment-heading > p,
.home-page .faq-list p,
.home-page .product-copy p,
.home-page .product-copy li { line-height: 1.75; }
.home-page .catalog .section-row > p,
.home-page .card p,
.home-page .collection-footnote { color: #aaa9a4; }
.home-page .card,
.home-page .card h3,
.home-page .card small strong,
.home-page .collection-footnote a,
.home-page .reference-callout h3 { color: #f5f3ee; }

/* Catalogue cards */
.home-page .cards { gap: clamp(18px, 2.2vw, 30px); margin-top: 52px; }
.home-page .card {
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: var(--prale-radius-lg);
  background: linear-gradient(155deg, #1b1b1e, #131315);
  box-shadow: 0 18px 50px #0003;
  transition: transform .34s var(--prale-ease), border-color .25s ease, box-shadow .34s var(--prale-ease);
}
.home-page .card:hover { transform: translateY(-7px); border-color: #ffffff3a; box-shadow: 0 28px 62px #0006; }
.home-page .card .card-visual { border-radius: calc(var(--prale-radius-lg) - 1px) calc(var(--prale-radius-lg) - 1px) 0 0; }
.home-page .card .card-copy { padding: 24px 25px 20px; }
.home-page .card h3 { line-height: 1.16; letter-spacing: -.032em; }
.home-page .card p { font-size: 13px; line-height: 1.7; }
.home-page .card small { padding: 18px 25px 21px; text-transform: none; letter-spacing: .025em; }
.home-page .image-arrow { border-radius: 50%; }
.home-page .collection-footnote { margin-top: 30px; padding-top: 22px; line-height: 1.6; }
.home-page .reference-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 54px;
  align-items: end;
  margin-top: 40px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #ffffff1f;
  border-radius: var(--prale-radius-lg);
  background: linear-gradient(135deg, #1b1b1e, #131315);
}
.home-page .reference-callout > div { min-width: 0; }
.home-page .reference-callout h3 { margin: 11px 0 10px; font-size: clamp(25px, 2.7vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.home-page .reference-callout p { max-width: 720px; margin: 0; color: #b8b7b3; line-height: 1.75; }
.home-page .reference-callout .btn { margin: 0; white-space: nowrap; }

/* Detail story */
.home-page .story-grid { gap: clamp(46px, 8vw, 112px); }
.home-page .story-image { border-radius: var(--prale-radius-lg); box-shadow: 0 26px 70px #0006; }
.home-page .story-image > span { padding: 16px 20px; }
.home-page .spec-lines > div { padding: 17px 0; }

/* Fitment console */
.home-page .fitment:before { letter-spacing: .09em; }
.home-page .fitment-heading { align-items: center; gap: 56px; }
.home-page .fitment-heading > p { border-left-width: 1px; }
.home-page .finder {
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid #d7d2c9 !important;
  border-radius: var(--prale-radius-lg) !important;
  background: #dedbd3 !important;
  box-shadow: 0 20px 54px #4d463923;
}
.home-page .finder-field {
  min-height: 108px;
  padding: 18px 17px 16px !important;
  border: 1px solid #d3cfc6 !important;
  border-radius: var(--prale-radius-md);
  box-shadow: 0 5px 16px #4b44360a;
}
.home-page .finder-field:focus-within { transform: translateY(-2px); box-shadow: 0 14px 30px #3a353016; }
.home-page .finder-field > span { margin-bottom: 16px !important; letter-spacing: .075em !important; }
.home-page .finder select { line-height: 1.35 !important; }
.home-page .finder button {
  min-height: 108px;
  padding: 22px !important;
  border-radius: var(--prale-radius-md);
  font-size: 12px !important;
  letter-spacing: .06em !important;
  box-shadow: 0 8px 20px #68101620;
}
.home-page .finder button:before { display: none; }
.home-page .result { border-radius: 0 var(--prale-radius-sm) var(--prale-radius-sm) 0; }
.home-page .match-panel { border-radius: var(--prale-radius-lg); box-shadow: 0 24px 64px #332e2726; }
.home-page .match-list { gap: 12px; }
.home-page .match-item {
  border-radius: var(--prale-radius-md);
  text-align: left;
  transition: transform .22s var(--prale-ease), background-color .22s ease;
}
.home-page .match-item.product-choice:hover { transform: translateY(-3px); }
.home-page .product-gallery img { border-radius: var(--prale-radius-sm); }
.home-page .shipping-box,
.home-page .catalog-product-detail { border-radius: var(--prale-radius-lg); overflow: hidden; }
.home-page .shipping-box select,
.home-page .catalog-checkout select { border-radius: var(--prale-radius-sm); }

/* Support and closing */
.home-page .support-grid { gap: clamp(50px, 10vw, 140px); }
.home-page .secure-terminal-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e32935;
  color: #f5f3ee;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-page .secure-terminal-link span { color: #e32935; font-size: 18px; }
.home-page .faq-list details { padding: 25px 0; }
.home-page .faq-list summary { align-items: center; line-height: 1.45; }
.home-page .closing-cta h2 { line-height: .92 !important; letter-spacing: -.06em !important; }
.home-page .footer nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 14px; }

/* Component library receives the same type and surface language. */
.components-page .shell { width: min(1280px, calc(100% - clamp(36px, 7vw, 96px))); }
.components-page h1,
.components-page h2,
.components-page h3 {
  font-family: var(--prale-display);
  font-stretch: semi-condensed;
  font-weight: 650;
  text-wrap: balance;
}
.components-page .site-nav { height: 86px; }
.components-page .intro { padding: clamp(62px, 8vw, 92px) 0 42px; }
.components-page h1 { line-height: .98; letter-spacing: -.05em; }
.components-page .lede,
.components-page .reference-note,
.components-page .component p { line-height: 1.75; }
.components-page .filters {
  gap: 12px;
  padding: 16px;
  border-radius: var(--prale-radius-lg);
  background: #151517;
  box-shadow: 0 20px 55px #0004;
}
.components-page .filters label { letter-spacing: .06em; }
.components-page .filters input,
.components-page .filters select,
.components-page .reset { border-radius: var(--prale-radius-sm); }
.components-page .component-grid { gap: 24px; }
.components-page .component,
.components-page .selection-prompt {
  border-radius: var(--prale-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 54px #0004;
}
.components-page .component-copy { padding: 26px; }
.components-page .component h2 { line-height: 1.22; letter-spacing: -.02em; }
.components-page .copy-enquiry,
.components-page dialog,
.components-page textarea,
.components-page dialog button { border-radius: var(--prale-radius-sm); }

html[lang="zh-CN"] .home-page h1,
html[lang="zh-CN"] .home-page h2,
html[lang="zh-CN"] .home-page h3,
html[lang="zh-CN"] .components-page h1,
html[lang="zh-CN"] .components-page h2 {
  font-family: var(--prale-display) !important;
  letter-spacing: -.025em !important;
  line-height: 1.16 !important;
  font-weight: 700;
  word-break: keep-all;
}

@media (max-width: 1100px) {
  .home-page .finder { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-page .finder button { grid-column: 1 / -1 !important; min-height: 76px; }
}

@media (max-width: 760px) {
  .home-page .wrap,
  .home-page .hero-copy { width: calc(100% - 36px); }
  .home-page .nav { min-height: 76px; height: auto; padding-block: 11px; gap: 12px; }
  .home-page .hero { min-height: 670px; }
  .home-page .hero-copy { padding: 82px 0 108px; }
  .home-page .hero h1 { font-size: clamp(3.35rem, 16vw, 4.9rem); line-height: .95; letter-spacing: -.05em; }
  .home-page .hero p { font-size: 15px; line-height: 1.68; }
  .home-page .hero-footnote { margin-top: 42px; letter-spacing: .045em; }
  .home-page .service-strip .wrap { padding-block: 15px; }
  .home-page .catalog,
  .home-page .detail-story,
  .home-page .fitment,
  .home-page .notice { padding-block: 72px !important; }
  .home-page .catalog { padding-top: 92px !important; background: linear-gradient(180deg, #0b0b0d 0, #121214 82px, #121214 100%); }
  .home-page .detail-story { padding-top: 92px !important; background: linear-gradient(180deg, #121214 0, #09090b 86px, #09090b 100%); }
  .home-page .fitment {
    padding-top: 126px !important;
    background: linear-gradient(180deg, #09090b 0, #777673 38px, #e9e7e1 88px, #e9e7e1 100%) !important;
  }
  .home-page .fitment:before { top: 73px; }
  .home-page .notice {
    padding-top: 124px !important;
    background: linear-gradient(180deg, #e9e7e1 0, #767677 40px, #161618 90px, #161618 100%) !important;
  }
  .home-page .closing-cta { background: linear-gradient(180deg, #161618 0, #0a0a0c 90px, #0a0a0c 100%); }
  .home-page .section-row h2,
  .home-page .fitment h2,
  .home-page .detail-story h2,
  .home-page .notice h2 { font-size: clamp(2.65rem, 12vw, 3.35rem) !important; }
  .home-page .cards { gap: 26px; margin-top: 36px; }
  .home-page .card { border-radius: 20px; }
  .home-page .reference-callout { grid-template-columns: 1fr; border-radius: 20px; }
  .home-page .reference-callout .btn { justify-self: start; }
  .home-page .story-image { border-radius: 20px; }
  .home-page .fitment-heading { display: block; }
  .home-page .finder { gap: 9px !important; padding: 9px !important; border-radius: 18px !important; }
  .home-page .finder-field { min-height: 96px; border-radius: 12px; }
  .home-page .finder button { min-height: 70px; border-radius: 12px; padding: 17px !important; }
  .home-page .match-panel { border-radius: 18px; }
  .home-page .support-grid { gap: 20px; }
  .home-page .footer .footer-top { gap: 24px; }
  .components-page .shell { width: calc(100% - 32px); }
  .components-page .filters { border-radius: 18px; }
  .components-page .component-grid { gap: 20px; }
  .components-page .component,
  .components-page .selection-prompt { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .card,
  .home-page .pill,
  .home-page .btn,
  .home-page .finder-field,
  .home-page .finder button,
  .home-page .match-item { transition: none !important; }
}
