:root {
  --ink: #111417;
  --muted: #5f666d;
  --paper: #f5f2eb;
  --panel: #ffffff;
  --line: #ded8ce;
  --red: #d42722;
  --red-dark: #a91512;
  --steel: #2f3942;
  --dark: #171b1f;
  --gold: #c8a45f;
  --shadow: 0 22px 70px rgba(17, 20, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(17, 20, 23, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

.header-cart {
  display: none;
}

.header-cart summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.header-cart summary::-webkit-details-marker {
  display: none;
}

#cartBadge {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.78rem;
}

.cart-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.header-cart:not([open]) .cart-dropdown {
  display: none;
}

.header-cart:hover .cart-dropdown,
.header-cart:focus-within .cart-dropdown {
  display: block;
}

.cart-dropdown > strong {
  display: block;
  margin-bottom: 8px;
}

.cart-dropdown p {
  margin: 0;
  color: var(--muted);
}

.cart-dropdown ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.cart-dropdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 9px;
  background: #f5f2eb;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 750;
}

.cart-dropdown li strong,
.cart-summary li strong,
.cart-page-panel li strong {
  color: var(--ink);
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-dropdown li a,
.cart-summary li a,
.cart-page-panel li a {
  color: var(--steel);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-total {
  margin-top: 8px;
  color: var(--red-dark);
  font-weight: 900;
}

.cart-page-link,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.cart-page-link:hover,
.cart-page-link:focus-visible,
.checkout-button:hover,
.checkout-button:focus-visible {
  background: var(--red-dark);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 116px clamp(18px, 5vw, 72px) 76px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.94), rgba(8, 10, 12, 0.72) 42%, rgba(8, 10, 12, 0.18) 82%),
    linear-gradient(0deg, rgba(8, 10, 12, 0.72), rgba(8, 10, 12, 0.02) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcbc7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.affiliate-note {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.affiliate-disclosure {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(164, 18, 15, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-band,
.identifier,
.section,
.learn {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  background: #fff;
}

.mission-copy {
  max-width: 760px;
}

.mission-points {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mission-points div {
  padding: 24px;
  background: #fbfaf7;
}

.mission-points strong,
.mission-points span {
  display: block;
}

.mission-points strong {
  font-size: 1.05rem;
}

.mission-points span {
  margin-top: 6px;
  color: var(--muted);
}

.identifier {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 20, 23, 0.97), rgba(47, 57, 66, 0.96)),
    var(--steel);
}

.identifier-copy p:not(.eyebrow),
.section-heading p,
.learn .section-heading p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.08rem;
}

.identifier-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.identify-tool {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5d2ca;
  border-radius: 4px;
}

.displacement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.displacement-card {
  display: flex;
  flex-direction: column;
  min-height: 306px;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
}

.displacement-card span {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 900;
}

.displacement-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.displacement-card li {
  padding: 6px 9px;
  color: var(--red-dark);
  background: #fde7e4;
  border-radius: 4px;
  font-weight: 900;
}

.displacement-card p {
  margin: auto 0 18px;
  color: var(--muted);
}

.engine-shop-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(164, 18, 15, 0.22);
}

.engine-shop-link:hover,
.engine-shop-link:focus-visible {
  background: var(--red-dark);
}

.identify-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.identify-note strong {
  color: #fff;
}

.spec-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 42px;
  margin-top: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
}

.spec-link:hover,
.spec-link:focus-visible {
  background: var(--red-dark);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.selected-engine-banner {
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border-left: 5px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 10px 34px rgba(17, 20, 23, 0.07);
}

.selected-engine-banner strong {
  color: var(--red-dark);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.option-card,
.video-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 20, 23, 0.07);
}

.option-card:nth-child(2),
.option-card:nth-child(4) {
  background: #fbfaf7;
}

.option-label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--red-dark);
  background: #fde7e4;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.option-card p,
.option-card ul,
.video-card p {
  color: var(--muted);
}

.video-card .video-note {
  margin-top: 12px;
  padding: 12px;
  color: #4f3b0b;
  background: #fff4cf;
  border-left: 4px solid #f2b705;
  border-radius: 4px;
  font-size: 0.92rem;
}

.option-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 22px;
  padding-left: 19px;
}

