/* claude-styles.css: one small stylesheet for every page. No framework. */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1c1f23;
  --muted: #5b6370;
  --border: #dcdfe4;
  --accent: #0b5cad;
  --accent-text: #ffffff;
  --warn-bg: #fff4d6;
  --warn-text: #6b4a00;
  --muted-bg: #eceef1;
  --error: #a3261b;
  --insider-bg: #eef6ff;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121417; --surface: #1b1e23; --text: #e8eaed; --muted: #a2a9b4; --border: #2e333a;
    --accent: #6fb1ff; --accent-text: #0b1420; --warn-bg: #3a2f10; --warn-text: #ffd98a;
    --muted-bg: #262a30; --error: #ff8a7a; --insider-bg: #17263a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121417; --surface: #1b1e23; --text: #e8eaed; --muted: #a2a9b4; --border: #2e333a;
  --accent: #6fb1ff; --accent-text: #0b1420; --warn-bg: #3a2f10; --warn-text: #ffd98a;
  --muted-bg: #262a30; --error: #ff8a7a; --insider-bg: #17263a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); }
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
.brand span { font-weight: 400; color: var(--muted); font-size: .9em; }
nav a { margin-right: 16px; text-decoration: none; }
nav a:last-child { margin-right: 0; }

h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin: 28px 0 8px; }
h2 { font-size: 1.25rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.lede { font-size: 1.1rem; color: var(--muted); }
.notice { background: var(--muted-bg); padding: 10px 12px; border-radius: var(--radius); font-size: .92rem; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.vin-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
input[type=text], input[type=email] {
  flex: 1 1 260px; min-width: 0; width: 100%; padding: 12px; font-size: 1.05rem; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg); color: var(--text);
}
#vin { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
button { background: var(--accent); color: var(--accent-text); border: 0; border-radius: 8px; padding: 12px 20px; font-size: 1rem; font-weight: 600; cursor: pointer; }
button:disabled { opacity: .6; cursor: progress; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.help { color: var(--muted); font-size: .9rem; }
.error { color: var(--error); }
.loading { color: var(--muted); font-style: italic; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.src { font-size: .85rem; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; margin: 0 0 12px; }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.program { border-top: 1px solid var(--border); padding-top: 4px; }
.program:first-of-type { border-top: 0; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.pill-warn { background: var(--warn-bg); color: var(--warn-text); }
.pill-muted { background: var(--muted-bg); color: var(--muted); }

.list { padding-left: 20px; }
.list li { margin-bottom: 14px; }
.list p { margin: 2px 0; }
.links { padding-left: 20px; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: .8rem; color: var(--muted); text-transform: uppercase; }
progress { display: block; width: 100%; max-width: 140px; height: 6px; margin-top: 4px; accent-color: var(--accent); }

.insider { background: var(--insider-bg); border-radius: var(--radius); padding: 12px 16px; margin-top: 16px; }
.insider h3, .insider h2 { margin-top: 4px; }
.placeholder { font-style: italic; color: var(--muted); }

.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.aff-slot { border: 1px dashed var(--border); border-radius: var(--radius); padding: 12px; }
.aff-label { font-size: .75rem; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; letter-spacing: .04em; }

.alert-form { display: grid; gap: 8px; }
.alert-form label { font-weight: 600; }
.alert-form .consent { font-weight: 400; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.alert-form .consent input { margin-top: 4px; }
.alert-form button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.faq details { border-top: 1px solid var(--border); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }

article.guide h2 { margin-top: 28px; }
.guide .card { margin: 16px 0; }
.toc { font-size: .95rem; }
.meta { color: var(--muted); font-size: .9rem; }

.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 20px 0 40px; font-size: .85rem; color: var(--muted); }

/* Ignition question (anti-theft programs) */
.ignition-q { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 16px; background: var(--muted-bg); }
.ignition-q legend { font-weight: 700; padding: 0 4px; }
.choice { display: block; padding: 6px 0; cursor: pointer; }
.choice input { margin-right: 8px; }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
