:root {
  --bg: #080808;
  --card: #111111;
  --card-2: #151515;
  --primary: #008DFF;
  --accent: #1EA7FF;
  --text: #FFFFFF;
  --muted: #B7B7B7;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
  display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form > .sr-only {
  top: 0;
  left: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: block;
  padding: 0;
  background: rgba(8, 8, 8, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

body {
  padding-top: 0;
}

.header-utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  min-height: 42px;
  padding: 0 max(clamp(20px, 4vw, 42px), calc((100% - 1220px) / 2 + 42px));
  background: #123c70;
  border-bottom: 1px solid #123c70;
  font-size: 0.86rem;
}

.header-utility nav,
.header-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-utility a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.header-utility a:hover,
.header-utility a.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-socials {
  gap: 16px;
}

.header-socials svg {
  width: 20px;
  height: 20px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 42px);
}

.header-main .site-nav > a:last-child {
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--primary);
  color: var(--text);
}

.coding-dropdown {
  position: relative;
}

.coding-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
}

.coding-dropdown summary::-webkit-details-marker {
  display: none;
}

.coding-dropdown summary > span[aria-hidden] {
  display: block;
  width: 11px;
  height: 11px;
  margin: -5px 3px 0 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  font-size: 0;
  flex-shrink: 0;
}

.coding-dropdown summary.active,
.coding-dropdown[open] > summary,
.coding-dropdown summary:hover {
  color: var(--muted);
}

.coding-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  text-transform: none;
}

.coding-submenu a {
  display: block;
  padding: 13px 14px;
}

.coding-submenu a:hover,
.coding-submenu a:focus-visible {
  background: #103b60;
}

.coding-nested > summary {
  padding: 13px 14px;
}

.coding-nested > .coding-submenu {
  left: 100%;
  top: 0;
}

@media (max-width: 1080px) {
  .coding-dropdown summary {
    padding: 13px;
  }

  .coding-submenu {
    position: static;
    min-width: 0;
    box-shadow: none;
    margin-bottom: 8px;
  }

  .coding-nested > .coding-submenu {
    margin-left: 12px;
  }
}

@media (max-width: 680px) {
  .header-utility {
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
  }

  .header-utility nav {
    gap: 18px;
  }

  .header-socials {
    gap: 12px;
  }
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.94);
  border-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  width: 210px;
  height: 69px;
  overflow: hidden;
  align-items: flex-start;
  flex-shrink: 0;
}

.brand img {
  width: 210px;
  max-height: none;
  object-fit: contain;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a:focus-visible {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 130px clamp(20px, 5vw, 76px) 86px;
}

.page-hero {
  min-height: 440px;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.78) 42%, rgba(8, 8, 8, 0.28)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.15) 0%, #080808 100%),
    var(--hero-image, url("../images/hero.jpg")) center / cover no-repeat;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.72)),
    var(--hero-image, url("../images/hero.jpg")) center / cover no-repeat;
}

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

.hero-logo {
  width: min(620px, 88vw);
  margin-bottom: 28px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy,
.page-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.6;
}

.hero-badges,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-content .button-row,
.cta-band .button-row {
  margin-top: 26px;
}

.cta-band .muted {
  max-width: 820px;
}

.hero-badges {
  margin: 26px 0 34px;
}

.hero-badges span {
  border: 1px solid rgba(30, 167, 255, 0.42);
  border-radius: 999px;
  background: rgba(0, 141, 255, 0.1);
  padding: 8px 12px;
  color: #dff2ff;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #00111f;
  box-shadow: 0 16px 34px rgba(0, 141, 255, 0.28);
}

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

.chassis-links .button {
  min-height: 64px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: none;
}

.chassis-links .button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .chassis-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.remote-service-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.remote-service-overview h2 {
  font-size: 2rem;
  line-height: 1.15;
}

.remote-service-overview p:last-child {
  margin-bottom: 0;
}

.remote-session-summary h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.remote-session-summary dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.remote-session-summary dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.remote-session-summary dt {
  font-weight: 700;
}

.remote-session-summary dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 680px) {
  .remote-service-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
  }
}

.seven-series-coding-page .coding-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  column-count: auto;
}

.seven-series-coding-page .coding-feature-column {
  min-width: 0;
}

.seven-series-coding-page .coding-final-note,
.x1-x2-coding-page .coding-final-note,
.x3-x4-coding-page .coding-final-note,
.x5-x6-coding-page .coding-final-note {
  margin-top: 32px;
  border-top: 2px solid var(--accent);
  padding-top: 28px;
}

@media (max-width: 680px) {
  .seven-series-coding-page .coding-feature-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.session-detail-note {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
}

.session-price {
  color: var(--accent);
  font-size: 1.25rem;
}

.remote-requirements {
  margin-bottom: 32px;
}

.remote-requirements h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.remote-requirements ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.remote-requirements li {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.remote-requirements strong {
  display: block;
  margin-bottom: 6px;
}

.remote-requirements span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .remote-requirements ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.remote-service-facts {
  color: var(--text);
  line-height: 1.7;
}

.remote-service-facts strong {
  color: var(--accent);
}

.remote-instructions {
  padding-left: 24px;
  margin: 20px 0 0;
  color: var(--muted);
  max-width: 820px;
}

.remote-instructions li {
  padding: 8px 0 8px 8px;
  line-height: 1.6;
}

.remote-instructions li::marker {
  color: var(--accent);
  font-weight: 700;
}

.remote-instructions strong {
  color: var(--text);
}

.remote-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.remote-booking-intro h2 {
  font-size: 2rem;
  line-height: 1.2;
}

.remote-booking-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.remote-booking-facts dt {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.remote-booking-facts dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.remote-booking-facts > div:first-child dd {
  color: var(--accent);
}

.remote-booking-requirements {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 24px;
}

.remote-booking-requirements ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.remote-booking-requirements li + li {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.remote-booking-requirements strong,
.remote-booking-requirements span {
  display: block;
  font-size: 0.9rem;
}

.remote-booking-requirements span {
  margin-top: 4px;
  line-height: 1.5;
  color: var(--muted);
}

.remote-download-heading h2 {
  font-size: 1.5rem;
}

@media (max-width: 680px) {
  .remote-booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
}

.home-refresh .page-hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-refresh .page-hero h1 span {
  display: block;
}

.home-refresh #services .service-card,
.home-refresh .home-service-methods .service-card {
  display: flex;
  flex-direction: column;
}

.home-refresh #services .service-card h3 a,
.home-refresh .home-service-methods .service-card h3 a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-refresh #services .service-card h3 span[aria-hidden],
.home-refresh .home-service-methods .service-card h3 span[aria-hidden] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 6px;
  background: #086fa6;
  font-size: 1.75rem;
  line-height: 1;
}

.home-refresh .home-service-methods .home-service-link {
  margin-top: auto;
}

.home-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-service-contact {
  margin-top: 24px;
}

@media (max-width: 680px) {
  .home-refresh .page-hero h1 {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }
}

.home-refresh .review-card .stars,
.reviews-page .review-card .stars,
.reviews-page .reviews-trust-line [data-review-stars] {
  color: #fbbc04;
}

.home-refresh .home-service-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  padding-block: 8px;
}

.home-refresh .home-other-makes,
.home-refresh .home-reference-links {
  margin-top: 20px;
  margin-bottom: 0;
}

.home-refresh .home-reference-links {
  gap: 24px;
}

.home-coding-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 32px;
}

.home-coding-options > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 8px;
}

