@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #0b0d11;
  --surface: #12151b;
  --panel: #1b1f28;
  --line: #2c3039;
  --ink: #f5f5f6;
  --muted: #a9afb9;
  --accent: #ff7758;
  --accent-ink: #181012;
  --soft: #302222;
  --good: #8ae2ac;
  --good-bg: #172f26;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  background: var(--canvas);
  color: var(--ink);
  scrollbar-color: var(--line) var(--surface);
  scrollbar-width: thin;
}

:root[data-product="careers"] {
  color-scheme: light;
  --canvas: #eeeff5;
  --surface: #f7f8fb;
  --panel: #fff;
  --line: #e0e2eb;
  --ink: #14192f;
  --muted: #545b72;
  --accent: #352bac;
  --accent-ink: #fff;
  --soft: #eeebff;
  --good: #126144;
  --good-bg: #e2f4eb;
}

* { box-sizing: border-box; }

body { margin: 0; }

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

h1, h2, h3, strong { font-weight: 800; }

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

button, input { font: inherit; }

button {
  color: inherit;
  cursor: pointer;
}

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

svg {
  width: 20px;
  height: 20px;
  flex: none;
}

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

.app {
  display: flex;
  flex-direction: column;
  max-width: 516px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-icon, .job-icon, .status-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--soft);
  color: var(--accent);
}

.brand-icon { background: var(--accent); color: var(--accent-ink); }

