@import url("https://fonts.googleapis.com/css2?family=DM+Mono&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --ink: #071217;
  --panel: #0d1c22;
  --line: #234048;
  --mist: #dce9e8;
  --muted: #9eb6b8;
  --amber: #ffad2b;
  --cyan: #56d7d1;
  --paper: #f4f1e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: "Space Grotesk", sans-serif;
}
.shell,
#app > section {
  max-width: 1180px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff22;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.brand span {
  color: var(--amber);
}
.brand i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  margin-left: 4px;
}
.nav nav,
.footer div:last-child {
  display: flex;
  gap: 24px;
}
.nav a,
.footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav .brand {
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -2px;
}
.nav .brand i {
  width: 9px;
  height: 9px;
}
.nav a:hover,
.footer a:hover {
  color: #fff;
}
.nav-cta {
  border: 1px solid var(--amber);
  color: var(--amber) !important;
  padding: 10px 15px;
  border-radius: 5px;
}
.footer {
  border-top: 1px solid #ffffff22;
  padding-top: 40px;
  padding-bottom: 45px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.footer div:last-child {
  flex-wrap: wrap;
}
.eyebrow {
  font: 12px "DM Mono";
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin: 0 0 18px;
}
.button {
  border: 0;
  border-radius: 5px;
  padding: 14px 21px;
  font: 600 15px "Space Grotesk";
  cursor: pointer;
  background: var(--amber);
  color: #192227;
}
.button-secondary {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 55px;
  align-items: end;
  padding-top: 105px !important;
  padding-bottom: 66px !important;
  background: radial-gradient(circle at 87% 20%, #56d7d124, transparent 30%);
}
.hero h1,
.page-hero h1,
.result-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -4px;
  margin: 0;
  color: #fff;
}
.hero-lead,
.page-hero > p:last-child {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0;
}
.hero-panel,
.feature-card,
.result-card,
.camera-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.hero-panel h2 {
  font-size: 32px;
  line-height: 1.05;
  color: #fff;
}
.hero-panel h2 span {
  color: var(--cyan);
}
.hero-panel p,
.feature-card p:last-child {
  color: var(--muted);
  line-height: 1.55;
}
.vin-form {
  max-width: 710px;
  margin-top: 28px;
}
.vin-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
}
.vin-form input {
  width: 100%;
  border: 1px solid #cbdcda;
  border-radius: 6px;
  padding: 15px 16px;
  margin-bottom: 8px;
  color: #10242a;
  background: #fff;
  font: 500 17px "DM Mono";
  text-transform: uppercase;
}
.state-check-options {
  margin: 7px 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #09171c;
}
.state-check-options summary {
  cursor: pointer;
  padding: 11px 13px;
  color: var(--cyan);
  font-size: 13px;
}
.state-check-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px 12px;
}
.state-check-fields label {
  color: var(--muted);
  font-size: 12px;
}
.state-check-fields input,
.state-check-fields select {
  width: 100%;
  margin: 5px 0 0;
  border: 1px solid #476067;
  border-radius: 5px;
  padding: 10px;
  color: #10242a;
  background: #fff;
  font: 14px "Space Grotesk";
}
.form-note,
.source-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 10px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  font-size: 13px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 30px !important;
  padding-bottom: 90px !important;
}
.feature-card h2 {
  color: #fff;
  margin: 12px 0;
  font-size: 25px;
}
.card-number {
  font: 12px "DM Mono";
  color: var(--amber);
}
.state-section,
.verification-section {
  max-width: none !important;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
  padding-top: 75px !important;
  padding-bottom: 75px !important;
  background: var(--paper);
  color: #10252a;
}
.state-section .eyebrow {
  color: #176e6a;
}
.state-section h2,
.education h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -2px;
  margin: 0;
}
.state-links {
  display: grid;
  gap: 12px;
}
.state-links a {
  background: #fff;
  border: 1px solid #d5dedb;
  padding: 20px;
  text-decoration: none;
  color: #10252a;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 3px 14px;
  border-radius: 6px;
}
.state-links span {
  grid-row: span 2;
  color: #9c5c00;
  font: 600 24px "DM Mono";
}
.state-links small {
  color: #5b7477;
}
.camera-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 75px !important;
  padding-bottom: 75px !important;
}
.camera-section h2 {
  font-size: 38px;
  color: #fff;
  margin: 8px 0;
}
.camera-section p,
.scan-layout > div > p:not(.eyebrow):not(.form-note) {
  color: var(--muted);
  line-height: 1.55;
  max-width: 590px;
}
.camera-mark {
  font: 150px "DM Mono";
  color: #56d7d138;
}
.education {
  padding-top: 65px !important;
  padding-bottom: 100px !important;
}
.article-links,
.verification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 27px;
}
.article-links a {
  color: var(--cyan);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.article-links span {
  float: right;
  color: var(--amber);
}
.page-hero {
  padding-top: 82px !important;
  padding-bottom: 55px !important;
  max-width: 900px !important;
  margin-left: max(0px, calc((100vw - 1180px) / 2)) !important;
}
.compact {
  padding-bottom: 32px !important;
}
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  max-width: 930px !important;
  padding-bottom: 95px !important;
}
.article-aside {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.article-aside > p {
  font: 12px "DM Mono";
  color: var(--amber);
}
.article-aside .button {
  width: 100%;
}
.article-body section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.article-body h2 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 12px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.callout {
  background: #10242a;
  padding: 25px !important;
  border: 1px solid var(--line);
}
.scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 28px;
  padding-bottom: 95px !important;
  align-items: start;
}
.scan-layout h2 {
  font-size: 35px;
  color: #fff;
  margin: 0;
}
.scanner-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071217;
  border: 1px solid #294850;
  border-radius: 7px;
}
.scanner-frame video,
.scanner-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scanner-idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #436069;
}
.scanner-idle span {
  font: 700 42px "DM Mono";
  letter-spacing: 8px;
}
.scanner-idle small {
  color: var(--muted);
  margin-top: 7px;
}
.scan-reticle {
  position: absolute;
  z-index: 2;
  left: 7%;
  top: 36%;
  width: 86%;
  height: 28%;
  border: 2px solid var(--amber);
  border-radius: 7px;
  box-shadow: 0 0 0 999px #0007;
  pointer-events: none;
}
.scan-reticle::before,
.scan-reticle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  border-top: 2px solid var(--cyan);
}
.scan-reticle::before { left: -11px; }
.scan-reticle::after { right: -11px; }
.scan-reticle span {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  color: #fff;
  white-space: nowrap;
  font: 11px "DM Mono";
  letter-spacing: 1px;
}
.camera-status {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0;
}
.scan-state {
  min-height: 20px;
  color: #fff;
  font: 500 14px "DM Mono";
}
.scanner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.upload-button {
  cursor: pointer;
}
.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.scan-detection {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #49cbbf;
  border-radius: 7px;
  background: #0c302f;
}
.scan-detection > span {
  color: #9ff3e6;
  font: 12px "DM Mono";
}
.scan-detection output {
  display: block;
  margin: 7px 0 12px;
  color: #fff;
  font: 600 clamp(18px, 4vw, 25px) "DM Mono";
  overflow-wrap: anywhere;
}
.scan-detection > div,
.scan-trouble > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scan-trouble {
  margin-top: 13px;
  padding: 13px;
  border-left: 3px solid var(--amber);
  background: #1d251f;
}
.scan-trouble strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}
.scan-trouble .text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font: 500 14px "Space Grotesk";
}
.scan-confirm-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.result-hero {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  padding-top: 72px !important;
  padding-bottom: 29px !important;
}
.vin-display {
  font: 14px "DM Mono";
  color: var(--cyan);
}
.provenance {
  display: flex;
  gap: 17px;
  align-items: center;
  padding-top: 17px !important;
  padding-bottom: 17px !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.source-pill {
  background: #153b37;
  color: #8be5d4;
  padding: 6px 9px;
  font: 11px "DM Mono";
  white-space: nowrap;
}
.provenance p {
  font-size: 13px;
  color: var(--muted);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.result-card h2 {
  font-size: 29px;
  color: #fff;
  margin: 6px 0;
}
.result-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.result-card dl div,
.recall-list details {
  border-top: 1px solid var(--line);
  padding: 14px 6px;
}
.result-card dt {
  font: 12px "DM Mono";
  color: var(--muted);
}
.result-card dd {
  color: #fff;
  margin: 7px 0 0;
}
.recall-list summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.recall-list p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}
.verification-section {
  grid-template-columns: 0.75fr 1.25fr;
  padding-top: 55px !important;
  padding-bottom: 95px !important;
}
.verification-section h2 {
  font-size: 34px;
  margin: 0;
}
.verification-section > div > p:last-child {
  line-height: 1.55;
  color: #4e6467;
}
.verification-grid article {
  background: #fff;
  border: 1px solid #d2dcda;
  padding: 18px;
}
.verification-grid span {
  color: #e89000;
  font: 20px "DM Mono";
}
.verification-grid h3 {
  margin: 13px 0 8px;
}
.verification-grid p {
  font-size: 14px;
  line-height: 1.5;
  color: #50686a;
}
.verification-grid a {
  color: #087b78;
}
.source-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.source-links a {
  color: var(--cyan);
  text-decoration: none;
}
.source-links a:hover {
  text-decoration: underline;
}
.loading {
  padding: 100px 24px;
  text-align: center;
  color: var(--muted);
}
.buyer-summary,
.checks-intro,
.check-group {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.buyer-summary {
  display: grid;
  gap: 14px;
}
.summary-counts,
.summary-lists {
  display: grid;
  gap: 14px;
}
.summary-counts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.summary-lists {
  grid-template-columns: 1fr 1fr;
}
.summary-counts article,
.summary-lists > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.summary-counts strong {
  display: block;
  color: #fff;
  font: 600 34px "DM Mono";
}
.summary-counts span {
  color: var(--muted);
  font-size: 13px;
}
.buyer-summary ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.65;
}
.checks-intro h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 34px;
}
.checks-intro > p:last-child,
.check-group-heading > p:last-child {
  color: var(--muted);
}
.check-group {
  border-top: 1px solid var(--line);
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.check-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 7px;
  background: var(--panel);
}
.check-card.status-verified { border-left-color: #49cbbf; }
.check-card.status-action { border-left-color: var(--amber); }
.check-card.status-unavailable { border-left-color: #bd7777; }
.check-card.status-example {
  border-left-color: #8b83b8;
  background: #171728;
}
.check-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.check-label {
  margin: 0;
  color: var(--muted);
  font: 10px "DM Mono";
}
.check-card h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 21px;
}
.check-status {
  max-width: 190px;
  padding: 6px 8px;
  border-radius: 4px;
  background: #132d31;
  color: #b9e9e2;
  text-align: right;
  font: 10px/1.35 "DM Mono";
}
.status-action .check-status { background: #3a2a0c; color: #ffd38b; }
.status-unavailable .check-status { background: #351d21; color: #efb9b9; }
.status-example .check-status { background: #2a2440; color: #d0c9ef; }
.check-source,
.check-meaning p,
.check-action p {
  color: var(--muted);
  line-height: 1.5;
}
.check-source {
  font-size: 13px;
}
.check-meaning strong,
.check-action strong {
  color: #fff;
  font-size: 13px;
}
.check-meaning p,
.check-action p {
  margin: 6px 0 12px;
}
.check-action {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.check-card > a {
  color: var(--cyan);
  text-decoration: none;
}
.check-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.check-facts div {
  padding: 8px;
  background: #071217;
}
.check-facts dt { color: var(--muted); font: 10px "DM Mono"; }
.check-facts dd { margin: 4px 0 0; color: #fff; }
.check-records {
  max-height: 480px;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.check-records details {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.check-records summary { color: #fff; cursor: pointer; font-weight: 600; }
.check-records p { color: var(--muted); line-height: 1.45; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 700px) {
  .nav nav,
  .hero-panel,
  .camera-mark {
    display: none;
  }
  .nav {
    height: 66px;
  }
  .footer {
    flex-direction: column;
  }
  .hero,
  .state-section,
  .scan-layout,
  .article-layout,
  .result-grid,
  .verification-section {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 68px !important;
  }
  .feature-grid,
  .article-links,
  .verification-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    gap: 22px;
  }
  .article-aside {
    order: 2;
  }
  .result-hero,
  .provenance {
    align-items: start;
    flex-direction: column;
  }
  .result-card dl {
    grid-template-columns: 1fr;
  }
  .vin-form .button {
    width: 100%;
  }
  .vin-entry-row,
  .state-check-fields,
  .summary-counts,
  .summary-lists,
  .check-list {
    grid-template-columns: 1fr;
  }
  .scan-confirm-card {
    position: static;
  }
  .check-card-head {
    flex-direction: column;
  }
  .check-status {
    max-width: none;
    text-align: left;
  }
}
@media (max-width: 430px) {
  .shell,
  #app > section {
    padding-left: 14px;
    padding-right: 14px;
  }
  .nav .brand {
    font-size: 26px;
  }
  .scanner-hero {
    padding-top: 26px !important;
    padding-bottom: 15px !important;
  }
  .scanner-hero h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }
  .scanner-hero > p:last-child {
    margin: 13px 0 0;
    font-size: 15px;
  }
  .scan-layout {
    gap: 14px;
    padding-bottom: 45px !important;
  }
  .camera-box,
  .scan-confirm-card {
    padding: 14px;
  }
  .scanner-frame {
    aspect-ratio: 16 / 8.5;
  }
  .scanner-actions .button {
    flex: 1 1 140px;
    padding: 12px 10px;
  }
  .scan-detection output {
    font-size: 19px;
    letter-spacing: -0.5px;
  }
  .scan-confirm-card h2 {
    font-size: 26px;
  }
  .check-facts {
    grid-template-columns: 1fr;
  }
}