.view-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 82px;
  padding: 9px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(164, 18, 15, 0.22);
}

.view-link:hover,
.view-link:focus-visible {
  background: var(--red-dark);
}

.subpage-main {
  min-height: 100vh;
  padding: 118px clamp(18px, 5vw, 72px) clamp(64px, 9vw, 118px);
  background:
    linear-gradient(135deg, rgba(17, 20, 23, 0.96), rgba(47, 57, 66, 0.92)),
    var(--steel);
}

.subpage-shell {
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
}

.subpage-intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.subpage-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.kit-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kit-placeholder {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.kit-placeholder span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--red-dark);
  background: #fde7e4;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kit-placeholder p {
  color: var(--muted);
}

.catalog-grid .kit-placeholder {
  min-height: 360px;
}

.catalog-list {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.catalog-list li {
  padding-left: 2px;
}

.kit-placeholder .view-link {
  margin-top: auto;
}

.subpage-video-section {
  margin: 12px 0 46px;
}

.subpage-section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.subpage-section-heading h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.subpage-section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.subpage-video-grid .video-card {
  min-height: 380px;
}

.video-grid.two-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid.one-video-grid {
  grid-template-columns: minmax(0, 1fr);
}

.one-video-grid .video-card {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.upgrade-kit-grid {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kit-placeholder-grid.two-kit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rebuild-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rebuild-choice-grid .kit-placeholder {
  min-height: 430px;
  padding: 30px;
}

.measurement-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.measurement-note {
  position: sticky;
  top: 118px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.measurement-note h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.measurement-note p {
  margin: 0;
  color: var(--muted);
}

.measurement-form {
  display: grid;
  gap: 16px;
}

.measurement-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.measurement-form legend {
  padding: 0 8px;
  color: var(--red-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.measurement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wide-field {
  grid-column: span 2;
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px;
  color: var(--steel);
  background: #f5f3ee;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.radio-row input {
  width: 18px;
  min-height: auto;
  height: 18px;
  flex: 0 0 18px;
}

.measurement-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.measurement-actions p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-intro {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-intro .selected-engine-banner {
  text-align: left;
}

.product-layout {
  display: block;
}

.product-image-placeholder {
  display: none;
}

.product-image-placeholder span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kit-version-stack {
  display: grid;
  gap: 18px;
}

.kit-version-stack .kit-placeholder {
  min-height: 0;
}

.kit-option-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.kit-option-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.kit-check-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 20px;
  align-items: start;
  min-height: 170px;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: default;
  box-shadow: 0 10px 34px rgba(17, 20, 23, 0.07);
}

.kit-check-option > span:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: 18px;
  align-items: start;
}

.kit-check-option > span:last-child > strong,
.kit-check-option > span:last-child > .part-title-link,
.kit-check-option > span:last-child > .kit-price,
.kit-check-option > span:last-child > small,
.kit-check-option > span:last-child > .part-details {
  grid-column: 1;
}

.kit-check-option .affiliate-link-area {
  grid-column: 2;
  grid-row: 1 / span 5;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.kit-check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  display: none;
}

.checkmark::after {
  content: "";
  width: 7px;
  height: 13px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
}

.kit-check-option strong,
.kit-check-option small {
  display: block;
}

.kit-check-option strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.part-title-link {
  display: inline-block;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.part-title-link:hover,
.part-title-link:focus-visible {
  color: var(--red-dark);
}

.kit-check-option small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.kit-price {
  display: inline-flex;
  margin-top: 5px;
  color: var(--red-dark);
  font-style: normal;
  font-weight: 900;
}

.part-brand-select {
  margin-top: 12px;
  max-width: 100%;
}

.part-details {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.kit-check-option:has(input:checked) .part-details {
  display: grid;
}

.part-facts,
.price-note {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.part-facts strong {
  display: inline;
  color: var(--steel);
  font-size: inherit;
}

.price-note {
  padding: 9px 10px;
  color: var(--steel);
  background: #f5f2eb;
  border-radius: 4px;
}

.affiliate-link-area {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.affiliate-link-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.affiliate-buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
}

.affiliate-buy-link:hover,
.affiliate-buy-link:focus-visible {
  background: var(--red-dark);
}

.performance-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.performance-product-card .affiliate-buy-link {
  margin-top: auto;
}

.product-link-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.secondary-buy-link {
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-buy-link:hover,
.secondary-buy-link:focus-visible {
  color: #fff;
  background: var(--steel);
}

.kit-check-option:has(input:checked) {
  border-color: transparent;
}

.kit-check-option:has(input:checked) .checkmark {
  display: none;
}

.kit-check-option:has(input:checked) .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.kit-check-option:focus-within {
  outline: 3px solid rgba(212, 39, 34, 0.3);
  outline-offset: 3px;
}

.cart-summary {
  display: none;
}

.cart-summary > span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-summary > strong {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}

.cart-summary ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cart-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  background: #f5f2eb;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 750;
}

.cam-kit-education {
  margin-top: 34px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 20, 23, 0.07);
}

.cam-kit-education h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.cam-education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cam-education-grid article {
  padding: 18px;
  background: #f5f2eb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cam-education-grid h3 {
  margin-bottom: 8px;
}

.cam-education-grid p {
  color: var(--muted);
}

.cart-page-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cart-page-panel > span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-page-panel > strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.cart-page-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.cart-page-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: #f5f2eb;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.spec-section {
  margin-top: 34px;
}

.spec-section h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.spec-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--ink);
}

.spec-table th,
.spec-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  color: #fff;
  background: var(--dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.learn {
  background: #fff;
}

.part-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.part-guide-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 20, 23, 0.07);
}

.part-guide-card.featured-part {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(212, 39, 34, 0.08), rgba(255, 255, 255, 0.96)),
    #fff;
  border-left: 5px solid var(--red);
}

.part-guide-card span {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--red-dark);
  background: #fde7e4;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.part-guide-card h3 {
  margin-bottom: 10px;
}

.part-guide-card p,
.part-guide-card dd {
  color: var(--muted);
}

.part-guide-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.part-guide-card div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.part-guide-card dt {
  margin-bottom: 4px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.part-guide-card dd {
  margin: 0;
  line-height: 1.5;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  min-height: 360px;
}

.video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(135deg, rgba(17, 20, 23, 0.96), rgba(47, 57, 66, 0.96)),
    var(--dark);
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-embed {
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--dark);
  border-radius: 6px;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.quality-promise {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 20, 23, 0.96), rgba(47, 57, 66, 0.94)),
    var(--steel);
}

