@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/archivo-var.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plexmono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/plexmono-500.woff2") format("woff2");
}

/* SuspensionRepair.com
   Tokens first. One accent, one radius scale, one theme per page. */

:root {
  --ink: #14171b;
  --ink-2: #454c55;
  --ink-3: #5e6773;
  --line: #d7dbde;
  --line-2: #e7eaec;
  --paper: #f3f4f4;
  --card: #ffffff;
  --accent: #b4471c;
  --accent-dark: #8e3714;
  --accent-soft: #f7e9e2;
  --radius: 2px;
  --wrap: 1140px;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f2;
    --ink-2: #b4bcc4;
    --ink-3: #8d969f;
    --line: #2c3238;
    --line-2: #23282d;
    --paper: #101215;
    --card: #171a1e;
    --accent: #e08a5e;
    --accent-dark: #f0a37b;
    --accent-soft: #2a2019;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.muted { color: var(--ink-3); }
.small { font-size: 0.83rem; line-height: 1.5; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.more { margin-top: 1.5rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font: 600 0.94rem/1 var(--font); letter-spacing: 0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 15px; font-size: 0.86rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-full { width: 100%; justify-content: center; }

.link-arrow { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-arrow::after { content: " →"; }

/* ------------------------------------------------------------------- nav */

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; white-space: nowrap;
}
.brand-mark {
  width: 16px; height: 16px; border-radius: 3px;
  background: var(--ink) url("/favicon.svg") center/10px no-repeat;
}
.brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.92rem; }
.nav-links a { color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .btn { margin-left: 4px; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 44px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { max-width: 20ch; }
.hero-sub { margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.zip { display: flex; gap: 8px; margin-top: 26px; max-width: 460px; }
.zip input {
  flex: 1; min-width: 0; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink); font: 400 1rem var(--font);
}
.zip input::placeholder { color: var(--ink-3); }
.zip-hint { margin-top: 10px; font-size: 0.82rem; }
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.hero-figure figcaption { margin-top: 10px; font-size: 0.78rem; color: var(--ink-3); line-height: 1.45; }

/* ----------------------------------------------------------------- stats */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 20px 0; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--mono); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; }
.stat-l { font-size: 0.78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.09em; }

/* --------------------------------------------------------------- section */

.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-head { padding: 38px 0 6px; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 + p, .section h2 + .lede { margin-top: 14px; }
.lede { color: var(--ink-2); max-width: 62ch; font-size: 1.02rem; }

/* ------------------------------------------------------------- calculator */

.calc-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.calc-copy p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.calc-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.calc-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.calc-out { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.calc-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 6px; }
.calc-range { font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; margin: 0; }
.calc-split { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 16px; font-size: 0.85rem; color: var(--ink-3); }
.calc-split strong { color: var(--ink); font-family: var(--mono); font-weight: 500; }

/* ----------------------------------------------------------- fields/forms */

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: 400 0.95rem var(--font);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

/* ----------------------------------------------------------------- chips */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 26px; }
.chip {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--ink-2); font: 500 0.86rem var(--font); cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.symptom-panel { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; }
.sp-feel { color: var(--ink-2); max-width: 66ch; }
.sp-causes { list-style: none; margin: 18px 0; }
.sp-causes li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px;
  padding: 13px 0; border-bottom: 1px solid var(--line-2);
}
.sp-causes li:first-child { border-top: 1px solid var(--line-2); }
.sp-causes a { font-weight: 500; }
.sp-causes .num { color: var(--ink); }
.sp-why { grid-column: 1 / -1; color: var(--ink-3); font-size: 0.87rem; }

/* ----------------------------------------------------------- state/cities */

.state-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 34px; margin-top: 30px; }
.state-item { border-top: 1px solid var(--line); padding-top: 14px; }
.state-name { font-weight: 600; display: block; }
.state-item .small { display: block; margin-top: 2px; }
.state-cities { margin: 8px 0 0; font-size: 0.86rem; color: var(--ink-2); line-height: 1.6; }
.state-cities a { border-bottom: 1px solid var(--line); }
.state-cities a:hover { border-color: var(--accent); }
.state-grid-wide { grid-template-columns: repeat(3, 1fr); }