.home-coding-options .chassis-links {
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-coding-options .chassis-links .button {
  min-height: 50px;
}

@media (max-width: 680px) {
  .home-coding-options {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.home-carplay-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.home-carplay-layout > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.home-carplay-options article + article {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.home-carplay-options p {
  margin-bottom: 4px;
}

:is(.home-refresh, .coding-overview-page, .g-chassis-page, .f-chassis-page, .e-chassis-page, .programming-page, .aftermarket-carplay-page, .oem-carplay-page, .frm3-service-page, .downloads-page, .contact-page, .customer-gallery-page, .reviews-page, .faq-page) .page-hero { border-top: 1px solid var(--line); }
:is(.home-refresh, .coding-overview-page, .g-chassis-page, .f-chassis-page, .e-chassis-page, .programming-page, .aftermarket-carplay-page, .oem-carplay-page, .frm3-service-page, .downloads-page, .contact-page, .customer-gallery-page, .reviews-page, .faq-page) .page-hero::before {
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 25%, rgba(8,8,8,.85) 40%, rgba(8,8,8,.4) 55%, transparent 75%), var(--bg) var(--workshop-banner, url("../images/home-g80-balanced-workshop.webp")) var(--banner-position, calc(100% - 48px) center) / auto var(--banner-size, 130%) no-repeat;
}
.home-refresh .page-hero { --banner-size: 115%; }
@media (min-width: 681px) {
 body[class] .page-hero::before {
  background-image: linear-gradient(90deg, var(--bg) 0%, var(--bg) 28%, rgba(8,8,8,.99) 36%, rgba(8,8,8,.95) 44%, rgba(8,8,8,.84) 52%, rgba(8,8,8,.65) 60%, rgba(8,8,8,.39) 68%, rgba(8,8,8,.15) 76%, transparent 85%), var(--workshop-banner, var(--hero-image, url("../images/home-g80-balanced-workshop.webp")));
 }
}

body.home-refresh .page-hero {
  border-top: 1px solid var(--line);
  min-height: 0;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
}
body.home-refresh .page-hero-content {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 42px);
  padding-right: clamp(20px, 4vw, 42px);
}
body.home-refresh .page-hero h1 { margin-bottom: 0; }

@media (max-width: 680px) {
  .home-carplay-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.home-refresh .page-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

:is(.f-chassis-page, .chassis-selector-page) .service-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

:is(.f-chassis-page, .chassis-selector-page) .grid-3 {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

:is(.f-chassis-page, .chassis-selector-page) .chassis-option {
  padding: 0;
}

.chassis-option > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px;
  min-height: 380px;
}

.chassis-option > summary::-webkit-details-marker {
  display: none;
}

.chassis-option > summary h3 {
  padding-right: 24px;
}

.chassis-option > summary::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.chassis-option[open] > summary::after {
  transform: rotate(225deg);
}

.chassis-option[open],
.chassis-option:hover {
  border-color: var(--accent);
}

.chassis-option > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 8px;
}

.chassis-option-content {
  border-top: 1px solid var(--line);
  margin-inline: 22px;
  padding-block: 18px 22px;
}

.chassis-option-content h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.chassis-option-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.chassis-option-content .button {
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
  color: var(--text);
  box-shadow: none;
  background: #111315;
  border-top: 2px solid #247fa7;
  transition: background 160ms ease, border-color 160ms ease;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link::after {
  display: none;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link:hover,
body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link:focus-visible {
  background: #172027;
  border-color: var(--accent);
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link h3::after {
  content: "\2197";
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.chassis-model-link .chassis-model-years {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 14px;
}

.chassis-model-link .chassis-model-codes {
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 6px;
}

.chassis-model-link .chassis-model-body {
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.5;
}

.chassis-model-link .chassis-model-examples {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.5;
}

.chassis-model-link:hover,
.chassis-model-link:focus-visible {
  border-color: var(--accent);
}

.chassis-model-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.chassis-model-action {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-weight: 600;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.model-page-actions {
  margin-top: 24px;
}

.coding-feature-list {
  max-width: 900px;
}

.coding-feature-group + .coding-feature-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.coding-feature-group ul {
  padding-left: 22px;
  margin: 12px 0 20px;
  color: var(--muted);
}

.coding-feature-group li {
  padding: 5px 0;
  line-height: 1.5;
}

.coding-feature-group li::marker {
  color: var(--accent);
}

.applicable-model-panel {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--card);
}

.services-page .applicable-model-panel .section-header {
  margin-bottom: 24px;
}

.services-page .applicable-model-panel h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.applicable-model-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.65fr) minmax(0, 1.5fr);
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.applicable-model-list h3 {
  font-size: 1rem;
  line-height: 1.5;
}

.applicable-model-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.65fr) minmax(0, 1.5fr);
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.applicable-model-list h3,
.applicable-model-list p {
  margin: 0;
}

.applicable-model-list span,
.applicable-model-list p {
  color: var(--muted);
  line-height: 1.5;
}

.applicable-model-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .applicable-model-panel {
    padding: 20px;
  }

  .applicable-model-columns {
    display: none;
  }

  .applicable-model-list > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 16px 0;
  }

  .applicable-model-list p {
    grid-column: 1 / -1;
  }
}

.coding-browse-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  scroll-margin-top: 24px;
}

.coding-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  scroll-margin-top: 24px;
}

.coding-category-links a {
  padding-block: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.chassis-coding-detail-page .coding-feature-list {
  display: block;
  column-count: 2;
  column-gap: 40px;
  max-width: none;
}

.chassis-coding-detail-page .coding-feature-group {
  margin-top: 0;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 0;
  scroll-margin-top: 24px;
  break-inside: avoid;
}

.chassis-coding-detail-page .coding-feature-group h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.chassis-coding-detail-page .coding-feature-group ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.chassis-coding-detail-page .coding-feature-group li {
  padding: 4px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chassis-coding-detail-page .coding-feature-group p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.coding-requirement {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 3px;
}

.chassis-coding-detail-page .coding-m-upgrades {
  column-span: all;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid var(--accent);
}

@media (max-width: 680px) {
  .coding-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    overflow: visible;
    max-width: 100%;
    padding-bottom: 12px;
  }

  .coding-category-links a {
    min-height: 44px;
    min-width: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    line-height: 1.4;
  }

  .chassis-coding-detail-page .coding-feature-list {
    column-count: 1;
  }
}

.coding-return-link {
  margin: 20px 0 0;
}

.coding-return-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  color: var(--accent);
}

.chassis-coding-detail-page .coding-final-note {
  margin-bottom: 0;
}

.e-chassis-detail-page .coding-final-note {
  margin-top: 32px;
}

.g-chassis-detail-page .coding-final-note {
  margin-top: 32px;
  border-top: 2px solid var(--accent);
  padding-top: 28px;
}

.x3m-x4m-coding-page .coding-m-upgrades,
.x3m-x4m-coding-page .coding-m-upgrades ul {
  margin-bottom: 0;
}

.x3m-x4m-coding-page .coding-final-note {
  margin-top: 16px;
}

.services-page.chassis-coding-detail-page .coding-booking-section {
  padding-top: 0;
}

