:root {
  color-scheme: light;
  --ink: #14171a;
  --muted: #595f65;
  --red: #ff5948;
  --paper: #f6f5f1;
  --line: #d9d8d3;
  --dark: #111418;
  --type: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--type); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #ed4b39;
  outline-offset: 5px;
}
[hidden] { display: none !important; }
::selection { color: #14171a; background: #ff968a; }

.wrap { width: min(1264px, calc(100% - 112px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #101317;
  color: #f7f7f5;
  border-bottom: 1px solid #282d32;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 71px;
  gap: 28px;
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; font-size: 23px; letter-spacing: -1.75px; font-weight: 850; line-height: 1; }
.brand-fde { color: var(--red); }
.brand-mark { display: flex; align-items: center; gap: 3px; height: 25px; padding: 0 4px; transform: skewX(-23deg); }
.brand-mark i { display: block; width: 4px; height: 18px; background: var(--red); }
.brand-mark i:nth-child(2) { height: 13px; background: #f5a59a; }
.brand-mark i:nth-child(3) { height: 8px; background: #f6d2cb; }
.nav { display: flex; gap: clamp(22px, 3.2vw, 50px); align-items: center; }
.nav a { padding: 12px 1px; color: #c3c7cb; font-size: 14px; white-space: nowrap; transition: color .18s; }
.nav a:hover { color: #fff; }
.mobile-nav { display: none; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.button span { font-family: var(--mono); font-size: 16px; }
.header-button { justify-self: end; min-height: 38px; border-color: #5a5f65; font-size: 13px; }
.header-button:hover, .outline:hover { background: #ffffff1a; border-color: #b8bcc0; }
.primary { color: #140f0e; background: var(--red); }
.primary:hover { background: #ff7a6c; }
.outline { color: #f9f9f7; border-color: #797d82; }

.hero { position: relative; isolation: isolate; min-height: clamp(550px, 48vw, 720px); display: grid; align-items: center; background: #151c25; color: #fafaf8; overflow: hidden; }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -3; object-fit: cover; object-position: 59% 56%; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, #101417b8 0%, #10141758 37%, #10141700 68%), linear-gradient(0deg, #0a0c1170, transparent 26%); }
.hero-content { padding: 74px 0 97px; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  font: 700 12px/1.5 var(--mono);
  letter-spacing: .14em;
  color: #535960;
}
.section-kicker > span { height: 2px; width: 20px; background: var(--red); flex: 0 0 20px; }
.hero-kicker { color: #e4e6e7; margin-bottom: 20px; letter-spacing: .18em; }
.hero h1 { margin: 0; font-size: clamp(58px, 6.2vw, 102px); line-height: 1.11; font-weight: 850; letter-spacing: -.07em; }
.hero h1 span { color: var(--red); }
.hero-summary { margin: 24px 0 30px; color: #e0e1e1; font-size: clamp(16px, 1.32vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 80px 0 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
h2 { margin: 0; font-size: clamp(34px, 4.15vw, 61px); line-height: 1.13; letter-spacing: -.055em; font-weight: 820; }
.section-heading > p { margin: 0 0 3px; color: var(--muted); max-width: 370px; font-size: 15px; line-height: 1.7; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gear-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; min-width: 0; }
.gear-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.87;
  min-height: 150px;
  background: radial-gradient(ellipse at 50% 43%, #363f4b, #1e242c 66%, #181c22 100%);
}
.gear-visual::before {
  position: absolute;
  content: "";
  inset: 0;
  background-image: linear-gradient(#c3c9d411 1px, transparent 1px), linear-gradient(90deg, #c3c9d411 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse, transparent 28%, black 90%);
}
.storage-visual { background: radial-gradient(ellipse at 50% 43%, #4a4c50, #28282c 70%, #1f2024 100%); }
.can-visual { background: radial-gradient(ellipse at 50% 43%, #3d4846, #212b2b 69%, #191e20 100%); }
.visual-label { position: absolute; bottom: 13px; left: 15px; color: #d1d4d9; font: 11px/1 var(--mono); letter-spacing: .13em; }
.network-device, .storage-device, .can-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg) skewX(11deg);
  box-shadow: 0 9px 0 #0a0c0e, 5px 24px 25px #050609a6, inset 0 0 0 1px #ffffff28;
}
.network-device { width: 45%; height: 41%; border-radius: 12px; background: linear-gradient(145deg, #545c64, #262c34 55%, #1f232b); gap: 7px; }
.network-device::after { content: ""; width: 71%; height: 53%; border: 1px solid #c2c9d514; position: absolute; border-radius: 6px; }
.network-device i { width: 4px; height: 4px; border-radius: 100%; background: #94a4b4; }
.network-device i:first-child { background: #ff6c59; box-shadow: 0 0 11px #ff6c59a8; }
.storage-device { width: 42%; height: 27%; border-radius: 4px; background: linear-gradient(150deg, #81878a, #424952 45%, #252929); gap: 3px; padding-right: 30px; }
.storage-device::before { content: ""; position: absolute; height: 57%; width: 24%; left: 99%; background: linear-gradient(145deg, #e0e4df, #6f787e); border-radius: 0 3px 3px 0; box-shadow: 1px 5px 0 #2a3037; }
.storage-device i { height: 48%; width: 2px; background: #afb9c33d; }
.can-device { width: 50%; height: 37%; border-radius: 4px; background: #233f39; gap: 7%; }
.can-device::after { content: ""; position: absolute; inset: 13% 6%; border: 1px solid #dca45864; border-radius: 2px; }
.can-device i { height: 48%; width: 17%; background: linear-gradient(#33363a, #171c1f); border-inline: 3px dotted #a5a3a0; box-shadow: 0 1px 2px #0e1818; }
.gear-copy { padding: 23px 24px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.gear-copy h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.gear-copy p { margin: 0 0 6px; font-size: 14px; color: var(--muted); line-height: 1.72; }
.text-button {
  align-self: start;
  display: inline-flex;
  gap: 10px;
  margin-top: auto;
  padding: 5px 0 3px;
  border: 0;
  border-bottom: 1px solid #aeb0b1;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}
.text-button:hover, .guide-row:hover .guide-arrow { color: #b63122; border-color: #b63122; }

.fitment { padding: 70px 0; background: #14191e; color: #f8f8f6; }
.fitment-inner { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.7fr); align-items: start; gap: clamp(28px, 6vw, 90px); }
.fitment .section-kicker { color: #b7bdc3; }
.fitment-copy p:not(.section-kicker) { color: #c3c7cd; line-height: 1.7; font-size: 15px; margin: 15px 0 0; max-width: 300px; }
.lookup { background: #1b2026; border: 1px solid #3e444b; padding: 23px; margin-top: 2px; }
.lookup-form { display: grid; grid-template-columns: 1fr .86fr auto; gap: 12px; align-items: end; }
.field { min-width: 0; }
.field label { color: #d2d5d7; display: block; font-size: 13px; margin: 0 0 8px; }
.field select {
  width: 100%;
  height: 48px;
  border: 1px solid #5d6269;
  border-radius: 4px;
  color-scheme: dark;
  color: #fafafa;
  background: #232930;
  padding: 0 8px 0 10px;
  font-size: 14px;
}
.vehicle-result { margin-top: 20px; padding: 17px 0 0; border-top: 1px solid #424852; }
.vehicle-result h3 { margin: 0; font-size: 17px; }
.vehicle-result p { margin: 8px 0 13px; color: #cdd1d5; line-height: 1.65; font-size: 14px; }
.vehicle-result a, .no-js a { display: inline-block; color: #ff9b90; margin: 0 15px 4px 0; font-size: 13px; text-decoration: underline; text-underline-offset: .24em; }
.vehicle-result a.secondary-result { color: #e7e9eb; }

.guides { padding-bottom: 79px; }
.guide-list { border-top: 1px solid #b9b9b3; }
.guide-row {
  width: 100%;
  display: grid;
  grid-template-columns: .58fr 1.68fr 1.18fr 24px;
  gap: 18px;
  align-items: center;
  padding: 26px 10px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s;
}
.guide-row:hover { background: #eeede8; }
.guide-topic { width: fit-content; background: #e9e7e0; padding: 5px 8px; color: #494c51; font-size: 12px; white-space: nowrap; }
.guide-title { font-size: clamp(16px, 1.6vw, 24px); font-weight: 750; letter-spacing: -.026em; }
.guide-description { color: var(--muted); font-size: 14px; line-height: 1.6; }
.guide-arrow { font: 20px var(--mono); text-align: right; }

.faq { background: #ebeae4; padding: 67px 0 78px; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.5fr; gap: 32px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq-nav a { padding: 7px 10px; border: 1px solid #c9c7bf; border-radius: 4px; font-size: 13px; }
.faq-nav a:hover { background: #f6f5f1; border-color: #8c8a83; }
.faq-group + .faq-group { margin-top: 26px; }
.faq-group h3 { margin: 0; padding: 0 0 10px; border-bottom: 1px solid #c9c7bf; font-size: 17px; }
.questions details { border-bottom: 1px solid #c9c7bf; }
.questions summary {
  position: relative;
  padding: 18px 32px 18px 0;
  display: block;
  cursor: pointer;
  font-size: 15px;
  font-weight: 740;
  line-height: 1.5;
  list-style: none;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { position: absolute; right: 3px; top: 19px; content: "+"; font: 19px var(--mono); }
.questions details[open] summary::after { content: "−"; }
.questions details p { margin: 0 0 19px; font-size: 14px; line-height: 1.75; color: #464a50; }
.questions details a { display: block; margin-top: 8px; width: fit-content; text-decoration: underline; text-underline-offset: .22em; }

.footer { color: #f6f6f4; background: #101317; padding: 28px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.footer p { margin: 0; color: #b8bbc0; line-height: 1.6; font-size: 12px; }
.back-top { justify-self: end; font-size: 13px; }
.back-top:hover { text-decoration: underline; }

dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(720px, calc(100% - 48px));
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #888c91;
  box-shadow: 0 28px 100px #14151670;
}
dialog::backdrop { background: #0b1018bb; backdrop-filter: blur(4px); }
.dialog-shell { padding: 27px 30px 32px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: clamp(25px, 5vw, 38px); line-height: 1.2; }
.close-button { width: 35px; height: 35px; border: 1px solid #b4b2ac; background: transparent; font: 24px/1 var(--type); }
.close-button:hover { background: #e5e2d8; }
.dialog-copy { color: #3e444a; font-size: 15px; line-height: 1.75; }
.dialog-copy p { margin: 18px 0 14px; }
.dialog-copy h3 { color: var(--ink); margin: 18px 0 6px; font-size: 16px; }
.dialog-copy ol, .dialog-copy ul { padding-left: 22px; margin: 8px 0 18px; }
.dialog-copy li + li { margin-top: 7px; }
.source-link { width: fit-content; display: block; margin-top: 9px; color: #a33126; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 72px); }
  .lookup-form { grid-template-columns: 1fr 1fr; }
  .lookup-form .primary { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .wrap { width: calc(100% - 38px); }
  .header-inner { min-height: 58px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand { font-size: 21px; }
  .nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 36px; height: 36px; list-style: none; border: 1px solid #5a5f65; border-radius: 4px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 14px; height: 8px; border-block: 1px solid #fafafa; }
  .mobile-nav nav { position: absolute; top: 43px; right: 0; min-width: 142px; padding: 6px; background: #171b20; border: 1px solid #3e444b; box-shadow: 0 9px 28px #0006; }
  .mobile-nav a { display: block; padding: 11px 12px; border-radius: 3px; font-size: 14px; }
  .mobile-nav a:hover { background: #2b3036; }
  .header-button { min-height: 34px; padding: 0 10px; gap: 8px; font-size: 12px; }
  .hero { min-height: 630px; align-items: start; background: #10161d; }
  .hero-content { padding-top: 55px; padding-bottom: 230px; }
  .hero-photo { inset: auto 0 0; height: 61%; object-position: right bottom; }
  .hero-shade { background: linear-gradient(180deg, transparent 34%, #10161d 39%, #10161d33 58%, transparent 73%); }
  .hero h1 { font-size: clamp(49px, 10.7vw, 75px); }
  .hero-kicker { margin-bottom: 16px; }
  .hero-summary { margin: 17px 0 22px; }
  .wide-break { display: none; }
  .hero-actions .button { min-height: 43px; padding: 0 13px; gap: 9px; }
  .section { padding: 55px 0 61px; }
  .section-heading { display: grid; gap: 13px; margin-bottom: 25px; }
  .section-heading > p { margin: 0; }
  .equipment-grid { grid-template-columns: 1fr; gap: 13px; }
  .gear-visual { aspect-ratio: 2.6; }
  .network-device, .can-device { width: 34%; }
  .storage-device { width: 30%; }
  .gear-copy { padding: 17px 18px 18px; }
  .gear-copy h3 { font-size: 22px; }
  .fitment { padding: 54px 0; }
  .fitment-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .lookup { padding: 16px; }
  .guide-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 8px 15px; padding: 17px 7px; }
  .guide-topic, .guide-title, .guide-description { grid-column: 1; }
  .guide-arrow { grid-column: 2; grid-row: 1 / 4; }
  .faq { padding: 53px 0 59px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer p { grid-column: 1 / -1; grid-row: 2; }
  .dialog-shell { padding: 20px; }
}

@media (max-width: 390px) {
  .lookup-form { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 594px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