.city-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.city-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 5px; }
.city-card a { font-weight: 500; }
.nearby { border-top: 1px solid var(--line); padding-top: 32px; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.nearby-links a { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------- tables */

.table-scroll { overflow-x: auto; margin: 22px 0 10px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.cost-table caption { text-align: left; font-size: 0.8rem; color: var(--ink-3); padding-bottom: 10px; }
.cost-table th, .cost-table td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-2); }
.cost-table thead th {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-3); border-bottom: 1px solid var(--line);
}
.cost-table tbody th { font-weight: 500; }
.cost-table .num { text-align: right; padding-right: 18px; white-space: nowrap; }
.cost-table tbody tr:last-child th, .cost-table tbody tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------- listings */

.shop-list { list-style: none; margin-top: 24px; }
.shop-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: start;
}
.shop-row:first-child { border-top: 1px solid var(--line); }
.shop-name { font-weight: 600; font-size: 1.02rem; }
.shop-addr { margin: 3px 0 0; color: var(--ink-2); font-size: 0.9rem; }
.shop-cat { margin: 3px 0 0; font-size: 0.8rem; }
.shop-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.rating { font-size: 0.88rem; }
.rating strong { font-family: var(--mono); }
.shop-phone { font-family: var(--mono); font-size: 0.88rem; border-bottom: 1px solid var(--line); }

.shop-head { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.shop-meta { margin-top: 10px; color: var(--ink-3); font-size: 0.86rem; }
.shop-facts { border: 1px solid var(--line); background: var(--card); padding: 18px; border-radius: var(--radius); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.hours caption { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-3); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { font-family: var(--mono); font-size: 0.83rem; text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.shop-web { margin: 14px 0 0; font-size: 0.85rem; overflow-wrap: anywhere; }
.services { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 34px; }
.tag { border: 1px solid var(--line); padding: 5px 10px; font-size: 0.8rem; color: var(--ink-2); border-radius: var(--radius); }

/* ------------------------------------------------------------------ pages */

.page-head { max-width: none; }
.page-head .lede { margin-top: 16px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.price-hero { font-family: var(--mono); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 22px; letter-spacing: -0.02em; }
.price-hero span { font-family: var(--font); font-size: 0.85rem; letter-spacing: 0; }

.two-col { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: start; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); line-height: 1.68; }
.prose h2 { margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--ink-2); }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose blockquote {
  margin: 26px 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent);
  font-size: 1.05rem; color: var(--ink); line-height: 1.5;
}

.side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }
.side-box { border: 1px solid var(--line); background: var(--card); padding: 18px; border-radius: var(--radius); }
.side-box h3 { margin-bottom: 10px; }
.side-links { list-style: none; font-size: 0.92rem; }
.side-links li { padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.side-links li:last-child { border-bottom: none; }
.side-box .btn { margin-top: 12px; }

.check-list { list-style: none; margin: 16px 0 0; }
.check-list li { position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--ink-2); line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 9px; height: 9px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.ask-list, .warn-list { list-style: none; margin: 16px 0 0; }
.ask-list li, .warn-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); position: relative; }
.ask-list li::before { content: "?"; position: absolute; left: 0; font-family: var(--mono); color: var(--accent); }
.warn-list li::before { content: "!"; position: absolute; left: 0; font-family: var(--mono); color: var(--accent); }

