/* MyAutoRecalls — self-hosted fonts (no Google Fonts request).
   IBM Plex Sans ships as ONE variable font (wght 100–700); Plex Mono as
   three static weights. Latin subsets only. The generator hash-renames
   these files; the /assets/fonts/ URLs below are rewritten at build time. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-var.e2291e842cf5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.08949f728dc5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.01d285447409.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-600.0d1f0b8d0722.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MyAutoRecalls — recall detail page styles.
   Cream document page. Vermilion reserved for alerts + primary actions.
   IBM Plex Sans for display, Plex Mono for micro-labels. No dark mode. */

:root {
  --cream: #FFF8F0;
  --espresso: #221A12;
  --vermilion: #F04A1D;
  /* Darker vermilion, same hue — AA contrast (5.03:1 on cream, 5.30:1 white-on-it).
     Normal-sized text + button backgrounds. Bright #F04A1D stays for large elements. */
  --vermilion-deep: #C43A10;
  --hairline: #E4DACA;
  --muted: #6E5F4C;
  --card: #FFFDF9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream); color: var(--espresso);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.55;
  color-scheme: light;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* ---------- header: logo on cream, breadcrumb, VIN button ---------- */
.page-head { padding: 36px 24px 0; max-width: 1080px; margin: 0 auto; }
.head-logo { display: block; width: 220px; height: auto; }
.head-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 22px; padding-bottom: 18px;
}
.crumb { font-family: "IBM Plex Mono", monospace; font-size: 0.95rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--vermilion-deep); }
.crumb .sep { margin: 0 6px; }
.crumb .here { color: var(--espresso); font-weight: 600; }
.btn-vin {
  font-family: "IBM Plex Sans", sans-serif; font-size: 0.98rem; font-weight: 600;
  color: #fff; background: var(--vermilion-deep); text-decoration: none;
  border-radius: 8px; padding: 11px 22px; white-space: nowrap;
  box-shadow: 0 3px 0 #8F2A0C;
}
.btn-vin:hover { transform: translateY(-1px); }

/* ---------- urgency banner ---------- */
.urgency {
  background: var(--vermilion); color: #fff;
  margin-top: 6px;
}
.urgency-inner {
  max-width: 1080px; margin: 0 auto; padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.urgency-icon {
  flex: none; width: 34px; height: 34px;
  border: 2px solid #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.urgency p { font-size: 1.08rem; line-height: 1.5; }
.urgency strong { font-weight: 700; }

/* ---------- title block ---------- */
.title-block { padding: 48px 0 8px; }
h1.recall-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  max-width: 20ch;
}
.meta-line {
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; color: var(--muted);
}

/* ---------- key facts ---------- */
.key-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px; border-top: 2px solid var(--espresso);
}
.fact { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--hairline); }
.fact:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--hairline); }
.fact-k { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.fact-v { font-weight: 600; font-size: 1.02rem; }
.fact-v.free { color: var(--vermilion-deep); font-size: 1.25rem; }
@media (min-width: 760px) {
  .key-facts { grid-template-columns: 2fr 1fr 1.4fr 0.6fr; }
  .fact:nth-child(even) { padding-left: 0; border-left: none; }
  .fact + .fact { padding-left: 22px; border-left: 1px solid var(--hairline); }
}

/* ---------- short version ---------- */
.short-version { margin-top: 56px; }
.short-version h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { margin-top: 10px; font-size: 1.3rem; line-height: 1.5; max-width: 34em; }

.qa-block { margin-top: 26px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.qa-k { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.qa-block p { font-size: 1.08rem; max-width: 44em; }

.qa-action {
  margin-top: 26px; padding: 28px;
  background: var(--espresso); color: var(--cream); border-radius: 10px;
}
.qa-action .qa-k { color: var(--vermilion-deep); }
.qa-action p { font-size: 1.15rem; line-height: 1.55; }

/* ---------- affected vehicles ---------- */
.vehicles { margin-top: 64px; }
.vehicles h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.vehicles .sub { color: var(--muted); margin: 6px 0 18px; font-size: 0.98rem; }
.veh-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--espresso); }
.veh-table th {
  text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
  padding: 12px 8px 12px 0;
}
.veh-table td { padding: 13px 8px 13px 0; border-bottom: 1px solid var(--hairline); font-size: 1.02rem; }
.veh-table td.yr { font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; white-space: nowrap; }
.veh-table td.mdl { font-weight: 600; }

/* ---------- what changed ---------- */
.changed { margin-top: 64px; padding: 48px 0; background: #F7F0E2; }
.changed-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.changed h2 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; }
.changed .sub { color: var(--muted); font-size: 0.95rem; max-width: 300px; }
.timeline { list-style: none; margin-top: 24px; border-top: 2px solid var(--espresso); }
.timeline li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.timeline time { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--vermilion-deep); font-weight: 600; white-space: nowrap; min-width: 104px; }
.timeline .tl-text { font-weight: 600; font-size: 1.05rem; flex: 1; }
.timeline .tl-latest { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- VIN CTA band ---------- */
.cta-band { background: var(--vermilion); color: #fff; }
.cta-inner {
  max-width: 1080px; margin: 0 auto; padding: 56px 24px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-inner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; max-width: 22ch; line-height: 1.15; }
.btn-cream {
  font-family: "IBM Plex Sans", sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--espresso); background: var(--cream); text-decoration: none;
  border-radius: 8px; padding: 15px 32px; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}
.btn-cream:hover { transform: translateY(-1px); }

/* ---------- limits ---------- */
.limits { padding: 48px 0 56px; }
.limits-grid { display: grid; grid-template-columns: 1fr; gap: 24px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.limits h2 { font-size: 1rem; font-weight: 700; }
.limits p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; max-width: 40em; }
@media (min-width: 760px) { .limits-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--vermilion); color: var(--cream); }
.footer-inner { padding: 44px 24px 36px; }
.footer-logo { display: block; width: 170px; height: auto; }
.footer-tag { margin-top: 14px; font-size: 1.05rem; font-weight: 500; }
.footer-fine { margin-top: 8px; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; opacity: 0.85; }
.footer-nav { margin-top: 20px; font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; }
.footer-nav a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(255,248,240,0.45); }
.footer-nav a:hover { border-bottom-color: var(--cream); }
.footer-nav .footer-sep { margin: 0 10px; opacity: 0.6; }

