/* Self-hosted fonts (Barlow, SIL Open Font License) - faster, no third-party requests */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.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: "Barlow Condensed"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-600i.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: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700i.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; }
/* Fair Deals Auto Repairs — shared styles (moved out of index.html so every page caches one file) */
/* Layout: one mobile column, thumb-reach actions pinned to the bottom, widening to a centered 720px column on larger screens. */
:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #161618;
  --line: #2b2b2f;
  --fg: #f5f5f4;
  --muted: #a3a3a8;
  --red: #e10a14;
  --red-text: #ff4a4a;
  --on-red: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f5f3; --surface: #ffffff; --line: #dcdad6; --fg: #121213; --muted: #55555b; --red: #c8000a; --red-text: #c8000a; --on-red: #ffffff;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f3; --surface: #ffffff; --line: #dcdad6; --fg: #121213; --muted: #55555b; --red: #c8000a; --red-text: #c8000a; --on-red: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-inline: 1rem;
  padding-block: 0 6.5rem;
}
.wrap { max-width: 44rem; margin-inline: auto; display: flex; flex-direction: column; gap: 3rem; min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 12.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); }
.muted { color: var(--muted); }

/* top bar */
.top { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); margin-inline: -1rem; padding-inline: 1rem; }
.top img { width: 83px; height: 38px; display: block; flex: none; border-radius: 4px; }
.top b { min-width: 0; line-height: 1.05; font-family: var(--display); font-style: italic; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; }
.top span { margin-left: auto; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* hero */
.hero { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 0.5rem; }
.hero .logo { width: min(100%, 26rem); height: auto; display: block; align-self: center; border-radius: 0.75rem; }
.hero h1 em { font-style: italic; color: var(--red-text); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.btns { display: flex; flex-direction: column; gap: 0.75rem; }
.btn { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.5rem; padding-inline: 1.25rem; border-radius: 0.5rem; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--red); }
.btn.primary { background: var(--red); color: var(--on-red); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn svg { width: 1.3rem; height: 1.3rem; flex: none; }
.numbers { font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.numbers b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

/* trust strip */
.strip { display: grid; grid-template-columns: 1fr; gap: 0; border-block: 1px solid var(--line); }
.strip div { padding-block: 0.85rem; display: flex; gap: 0.75rem; align-items: baseline; }
.strip div + div { border-top: 1px solid var(--line); }
.strip b { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 1.25rem; min-width: 8.5rem; }
.strip span { color: var(--muted); font-size: 0.98rem; }

/* sections */
section { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.checks li { background: var(--surface); border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.8rem 0.9rem; font-weight: 500; font-size: 0.98rem; line-height: 1.25; display: flex; gap: 0.55rem; align-items: flex-start; min-width: 0; }
.checks li::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-top: 0.3rem; background: var(--red); transform: skewX(-20deg); }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 0.5rem; padding: 1rem; }
.steps li::before { content: counter(s); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 2.4rem; line-height: 0.9; color: var(--red-text); }
.steps h3 { margin-bottom: 0.25rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }

.rust { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0.5rem; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; }
.rust ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.3rem; }

/* message builder */
.builder { background: var(--surface); border: 1px solid var(--line); border-radius: 0.5rem; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.builder label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.builder input, .builder select { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 0.5rem; min-height: 3rem; padding-inline: 0.8rem; width: 100%; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hint { font-size: 0.9rem; color: var(--muted); }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 3.5rem; font-weight: 600; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.8rem; color: var(--red-text); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 1rem; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 1.75rem 1rem; display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.95rem; color: var(--muted); }
footer .name { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; color: var(--fg); }
footer a { color: var(--fg); }

/* pinned actions */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
.dock .btn { min-height: 3.25rem; }

@media (min-width: 640px) {
  body { font-size: 1.125rem; padding-block: 0 7rem; }
  .btns { flex-direction: row; }
  .btns .btn { flex: 1; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip div { flex-direction: column; gap: 0.2rem; padding-inline: 1rem; }
  .strip div + div { border-top: 0; border-left: 1px solid var(--line); }
  .strip b { min-width: 0; }
  .checks { grid-template-columns: repeat(3, 1fr); }
  .top { margin-inline: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- added for multi-page site ---- */
.top a.home { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--fg); }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0.5rem; padding: 1rem 1.1rem; color: var(--muted); font-size: 0.98rem; }
.note b { color: var(--fg); }
.prose { display: flex; flex-direction: column; gap: 0.9rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.prose b { color: var(--fg); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.chips a { border-color: var(--red); }
.cards { display: grid; gap: 0.75rem; }
.cards a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 0.5rem; padding: 1rem; text-decoration: none; }
.cards a h3 { margin-bottom: 0.3rem; }
.cards a p { color: var(--muted); font-size: 0.98rem; }
.cards a span { color: var(--red-text); font-weight: 600; font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.fine { font-size: 0.85rem; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
/* mobile: keep the hero logo small so the WhatsApp / Call buttons sit above the fold */
.hero .logo { width: min(100%, 13rem); }
@media (min-width: 640px) { .hero .logo { width: min(100%, 26rem); } }
/* accessibility: comfortable 44px tap targets for footer links */
footer nav a, footer a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.25rem; }
/* text only screen readers hear */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* promo banner (hidden automatically after the promo ends) */
.promo-bar { margin: 0.75rem 0 0; padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--red); color: var(--on-red); font-size: 0.98rem; line-height: 1.4; }
.promo-bar a { color: var(--on-red); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.promo-only b { color: inherit; }