.cause-list { margin-top: 18px; }
.cause { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cause:first-child { border-top: 1px solid var(--line); }
.cause-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.cause-head a { font-weight: 600; }
.cause-head .num { font-size: 0.9rem; white-space: nowrap; }
.cause p { margin: 6px 0 0; font-size: 0.9rem; }

.urgency { margin-top: 20px; padding: 13px 16px; border-left: 3px solid var(--ink-3); background: var(--card); font-size: 0.92rem; }
.urgency-now { border-left-color: var(--accent); }
.urgency-soon { border-left-color: var(--ink); }

.symptom-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.symptom-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.symptom-card a { font-weight: 600; }
.symptom-card p { margin: 0; }

/* ----------------------------------------------------------------- guides */

.guide-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.guide-figure { margin: 0; }
.guide-figure img { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; }
.guide-list { list-style: none; margin-top: 22px; }
.guide-list li { padding: 16px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 5px; }
.guide-list li:first-child { border-top: 1px solid var(--line); }
.guide-list a { font-weight: 500; font-size: 1.02rem; }
.guide-list-lg { margin-top: 8px; }
.guide-list-lg li { padding: 22px 0; }
.guide-list-lg a { font-size: 1.15rem; font-weight: 600; }

.article { max-width: 74ch; }
.article .lede { margin-top: 18px; }
.article-meta { margin-top: 14px; }
.article .prose { margin-top: 34px; max-width: none; }
.article-foot { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-foot h2 { font-size: 1.15rem; margin-bottom: 12px; }

.faq { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  cursor: pointer; padding: 15px 0; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq-item[open] summary::after { content: "-"; }
.faq-a p { margin: 0 0 16px; color: var(--ink-2); font-size: 0.94rem; line-height: 1.65; }

/* ------------------------------------------------------------------ quote */

.quote-band {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px;
  border: 1px solid var(--line); background: var(--card); padding: 34px; border-radius: var(--radius);
}
.quote-band p { color: var(--ink-2); margin-top: 14px; max-width: 40ch; }
.quote-form { display: grid; gap: 14px; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-wide { grid-column: 1 / -1; }
.qf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.qf-note { margin: 0; font-size: 0.78rem; color: var(--ink-3); max-width: 34ch; }
.form-status { margin: 0; font-size: 0.86rem; color: var(--accent); min-height: 1.2em; }

.quote-page { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.quote-page .lede { margin-top: 14px; }
.quote-page-form { border: 1px solid var(--line); background: var(--card); padding: 26px; border-radius: var(--radius); }

/* ----------------------------------------------------------- breadcrumbs */

.crumbs { padding: 18px 20px 0; font-size: 0.78rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumb-sep { opacity: 0.5; }

/* ----------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; }
.foot-col h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 500; margin-bottom: 3px; }
.foot-col a { color: var(--ink-2); }
.foot-note { color: var(--ink-3); font-size: 0.84rem; max-width: 36ch; margin-top: 6px; line-height: 1.55; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 0.78rem; color: var(--ink-3);
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero-grid, .calc-grid, .two-col, .guide-split, .quote-band, .quote-page, .shop-head { grid-template-columns: 1fr; gap: 30px; }
  .state-grid, .state-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid, .city-grid { grid-template-columns: repeat(2, 1fr); }
  .side { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .cost-table .unit { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 46px 0; }
  .section-tight { padding: 32px 0; }
  .nav-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 9px; gap: 8px 14px; }
  .nav-links {
    order: 3; width: 100%; margin-left: 0; gap: 16px;
    overflow-x: auto; font-size: 0.86rem; white-space: nowrap;
    padding-bottom: 2px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav .btn { margin-left: auto; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat + .stat { padding-left: 0; border-left: none; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .calc-fields, .qf-grid { grid-template-columns: 1fr; }
  .state-grid, .state-grid-wide, .symptom-grid, .city-grid { grid-template-columns: 1fr; }
  .shop-row { grid-template-columns: 1fr; }
  .shop-side { align-items: flex-start; text-align: left; }
  .quote-band { padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .zip { flex-direction: column; }
  .zip .btn { width: 100%; justify-content: center; }
}

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