@font-face {
  font-family: "Nimbus Narrow";
  src: url("./assets/nimbus-narrow-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./assets/open-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./assets/open-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #131315;
  --panel: #1c1c1f;
  --ink: #f6f4f1;
  --muted: #b8b5b6;
  --line: #39373b;
  --red: #fc4949;
  --action: #c91d29;
  --action-hover: #a91020;
  --display: "Nimbus Narrow", "Arial Narrow", "Arial", sans-serif;
  --body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --shell: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
section[id] { scroll-margin-top: 88px; }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; }
h1, h2 { text-transform: uppercase; letter-spacing: -.022em; }
h2 { font-size: clamp(2.75rem, 6.1vw, 5.125rem); }
h3 { font-size: 2rem; }
p + p { margin-top: .75rem; }
.shell { width: min(var(--shell), calc(100% - 5rem)); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 5; top: 10px; left: 10px; padding: .7rem 1rem; color: #171719; background: #fff; }

.site-header { position: relative; z-index: 2; background: #111113; border-bottom: 1px solid #303033; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { object-fit: contain; height: auto; }
.brand img[src$="inodriver-badge.webp"] { width: 64px; height: 64px; }
.site-header .brand { padding-block: .65rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.1vw, 3rem); }
.site-header nav a { color: #dfdddd; font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--red); }
.site-header nav .admin-link { border: 1px solid var(--line); border-radius: 4px; padding: .4rem .65rem; white-space: nowrap; }
.site-header nav .admin-link:hover { border-color: #8b868a; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: .65rem 1.15rem;
  font: 700 .9rem/1.35 var(--body);
  text-decoration: none;
  text-align: center;
  transition: background-color .17s ease, border-color .17s ease, color .17s ease;
}
.button-primary { background: var(--action); color: #fff; }
.button-primary:hover { background: var(--action-hover); }
.button-outline { color: var(--ink); border-color: #57545a; background: transparent; }
.button-outline:hover { background: #2c2b2e; border-color: #9b969a; }
.header-contact { min-height: 42px; padding-inline: .9rem; font-size: .82rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.hero-pilot-link { margin-top: 1rem; font-size: .9rem; }
.hero-pilot-link a { color: #f5dedf; text-underline-offset: 5px; text-decoration-color: var(--red); }
.hero-pilot-link a:hover { color: white; }

.pilot-section { padding-top: 2rem; }
.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .42fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid #5a3c42;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #211c20;
}
.pilot-copy h2 { margin-top: .45rem; font-size: clamp(2.25rem, 4vw, 3.6rem); }
.pilot-copy > p:not(.eyebrow) { max-width: 43rem; margin-top: .8rem; color: #ded2d5; }
.pilot-deliverables { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .35rem; }
.pilot-deliverables li { display: flex; align-items: baseline; gap: .65rem; font-size: .9rem; }
.pilot-deliverables li::before { content: ""; width: .5rem; height: 2px; flex-shrink: 0; background: var(--red); }
.pilot-offer { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 1rem; border-left: 1px solid #5a3c42; padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.pilot-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.pilot-price strong { font: 700 3.25rem/1 var(--display); }
.pilot-price span { color: #d0bdc2; font-size: .85rem; }
.pilot-note { color: #d0bdc2; font-size: .8rem; line-height: 1.6; }

.hero { position: relative; isolation: isolate; background: #161417; overflow: hidden; }
.hero-image { position: absolute; z-index: -1; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #121113 1%, #121113e8 23%, #12111365 45%, transparent 70%),
    linear-gradient(0deg, #131315 0%, #13131544 17%, transparent 45%);
}
.hero-inner { position: relative; min-height: 571px; display: flex; align-items: center; padding-block: 5rem 5.5rem; }
.hero-copy { max-width: 770px; }
.eyebrow {
  color: var(--red);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span { padding-inline: .35em; color: #e8a1a1; }
.hero h1 { font-size: clamp(3.35rem, 6.65vw, 6.75rem); margin: 1.15rem 0 .8rem; line-height: .91; white-space: nowrap; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-summary { max-width: 25rem; color: #e0dadb; font-size: 1.04rem; line-height: 1.6; }
.hero .actions { margin-top: 1.55rem; }
.hero .button-outline { background: #171518c9; border-color: #777078; }
.hero .button-outline:hover { background: #2b262b; }
.hero-credit {
  position: absolute;
  bottom: 1.25rem;
  right: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #f3e9e3;
  font-size: .75rem;
  letter-spacing: .05em;
}
.hero-credit span { width: 1rem; height: 2px; background: var(--red); }

.audience { background: #201f22; border-block: 1px solid #363337; }
.audience-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); min-height: 58px; padding-block: .6rem; }
.audience-label { color: var(--red); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.audience ul { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(1rem, 4.2vw, 3.55rem); list-style: none; margin: 0; padding: 0; }
.audience li { font-size: .84rem; font-weight: 700; color: #e5e1e1; }
.audience li + li { position: relative; }
.audience li + li::before { content: ""; position: absolute; left: calc(clamp(1rem, 4.2vw, 3.55rem) / -2); top: 50%; width: 3px; height: 3px; background: #a25b5e; border-radius: 50%; }

.section { padding-block: clamp(4rem, 7vw, 7rem); }
.section-head { margin-bottom: 1.8rem; }
.section-head h2, .fit-intro h2, .contact h2 { margin-top: .45rem; }
.section-head h2 + p, .fit-intro h2 + p, .contact h2 + p { max-width: 40rem; margin-top: .55rem; color: var(--muted); }
.catalog-head h2 { font-size: clamp(2.65rem, 5.1vw, 4.7rem); }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.segmented {
  display: inline-flex;
  border: 1px solid #3e3b40;
  padding: .25rem;
  border-radius: 5px;
  background: #1b1a1d;
  flex-shrink: 0;
}
.segmented button { border: 0; background: none; color: #c9c5c7; border-radius: 3px; font-size: .875rem; font-weight: 700; min-height: 42px; padding: .4rem .8rem; }
.segmented button:hover { color: white; }
.segmented button[aria-pressed="true"] { background: #f3efed; color: #201b1d; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.1rem;
  padding: clamp(1.05rem, 2.6vw, 1.85rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.plan-card::before { content: ""; position: absolute; inset: -1px 67% auto -1px; height: 2px; background: var(--red); border-radius: 7px 0 0; }
.plan-tag { display: flex; align-items: center; gap: .5rem; color: #ff8888; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; }
.plan-tag::before { content: ""; width: .7rem; height: .55rem; flex-shrink: 0; background: var(--red); clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%); }
.plan-card h3 { margin-top: .55rem; }
.plan-card .plan-desc { margin-top: .45rem; color: var(--muted); font-size: .94rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; font-size: .875rem; color: var(--muted); line-height: 1.3; }
.price strong { font: 700 2.8rem/.95 var(--display); color: var(--ink); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.feature-list li { display: flex; align-items: baseline; gap: .65rem; font-size: .9rem; line-height: 1.55; }
.feature-list li::before { content: ""; display: inline-block; width: .65rem; height: .37rem; flex-shrink: 0; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-.13rem) rotate(-45deg); }
.plan-card .button { margin-top: auto; width: 100%; }

.fit-section {
  background: radial-gradient(ellipse at 0 105%, #4a171f 0, transparent 60%), #21191d;
  border-block: 1px solid #492c32;
}
.fit-layout {
  padding-block: clamp(3.5rem, 6.5vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.fit-intro h2 { font-size: clamp(3rem, 5.6vw, 5.45rem); }
.fit-intro h2 + p { max-width: 24rem; color: #dfd3d6; }
.fit-note { display: flex; align-items: center; gap: .65rem; color: #f2e6e7; font-size: .875rem; margin-top: 1.4rem; }
.timer-icon { width: .875rem; height: .875rem; border: 1.5px solid var(--red); border-radius: 50%; position: relative; }
.timer-icon::before { content: ""; position: absolute; width: .3rem; height: .32rem; top: .15rem; left: .34rem; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); }
.quiz { color-scheme: light; color: #1c181a; background: #f5f2ef; border: 1px solid #d3cbca; border-radius: 8px; padding: clamp(1.2rem, 3.4vw, 2.1rem); min-width: 0; }
.quiz :focus-visible { outline-color: #ae1628; }
.quiz .eyebrow { color: #98182a; letter-spacing: .12em; }
.quiz-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: .55rem 0 1.2rem; }
.quiz-steps span { height: 3px; border-radius: 2px; background: #ded5d4; }
.quiz-steps span[data-active="true"] { background: var(--action); }
.quiz h3 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); margin-bottom: .35rem; }
.quiz p { color: #534a4f; }
.quiz fieldset { padding: 0; margin: .9rem 0 1rem; border: none; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.quiz-choice {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 51px;
  border: 1px solid #cdc4c3;
  border-radius: 4px;
  padding: .48rem .65rem;
  background: #fff;
  color: #32292e;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}
.quiz-choice:hover { border-color: #9c4751; }
.quiz-choice:has(input:checked) { color: #98182a; border-color: #ae1628; background: #fce9e9; }
.quiz-choice input { width: 1rem; height: 1rem; margin: 0; flex-shrink: 0; accent-color: #ae1628; }
.quiz-choice small { display: block; font-weight: 400; line-height: 1.35; margin-top: .16rem; }
.quiz-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.quiz-action-secondary { background: transparent; color: #4c323b; border: 1px solid #beaeb0; }
.quiz-action-secondary:hover { color: #821424; border-color: #ae1628; }
.quiz-error { color: #9c1728 !important; font-size: .875rem; font-weight: 700; margin: 0 0 .75rem; }
.quiz .result-price { color: #98182a; font-weight: 700; margin: .45rem 0 .75rem; }
.quiz .result-step { margin: .75rem 0 1rem; padding: .65rem .8rem; color: #403438; border-left: 2px solid var(--action); background: #eee7e7; }
.quiz .result-step strong { color: #231b1f; }
.text-button { padding: .55rem .1rem; min-height: 44px; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; color: #6d2634; text-align: left; font-size: .875rem; font-weight: 700; }
.text-button:hover { color: #9c1728; }

.showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.showcase-image { aspect-ratio: 1.65; background: #282527; align-self: stretch; position: relative; }
.showcase-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.showcase-content { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(1.2rem, 3.2vw, 2.6rem); }
.showcase-content h3 + p { color: var(--muted); margin-top: .5rem; }
.showcase-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: .45rem; margin-top: 1.3rem; }
.showcase-options button { min-width: 0; border-radius: 4px; border: 1px solid #575157; background: #151417; color: #d9d4d5; overflow: hidden; padding: 0; font-size: .8125rem; font-weight: 700; }
.showcase-options button:hover { border-color: #ff9797; }
.showcase-options button[aria-pressed="true"] { border-color: var(--red); background: #50232a; color: #fff; }
.showcase-options img { width: 100%; height: auto; aspect-ratio: 1.66; object-fit: cover; }
.showcase-options span { display: block; padding-block: .25rem; }
.concept-note { color: #aeaaad; font-size: .75rem; margin-top: .7rem; }

.contact { background: #24191d; border-block: 1px solid #4a2e35; }
.contact-inner {
  padding-block: clamp(2.8rem, 6vw, 4.6rem);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5.5rem);
}
.contact-intro { padding-top: clamp(.25rem, 3vw, 2rem); }
.contact h2 { font-size: clamp(2.7rem, 5.3vw, 4.8rem); }
.contact h2 + p { max-width: 30rem; color: #d8cace; }
.contact-alternative { margin-top: 1.3rem; color: #d8cace; font-size: .875rem; }
.contact-email { color: #f1e6e7; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-email:hover { color: white; }

.consultation-card {
  color-scheme: light;
  background: #f5f2ef;
  color: #241c20;
  border: 1px solid #d3cbca;
  border-radius: 8px;
  padding: clamp(1.15rem, 3.4vw, 2.2rem);
  scroll-margin-top: 1.25rem;
}
.consultation-card :focus-visible { outline-color: #ae1628; }
.consultation-card h3 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); letter-spacing: -.01em; }
.consultation-fields {
  min-width: 0;
  padding: 0;
  margin: 1.05rem 0 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.consultation-field { display: grid; align-content: start; gap: .3rem; min-width: 0; }
.consultation-wide { grid-column: 1 / -1; }
.consultation-field label { color: #31262b; font-size: .875rem; font-weight: 700; }
.consultation-field label span { font-weight: 400; }
.consultation-field input, .consultation-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .5rem .65rem;
  border-radius: 4px;
  border: 1px solid #b5a8ab;
  background-color: #fff;
  color: #271e22;
  font: 400 1rem/1.4 var(--body);
}
.consultation-field select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, #603842 50%), linear-gradient(135deg, #603842 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.consultation-fields .button { margin-top: .25rem; }
.consultation-fields .button:disabled { opacity: .65; cursor: wait; }
.consultation-error { color: #98182a; margin-top: .85rem; font-weight: 700; font-size: .875rem; }
.consultation-confirmation p { color: #53484d; margin-top: .65rem; }
.consultation-confirmation .text-button { margin-top: .45rem; }
.consultation-privacy { margin-top: .85rem; color: #62535a; font-size: .8rem; line-height: 1.6; }
.consultation-privacy a { color: #713043; text-underline-offset: 3px; }
.consultation-receipt { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #d3cbca; }
.consultation-receipt label { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 700; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.receipt-actions input { flex: 1 1 15rem; min-width: 0; width: 100%; min-height: 44px; border: 1px solid #b5a8ab; border-radius: 4px; padding: .65rem; background: #fff; color: #271e22; font: .78rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.receipt-copy-button { min-height: 44px; border: 1px solid #9a7882; border-radius: 4px; padding: .55rem .8rem; color: #603042; background: #fff; font-size: .82rem; font-weight: 700; }
.receipt-copy-button:hover { color: #3e1522; background: #eee5e7; }
.consultation-confirmation .receipt-copy-status { font-size: .8rem; min-height: 1.6em; }
.request-receipt { min-width: 0; margin-block: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; background: #19181c; }
.request-receipt p { color: var(--muted); }
.request-receipt code { display: block; max-width: 100%; color: var(--ink); white-space: normal; overflow-wrap: anywhere; user-select: all; font: .875rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
.request-receipt .button { margin-top: .65rem; }
.request-receipt .receipt-copy-status { min-height: 1.6em; font-size: .8rem; }

.consultation-page { max-width: 50rem; min-height: 60vh; padding-block: clamp(2rem, 6vw, 4.5rem); }
.consultation-page > h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.consultation-page > p { color: var(--muted); margin-top: .65rem; }
.consultation-page > .button { margin-top: 1.15rem; }
.consultation-page:has(.admin-console, .parts-page) { max-width: 74rem; }
.admin-login { max-width: 36rem; padding: clamp(1.5rem, 5vw, 3rem); margin-inline: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.admin-login h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
.request-topbar h1, .parts-intro h1 { font-size: clamp(2.9rem, 6vw, 5.3rem); }
.admin-login p, .request-topbar p, .parts-intro p + p, .parts-intro h1 + p { color: var(--muted); margin-top: .7rem; }
.admin-login .button { margin-top: 1.25rem; }
.request-topbar { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.request-topbar .button { flex-shrink: 0; }
.request-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.25rem; }
.request-totals a {
  display: flex; flex-direction: column; justify-content: space-between; gap: .2rem;
  padding: .85rem 1rem; min-height: 6rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; color: var(--muted);
  font-size: .9rem; font-weight: 700; text-decoration: none;
}
.request-totals a:hover, .request-totals a[aria-current] { border-color: var(--red); }
.request-totals strong { color: var(--ink); font: 700 2.65rem/1 var(--display); }
.request-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(8rem, 1fr) minmax(8rem, 1fr) auto; gap: .8rem; align-items: end; margin-bottom: 1.15rem; }
.request-filters label, .parts-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; }
.request-filters input, .request-filters select, .request-entry select, .parts-form input {
  width: 100%; min-height: 48px; padding: .55rem .75rem;
  border: 1px solid #615e64; border-radius: 4px; background: #171719; color: var(--ink); font: inherit;
}
.request-list { display: grid; gap: .8rem; }
.request-entry { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1rem, 2.6vw, 1.55rem); }
.request-entry-head { display: flex; justify-content: space-between; gap: .9rem; align-items: flex-start; }
.request-kind { color: var(--muted); font-size: .875rem; font-weight: 700; }
.request-entry h2, .parts-panel h2, .parts-results h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); text-transform: none; }
.request-entry h2 { margin-top: .3rem; overflow-wrap: anywhere; }
.request-subject { margin-top: .55rem; font-weight: 700; overflow-wrap: anywhere; }
.request-tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.request-status { color: #eee; background: #2e2d31; border: 1px solid #514e54; border-radius: 5px; padding: .23rem .48rem; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.request-due { border-color: #9c6031; background: #3b2c23; color: #ffd39e; }
.request-entry dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .7rem 1.1rem; margin: 1rem 0; }
.request-entry dt { font-size: .875rem; color: var(--muted); }
.request-entry dd { margin: 0; overflow-wrap: anywhere; }
.request-entry-actions, .request-entry-actions form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.request-entry-actions { padding-top: .8rem; border-top: 1px solid var(--line); }
.request-entry-actions .received-time { margin-right: auto; }
.request-entry select { width: auto; }
.request-empty, .request-notice { padding: .8rem 1rem; border-radius: 5px; border: 1px solid var(--line); background: var(--panel); }
.request-notice { margin-bottom: .9rem; }
.parts-page { max-width: 65rem; margin-inline: auto; }
.parts-intro { margin-bottom: 1.75rem; padding: clamp(1rem, 4vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.parts-intro h1 { margin-top: .5rem; }
.parts-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.2rem, 3.5vw, 2rem); }
.parts-panel + .parts-panel, .parts-results + .parts-panel, .parts-panel + .request-empty, .parts-panel + .request-notice { margin-top: 1.15rem; }
.parts-form { margin-top: 1rem; display: grid; gap: 1rem; }
.parts-form .button { justify-self: start; }
.parts-form p, .parts-results > p { color: var(--muted); }
.parts-vehicle, .parts-contact-fields { display: grid; gap: .85rem; }
.parts-vehicle { grid-template-columns: minmax(6rem, .55fr) repeat(2, minmax(0, 1fr)); }
.vehicle-field { display: grid; gap: .3rem; min-width: 0; }
.vehicle-combobox { position: relative; }
.parts-form .vehicle-combobox input[role="combobox"] { padding-right: 3rem; font-size: 1rem; }
.vehicle-toggle {
  position: absolute; inset: 1px 1px 1px auto; width: 44px; display: grid; place-items: center;
  border: 0; border-radius: 0 3px 3px 0; background: transparent; color: var(--muted);
}
.vehicle-toggle:hover { background: #2d2b30; color: var(--ink); }
.vehicle-toggle::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.vehicle-combobox input[aria-expanded="true"] + .vehicle-toggle::after { margin-top: 4px; transform: rotate(225deg); }
.vehicle-menu {
  position: absolute; z-index: 3; top: calc(100% + .4rem); inset-inline: 0;
  background: #202023; border: 1px solid #615e64; border-radius: 5px;
  box-shadow: 0 8px 20px #0007; font-size: .9rem;
}
.vehicle-options { max-height: min(14rem, 35dvh); overflow-y: auto; overscroll-behavior: contain; }
.vehicle-options [role="option"] { padding: .62rem .8rem; cursor: pointer; overflow-wrap: anywhere; }
.vehicle-options [role="option"]:hover, .vehicle-options [aria-selected="true"] { background: #3a3136; color: var(--ink); }
.vehicle-message { padding: .62rem .8rem; }
.parts-contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.parts-results { padding-block: 1.5rem; }
.parts-results h2 + p { margin-top: .45rem; }
.parts-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .85rem; margin-top: 1rem; }
.parts-item { display: flex; flex-direction: column; gap: .7rem; padding: .85rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.parts-item img { width: 100%; object-fit: contain; background: #171719; border-radius: 4px; }
.parts-item h3 { font: 700 1rem/1.4 var(--body); }
.parts-item .button { align-self: start; margin-top: auto; }
.parts-price { color: var(--ink); font-weight: 700; }
@media (max-width: 950px) {
  .site-header nav { flex-wrap: wrap; gap: .4rem 1rem; }
}
@media (max-width: 680px) {
  .request-totals, .request-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-filters label:first-child { grid-column: 1 / -1; }
  .request-entry-head { flex-direction: column; gap: .55rem; }
  .request-tags { justify-content: flex-start; }
  .request-entry-actions .received-time { flex-basis: 100%; }
  .parts-vehicle { grid-template-columns: 1fr 1fr; }
  .parts-vehicle .vehicle-field:last-child, .parts-contact-fields { grid-column: 1 / -1; }
  .parts-contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .request-topbar { flex-wrap: wrap; }
}
.consultation-inbox { display: grid; gap: .9rem; margin-top: 1.5rem; }
.consultation-entry { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.consultation-entry h2 { font-size: 2rem; text-transform: none; overflow-wrap: anywhere; }
.consultation-entry .received-time { color: var(--muted); font-size: .875rem; margin-top: .35rem; }
.consultation-entry dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; margin: .9rem 0 0; }
.consultation-entry dt { color: var(--muted); font-size: .875rem; }
.consultation-entry dd { margin: 0; overflow-wrap: anywhere; }
.consultation-pagination { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

.site-footer { background: #111113; }
.footer-inner { padding-block: 1.2rem; padding-right: 6rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.2rem; }
.footer-inner p { color: var(--muted); font-size: .8125rem; }
.footer-privacy { color: var(--muted); font-size: .8125rem; text-underline-offset: 4px; white-space: nowrap; }
.footer-privacy:hover { color: var(--ink); }

dialog { margin: auto; color: var(--ink); background: var(--panel); border: 1px solid #5b5357; border-radius: 8px; width: min(35rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; }
dialog::backdrop { background: #09080bd4; }
.dialog-inner { position: relative; padding: clamp(1.2rem, 5vw, 2rem); }
.dialog-close { position: absolute; top: .65rem; right: .65rem; width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink); background: transparent; font: 400 1.6rem/1 var(--body); }
.dialog-close:hover { background: #42373c; }
.dialog-inner .plan-tag { margin-right: 3rem; }
.dialog-inner h3 { margin: .5rem 2rem .5rem 0; font-size: clamp(1.9rem, 5vw, 2.7rem); }
.dialog-inner .price { margin-block: .8rem; }
.dialog-inner .feature-list { margin-block: .8rem; }
.dialog-example { margin-block: 1rem; color: var(--muted); border-left: 2px solid var(--red); padding-left: .65rem; }

@media (max-width: 1000px) {
  .hero-inner { min-height: 520px; }
  .catalog-head { align-items: start; flex-direction: column; }
}

@media (max-width: 820px) {
  .shell { width: calc(100% - 3rem); }
  .header-inner { gap: 1rem; }
  .site-header nav { gap: 1.1rem; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-layout { gap: 1.5rem; }
  .quiz-options { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-intro { padding-top: 0; }
}

@media (max-width: 620px) {
  section[id] { scroll-margin-top: 18px; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; row-gap: 0; min-height: 0; }
  .header-inner .brand { min-height: 84px; }
  .header-inner .brand img { width: 64px; }
  .header-contact { grid-row: 1; grid-column: 2; }
  .site-header nav { grid-column: 1 / -1; justify-content: space-between; gap: .5rem; border-top: 1px solid #333034; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .81rem; }
  .hero-inner { min-height: 0; display: block; padding-block: 15rem 2rem; }
  .hero-image { inset: 0 0 auto; height: 320px; }
  .hero-image img { object-position: 70% 54%; }
  .hero-image::after { background: linear-gradient(0deg, #161417 2%, #161417eb 17%, #16141718 54%, transparent 90%); }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 5rem); margin-top: .8rem; }
  .hero-summary { font-size: .98rem; }
  .hero-credit { top: .55rem; right: 0; bottom: auto; font-size: .68rem; text-shadow: 0 1px 7px #100d0d, 0 1px 5px #100d0d; }
  .hero .actions { margin-top: 1rem; }
  .audience-inner { align-items: start; gap: .4rem .8rem; padding-block: .7rem; }
  .audience-label { padding-top: .13rem; }
  .audience ul { column-gap: .65rem; }
  .audience li { font-size: .79rem; }
  .audience li + li::before { display: none; }
  .section { padding-block: 3.25rem; }
  .section-head { margin-bottom: 1.2rem; }
  .segmented { max-width: 100%; }
  .plan-grid, .fit-layout, .showcase { grid-template-columns: 1fr; }
  .pilot-card { grid-template-columns: 1fr; gap: 1.25rem; }
  .pilot-offer { border-left: 0; border-top: 1px solid #5a3c42; padding: 1.25rem 0 0; }
  .pilot-offer .button { width: 100%; }
  .footer-inner { flex-wrap: wrap; }
  .plan-card { gap: .85rem; }
  .fit-layout { padding-block: 3rem; }
  .fit-intro h2 br { display: none; }
  .fit-note { margin-top: .65rem; }
  .quiz-options { grid-template-columns: 1fr 1fr; }
  .showcase-content { padding-top: 1rem; }
  .showcase-options { margin-top: .8rem; }
  .consultation-fields .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 1.5rem); }
  .hero .actions { gap: .5rem; }
  .consultation-fields, .consultation-entry dl { grid-template-columns: 1fr; }
  .button { padding-inline: .8rem; }
  .quiz-options { grid-template-columns: 1fr; }
}

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

.hero-copy .eyebrow { color: #ff777b; }
.hero-credit { color: #e2dcd9; }
.showcase { box-shadow: 0 18px 56px #0003; }
.showcase-image { border-right: 1px solid var(--line); }
.showcase-content { background: linear-gradient(150deg, #211f22, #171619 68%); }

.assistant-launcher {
  position: fixed;
  z-index: 5;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .9rem .55rem .82rem;
  border: 1px solid #ff7175;
  border-radius: 999px;
  background: #c91b2b;
  color: #fff;
  font: 700 .9rem var(--body);
  box-shadow: 0 12px 32px #0007;
}
.assistant-launcher:hover { background: #a81020; }
.assistant-avatar {
  display: block;
  flex: none;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
}
.assistant-launcher:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.assistant-panel {
  position: fixed;
  inset: auto max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) auto;
  width: min(420px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  color: #f5eff0;
  margin: 0;
  overflow: hidden;
  background: #191719;
  border: 1px solid #55414a;
  border-radius: 13px;
  box-shadow: 0 18px 64px #0009;
}
.assistant-panel::backdrop { background: #08060a66; }
.assistant-frame {
  height: min(565px, calc(100dvh - 2rem - 2px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}
.assistant-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1rem;
  background: linear-gradient(125deg,#35171e,#20191c);
  border-bottom: 1px solid #53343d;
}
.assistant-avatar-header.is-answering {
  box-shadow: 0 0 0 3px #ff717580;
}
@media (prefers-reduced-motion: no-preference) {
  .assistant-panel[open] { animation: assistant-enter 200ms ease-out; }
  .assistant-avatar-header.is-answering { animation: assistant-answering 1.4s ease-in-out infinite; }
  @keyframes assistant-enter {
    from { opacity: 0; transform: translateY(6px); }
  }
  @keyframes assistant-answering {
    50% { box-shadow: 0 0 0 5px #ff717540; }
  }
}
.assistant-header h2 {
  font-size: 1.65rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}
.assistant-header h2:focus { outline: none; }
.assistant-header p { color: #dbc4c9; font-size: .82rem; margin-top: .27rem; line-height: 1.3; }
.assistant-header .dialog-close { position: static; }
.assistant-history {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .62rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .95rem 1rem 1rem;
}
.assistant-bubble {
  max-width: 93%;
  margin: 0;
  padding: .65rem .78rem;
  border: 1px solid #4c3c44;
  border-radius: 10px;
  font-size: .92rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.assistant-reply { white-space: pre-line; background: #292327; }
.assistant-customer { align-self: end; background: #5a202d; border-color: #89404f; }
.assistant-pending { color: #ced0d3; }
.assistant-action {
  padding: .3rem .6rem;
  color: #ffd1d2;
  border: 1px solid #804050;
  border-radius: 5px;
  font-size: .86rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .65rem; }
.assistant-suggestions button {
  min-height: 39px;
  padding: .32rem .62rem;
  border: 1px solid #5c434d;
  border-radius: 999px;
  background: #221c21;
  color: #f2e4e8;
  font: 700 .83rem var(--body);
}
.assistant-suggestions button:hover { background: #43252f; }
.assistant-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem;
  padding: .7rem 1rem 0;
  border-top: 1px solid #46353e;
}
.assistant-compose input {
  min-width: 0;
  min-height: 46px;
  padding: .58rem .65rem;
  font: 400 1rem var(--body);
  border: 1px solid #68525b;
  color: #fff;
  background: #242024;
  border-radius: 5px;
}
.assistant-compose .button { min-height: 46px; }
.assistant-compose .button:disabled { opacity: .6; cursor: wait; }
.assistant-footer { display: flex; flex-wrap: wrap; gap: .2rem .85rem; padding: .45rem 1rem .75rem; color: #e4c7cd; font-size: .82rem; }
.assistant-footer a { text-underline-offset: 3px; }

@media (max-width: 620px) {
  .showcase-image { border-right: 0; }
  .assistant-panel { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); }
  .assistant-frame { height: min(570px, calc(100dvh - 22px)); }
  .assistant-header h2 { font-size: 1.32rem; }
  .assistant-avatar-header { width: 52px; height: 52px; }
  .assistant-launcher { bottom: max(.8rem, env(safe-area-inset-bottom)); right: max(.8rem, env(safe-area-inset-right)); }
}
