/* 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;
  --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); }
.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); text-decoration: none;
  border-radius: 8px; padding: 11px 22px; white-space: nowrap;
  box-shadow: 0 3px 0 #B93A14;
}
.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); 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); }
.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); 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; }

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