.preview-label, .eyebrow, .caption-label {
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.preview-label {
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.screen { flex: 1; padding: 18px 20px 20px; }

.screen:focus { outline: 0; }

.hero {
  position: relative;
  display: grid;
  align-content: end;
  isolation: isolate;
  overflow: hidden;
  min-height: 206px;
  padding: 20px;
  border-radius: 16px;
  background: #15191f;
  color: #fff;
}

.hero-photo, .hero::after, .hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-photo {
  inset-inline-start: auto;
  width: 78%;
  object-fit: cover;
  object-position: 57% 49%;
  filter: saturate(.65);
}

.hero::after {
  content: "";
  background:
    linear-gradient(0deg, #15191f 0%, #15191fce 20%, transparent 78%),
    linear-gradient(90deg, #15191f 22%, #15191fa8 46%, #15191f18);
}

.hero .eyebrow { margin-bottom: 6px; color: #ffc7b7; }

.hero h1, .page-title, .detail-title {
  font-size: clamp(26px, 8vw, 35px);
  letter-spacing: -.055em;
  line-height: 1.11;
}

.hero p:last-child {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
  color: #f0f0f2;
}

[data-product="careers"] .hero {
  align-content: center;
  min-height: 193px;
  background: #171841;
}

[data-product="careers"] .hero::after {
  background: linear-gradient(90deg, #171841 10%, #171841a8 51%, transparent 100%);
}

[data-product="careers"] .hero .eyebrow { color: #cfc9ff; }

[data-product="careers"] .hero-pattern {
  left: auto;
  width: 70%;
  right: -15%;
  top: -35%;
  height: 170%;
  opacity: .94;
}

[data-product="careers"] .hero h1 { max-width: 8em; }

.vehicle, .search, .card, .info-block, .empty, .track-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
}

.vehicle {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 11px;
  text-align: left;
}

.vehicle-photo {
  width: 58px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}

.vehicle-copy { flex: 1; }

.vehicle-copy strong, .vehicle-copy small { display: block; }

.vehicle-copy strong { font-size: 13px; }

.vehicle-copy small { margin-bottom: 3px; color: var(--muted); font-size: 10px; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 13px;
  padding: 0 12px;
  color: var(--muted);
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 43px;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 12px;
}

.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search input::placeholder { color: var(--muted); opacity: 1; }

.filters {
  display: flex;
  gap: 7px;
  margin: 12px -3px 0;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.chip {
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--soft);
  color: var(--accent);
}

.list { margin-top: 18px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
}

.section-heading h2 { font-size: 16px; letter-spacing: -.028em; }
.section-heading span { color: var(--muted); font-size: 11px; white-space: nowrap; }

.card {
  position: relative;
  margin-bottom: 9px;
  overflow: clip;
}

.card a { display: block; padding: 13px; }

.part-card a {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 11px;
  align-items: center;
}

.part-card:last-child { margin-bottom: 0; }

.part-thumb {
  width: 72px;
  height: 78px;
  padding: 3px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.card h3 {
  font-size: 14px;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.card p, .card .meta, .item-detail, .footnote { color: var(--muted); font-size: 11px; line-height: 1.55; }

.card .meta { display: block; margin: 3px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: var(--good);
  background: var(--good-bg);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
}

.badge svg { width: 12px; height: 12px; }

.price { align-self: center; font-size: 12px; white-space: nowrap; font-weight: 800; }

.job-card a { padding-right: 54px; }

.job-card.featured { background: #efedff; border-color: #ded8fb; }

.job-line { display: flex; gap: 11px; align-items: center; }

.job-card .job-icon { background: #e9e5fa; color: #4035aa; }

.job-card.featured .job-icon { background: #392db0; color: #fff; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
}

.tag svg { width: 13px; height: 13px; }

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}

.icon-button[aria-pressed="true"] { color: var(--accent); background: var(--soft); }
.icon-button[aria-pressed="true"] svg { fill: currentColor; }

.card .icon-button {
  position: absolute;
  right: 5px;
  top: 7px;
  border: 0;
  background: transparent;
}

.app-nav {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 4px 8px max(5px, env(safe-area-inset-bottom));
}

.app-nav a {
  display: grid;
  min-height: 56px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 10px;
}

.app-nav a[aria-current="page"] { color: var(--accent); }
.app-nav a[aria-current="page"] svg { stroke-width: 2.3; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: -7px 0 7px;
  color: var(--muted);
  font-size: 12px;
}

.back svg { width: 17px; height: 17px; }

.product-photo {
  width: 100%;
  height: 204px;
  padding: 6px;
  background: #fff;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.caption-label { color: var(--muted); margin-top: 7px; }

.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  margin: 17px 0 11px;
}

.detail-title { font-size: clamp(23px, 7vw, 31px); }
.detail-heading .eyebrow, .page-heading .eyebrow { color: var(--accent); margin-bottom: 6px; }

.detail-price { font-size: 21px; font-weight: 800; margin-top: 5px; }

.info-block { padding: 13px; margin-top: 12px; }

.info-block h2, .track-card h2 { font-size: 14px; letter-spacing: -.02em; margin-bottom: 5px; }

.info-block p { color: var(--muted); font-size: 12px; line-height: 1.55; }

.fitment {
  display: flex;
  align-items: start;
  gap: 10px;
  border-color: var(--line);
}

.status-icon { background: var(--good-bg); color: var(--good); }
.fitment[data-fit="false"] .status-icon { background: var(--soft); color: var(--accent); }

.inline-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; font-weight: 800; min-height: 36px; }
.inline-link svg { width: 15px; height: 15px; }

.supplier { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.action.secondary { background: var(--panel); color: var(--ink); border-color: var(--line); }

.page-heading { margin-bottom: 15px; }

.page-heading p:last-child { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

.garage-card { margin: 0 0 12px; }
.garage-card img { width: 100%; height: 155px; object-fit: cover; }

.garage-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px;
}

.garage-card button { width: auto; min-height: 44px; margin: 0; }
.garage-card h2 { font-size: 14px; }
.garage-card p { margin-top: 4px; }

.job-detail-hero {
  background: #eeecff;
  border-radius: 14px;
  padding: 17px;
}

.job-detail-hero .detail-heading { margin-top: 12px; margin-bottom: 6px; }
.job-detail-hero .job-icon { background: #392db0; color: #fff; }
.job-detail-hero .detail-title { max-width: 11em; }
.job-detail-hero .icon-button { border-color: #d7d2ed; }

.job-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.job-summary div { padding: 10px; background: var(--surface); border-radius: 6px; font-size: 12px; }
.job-summary span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; }

.role-list { margin: 6px 0 0; padding-left: 17px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.role-list li + li { margin-top: 4px; }

.track-card { padding: 15px; margin: 9px 0; }
.track-card .job-line { justify-content: space-between; }
.track-card h2 { margin: 0; }
.track-card p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.track-card .badge { white-space: nowrap; }

.track-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  margin-bottom: 14px;
  background: #eeecff;
  border-radius: 12px;
  color: #2e2588;
}

.track-overview span { display: block; font-size: 11px; }
.track-overview strong { font-size: 22px; line-height: 1.25; }
.track-overview svg { width: 25px; height: 25px; }
.badge.review { color: #42369b; background: #eeecff; }

.timeline { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { position: relative; padding: 10px 0 1px 23px; font-size: 12px; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border: 1px solid var(--muted); border-radius: 50%; }
.timeline .done::before { background: var(--accent); border-color: var(--accent); }

.empty { padding: 18px; font-size: 13px; line-height: 1.6; }
.empty p { color: var(--muted); }
.footnote { margin: 10px 0 0; }

.utility {
  min-height: 44px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 10px;
}

.utility a, .utility summary { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.utility ul { padding-left: 15px; line-height: 1.6; }

@media (max-width: 350px) {
  .screen { padding-inline: 13px; }
  .app-header { padding-inline: 13px; }
  .part-card a { grid-template-columns: 54px 1fr auto; gap: 8px; }
  .part-thumb { width: 54px; }
}
