:root {
  --ink: #17211d;
  --muted: #66736f;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --line: #d9ded7;
  --brand: #f29a5b;
  --brand-dark: #b85f22;
  --alert-red: #e60000;
  --green: #426f55;
  --shadow: 0 20px 50px rgba(23, 33, 29, 0.13);
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

label small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

label small.pin-helper-text {
  color: var(--alert-red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.hero,
.new-site-callout,
.decoder-promo,
.notice-strip,
.browse-section,
.detail-section,
.list-section,
.legal-section,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.brand {
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.nav-actions,
.hero-actions,
.detail-actions,
.support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.support-email {
  color: var(--brand-dark) !important;
  font-weight: 900 !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
}

.button-secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid rgba(184, 95, 34, 0.24);
}

.button-muted {
  background: #e8eee7;
  color: var(--ink);
}

.button-danger {
  background: #8f2d2d;
  color: #fff;
}

.button-danger:hover,
.button-danger:focus-visible {
  background: #681f1f;
  box-shadow: 0 10px 22px rgba(143, 45, 45, 0.24);
}

.button-stripe-pay {
  background: #e60000;
  color: #fff;
}

.button-stripe-pay:hover,
.button-stripe-pay:focus-visible {
  background: #b80000;
  box-shadow: 0 10px 22px rgba(230, 0, 0, 0.24);
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: start;
  gap: 34px;
  min-height: 420px;
  padding: 42px 0 34px;
}

.hero-copy {
  display: grid;
  gap: 16px;
  max-width: 820px;
  padding-top: 10px;
  min-width: 0;
}

.early-tester-callout {
  display: grid;
  gap: 10px;
  max-width: 650px;
  margin-top: 18px;
  padding: 22px;
  border: 2px solid rgba(66, 111, 85, 0.36);
  border-radius: 16px;
  background: #f0f8f2;
  box-shadow: 0 12px 30px rgba(66, 111, 85, 0.13);
}

.early-tester-callout h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.early-tester-callout p {
  margin: 0;
  color: #385047;
  font-weight: 750;
}

.early-tester-callout .early-tester-reward {
  color: var(--green);
}

.early-tester-callout .early-tester-exposure {
  color: var(--brand-dark);
}

.early-tester-button {
  justify-self: start;
  margin-top: 4px;
  background: var(--green);
}

.early-tester-button:hover,
.early-tester-button:focus-visible {
  background: #315540;
}

.eyebrow {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.parts-highlight {
  color: var(--green);
}

.free-trial-callout {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.15rem;
  border: 3px solid var(--green);
  border-radius: 14px;
  background: #f0f8f2;
  box-shadow: 0 8px 22px rgba(66, 111, 85, 0.16);
}

.free-trial-callout strong {
  color: var(--green);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.free-trial-callout.founding-offer-callout strong {
  font-size: clamp(1.65rem, 4vw, 3.15rem);
  line-height: 1;
}

.free-trial-callout span {
  color: #244331;
  font-weight: 800;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p:not(.eyebrow),
.listing-copy p,
.detail-copy p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-weight: 800;
}

.hero-text {
  max-width: 600px;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.hero-samples {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.category-browser {
  padding: 14px;
  border: 2px solid rgba(191, 86, 24, 0.28);
  border-radius: 14px;
  background: #fffaf3;
}

.category-browser-heading {
  text-align: center;
}

.category-browser-heading h2 {
  margin: 2px 0 6px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.category-browser-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.hero-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-grid-instruction {
  margin: 0 0 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.hero-example {
  position: relative;
  display: grid;
  grid-template-rows: auto 3.4rem;
  gap: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(191, 86, 24, 0.24);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 6px 16px rgba(42, 34, 26, 0.08);
}

.hero-category-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(20, 73, 48, 0.94);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-example img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f2eee6;
}

.hero-example figcaption,
.hero-example-label {
  display: grid;
  place-items: center;
  padding: 5px 4px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
}

.hero-example-label small,
.hero-example-label strong {
  display: block;
}

.hero-example-label small {
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-example-label strong {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.05;
}

.hero-example:hover,
.hero-example:focus-visible {
  border-color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(42, 34, 26, 0.16);
  transform: translateY(-2px);
}

.hero-samples article {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(191, 86, 24, 0.22);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 10px 28px rgba(42, 34, 26, 0.08);
}

.hero-samples article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-samples strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.hero-samples span {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.32;
}

.hero-samples em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.sample-tag {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f2f7ef;
  color: var(--green);
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 34px;
}

.new-site-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 2px solid var(--brand);
  border-radius: 12px;
  background: #fff4e8;
  box-shadow: 0 12px 30px rgba(42, 34, 26, 0.09);
}

.new-site-callout h2,
.new-site-callout p {
  margin: 0;
}

.new-site-callout h2 {
  margin-bottom: 5px;
}

.new-site-callout > div > p:last-child {
  color: var(--muted);
  font-weight: 700;
}

.new-site-callout .button {
  flex: 0 0 auto;
}

.decoder-promo {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  padding: 24px;
  border: 2px solid rgba(191, 86, 24, 0.34);
  border-radius: 12px;
  background: linear-gradient(135deg, #fffaf3 0%, #f2f7ef 100%);
  box-shadow: 0 14px 34px rgba(42, 34, 26, 0.1);
}

.decoder-promo-heading {
  max-width: 780px;
}

.decoder-promo-heading h2,
.decoder-promo-heading p,
.decoder-promo-grid h3,
.decoder-promo-grid p,
.decoder-promo-note {
  margin: 0;
}

.decoder-promo-heading h2 {
  margin-bottom: 7px;
}

.decoder-promo-heading > p:last-child,
.decoder-promo-grid p,
.decoder-promo-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

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

.decoder-promo-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(66, 111, 85, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
}

.decoder-promo-grid article .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.decoder-promo-icon {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 58px;
  padding: 7px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.decoder-promo-note {
  font-size: 0.82rem;
}

.notice-strip div,
.warning-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(66, 111, 85, 0.22);
  border-radius: 8px;
  background: #f2f7ef;
}

.notice-strip strong,
.warning-box strong {
  color: var(--green);
}

.notice-strip span,
.warning-box span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.browse-section,
.detail-section,
.list-section,
.legal-section {
  scroll-margin-top: 118px;
}

.browse-section,
.list-section {
  padding: 42px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 22px;
}

.filter-bar,
.listing-form,
.payment-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.search-help {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 13px 14px;
  border: 1px solid rgba(66, 111, 85, 0.22);
  border-radius: 8px;
  background: #f2f7ef;
  grid-column: 1 / -1;
}

.filter-bar label span {
  color: var(--alert-red);
  font-weight: 900;
}

.browse-section .filter-bar {
  margin-bottom: 42px;
  border-width: 2px;
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.08);
}

.filter-bar .keyword-search-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.filter-bar .keyword-search-field > span {
  color: var(--brand-dark);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.filter-bar .keyword-search-field input {
  min-height: 58px;
  padding: 13px 16px;
  border: 2px solid var(--green);
  font-size: 1.08rem;
}

.filter-bar .keyword-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.filter-bar .keyword-search-button {
  min-width: 145px;
  padding-inline: 24px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.search-help strong {
  color: var(--alert-red);
}

.search-help span {
  color: var(--alert-red);
  font-size: 0.92rem;
  font-weight: 900;
}

.manage-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(66, 111, 85, 0.22);
  border-radius: 8px;
  background: #f2f7ef;
}

.manage-help div {
  display: grid;
  gap: 4px;
}

.manage-help strong {
  color: var(--green);
}

.manage-help span {
  color: var(--muted);
  font-weight: 800;
}

.payment-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.06);
}

.payment-section h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.payment-card {
  display: grid;
  gap: 12px;
}

.trial-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(66, 111, 85, 0.18);
  border-radius: 8px;
  background: #f8fbf6;
}

.pin-login-form {
  background: #fff7ed;
  border-color: rgba(242, 154, 91, 0.45);
}

.payment-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.manage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: start;
  margin: 0 auto 28px;
  max-width: 1180px;
  padding: 0 20px;
}

.manage-login-form,
.manage-reset-panel {
  margin: 0;
}

.manage-reset-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.06);
}

.manage-reset-panel h2 {
  margin: 0;
}

.manage-results {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.button-danger {
  background: var(--alert-red);
  color: #fff;
}

.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.payment-total span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.payment-total strong {
  font-size: 1.8rem;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font-weight: 800;
}

textarea { resize: vertical; }

.wide-field,
.form-status {
  grid-column: 1 / -1;
}

.ai-writer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vin-decoder-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 16px;
  padding: 18px;
  border: 2px solid var(--brand);
  border-radius: 10px;
  background: var(--soft);
}

.vin-decoder-panel h2,
.vin-decoder-panel p {
  margin-top: 0;
}

.vin-decoder-controls {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(240px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.vin-photo-button {
  grid-column: 1 / -1;
  display: grid;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 15px 18px;
  border: 3px solid #0a4863;
  border-radius: 12px;
  background: #146c94;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 20px rgba(20, 108, 148, 0.28);
}

.vin-photo-button:hover,
.vin-photo-button:focus-within {
  background: #0f5a7d;
  transform: translateY(-1px);
}

.vin-photo-button-title {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: 0.015em;
}

.vin-photo-button small {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
}

.vin-photo-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vin-photo-preview {
  width: min(100%, 420px);
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.disclosure-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.disclosure-check input {
  width: 20px;
  min-width: 20px;
  margin-top: 2px;
}

.known-flaws-box {
  margin: 14px 0;
  padding: 14px;
  border: 2px solid #b75b16;
  border-radius: 8px;
  background: #fff7ee;
}

.known-flaws-box p {
  margin: 6px 0 0;
}

.issue-pill {
  border-color: #b75b16;
  color: #8a3f0d;
  background: #fff7ee;
}

.vin-decoder-controls input,
.vin-decoder-controls select {
  text-transform: uppercase;
}

.vin-decoder-controls select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.vin-decoder-panel .form-status {
  grid-column: 1 / -1;
}

.private-reader-form .vin-decoder-panel {
  width: 100%;
}

.private-reader-form #readerIdentifierFields {
  display: contents;
}

.private-reader-form #readerIdentifierFields > small {
  align-self: center;
}

.private-reader-form .reader-photo-confirmation,
.private-reader-form #readerHelp,
.private-reader-form .vin-photo-preview {
  grid-column: 1 / -1;
}

.private-reader-form .reader-photo-confirmation {
  padding: 14px;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: #fff;
}

.reader-steps {
  margin: 14px 0 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.reader-category-first {
  color: #6d28d9;
  font-size: 1.08em;
  font-weight: 900;
}

.reader-upload-instruction {
  margin: 0;
  padding: 12px 14px;
  border-left: 5px solid var(--brand);
  border-radius: 6px;
  background: #fff7ed;
  color: var(--ink);
}

.reader-photo-confirmation dd {
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  letter-spacing: 0.04em;
}

.public-additional-identifiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.seller-showroom-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 900;
  color: var(--brand-dark);
}

.showroom-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 12px;
  padding: 28px;
  border: 2px solid var(--brand);
  border-radius: 12px;
  background: var(--soft);
}

.showroom-hero h1 {
  margin: 6px 0 12px;
}

.showroom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.showroom-actions input {
  flex: 1 1 280px;
}

.showroom-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.listing-sold {
  opacity: 0.82;
}

.listing-sold .listing-image {
  filter: grayscale(0.65);
}

.sold-pill {
  color: #fff;
  background: #8b1e1e;
  border-color: #8b1e1e;
}

.feedback-section {
  max-width: 900px;
}

.feedback-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ai-writer-row p,
.form-status {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 900;
}

.manage-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(66, 111, 85, 0.25);
  border-radius: 8px;
  background: #f2f7ef;
}

.manage-link-panel[hidden] {
  display: none;
}

.manage-link-panel h3,
.manage-link-panel p {
  margin-bottom: 0;
}

.manage-link-panel p:not(.eyebrow),
.manage-empty p {
  color: var(--muted);
  font-weight: 800;
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(23, 33, 29, 0.08);
  cursor: pointer;
}

.category-example-card {
  overflow: hidden;
  border: 2px solid rgba(66, 111, 85, 0.42);
  border-radius: 10px;
  background: #fffaf3;
  box-shadow: 0 8px 20px rgba(23, 33, 29, 0.08);
}

.category-example-card > a {
  display: grid;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.category-example-banner {
  padding: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.category-example-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f4f1e8;
}

.category-example-copy {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
  text-align: center;
}

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

.category-example-copy small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-example-copy strong {
  margin-top: 4px;
  font-size: 1.15rem;
  line-height: 1.1;
}

.category-example-card:hover,
.category-example-card:focus-within {
  border-color: var(--green);
  box-shadow: 0 12px 26px rgba(23, 33, 29, 0.16);
  transform: translateY(-2px);
}

.listing-card:focus-visible {
  outline: 3px solid rgba(242, 154, 91, 0.42);
  outline-offset: 3px;
}

.listing-tap-hint {
  padding: 7px 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.listing-image,
.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f1e8;
}

.placeholder-image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f4c67c, #e96f48);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.listing-copy {
  display: grid;
  gap: 6px;
  padding: 11px;
}

.listing-body {
  display: grid;
  gap: 8px;
  padding: 11px;
}

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

.listing-actions .button {
  width: 100%;
  justify-content: center;
  padding-inline: 10px;
  white-space: normal;
  text-align: center;
}

.manage-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.manage-edit-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.manage-edit-form .wide-field,
.manage-edit-form .listing-actions {
  grid-column: 1 / -1;
}

.manage-edit-form textarea {
  min-height: 92px;
}

.listing-copy .eyebrow,
.listing-copy h3 {
  margin: 0;
}

.listing-copy h3 {
  font-size: 1rem;
  line-height: 1.22;
}

.listing-copy strong,
.detail-price {
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.listing-usage,
.detail-usage {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.detail-usage {
  font-size: 1rem;
}

.listing-location {
  justify-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.listing-card .listing-copy > p:not(.eyebrow):not(.listing-usage),
.listing-card .seller-showroom-link,
.listing-card .pill-row .pill:not(.sample-tag):not(.issue-pill) {
  display: none;
}

.listing-card .pill-row {
  margin: 2px 0 0;
  gap: 5px;
}

.listing-card .pill-row:empty {
  display: none;
}

.listing-card .pill-row .pill {
  min-height: 23px;
  padding: 0 7px;
  font-size: 0.68rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(66, 111, 85, 0.22);
  border-radius: 999px;
  background: #f4f8f1;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.empty-card {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.detail-section {
  padding: 34px 0 42px;
}

.private-reader-heading {
  max-width: 900px;
}

.private-reader-panel {
  width: min(100% - 28px, 980px);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.private-reader-form,
.reader-results-card {
  min-width: 0;
}

.reader-results-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.reader-results-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.reader-results-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.reader-results-list div {
  display: grid;
  grid-template-columns: minmax(92px, 0.4fr) minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.reader-results-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reader-results-list dd {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.listing-detail-page main > section:not(.detail-section) {
  display: none;
}

body.listing-detail-page .detail-section {
  display: block;
  min-height: calc(100vh - 210px);
  padding-top: 24px;
}

body.listing-detail-page .detail-view {
  margin-bottom: 28px;
}

.detail-view {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.detail-image { border-radius: 8px; }

.detail-gallery {
  display: grid;
  gap: 10px;
}

.detail-gallery-main {
  border: 1px solid var(--line);
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.detail-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f1e8;
}

.detail-gallery-thumbs button {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.detail-gallery-thumbs button.active {
  border-color: var(--brand-dark);
}

.detail-gallery-thumbs button:focus-visible {
  outline: 3px solid rgba(242, 154, 91, 0.55);
  outline-offset: 2px;
}


.detail-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.legal-page {
  min-height: calc(100vh - 150px);
}

.legal-section {
  display: grid;
  gap: 14px;
  max-width: 850px;
  padding: 50px 0;
}

.legal-section h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.legal-section li {
  margin-bottom: 10px;
}

.manage-section {
  width: min(1280px, calc(100% - 24px));
  max-width: 1280px;
  gap: 22px;
  padding-top: 34px;
}

.manage-section > .eyebrow {
  font-size: 0.9rem;
}

.manage-section > h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manage-empty,
.admin-login,
.admin-toolbar,
.admin-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.manage-empty {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  min-height: 430px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(242, 154, 91, 0.12), transparent 42%),
    var(--surface);
}

.manage-empty h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.02;
}

.manage-empty p {
  max-width: 860px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.manage-empty[hidden] {
  display: none;
}

.admin-section {
  max-width: 1060px;
}

.admin-login,
.admin-toolbar,
.admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.admin-panel {
  display: grid;
  gap: 16px;
}

.admin-panel[hidden],
.admin-login[hidden] {
  display: none;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.stats-grid article {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stats-grid strong {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 900;
}

.stats-grid .admin-stat-number {
  min-height: 150px;
  align-content: center;
  justify-items: center;
  border: 3px solid var(--brand);
  text-align: center;
}

.stats-grid .admin-stat-number strong {
  color: var(--brand-dark);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.stats-grid .admin-stat-number span {
  margin-top: 10px;
  color: var(--ink);
  font-size: 1rem;
  text-transform: uppercase;
}

.stats-grid .admin-stat-date {
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
}

.stats-grid .admin-stat-date strong {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
}

.admin-stats-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.homepage-stats {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto;
  padding: 22px;
  border: 2px solid var(--brand);
  border-radius: 14px;
  background: var(--soft);
}

.homepage-stats-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.homepage-stats-heading h2,
.homepage-stats-heading p {
  margin-top: 0;
  margin-bottom: 4px;
}

.demo-stats-badge {
  padding: 8px 12px;
  border: 2px solid #a33b18;
  border-radius: 999px;
  background: #fff0e8;
  color: #842b0d;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.demo-stats-badge.is-live {
  border-color: #26733b;
  background: #eef9f0;
  color: #185729;
}

.homepage-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.homepage-stats-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}

.homepage-stat-icon {
  font-size: 1.55rem;
}

.homepage-stats-grid strong {
  color: var(--brand-dark);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-variant-numeric: tabular-nums;
}

.homepage-stats-grid article > span:last-child {
  color: var(--muted);
  font-weight: 900;
}

.homepage-stats-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 850px) {
  .homepage-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage-stats-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .homepage-stats-heading { align-items: flex-start; flex-direction: column; }
  .homepage-stats { width: min(100% - 20px, 1180px); padding: 16px; }
}

.admin-card {
  gap: 14px;
  align-items: start;
}

.admin-card h2 {
  margin-bottom: 6px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.admin-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.admin-email {
  color: var(--brand-dark) !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer strong,
.site-footer a {
  color: var(--brand-dark);
}

.site-footer p {
  margin: 0;
}

.footer-network {
  max-width: 360px;
}

.footer-network p {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero,
  .detail-view,
  .decoder-promo-grid,
  .notice-strip,
  .payment-section,
  .manage-layout,
  .manage-help,
  .manage-link-panel,
  .admin-login,
  .admin-toolbar,
  .admin-card {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }

  .hero-samples {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header { position: static; }

  .brand {
    display: block;
    width: 100%;
    font-size: clamp(3rem, 16vw, 4.5rem);
    line-height: 1;
    text-align: center;
    letter-spacing: -0.06em;
  }

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

  .listing-copy {
    padding: 9px;
  }

  .listing-copy h3 {
    font-size: 0.9rem;
  }

  .filter-bar .keyword-search-row {
    grid-template-columns: 1fr;
  }

  .filter-bar .keyword-search-button {
    width: 100%;
  }

  button,
  .button,
  .nav-actions > a {
    min-height: 44px;
  }

  .listing-location {
    min-height: 0;
  }

  .nav-actions > a {
    display: flex;
    align-items: center;
  }

  .nav-shell,
  .new-site-callout,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .nav-actions .button {
    width: 100%;
  }

  .filter-bar,
  .listing-form,
  .trial-form,
  .payment-card,
  .manage-reset-panel {
    grid-template-columns: 1fr;
  }

  .page-heading,
  .manage-layout,
  .manage-results {
    padding-inline: 14px;
  }

  .payment-section {
    margin-inline: 0;
  }

  .trial-form,
  .manage-reset-panel {
    padding: 12px;
  }

  .listing-body {
    padding: 9px;
  }

  .listing-actions {
    grid-template-columns: 1fr;
  }

  .manage-edit-form {
    grid-template-columns: 1fr;
  }

  .vin-decoder-panel,
  .vin-decoder-controls {
    grid-template-columns: 1fr;
  }

  .vin-decoder-controls .button {
    width: 100%;
    justify-content: center;
  }

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

  .hero-samples {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.12rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .early-tester-callout {
    margin-top: 6px;
    padding: 18px;
  }

  .early-tester-button {
    width: 100%;
  }
}

.iso-promo,
.wanted-hero,
.wanted-form-panel,
.wanted-board,
.match-alert-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto;
}

.iso-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #f3f8f2;
}

.iso-promo h2,
.wanted-hero h1 { margin: 6px 0 10px; }
.iso-promo p { margin-bottom: 0; }

.wanted-hero {
  padding: 64px 0 34px;
  text-align: center;
}

.wanted-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.14rem;
}

.wanted-hero .hero-actions { justify-content: center; }

.wanted-layout {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 70px;
  align-items: start;
}

.match-alert-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  padding: 32px;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: #eff8f1;
}

.match-alert-copy h2 { margin: 6px 0 12px; }
.match-alert-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.match-alert-form label { display: grid; align-content: start; gap: 6px; font-weight: 700; }
.match-alert-form input { width: 100%; }
.match-alert-form small { color: var(--muted); font-weight: 500; }
.match-alert-form .button, .match-alert-form .form-status { align-self: end; }

.wanted-layout .wanted-form-panel,
.wanted-layout .wanted-board { width: auto; margin: 0; }

.wanted-form-panel,
.wanted-board {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.wanted-form { grid-template-columns: 1fr 1fr; }
.wanted-filter { grid-template-columns: 1fr; }
.wanted-grid { display: grid; gap: 16px; }

.wanted-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.wanted-card h3 { margin: 12px 0; font-size: 1.35rem; }
.wanted-card-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; }
.iso-badge { padding: 5px 9px; border-radius: 999px; background: var(--brand-dark); color: #fff; font-size: .74rem; letter-spacing: .08em; }
.wanted-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wanted-card dl div { padding: 10px; border-radius: 10px; background: var(--paper); }
.wanted-card dt { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.wanted-card dd { margin: 3px 0 0; font-weight: 700; }
.wanted-card p { white-space: pre-wrap; }
.wanted-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wanted-success { margin-top: 20px; padding: 20px; border: 2px solid #3d745a; border-radius: 14px; background: #eff8f1; }
.wanted-success input { width: 100%; margin: 10px 0; }
.form-trap { position: absolute !important; left: -10000px !important; height: 1px; overflow: hidden; }

.wanted-dialog {
  width: min(560px, calc(100% - 30px));
  padding: 28px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.wanted-dialog::backdrop { background: rgba(15, 25, 20, .68); }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.contact-wanted-form { display: grid; gap: 16px; }
.contact-wanted-form label { display: grid; gap: 7px; font-weight: 700; }
.contact-wanted-form input, .contact-wanted-form textarea { width: 100%; }

.share-card-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: 92vh;
  padding: 26px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.share-card-dialog::backdrop { background: rgba(15, 25, 20, .72); }
.share-card-heading { padding-right: 35px; }
.share-card-heading h2 { margin: 4px 0 8px; }
.share-card-dialog canvas { display: block; width: min(100%, 470px); height: auto; margin: 20px auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(23,33,29,.12); }
.share-card-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.messages-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.messages-intro { text-align: center; margin-bottom: 30px; }
.messages-intro h1 { margin: 6px 0 8px; }
.messages-intro p:last-child { color: var(--muted); }

.message-start-panel,
.conversation-panel,
.message-error {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.message-start-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.message-start-form label,
.message-reply-form label { display: grid; gap: 7px; font-weight: 700; }
.message-start-form small { color: var(--muted); font-weight: 500; }

.conversation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.conversation-heading h2 { margin: 4px 0 0; }
.safety-banner { display: flex; gap: 10px; margin: 22px 0; padding: 14px 16px; border-left: 5px solid var(--brand); background: #fff7ed; }
.conversation-thread { display: grid; gap: 14px; max-height: 560px; overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.message-bubble { width: min(78%, 620px); padding: 14px 16px; border-radius: 16px; }
.message-bubble p { margin: 5px 0; white-space: pre-wrap; }
.message-bubble time { color: var(--muted); font-size: .78rem; }
.message-mine { justify-self: end; background: #dff1e5; border-bottom-right-radius: 4px; }
.message-theirs { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.message-reply-form { display: grid; gap: 12px; margin-top: 18px; }
.message-reply-form textarea { width: 100%; }

@media (max-width: 640px) {
  .message-start-form { grid-template-columns: 1fr; }
  .conversation-heading, .safety-banner { flex-direction: column; }
  .message-bubble { width: 92%; }
}

@media (max-width: 900px) {
  .wanted-layout { grid-template-columns: 1fr; }
  .iso-promo { align-items: flex-start; flex-direction: column; }
  .match-alert-panel { grid-template-columns: 1fr; }
  .private-reader-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wanted-form, .wanted-card dl { grid-template-columns: 1fr; }
  .match-alert-form { grid-template-columns: 1fr; }
  .wanted-hero, .wanted-layout, .iso-promo, .match-alert-panel { width: min(100% - 24px, 1180px); }
  .reader-results-list div { grid-template-columns: 1fr; gap: 3px; }
}