.applicable-model-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.applicable-model-overview > div + div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.applicable-model-overview h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.applicable-model-overview span {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.applicable-model-overview p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

.applicable-model-overview + .applicable-model-note {
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 680px) {
  .applicable-model-overview {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .applicable-model-overview > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
  }
}

.model-roster-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr);
  gap: 20px 36px;
  align-items: start;
}

.model-roster {
  min-width: 0;
}

.model-roster > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  padding: 16px 0;
}

.model-roster > div:first-child {
  padding-top: 0;
}

.model-roster > div + div {
  border-top: 1px solid var(--line);
}

.model-roster h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.model-roster span {
  align-self: center;
  color: var(--accent);
  font-size: 0.95rem;
}

.model-roster p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.model-roster-panel .applicable-model-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 680px) {
  .model-roster-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-page .model-roster-panel .section-header {
    margin-bottom: 8px;
  }
}

.model-compatibility-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
  font-size: 1rem;
}

.model-compatibility-table th,
.model-compatibility-table td {
  padding: 16px;
  vertical-align: top;
  line-height: 1.5;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
}

.model-compatibility-table thead th {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding-top: 0;
}

.model-compatibility-table th:first-child {
  width: 30%;
}

.model-compatibility-table th:nth-child(2) {
  width: 24%;
}

.model-compatibility-table tbody td {
  color: var(--muted);
}

.model-compatibility-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 680px) {
  .model-compatibility-table {
    font-size: 0.9rem;
  }

  .model-compatibility-table th,
  .model-compatibility-table td {
    padding: 12px 8px;
  }
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-selector-section > .section-header {
  margin-bottom: 30px;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-selector-section {
  padding-bottom: 20px;
}

.services-page .chassis-selector-help {
  padding-top: 0;
}

.chassis-selector-help h2 {
  font-size: 1.5rem;
}

@media (max-width: 680px) {
  body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link {
    min-height: 0;
    padding: 22px;
  }

  :is(.f-chassis-page, .chassis-selector-page) .chassis-model-action {
    padding-top: 8px;
  }
}

.chassis-search {
  max-width: 520px;
  margin-bottom: 24px;
}

.chassis-search label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.chassis-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.chassis-search input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chassis-search p {
  font-size: 0.85rem;
  margin: 8px 0 0;
}

body:is(.f-chassis-page, .chassis-selector-page) .chassis-model-link[hidden] {
  display: none;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 92px clamp(20px, 4vw, 42px);
}

.home-page .hero {
  min-height: 580px;
  padding-top: 104px;
  padding-bottom: 46px;
}

.home-page .hero-badges {
  margin: 20px 0 26px;
}

.home-page .section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.home-page .section-header {
  margin-bottom: 22px;
}

.home-page .service-card {
  min-height: 0;
  padding: 24px;
}

.home-page .process-card {
  min-height: 190px;
}

body:not(.home-page) .page-hero {
  min-height: 350px;
  padding-top: 112px;
  padding-bottom: 42px;
}

body:not(.home-page) .page-hero + .section {
  padding-top: 50px;
}

.services-page .page-hero {
  min-height: 330px;
  padding-top: 104px;
  padding-bottom: 34px;
}

.services-page .page-hero + .section {
  padding-top: 38px;
}

.services-page .section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.services-page .section-header {
  margin-bottom: 20px;
}

.services-page .section.coding-overview-intro {
  padding-bottom: 0;
}

.services-page .coding-overview-intro .section-header {
  margin-bottom: 0;
}

.services-page .section-header h2,
.services-page .image-split h2 {
  margin-bottom: 10px;
}

.services-page .section-header .muted,
.services-page .image-split .muted {
  line-height: 1.55;
}

.services-page .grid-3 {
  gap: 16px;
}

.services-page .service-card {
  min-height: 0;
  padding: 22px;
}

.services-page .service-card h3 {
  margin-bottom: 8px;
}

.services-page .service-card ul,
.services-page .check-list {
  margin-top: 12px;
}

.services-page .service-card li,
.services-page .check-list li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.about-page .page-hero {
  min-height: 350px;
  padding-top: 112px;
  padding-bottom: 42px;
}

.about-page .section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.about-page .section-header {
  margin-bottom: 24px;
}

.about-page .image-split {
  gap: 28px;
}

.about-page .why-card,
.about-page .process-card {
  min-height: 0;
  padding: 22px;
}

.about-page .process-step {
  margin-bottom: 16px;
}

.about-page .check-list {
  margin-top: 14px;
}

.about-page .check-list li {
  padding-top: 6px;
  padding-bottom: 6px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.section-header .muted {
  font-size: 1.02rem;
  line-height: 1.65;
}

.muted {
  color: var(--muted);
}

.grid-3,
.grid-4,
.reviews-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.card,
.service-card,
.review-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
}

.service-card h3,
.why-card h3,
.process-card h3,
.faq-item h3,
.review-card h3,
.contact-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(0, 141, 255, 0.14);
  color: var(--accent);
  font-weight: 900;
}

.service-card ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.service-card li,
.check-list li {
  padding: 8px 0 8px 22px;
  position: relative;
}

.service-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.why-card {
  min-height: 220px;
  padding: 24px;
}

.why-card .number {
  color: var(--accent);
  font-weight: 900;
}

.process-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 141, 255, 0.1), rgba(255, 255, 255, 0.02)), var(--card);
  box-shadow: var(--shadow);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(30, 167, 255, 0.38);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 900;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.services-page .image-split {
  gap: 26px;
}

.image-split img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compatibility-section {
  padding-top: 24px;
}

.services-page .compatibility-section {
  padding-top: 30px;
  padding-bottom: 26px;
}

.services-page .compatibility-section + .section {
  padding-top: 16px;
  padding-bottom: 24px;
}

.services-page .compatibility-section + .section + .section {
  padding-top: 12px;
  padding-bottom: 32px;
}

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

.compat-summary div {
  padding: 18px;
  border: 1px solid rgba(30, 167, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 26, 38, 0.92), rgba(13, 13, 13, 0.96));
  box-shadow: var(--shadow);
}

.compat-summary strong,
.compat-summary span {
  display: block;
}

.compat-summary strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.02rem;
}

.compat-summary span {
  color: var(--muted);
  line-height: 1.45;
}

.compatibility-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(30, 167, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 15, 18, 0.98), rgba(6, 17, 27, 0.9));
  box-shadow: var(--shadow);
}

.compatibility-table {
  width: 100%;
  border-collapse: collapse;
}

.compatibility-table th,
.compatibility-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  text-align: left;
  vertical-align: middle;
}

.compatibility-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 30, 43, 0.98);
}

.compatibility-table th:nth-child(2),
.compatibility-table td:nth-child(2) {
  width: 180px;
}

.compatibility-table th:nth-child(3),
.compatibility-table td:nth-child(3) {
  width: 250px;
}

.compatibility-table td:first-child {
  color: var(--white);
  font-weight: 800;
}

.compatibility-table td:nth-child(2) {
  color: var(--muted);
  font-weight: 700;
}

.compatibility-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.compatibility-table tbody tr:hover {
  background: rgba(30, 167, 255, 0.08);
}

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

.compatibility-mobile-list {
  display: none;
}

.compatibility-mobile-card {
  padding: 16px;
  border: 1px solid rgba(30, 167, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(14, 18, 22, 0.98), rgba(7, 18, 28, 0.88));
  box-shadow: var(--shadow);
}

