:root {
  --wine: #761b2d;
  --wine-dark: #531220;
  --ink: #26372f;
  --muted: #67716a;
  --paper: #f5f5ef;
  --line: #dce0d6;
  --green: #345f4a;
  --gold: #e6ad39;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #bb7720;
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 800;
}
h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.25;
}
p {
  line-height: 1.65;
}
.topbar {
  height: 100px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  gap: 24px;
  background: #fff;
}
.brand img {
  width: 185px;
  height: 64px;
  object-fit: contain;
}
.product-label,
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--wine);
}
.product-label {
  color: var(--muted);
}
.back-link {
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
}
.back-link:hover {
  text-decoration: underline;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 52px 28px 65px;
  min-height: calc(100vh - 190px);
  outline: none;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 34px;
}
.intro .eyebrow {
  margin-bottom: 15px;
}
.intro p.lead {
  max-width: 520px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 16px;
}
.intro-side {
  max-width: 245px;
  padding-bottom: 4px;
}
.intro-side strong {
  display: block;
  font-size: 15px;
}
.intro-side p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 11px;
  background: #fff;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 100%;
}
.choose-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 18px;
}
.choose-row h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.view-choice {
  display: flex;
  background: #e9ece4;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
}
.view-choice button {
  background: none;
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  padding: 9px 17px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.view-choice button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 2px 7px #25362c12;
  color: var(--ink);
}
.view-choice button svg {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: 6px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.truck-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.truck-card:hover {
  transform: translateY(-3px);
  border-color: #a77f87;
  box-shadow: 0 12px 30px #26372f0c;
}
.truck-card svg {
  display: block;
  width: 100%;
  height: auto;
  background: #eef1e9;
}
.card-body {
  padding: 23px;
}
.card-body h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
}
.card-body p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 22px;
}
.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
}
.card-link b {
  font-size: 20px;
}
.intro-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  gap: 20px;
}
.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  color: var(--muted);
}
.question-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 20px;
}
.question-top .text-button {
  font-size: 11px;
}
.question-top strong {
  font-size: 13px;
}
.question-top span {
  font-size: 12px;
  color: var(--muted);
}
.progress {
  height: 4px;
  background: #dde2d8;
  margin-bottom: 29px;
  border-radius: 5px;
  overflow: hidden;
}
.progress div {
  background: var(--wine);
  height: 100%;
  transition: width 0.2s;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 1fr);
  gap: 35px;
  align-items: start;
}
.visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.visual-head {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.visual-head span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.stage {
  position: relative;
  height: 400px;
  background: #e8ebe4;
  overflow: hidden;
}
.stage svg.photo {
  display: block;
  width: 100%;
  height: 100%;
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.stage .loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 15px;
  font-size: 13px;
  padding: 25px;
}
.visual-caption {
  padding: 13px 17px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.visual-caption a {
  text-underline-offset: 3px;
}
.view-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  min-height: 43px;
  font-size: 11px;
  color: var(--muted);
}
.model-tools {
  display: flex;
  gap: 4px;
}
.model-tools button {
  height: 30px;
  min-width: 30px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  font-size: 13px;
}
.model-ring {
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
  transform: translate(-50%, -50%);
}
.question-copy {
  padding: 11px 0 0;
}
.question-copy .eyebrow {
  margin-bottom: 15px;
}
.question-copy h1 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.question-copy .helper {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.answer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 27px;
}
.answer {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  min-height: 63px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.answer .letter {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  width: 26px;
  height: 26px;
  font-size: 11px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--muted);
}
.answer[aria-pressed="true"] {
  border-color: var(--wine);
  background: #fbf5f5;
  box-shadow: inset 0 0 0 1px var(--wine);
}
.answer[aria-pressed="true"] .letter {
  color: white;
  background: var(--wine);
  border-color: var(--wine);
}
.answer:hover {
  border-color: #aa9d9d;
}
.alternates {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.alternates .text-button[aria-pressed="true"] {
  color: var(--wine);
  font-weight: 800;
}
.question-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 13px 21px;
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  text-decoration: none;
  gap: 15px;
}
.primary {
  background: var(--wine);
  color: white;
}
.primary:hover {
  background: var(--wine-dark);
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.layout-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
  line-height: 1.7;
}
.safety-stage {
  height: 400px;
  background: linear-gradient(135deg, #e5ecdf, #f3f5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.safety-stage svg {
  width: 100%;
  height: auto;
}
.inspection-symbol {
  height: 180px;
  width: 180px;
  border-radius: 50%;
  border: 1px solid #bfccba;
  display: grid;
  place-items: center;
  background: #f6f8f2;
  box-shadow:
    0 0 0 25px #dfe7d940,
    0 0 0 50px #dfe7d930;
  font-size: 80px;
  color: var(--green);
}
.result {
  max-width: 810px;
  margin: auto;
}
.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.result-head h1 {
  font-size: 45px;
  margin-top: 12px;
}
.result-head p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 13px;
}
.complete-icon {
  width: 62px;
  height: 62px;
  background: #e0e8dc;
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}
.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.result-label {
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.score {
  padding: 29px;
}
.score + .score {
  border-left: 1px solid var(--line);
}
.score strong {
  display: block;
  font-size: 45px;
  letter-spacing: -0.05em;
  margin: 12px 0 7px;
}
.score strong small {
  font-size: 21px;
  color: var(--muted);
  font-weight: 500;
}
.score p {
  font-size: 12px;
  color: var(--muted);
}
.result-note {
  padding: 19px 25px;
  background: #edf2e8;
  font-size: 12px;
  line-height: 1.7;
}
.result-note.flagged {
  background: #fcf4e0;
}
.report-name {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 24px 0;
  font-size: 12px;
}
.report-name input {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: white;
  min-width: 0;
  flex: 1;
  max-width: 330px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.result .actions {
  margin: 22px 0;
}
.privacy-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.review {
  margin: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.review summary {
  font-size: 13px;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
}
.review-row {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.review-row strong {
  display: block;
  margin: 7px 0;
}
.review-row p {
  font-size: 12px;
  color: var(--muted);
}
.review-row .status {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}
.review-row .status.follow {
  color: var(--wine);
}
.review-row a {
  font-size: 10px;
}
.result-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 22px 28px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
footer .text-button {
  font-size: 10px;
}
dialog {
  width: min(690px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 32px;
  max-height: 86vh;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #1d302975;
  backdrop-filter: blur(4px);
}
dialog h2 {
  margin: 14px 0 20px;
}
dialog h3 {
  font-size: 15px;
  margin-top: 25px;
}
dialog p,
dialog li {
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0;
}
dialog .small {
  font-size: 11px;
}
.sources {
  padding-left: 20px;
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 0;
  font-size: 25px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -90px;
  padding: 15px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.no-script {
  padding: 35px;
}
.toast {
  font-size: 11px;
  color: var(--green);
  min-height: 20px;
}
.photo-open {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffffed;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 7px;
  font-size: 10px;
  text-decoration: none;
}
.unavailable {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  height: 100%;
  font-size: 13px;
}
.printed-name {
  display: none;
}
@media (min-width: 1400px) {
  main {
    padding-top: 64px;
  }
  .intro {
    margin-bottom: 42px;
  }
  .stage,
  .safety-stage {
    height: 430px;
  }
}
@media (max-width: 900px) {
  .topbar {
    padding: 0 24px;
    height: 85px;
  }
  .product-label {
    display: none;
  }
  main {
    padding: 32px 22px 45px;
  }
  .workspace {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(285px, 1fr);
  }
  .stage,
  .safety-stage {
    height: 345px;
  }
  .card-body {
    padding: 19px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .intro-side {
    max-width: 205px;
  }
  .visual-head {
    padding: 10px;
  }
  .visual-head .view-choice button {
    padding: 8px 10px;
  }
  .visual-head > span {
    max-width: 90px;
    line-height: 1.5;
  }
  .question-copy h1 {
    font-size: 26px;
  }
  .answer {
    padding: 12px;
    font-size: 12px;
  }
  .visual-caption {
    flex-direction: column;
    gap: 3px;
  }
}
@media (max-width: 680px) {
  .topbar {
    height: 76px;
    padding: 0 18px;
  }
  .brand img {
    width: 153px;
    height: 51px;
  }
  .back-link {
    font-size: 10px;
  }
  main {
    padding: 30px 18px 40px;
  }
  .intro {
    display: block;
  }
  .intro-side {
    max-width: none;
    border-left: 2px solid var(--line);
    padding-left: 15px;
    margin-top: 23px;
  }
  .intro-side strong {
    font-size: 12px;
  }
  .intro-side p {
    font-size: 12px;
    margin-top: 4px;
  }
  .intro p.lead {
    font-size: 14px;
  }
  .choose-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 26px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .truck-card {
    display: flex;
    align-items: center;
  }
  .truck-card svg {
    width: 39%;
    height: 140px;
    flex-shrink: 0;
  }
  .card-body {
    padding: 18px;
    flex: 1;
  }
  .card-body p {
    margin-bottom: 11px;
    font-size: 11px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-link {
    font-size: 11px;
  }
  .intro-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .visual-card {
    width: 100%;
  }
  .question-copy {
    width: 100%;
    padding: 0;
  }
  .stage,
  .safety-stage {
    height: 300px;
  }
  .visual-head > span {
    max-width: none;
  }
  .visual-caption {
    flex-direction: row;
    font-size: 9px;
  }
  .question-top {
    gap: 10px;
  }
  .question-top strong {
    font-size: 11px;
  }
  .question-top span {
    font-size: 10px;
  }
  .question-top .text-button {
    font-size: 10px;
  }
  .progress {
    margin-bottom: 20px;
  }
  .question-copy h1 {
    font-size: 25px;
  }
  .question-copy .eyebrow {
    margin-bottom: 9px;
  }
  .answer-list {
    margin-top: 20px;
  }
  .answer {
    min-height: 58px;
    font-size: 13px;
  }
  .question-copy .helper {
    margin-top: 9px;
  }
  .question-nav {
    margin-top: 16px;
  }
  .layout-note {
    font-size: 10px;
  }
  .visual-head {
    padding: 9px 12px;
  }
  .result-head h1 {
    font-size: 34px;
  }
  .result-head p {
    font-size: 12px;
  }
  .complete-icon {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }
  .score {
    padding: 20px;
  }
  .score strong {
    font-size: 38px;
  }
  .score p {
    font-size: 11px;
  }
  .result-label {
    padding: 17px;
    flex-direction: column;
    gap: 7px;
  }
  .result-note {
    padding: 17px;
    font-size: 11px;
  }
  .report-name {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .report-name input {
    width: 100%;
    max-width: none;
  }
  .result-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  footer {
    flex-direction: column;
    gap: 7px;
    padding: 22px 16px;
  }
  .review-row {
    font-size: 11px;
  }
  dialog {
    padding: 24px;
  }
  .result .actions .button {
    flex: 1;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  main {
    padding-left: 13px;
    padding-right: 13px;
  }
  .card-body {
    padding: 12px;
  }
  .card-body h3 {
    font-size: 15px;
  }
  .stage,
  .safety-stage {
    height: 260px;
  }
  .visual-caption {
    flex-direction: column;
  }
  .visual-head > span {
    font-size: 10px;
  }
  .view-choice button {
    padding: 8px 12px;
  }
  .alternates {
    gap: 10px;
  }
  .alternates .text-button {
    font-size: 11px;
  }
  .score {
    padding: 17px;
  }
  .score .eyebrow {
    font-size: 9px;
  }
  .result .actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body {
    background: white;
    color: #111;
  }
  .topbar {
    height: 70px;
  }
  .back-link,
  .product-label,
  footer,
  .actions,
  .result-bottom,
  .privacy-note,
  .report-name,
  dialog,
  .review summary,
  .toast,
  .skip {
    display: none !important;
  }
  main {
    max-width: none;
    padding: 25px 0;
    min-height: auto;
  }
  .result-head {
    margin-bottom: 18px;
  }
  .result-head h1 {
    font-size: 30px;
  }
  .result-label {
    font-size: 11px;
  }
  .score {
    padding: 20px;
  }
  .score strong {
    font-size: 30px;
  }
  .result-card,
  .score,
  .review-row {
    break-inside: avoid;
  }
  .review {
    display: block !important;
  }
  .review > * {
    display: block !important;
  }
  .review-row {
    font-size: 10px;
    padding: 12px 0;
  }
  .review-row p {
    font-size: 10px;
  }
  .review-row a {
    display: none;
  }
  .printed-name {
    display: block;
    font-size: 12px;
    margin: 12px 0;
  }
  .result-head p {
    font-size: 12px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--wine);
}
.brand img {
  width: 62px;
  height: 56px;
}
.brand > span {
  font-size: 24px;
  letter-spacing: 0.05em;
  font-weight: 800;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.15em;
  margin-top: 5px;
}
.topbar {
  height: 86px;
}
main.active-check {
  padding-top: 28px;
}
.active-check .stage,
.active-check .safety-stage {
  height: 320px;
}
.active-check .progress {
  margin-bottom: 21px;
}
.active-check .visual-head {
  padding: 10px 16px;
}
.active-check .question-copy {
  padding-top: 6px;
}
@media (max-width: 680px) {
  .brand img {
    width: 43px;
    height: 45px;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 7px;
  }
  .brand {
    gap: 9px;
  }
  .topbar {
    height: 76px;
  }
  .active-check .stage,
  .active-check .safety-stage {
    height: 285px;
  }
  .active-check .visual-head {
    padding: 9px 12px;
  }
}
@media (max-width: 360px) {
  .active-check .stage,
  .active-check .safety-stage {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .workspace {
    gap: 12px;
  }
  .question-copy {
    display: contents;
  }
  .question-copy > .eyebrow {
    order: 0;
    margin: 0;
  }
  .question-copy > h1 {
    order: 1;
  }
  .question-copy > .helper {
    order: 2;
    margin: 0;
  }
  .visual-card {
    order: 3;
    margin: 5px 0;
  }
  .answer-list {
    order: 4;
    width: 100%;
    margin: 5px 0 0;
  }
  .alternates {
    order: 5;
    width: 100%;
    margin: 0;
  }
  .question-nav {
    order: 6;
    width: 100%;
    margin: 2px 0 0;
  }
  .layout-note {
    order: 7;
    margin: 0;
  }
  .question-copy > .helper {
    font-size: 11px;
  }
}