/* ---------- trust pages (Privacy / About / Contact / Methodology) ---------- */
.trust-page { padding: 12px 0 64px; }
.trust-page h2 { font-size: 1.6rem; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.01em; }
.trust-page p { font-size: 1.05rem; line-height: 1.6; max-width: 44em; margin-bottom: 12px; }
.trust-page ul { margin: 8px 0 16px 20px; font-size: 1.05rem; line-height: 1.6; max-width: 44em; }
.trust-page li { margin-bottom: 6px; }
.trust-page a { color: var(--vermilion-deep); font-weight: 600; }
.trust-note { background: #F7F0E2; border-left: 3px solid var(--vermilion-deep); padding: 16px 20px; margin: 20px 0; max-width: 44em; }
.trust-note p { margin-bottom: 0; }

/* ---------- 404 ---------- */
.not-found-wrap { padding: 64px 24px; }
.not-found-lead { margin-top: 12px; }
.not-found-link { color: var(--vermilion-deep); font-weight: 600; }
.not-found-trust { margin-top: 32px; font-size: 0.95rem; color: var(--muted); }
.not-found-trust a { color: var(--vermilion-deep); font-weight: 600; }

/* ---------- archive / hub list pages ---------- */
.list-intro { color: var(--muted); font-size: 1.02rem; margin: 12px 0 24px; max-width: 40em; }
.list-intro a { color: var(--vermilion-deep); font-weight: 600; }
.list-entries { list-style: none; border-top: 2px solid var(--espresso); }
.list-entry { border-bottom: 1px solid var(--hairline); }
.list-entry a { display: block; padding: 16px 0; text-decoration: none; color: var(--espresso); }
.list-entry a:hover .le-title { color: var(--vermilion-deep); }
.le-title { display: block; font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.le-veh { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.le-meta { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--muted); }
.badge {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--vermilion-deep);
  border: 1px solid var(--vermilion-deep); border-radius: 4px; vertical-align: middle;
}

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; }
.pagination a, .pagination .pg-here, .pagination .pg-gap {
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
  font-family: "IBM Plex Mono", monospace; font-size: 0.9rem;
}
.pagination a { color: var(--espresso); border: 1px solid var(--hairline); }
.pagination a:hover { border-color: var(--vermilion-deep); color: var(--vermilion-deep); }
.pagination .pg-here { background: var(--espresso); color: var(--cream); font-weight: 600; }
.pagination .pg-gap { color: var(--muted); }

/* ---------- hub model directory / makes A–Z ---------- */
.hub-sub { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; }
.model-dir { list-style: none; columns: 2; column-gap: 32px; }
@media (min-width: 760px) { .model-dir { columns: 3; } }
.model-dir li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--hairline); }
.model-dir a { color: var(--espresso); text-decoration: none; font-weight: 600; }
.model-dir a:hover { color: var(--vermilion-deep); }
.hub-count { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--muted); font-weight: 400; }

/* ---------- cross-links on recall pages ---------- */
.cross-links { margin-top: 64px; padding: 40px 0; background: #F7F0E2; }
.cross-links h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.cross-links .sub { color: var(--muted); margin: 6px 0 18px; font-size: 0.98rem; }
.cross-list { list-style: none; border-top: 2px solid var(--espresso); }
.cross-list li { border-bottom: 1px solid var(--hairline); }
.cross-list a { display: block; padding: 13px 0; text-decoration: none; color: var(--espresso); }
.cross-list a:hover .xl-title { color: var(--vermilion-deep); }
.xl-title { font-weight: 600; font-size: 1.02rem; }
.xl-meta { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--muted); margin-left: 8px; }
.hub-links { margin-top: 18px; font-size: 0.98rem; }
.hub-links a { color: var(--vermilion-deep); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