.compatibility-mobile-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.compatibility-mobile-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.compatibility-mobile-card p:last-child {
  margin-bottom: 0;
}

.compatibility-mobile-card span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compat-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 82px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.compat-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.compat-yes {
  color: #8ff0b3;
  background: rgba(54, 214, 117, 0.13);
  border: 1px solid rgba(54, 214, 117, 0.36);
}

.compat-no {
  color: #ff9b9b;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.34);
}

.compat-note {
  color: #ffd984;
  background: rgba(255, 209, 102, 0.13);
  border: 1px solid rgba(255, 209, 102, 0.34);
}

.nbt-help-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 0;
  padding: 22px;
  border: 1px solid rgba(30, 167, 255, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(10, 24, 36, 0.94), rgba(12, 12, 12, 0.98));
  box-shadow: var(--shadow);
}

.nbt-help-card .eyebrow {
  margin-bottom: 8px;
}

.nbt-help-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.nbt-help-card .muted {
  margin-bottom: 0;
}

.nbt-help-card .button {
  white-space: nowrap;
}

.text-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
}

.text-link:hover {
  color: var(--primary);
}

.review-card p,
.contact-card p {
  color: var(--muted);
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 800;
}

.reviews-trust-line [data-review-stars] {
  color: var(--accent);
  letter-spacing: 0.04em;
}

.reviews-trust-line strong {
  color: var(--text);
}

.reviews-grid + .cta-band {
  margin-top: 52px;
}

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

.download-card,
.downloads-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.download-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.download-card h2 {
  font-size: 1.5rem;
}