.quality-promise > div {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.quality-promise .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.quality-promise h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.quality-promise p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
}

.contact-email:hover,
.contact-email:focus-visible {
  background: var(--red-dark);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

footer span:first-child {
  color: #fff;
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    font-size: 0.88rem;
  }

  .header-cart {
    align-self: stretch;
  }

  .cart-dropdown {
    left: 0;
    right: auto;
  }

  .hero {
    min-height: 860px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 10, 12, 0.94), rgba(8, 10, 12, 0.58) 58%, rgba(8, 10, 12, 0.2)),
      linear-gradient(90deg, rgba(8, 10, 12, 0.72), rgba(8, 10, 12, 0.1));
  }

  .mission-band,
  .identifier,
  .displacement-grid,
  .part-guide-grid,
  .measurement-panel,
  .measurement-grid,
  .radio-row,
  .product-layout,
  .kit-option-group,
  .cam-education-grid,
  .rebuild-choice-grid,
  .kit-placeholder-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .measurement-note {
    position: static;
  }

  .part-guide-card.featured-part {
    grid-column: auto;
  }

  .wide-field {
    grid-column: auto;
  }

  .measurement-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-image-placeholder {
    min-height: 360px;
  }

  .option-card,
  .video-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  nav {
    gap: 11px;
  }

  .hero {
    min-height: 780px;
    padding: 168px 16px 44px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .option-grid,
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .kit-check-option,
  .kit-check-option > span:last-child {
    grid-template-columns: 1fr;
  }

  .kit-check-option .affiliate-link-area {
    grid-column: 1;
    grid-row: auto;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }
}