.download-type {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-meta {
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.setup-requirements {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.downloads-page .section-header {
  margin-bottom: 16px;
}

body.services-page.downloads-page .section {
  padding-top: 24px;
  padding-bottom: 24px;
}

body.downloads-page .page-hero + .section {
  padding-top: 32px;
}

.downloads-page .section-header:last-child,
.downloads-page .section-header > p:last-child,
.downloads-page .service-card > p:last-child {
  margin-bottom: 0;
}

.services-page.downloads-page .service-card {
  padding: 18px 22px;
}

.downloads-page .remote-instructions {
  margin-top: 12px;
}

.downloads-page .remote-pricing-note {
  margin: 16px 0 0;
  max-width: 820px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.downloads-page .remote-phase-heading {
  margin-top: 24px;
}

.downloads-page .remote-schedule-action {
  margin-top: 20px;
}

.downloads-page .remote-section-heading {
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.remote-scheduling {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}

.remote-scheduling p {
  max-width: 720px;
  margin-bottom: 0;
}

.remote-scheduling .button {
  flex-shrink: 0;
}

.downloads-page .remote-software-heading {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.remote-setup-phases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.remote-setup-phases > div {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}

@media (max-width: 680px) {
  .remote-scheduling {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .remote-setup-phases {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.downloads-page .remote-instructions li {
  padding-top: 6px;
  padding-bottom: 6px;
}

.downloads-page .downloads-grid {
  margin-top: 0;
}

.downloads-page .download-card {
  min-height: 0;
  padding: 24px;
}

.downloads-page .download-button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  padding-block: 12px;
}

.downloads-page .download-card h2 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.remote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: remote-step;
}

.remote-steps li {
  counter-increment: remote-step;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.remote-steps li::before {
  content: counter(remote-step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
}

.remote-steps strong,
.remote-steps span {
  display: block;
}

.remote-steps strong {
  margin-bottom: 7px;
  font-size: 1.06rem;
  line-height: 1.3;
}

.remote-steps span {
  color: var(--muted);
  line-height: 1.5;
}

.downloads-empty {
  grid-column: 1 / -1;
  padding: 34px;
}

.downloads-empty .button-row {
  margin-top: 22px;
}

.customer-setup {
  margin-top: 44px;
}

.customer-setup h2 {
  max-width: 720px;
}

.reviews-summary {
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.reviews-summary-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.reviews-summary-copy strong {
  color: var(--text);
}

.reviews-loading {
  grid-column: 1 / -1;
  margin: 0;
}

.reviews-footer {
  margin: 24px 0 0;
}

.review-card,
.contact-card {
  padding: 26px;
}

.review-card strong {
  display: block;
}

.review-source {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.review-source:hover {
  color: var(--primary);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 900;
}

.contact-grid {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.programming-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.programming-compatibility {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 24px;
}

body.services-page.programming-page .page-hero {
  min-height: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}

.programming-page .page-hero h1 {
  margin-bottom: 16px;
  letter-spacing: 0;
}

.programming-page .page-hero .page-copy {
  margin-bottom: 0;
}

.programming-page .page-hero .button-row {
  margin-top: 24px;
}

@media (max-width: 680px) {
  body.services-page.programming-page .page-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .programming-page .page-hero .button-row {
    margin-top: 20px;
  }
}

.programming-page .programming-modules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.programming-page .programming-modules .service-card {
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: none;
}

.programming-modules .service-card::after {
  display: none;
}

.programming-page .programming-modules h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-function-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.programming-modules h3 > span {
  min-width: 0;
}

.programming-modules p {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .programming-page .programming-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .programming-page .programming-modules {
    grid-template-columns: 1fr;
  }
}

.programming-modules p:last-child {
  margin-bottom: 0;
}

.programming-modules p {
  margin-bottom: 0;
}


.programming-other {
  margin: 20px 0 0;
}

.programming-module-group + .programming-module-group {
  margin-top: 28px;
}

.programming-page .module-group-title {
  margin-bottom: 14px;
  font-size: 1.2rem;
  color: var(--accent);
}

.programming-page .programming-methods .service-card {
  min-height: 0;
  padding: 22px;
}

.programming-methods p:last-child {
  margin-bottom: 0;
}

.programming-method-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .programming-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.contact-page .contact-details .contact-card {
  padding: 24px;
  min-height: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-details .contact-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
}

.contact-details .contact-card a {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-info-row {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
}

.contact-info-row > span {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-info-row + .contact-info-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-info-row a {
  overflow-wrap: anywhere;
}

.service-options {
  margin: 0;
}

.service-options > div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.service-options dt {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.service-options dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.opening-hours {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.opening-hours > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.opening-hours > div:first-child {
  padding-top: 0;
}

.opening-hours > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.opening-hours dd {
  margin: 0;
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

.business-timezone {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.contact-card a {
  color: var(--accent);
  font-weight: 900;
}

.social-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-link svg path {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  color: var(--primary);
}

.contact-social-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.contact-page .contact-details .contact-social-heading h3,
.contact-socials .contact-social-heading .social-handle {
  margin: 0;
}

.contact-socials .social-handle {
  font-size: 0.9rem;
}

.contact-socials .social-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  margin-top: 0;
}

.contact-socials .social-link {
  width: 100%;
  min-height: 44px;
  gap: 10px;
  padding: 8px 0;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-socials .social-link svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-socials .social-arrow {
  display: none;
}

.contact-socials .social-link:hover,
.contact-socials .social-link:focus-visible {
  background: rgba(30, 167, 255, 0.1);
  color: var(--accent);
}

@media (max-width: 360px) {
  .contact-socials .social-links {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 141, 255, 0.14), rgba(255, 255, 255, 0.02)), var(--card);
  box-shadow: var(--shadow);
}

.form-intro {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 800;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.required-marker {
  color: #ff6b6b;
  font-size: 1.3em;
  line-height: 1;
}

.form-response-time,
.form-privacy {
  margin: 0;
  font-size: 0.9rem;
}

.contact-form label.field-invalid {
  color: #ff6b6b;
}

.contact-form .field-invalid input,
.contact-form .field-invalid textarea,
.contact-form .field-invalid .service-picker-trigger {
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.1);
  box-shadow: 0 0 0 1px #ff6b6b;
}

.service-picker {
  position: relative;
  min-width: 0;
  font: inherit;
}

.service-picker-trigger,
.service-choices button {
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--text);
  padding: 13px 14px;
  cursor: pointer;
}

.service-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #202e3b;
}

.service-picker-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex-shrink: 0;
}

.service-choices {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #202e3b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.service-choices button {
  display: block;
  border: 0;
  border-radius: 3px;
  background: transparent;
}

.service-choices button:hover,
.service-choices button:focus-visible {
  background: #103b60;
}

.service-picker .is-placeholder {
  color: #999999;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 141, 255, 0.16);
}

.contact-form select {
  font: inherit;
  color-scheme: dark;
  min-width: 0;
  background-color: #202e3b;
  color: #ffffff;
}

.contact-form select option {
  background-color: #202e3b;
  color: #ffffff;
}

.contact-form select option:disabled {
  color: #b7b7b7;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-status.is-success {
  border: 1px solid rgba(0, 141, 255, 0.35);
  background: rgba(0, 141, 255, 0.12);
  color: var(--text);
}

.form-status.is-error {
  border: 1px solid rgba(255, 96, 96, 0.35);
  background: rgba(255, 96, 96, 0.12);
  color: #ffb4b4;
}

.contact-form.is-submitting [data-form-submit] {
  opacity: 0.7;
  cursor: wait;
}

.cta-band {
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(30, 167, 255, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 141, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.services-page .cta-band .button-row {
  margin-top: 20px;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.float-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #00111f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-weight: 900;
}

.float-button.instagram {
  background: #151515;
  border: 1px solid rgba(30, 167, 255, 0.46);
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

[data-animate] {
  opacity: 1;
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .grid-3,
  .grid-4,
  .faq-grid,
  .reviews-grid,
  .downloads-grid,
  .contact-grid,
  .image-split {
    grid-template-columns: 1fr;
  }

  .compat-summary {
    grid-template-columns: 1fr;
  }

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

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

  .contact-grid {
    display: flex;
    flex-direction: column;
  }

  .contact-details {
    display: contents;
  }

  .contact-socials {
    order: 1;
  }

  .contact-form {
    order: 2;
  }

  .contact-phone {
    order: 3;
  }

  .contact-info {
    order: 3;
  }

  .contact-email {
    order: 4;
  }

  .contact-area {
    order: 5;
  }

  .contact-hours {
    order: 6;
  }


  .contact-card,
  .contact-form {
    width: 100%;
  }

  .contact-card {
    min-height: 118px;
    padding: 22px;
  }

  .contact-phone,
  .contact-email,
  .contact-area {
    display: grid;
    align-content: center;
  }

}

@media (max-width: 680px) {
  body {
    padding-top: 0;
  }

  .brand {
    width: 170px;
    height: 56px;
  }

  .brand img {
    width: 170px;
  }

  .hero {
    min-height: 720px;
    padding-inline: 18px;
  }

  .home-page .hero {
    min-height: 560px;
    padding-bottom: 48px;
  }


  .button,
  .button-row {
    width: 100%;
  }

  .grid-4,
  .remote-steps {
    grid-template-columns: 1fr;
  }

  .compatibility-table-wrap {
    display: none;
  }

  .compatibility-mobile-list {
    display: grid;
    gap: 12px;
  }

  .compat-status {
    white-space: normal;
  }

  .nbt-help-card {
    grid-template-columns: 1fr;
  }

  .nbt-help-card .button {
    width: 100%;
  }

  .section {
    padding-block: 68px;
  }



  .home-page .section {
    padding-block: 42px;
  }

  .services-page .section {
    padding-block: 32px;
  }

  .services-page .page-hero + .section {
    padding-top: 32px;
  }

  .services-page .compatibility-section {
    padding-bottom: 20px;
  }

  .services-page .compatibility-section + .section {
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .services-page .compatibility-section + .section + .section {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .services-page .service-card,
  .services-page .nbt-help-card {
    padding: 20px;
  }

  .services-page .cta-band {
    padding: 26px;
  }

  .about-page .section {
    padding-block: 42px;
  }




  body:not(.home-page) .page-hero {
    padding-bottom: 10px;
  }
  body:not(.home-page) .page-hero + .section {
    padding-top: 24px;
  }

  body:not(.home-page) main > .section:last-of-type {
    padding-bottom: 24px;
  }


  .services-page .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .services-page .page-hero + .section {
    padding-top: 18px;
  }

  .services-page .section-header {
    margin-bottom: 16px;
  }

  .services-page .grid-3,
  .services-page .compatibility-mobile-list {
    gap: 10px;
  }

  .services-page .image-split {
    gap: 18px;
  }

  .services-page .compatibility-section {
    padding-top: 22px;
    padding-bottom: 16px;
  }

  .services-page .compatibility-section + .section {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .services-page .compatibility-section + .section + .section {
    padding-top: 8px;
    padding-bottom: 22px;
  }

  .home-page .service-card,
  .home-page .process-card {
    min-height: 0;
  }





  .floating-actions {
    left: auto;
    right: 14px;
    grid-template-columns: 1fr;
  }

  .float-button {
    justify-content: center;
    padding-inline: 10px;
  }

  .float-button.instagram {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 78px;
  }
}

/* Shared page-top layout, including the homepage. */
body.home-page .hero,
body:not(.home-page) .page-hero,
body.services-page.programming-page .page-hero {
  min-height: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-content h1,
.page-hero-content h1 {
  margin-bottom: 16px;
  letter-spacing: 0;
}

.hero-content .hero-copy,
.page-hero-content .page-copy {
  margin-bottom: 0;
}

.hero-content > .button-row,
.hero-content > .hero-badges,
.page-hero-content > .button-row {
  display: none;
}

@media (max-width: 680px) {
  body.home-page .hero,
  body:not(.home-page) .page-hero,
  body.services-page.programming-page .page-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}


.coding-breadcrumbs {
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.coding-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coding-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
}

.coding-breadcrumbs li + li::before {
  content: "/";
  color: var(--muted);
}

.coding-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.coding-breadcrumbs [aria-current] {
  color: var(--muted);
  overflow-wrap: anywhere;
}


.coding-booking-faq {
  margin-top: 32px;
  margin-bottom: 32px;
}

.services-page .coding-booking-faq h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.coding-booking-faq details {
  border-bottom: 1px solid var(--line);
}

.coding-booking-faq summary {
  padding: 16px 0;
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}

.coding-booking-faq summary::marker {
  color: var(--accent);
}

.coding-booking-faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.coding-booking-faq details p {
  max-width: 76ch;
  margin: 0;
  padding: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.coding-overview-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.coding-overview-faq h2 {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .coding-overview-faq {
    grid-template-columns: minmax(0, 1fr);
  }
}


.faq-search {
  max-width: 560px;
  margin-bottom: 32px;
}
.faq-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.faq-search input {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  background: #111315;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color-scheme: dark;
}
.faq-search input::placeholder { color: var(--muted); }
.faq-search input:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.faq-search [data-faq-count] { margin: 8px 0 0; font-size: 0.85rem; }
.faq-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.faq-page .faq-topic { margin: 0; min-width: 0; }
.faq-page .faq-topic details {
  background: #111315;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
}
.faq-page .faq-topic summary {
  padding: 16px;
}
.faq-page .faq-topic details p {
  padding: 0 16px 16px;
}
.faq-topic[hidden], .faq-topic details[hidden] { display: none; }
.faq-topic-grid + h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.75rem;
  line-height: 1.3;
}
@media (max-width: 680px) { .faq-topic-grid { grid-template-columns: minmax(0, 1fr); } }


.faq-topic-column { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.faq-topic-column[hidden] { display: none; }
.faq-topic-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: -8px 0 24px; }
.faq-topic-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.faq-topic h2 { scroll-margin-top: 24px; }


@media (min-width: 1081px) {
  .header-main .site-nav { gap: 28px; font-size: 1.125rem; }
  .site-nav > .coding-dropdown > summary { gap: 6px; padding: 10px 0; min-height: 44px; }
  .site-nav > .coding-dropdown > summary > span[aria-hidden] { width: 8px; height: 8px; margin-left: 2px; }
  .header-main .site-nav > a:last-child { padding: 8px 16px; }
}


/* Consistent page titles aligned with the shared content container. */
body main > .page-hero,
body.services-page.programming-page .page-hero,
body:not(.home-page) main > .page-hero {
  min-height: calc(3 * 3.5rem * 1.1 + 80px);
  padding: 40px 0;
  align-items: start;
}
body main > .page-hero > .page-hero-content {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 42px);
}
body main > .page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  body main > .page-hero,
  body.services-page.programming-page .page-hero,
  body:not(.home-page) main > .page-hero { min-height: calc(3 * 2.25rem * 1.1 + 56px); padding: 28px 0; }
  body main > .page-hero h1 { font-size: 2.25rem; }
}


.contact-form .reply-preference { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 16px; color-scheme: dark; }
.reply-preference legend { font-weight: 600; margin-bottom: 2px; font-size: 0.875rem; }
.contact-form .reply-preference label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0; cursor: pointer; font-size: 0.875rem; font-weight: 500; }
.contact-form .reply-preference input { appearance: none; width: 16px; height: 16px; flex: 0 0 16px; padding: 0; margin: 0; border: 1px solid #84939e; border-radius: 50%; background: #182631; box-shadow: none; }
.contact-form .reply-preference input:checked { border-color: var(--primary); background: radial-gradient(circle, var(--primary) 0 38%, #182631 42%); }
.contact-form .reply-preference input:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.contact-form input:not([type="radio"]), .contact-form textarea { color-scheme: dark; }
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #23313d inset; -webkit-text-fill-color: #f5f7fa; caret-color: #f5f7fa; }
.contact-form input:autofill { box-shadow: 0 0 0 1000px #23313d inset; -webkit-text-fill-color: #f5f7fa; caret-color: #f5f7fa; }
@media (pointer: coarse) { .contact-form .reply-preference label { min-height: 44px; } }

.aftermarket-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 12px; }
.aftermarket-gallery figure { margin: 0; min-width: 0; }
.aftermarket-gallery a { display: block; }
.aftermarket-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 6px; }
.aftermarket-gallery figcaption { margin-top: 10px; font-size: 0.875rem; font-weight: 600; }
@media (max-width: 680px) { .aftermarket-gallery { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.aftermarket-options dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 24px; }
.aftermarket-options dl > div { padding: 20px 0; border-top: 1px solid var(--line); }
.aftermarket-options dt { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.aftermarket-options dd { margin: 0; color: var(--muted); line-height: 1.6; }
.aftermarket-carplay-page .section > p { max-width: 90ch; }
.aftermarket-carplay-page main > .section { padding-top: 24px; padding-bottom: 24px; }
body.aftermarket-carplay-page main > .page-hero + .aftermarket-gallery { padding-top: 24px; padding-bottom: 12px; }
.aftermarket-carplay-page main > .section:has(> .coding-booking-faq) { padding-bottom: 12px; }
.aftermarket-carplay-page main > .section:has(> .aftermarket-quote) { padding-top: 12px; }
.aftermarket-quote { border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 680px) { .aftermarket-options dl { grid-template-columns: minmax(0, 1fr); } }


body.aftermarket-carplay-page main > .section:not(.aftermarket-gallery) { padding-top: 28px; padding-bottom: 28px; }
body.aftermarket-carplay-page main > .section h2 { font-size: 1.75rem; line-height: 1.25; margin-bottom: 16px; }
.aftermarket-carplay-page .section-header { margin-bottom: 0; }
.aftermarket-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aftermarket-facts dt { font-size: 0.8125rem; color: var(--muted); margin-bottom: 6px; }
.aftermarket-facts dd { margin: 0; font-weight: 600; line-height: 1.5; }
.aftermarket-service-note { font-size: 0.875rem; }
.aftermarket-overview .button-row { margin-top: 20px; }
.aftermarket-carplay-page .aftermarket-options dl { margin-bottom: 12px; }
.aftermarket-carplay-page .aftermarket-options dl > div { padding: 16px 0; }
.aftermarket-carplay-page .aftermarket-options > p { font-size: 0.875rem; margin-bottom: 0; }
.aftermarket-quote-section { position: relative; }
.aftermarket-quote-section::before { content: ""; position: absolute; top: 0; left: clamp(20px, 4vw, 42px); right: clamp(20px, 4vw, 42px); border-top: 1px solid var(--line); }
.aftermarket-quote-section .button-row { margin-top: 20px; }
@media (max-width: 680px) {
  .aftermarket-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .aftermarket-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .aftermarket-facts dt { margin: 0; }
  body.aftermarket-carplay-page main > .section h2 { font-size: 1.5rem; }
}


.audi-vw-options .section-header { max-width: 90ch; margin-bottom: 24px; }
.audi-vw-options h2 { font-size: 1.75rem; line-height: 1.3; }
.audi-vw-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-items: start; }
.audi-vw-categories details { min-width: 0; border-top: 1px solid var(--line); }
.audi-vw-categories summary { cursor: pointer; padding: 18px 0; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.audi-vw-categories summary::marker { color: var(--accent); }
.audi-vw-categories summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.audi-vw-categories .check-list { padding-bottom: 16px; margin-top: 0; }
.audi-vw-note { font-size: 0.875rem; max-width: 100ch; margin: 24px 0; }
.audi-vw-contact { padding-top: 24px; border-top: 1px solid var(--line); }
.audi-vw-appointment { margin: 28px 0; }
.audi-vw-appointment details { border-top: 1px solid var(--line); }
.audi-vw-appointment summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
.audi-vw-appointment summary::marker { color: var(--accent); }
.audi-vw-appointment p { max-width: 85ch; margin-bottom: 20px; }
.audi-vw-text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .audi-vw-categories { grid-template-columns: minmax(0, 1fr); }
  .audi-vw-options h2 { font-size: 1.5rem; }
}


.audi-vw-page .page-hero { --hero-image: url("../images/audi-vw-header.jpg"); }
.audi-vw-category-column { min-width: 0; }
.audi-vw-service-facts { display: grid; grid-template-columns: .7fr .8fr 1.5fr; gap: 20px; padding: 18px 0; margin: 0 0 16px; border-block: 1px solid var(--line); }
.audi-vw-service-facts dt { font-size: .8125rem; color: var(--muted); margin-bottom: 6px; }
.audi-vw-service-facts dd { margin: 0; font-weight: 600; }
.audi-vw-popular { padding: 20px 0; margin-bottom: 12px; }
.audi-vw-popular h3 { font-size: 1.125rem; margin-bottom: 12px; }
.audi-vw-popular ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 32px; padding-left: 20px; margin: 0 0 12px; }
.audi-vw-popular li::marker { color: var(--accent); }
.audi-vw-popular p { font-size: .875rem; }
@media(max-width:680px) { .audi-vw-service-facts { grid-template-columns: minmax(0,1fr); gap: 16px; } .audi-vw-popular ul { grid-template-columns: minmax(0,1fr); } }


.audi-vw-categories [hidden] { display: none !important; }


body.customer-gallery-page main > .page-hero { min-height: calc((3 * 3.5rem * 1.1 + 80px) * .8); padding: 32px 0; align-items: end; }
body.customer-gallery-page .page-hero + .customer-photo-section { padding-top: 24px; }
.customer-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.customer-photo { display: block; min-width: 0; aspect-ratio: 1; background: #101112; border-radius: 6px; overflow: hidden; }
.customer-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-photo:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.customer-photo-viewer { width: min(1200px,96vw); max-width: 96vw; height: min(960px,94dvh); max-height: 94dvh; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #080808; color: var(--text); }
.customer-photo-viewer::backdrop { background: rgba(0,0,0,.9); }
.customer-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.customer-viewer-toolbar form { margin: 0; }
.customer-photo-viewer button { width: 44px; height: 44px; padding: 0; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 4px; background: #191b1d; color: #fff; font-size: 24px; cursor: pointer; }
.customer-photo-viewer button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.customer-viewer-image { display: flex; align-items: center; gap: 12px; height: calc(100% - 44px); }
.customer-viewer-image img { width: calc(100% - 112px); height: 100%; object-fit: contain; min-width: 0; }
@media(max-width:680px) {
 body.customer-gallery-page main > .page-hero { min-height: calc((3 * 2.25rem * 1.1 + 56px) * .8); padding: 22.4px 0; }
 .customer-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .customer-viewer-image { position: relative; gap: 0; }
 .customer-viewer-image img { width: 100%; }
 .customer-viewer-image button { position: absolute; bottom: 8px; z-index: 1; }
 .customer-viewer-image button:last-child { right: 0; }
}


.gallery-social-action { margin: 0 0 24px; }
body.faq-page main > .page-hero { align-items: end; }
.gallery-intro { max-width: 75ch; margin: 0 0 20px; color: var(--text); font-size: 1.375rem; font-weight: 500; line-height: 1.6; }
@media (max-width: 680px) { .gallery-intro { font-size: 1.125rem; } }


.home-service-icon { width: 26px; height: 26px; flex: 0 0 26px; color: var(--accent); }
.programming-module-group > summary { list-style: none; }
.programming-module-group > summary::-webkit-details-marker { display: none; }
.programming-module-group > summary .module-group-title { display: inline-block; }
@media (max-width: 1080px) {
  .contact-info { order: 1; }
  .contact-form { order: 2; }
  .contact-socials { order: 6; }
  .contact-area { order: 3; }
  .contact-hours { order: 4; }
}
@media (max-width: 680px) {
  .programming-module-group { border-top: 1px solid var(--line); }
  .programming-module-group + .programming-module-group { margin-top: 0; }
  .programming-module-group > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 16px 0; cursor: pointer; }
  .programming-module-group > summary .module-group-title { margin: 0; }
  .programming-module-group > summary::after { content: "+"; color: var(--accent); font-size: 24px; }
  .programming-module-group[open] > summary::after { content: "-"; }
  .programming-module-group > .programming-modules { padding-bottom: 20px; }
}


.site-footer { display: block; padding: 28px 0 14px; background: #0c0e10; }
.footer-inner { max-width: 1220px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 42px); }
.footer-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(180px,.65fr); gap: 28px 40px; padding-bottom: 14px; }
.footer-columns > * { min-width: 0; }
.footer-columns h2 { font-size: 1rem; line-height: 1.5; margin: 0 0 12px; color: var(--text); font-weight: 600; }
.footer-columns a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--text); overflow-wrap: anywhere; line-height: 1.5; }
.footer-columns a:hover { color: var(--accent); }
.footer-columns a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.footer-contact-details { margin: 0; }
.footer-contact-details > div { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; align-items: center; }
.footer-contact-details dt { color: var(--muted); font-size: .8125rem; }
.footer-contact-details dd { margin: 0; min-width: 0; }
.footer-contact-details a { font-weight: 500; }
.footer-hours { margin: 0; width: fit-content; max-width: 100%; }
.footer-hours > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 20px; align-items: baseline; padding: 5px 0; line-height: 1.5; }
.footer-hours dd { margin: 0; text-align: left; color: var(--text); font-weight: 500; }
.footer-columns nav a { display: flex; width: fit-content; }
.footer-legal { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 40px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .75rem; line-height: 1.6; }
.footer-legal p:last-child { text-align: right; }
@media(max-width:800px) {
 .footer-columns { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
 .footer-columns nav { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; }
 .footer-columns nav h2 { margin-bottom: 4px; }
 .footer-columns nav a { display: inline-flex; margin-right: 28px; }
}
@media(max-width:540px) {
 .footer-columns { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .footer-columns > section + section { border-top: 1px solid var(--line); padding-top: 20px; }
 .footer-columns h2 { margin-bottom: 12px; }
 .footer-hours { max-width: 100%; }
 .footer-legal { grid-template-columns: minmax(0,1fr); gap: 10px; }
 .footer-legal p:last-child { text-align: left; }
}


/* Gallery-sized banners are the shared standard for every page. */
body[class] main > .page-hero,
body.services-page.programming-page main > .page-hero {
  min-height: calc((3 * 3.5rem * 1.1 + 80px) * .8);
  padding: 32px 0;
  align-items: end;
}
body[class] main > .page-hero h1 {
  max-width: 100%;
  padding: 0;
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}
@media (max-width: 680px) {
  body[class] main > .page-hero,
  body.services-page.programming-page main > .page-hero {
    min-height: calc((3 * 2.25rem * 1.1 + 56px) * .8);
    padding: 22.4px 0;
  }
  body[class] main > .page-hero h1 { font-size: 2.25rem; }
}


.footer-columns nav h2 { margin-bottom: 6px; }
.footer-columns nav a { min-height: 32px; }
@media (pointer: coarse) { .footer-columns nav a { min-height: 44px; } }


.header-mobile-contact { display: none; }
@media(max-width:1080px) {
 .header-main { gap: 12px; }
 .header-main .brand { width: 160px; height: 53px; }
 .header-main .brand img { width: 160px; }
 .header-main .header-mobile-contact { display: inline-flex; width: auto; flex: 0 0 auto; margin-left: auto; min-height: 36px; padding: 7px 10px; font-size: .8125rem; color: #fff; white-space: nowrap; box-shadow: none; }
 .header-main .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
}
@media(max-width:800px) {
 .footer-quick-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 20px; }
 .footer-columns .footer-quick-links a { width: 100%; min-height: 44px; margin: 0; border-bottom: 1px solid var(--line); }
 .footer-columns nav h2 { margin-bottom: 8px; }
}
@media(max-width:680px) {
 .header-main { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
 .header-main .brand { width: 136px; height: 45px; }
 .header-main .brand img { width: 136px; }
 .header-main .header-mobile-contact { padding: 7px 9px; font-size: .75rem; }
}
@media(max-width:540px) {
 .footer-quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
 .footer-quick-links a:last-child { grid-column: 1 / -1; }
}


.coding-dropdown summary > .nav-label { display: block; width: auto; height: auto; margin: 0; border: 0; transform: none; font-size: inherit; flex-shrink: 1; }
@media(min-width:1081px) {
 .site-nav > .coding-dropdown > summary { text-align: center; }
 .site-nav .nav-label { line-height: 1.25; text-align: center; white-space: nowrap; }
 .site-nav .nav-line { display: block; }
}
@media(max-width:1080px) { .site-nav .nav-line { display: inline; } }


/* Shared inner-page banner proportions and title alignment. */
@media (min-width: 681px) {
 body.services-page.frm3-service-page main > section.page-hero { padding-top: 28px; }
}
body[class]:not(.home-page) main > .page-hero { min-height: 264.8px; padding: 40px 0; align-items: end; }
body[class]:not(.home-page) main > .page-hero h1 { font-size: 3.5rem; line-height: 1.1; margin: 0; padding: 0; text-align: left; }
body[class]:not(.home-page) .page-title-line { display: block; margin-top: 6px; }
@media (max-width: 680px) {
 body[class]:not(.home-page) main > .page-hero { min-height: 174.8px; padding: 28px 0; }
 body[class]:not(.home-page) main > .page-hero h1 { font-size: 2.25rem; }
}


body.home-page main > .page-hero { padding-top: 60px; padding-bottom: 28px; }
.home-page .home-hero-title > span { display: block; margin-top: 9px; }
@media (max-width: 680px) {
 body.home-page main > .page-hero { padding-top: 40px; padding-bottom: 20px; }
}


.g-chassis-page .page-hero { --workshop-banner: url("../images/g-chassis-blue-workshop.webp"); }


.f-chassis-page .page-hero { --workshop-banner: url("../images/f-chassis-light-blue-workshop.webp"); }


.e-chassis-page .page-hero { --workshop-banner: url("../images/e-chassis-white-workshop.webp"); }


.programming-page .page-hero { --workshop-banner: url("../images/bmw-programming-workshop.webp"); }


.aftermarket-carplay-page .page-hero { --workshop-banner: url("../images/aftermarket-carplay-workshop.webp"); }


.oem-carplay-page .page-hero { --workshop-banner: url("../images/oem-carplay-f80-lhd-workshop.webp"); }
.oem-carplay-page .page-hero { --banner-size: 150%; --banner-position: right 32px top 35%; }


.frm3-service-page .page-hero { --workshop-banner: url("../images/frm3-open-module-lid.webp"); }


.downloads-page .page-hero { --workshop-banner: url("../images/bmw-remote-laptop-workshop.webp"); }


.contact-page .page-hero { --workshop-banner: url("../images/contact-workshop.webp"); }


.customer-gallery-page .page-hero { --workshop-banner: url("../images/gallery-m2-parking-lot.webp"); }


.reviews-page .page-hero { --workshop-banner: url("../images/reviews-f90-m5-parking-lot.webp"); }


.faq-page .page-hero { --workshop-banner: url("../images/faq-x5m-workshop.webp"); }
@media (min-width: 681px) {
 body[class] .page-hero::before {
  right: max(clamp(20px, 4vw, 42px), calc((100% - 1220px) / 2 + 42px));
  background-position: center, right center;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 64px), rgba(0,0,0,.9) calc(100% - 44px), rgba(0,0,0,.5) calc(100% - 22px), transparent 100%);
 }
}



.coding-overview-page .page-hero { --workshop-banner: url("../images/coding-overview-red-workshop.webp"); }


/* Mobile photos fill the compact banner behind the title. */
@media (max-width: 680px) {
 body[class]:not(.home-page) main > .page-hero { min-height: 218px; padding: 24px 0 14px; }
 body.home-page main > .page-hero { min-height: 210px; padding: 65px 0 14px; }
 body[class] .page-hero::before {
  background-image: linear-gradient(180deg, rgba(8,8,8,.05) 0%, rgba(8,8,8,.12) 45%, rgba(8,8,8,.55) 75%, rgba(8,8,8,.9) 100%), var(--workshop-banner, var(--hero-image, url("../images/home-g80-balanced-workshop.webp")));
  background-color: var(--bg);
  background-position: center, right center;
  background-size: 100% 100%, auto 100%;
  background-repeat: no-repeat;
  mask-image: none;
 }
}


/* Shared header hierarchy and active-page indicators. */
.header-utility a.active { text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.site-nav > .coding-dropdown > summary, .site-nav > a { position: relative; }
.site-nav > .coding-dropdown > summary.active::after, .site-nav > a.active:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 4px; background: var(--primary); }
.header-main .site-nav > a:last-child { font-weight: 800; }
@media (min-width:1081px) {
 .header-main { gap: 40px; }
 .header-main .site-nav { flex: 1; justify-content: flex-end; gap: 24px; margin-left: 24px; }
 .site-nav > .coding-dropdown > summary, .site-nav > a:not(:last-child) { height: 64px; padding: 10px 0; display: flex; align-items: center; justify-content: center; }
 .site-nav > .coding-dropdown > summary { gap: 10px; }
 .site-nav > .coding-dropdown > summary > span[aria-hidden] { margin: -4px 0 0; align-self: center; }
}
@media (max-width:1080px) {
 .site-nav > .coding-dropdown > summary.active::after, .site-nav > a.active:not(:last-child)::after { left: 0; right: auto; width: 24px; }
}


.instagram-photo { margin: 0; min-width: 0; }
.instagram-photo figcaption { padding: 10px 0 16px; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.instagram-photo figcaption span { display: block; font-weight: 600; }
.instagram-photo time { display: block; margin-top: 6px; font-size: .75rem; color: var(--muted); }
.customer-photo-viewer[open] { display: grid; grid-template-rows: 44px minmax(0, 1fr) clamp(100px, 20dvh, 180px); overflow: hidden; }
.customer-viewer-image { position: relative; display: grid; place-items: center; min-height: 0; height: 100%; padding-inline: 56px; }
.customer-viewer-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.customer-viewer-image button { position: absolute; top: 50%; bottom: auto; left: 0; transform: translateY(-50%); z-index: 1; }
.customer-viewer-image button:last-child { left: auto; right: 0; }
.customer-viewer-caption { min-height: 0; max-height: none; overflow-y: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
@media (max-width: 680px) {
 .customer-viewer-image { padding-inline: 0; }
 .customer-viewer-image button { background: rgba(25,27,29,.9); }
}
.customer-viewer-caption time { color: var(--muted); font-size: .8125rem; }
.customer-viewer-caption p { margin: 6px 0; white-space: pre-wrap; font-size: .875rem; }


.post-photo-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 6px; }
.post-photo-strip .customer-photo { border-radius: 4px; }
.not-found-content { min-height: 35vh; }

