:root {
  --white: #ffffff;
  --panel: #eef1fa;
  --ink: #1a2347;
  --muted: #545d80;
  --blue: #415dbf;
  --blue-deep: #2f4699;
  --yellow: #f6d844;
  --line: #d9deee;
  --error: #b42318;

  --font: "Familjen Grotesk", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem);

  --radius-s: 10px;
  --radius-l: 22px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; }

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

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  z-index: 20;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Top strip: the one standing invitation to text or call */
.topbar { background: var(--ink); color: var(--white); font-size: 0.875rem; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 10px; padding-block: 8px; }
.topbar-msg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar-msg::before {
  content: "";
  width: 15px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}
.topbar a { color: var(--yellow); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.topbar :focus-visible { outline-color: var(--yellow); }
.topbar.is-closed .topbar-open, .topbar:not(.is-closed) .topbar-closed { display: none; }

/* Header: logo, a segmented nav that matches the form's Fix/Sell switch, and a call pill */
.top { padding-block: 20px; }
.top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}
.brand { justify-self: start; display: block; }
.brand img { width: clamp(150px, 22vw, 200px); }
.nav {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--panel);
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.manage-body .top-inner { grid-template-columns: 1fr auto; }
.manage-body .top-call { justify-self: end; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.top-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  transition: border-color 0.15s;
}
.top-call:hover { border-color: var(--ink); }
.call-icon { width: 18px; height: 18px; fill: currentColor; display: none; }

/* Open/closed status and directions, each with a small dropdown */
.pop-wrap { position: relative; }
.status, .icon-btn {
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: border-color 0.15s;
}
.status:hover, .icon-btn:hover, .status[aria-expanded="true"], .icon-btn[aria-expanded="true"] { border-color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 9px 14px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); position: relative; }
.status.is-open .status-dot { background: #1e9e57; }
.status.is-closed .status-dot { background: #d4423a; }
@media (prefers-reduced-motion: no-preference) {
  .status.is-open .status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #1e9e57;
    animation: breathe 2.4s ease-out infinite;
  }
  @keyframes breathe { from { opacity: 0.6; scale: 1; } to { opacity: 0; scale: 2.6; } }
}
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
/* "24/7" tag on the text button, like a notification badge */
.icon-text { position: relative; }
.badge-247 {
  position: absolute;
  top: -7px;
  right: -9px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}

.pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: 264px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
}
.pop[hidden] { display: none; }
.pop-title { font-weight: 700; }
.pop-note, .pop-addr { color: var(--muted); font-size: var(--step--1); margin-top: 10px; }
.pop-addr { margin: 4px 0 12px; }
.hours-mini { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.hours-mini th, .hours-mini td { padding: 5px 0; border-bottom: 1px solid var(--panel); }
.hours-mini th { text-align: left; font-weight: 400; color: var(--muted); }
.hours-mini td { text-align: right; }
.hours-mini tr.today th, .hours-mini tr.today td { color: var(--ink); font-weight: 700; }
.pop-link {
  display: block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.pop-link:first-of-type { background: var(--yellow); }
.pop-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 33rem);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.hero-copy { padding-top: clamp(8px, 4vw, 56px); position: relative; z-index: 1; }
.hero h1 {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 11ch;
  text-wrap: balance;
}
.h1-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: var(--step-0);
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--blue-deep);
}
.lede {
  margin-top: 22px;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--muted);
  max-width: 34ch;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 10px;
}
.facts li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* The signature: the logo's yellow oval, scaled up behind the form */
.form-stage { position: relative; isolation: isolate; }
.oval {
  position: absolute;
  z-index: -1;
  width: 135%;
  aspect-ratio: 1.85 / 1;
  left: -12%;
  top: 50%;
  translate: 0 -50%;
  rotate: -8deg;
  border-radius: 50%;
  background: var(--yellow);
}

.quote, .done {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3.4vw, 34px);
  box-shadow: 8px 8px 0 var(--ink);
}
.quote-title {
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

/* Repair / Buy switch */
.mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 22px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--panel);
}
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode span {
  display: block;
  text-align: center;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.15s, color 0.15s;
}
.mode input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.mode input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.panel[hidden] { display: none; }

/* Device search */
.combo { position: relative; }
.combo-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-s);
  box-shadow: 4px 4px 0 var(--ink);
  max-height: 280px;
  overflow-y: auto;
}
.combo-list li { padding: 9px 10px; border-radius: 6px; cursor: pointer; }
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: var(--panel); }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block;
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 7px;
  padding: 0;
}
.opt { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--panel);
  border: 1.5px solid transparent;
  border-radius: var(--radius-s);
  padding: 12px 14px;
  transition: border-color 0.15s, background-color 0.15s;
}
textarea { resize: vertical; min-height: 84px; }
input[type="file"] { width: 100%; font: inherit; font-size: var(--step--1); color: var(--muted); }
input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 14px;
  margin-right: 12px;
  cursor: pointer;
}
input::placeholder, textarea::placeholder { color: #8a91ad; }
input:hover, textarea:hover { border-color: var(--line); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
input:focus-visible, textarea:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(65, 93, 191, 0.25); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chips.invalid .chip span { border-color: #e5a29b; }

.err { color: var(--error); font-size: var(--step--1); margin-top: 6px; min-height: 0; }
.err:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.send {
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--ink);
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 15px 20px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 4px 0 var(--ink);
}
.send:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.send:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.send[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.fine { margin-top: 12px; font-size: var(--step--1); color: var(--muted); text-align: center; }
.form-msg { margin-top: 10px; color: var(--error); font-weight: 500; text-align: center; }
.form-msg:empty { display: none; }

.done h2 { font-size: var(--step-2); margin-bottom: 12px; }
.done p { color: var(--muted); max-width: 36ch; }
.done strong { color: var(--ink); white-space: nowrap; }
.done a { white-space: nowrap; }
.done:focus { outline: none; }
.again {
  margin-top: 22px;
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .done:not([hidden]) { animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
  @keyframes pop { from { transform: scale(0.96); opacity: 0; } }
}

/* Sections below the fold stay quiet */
section h2 {
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fixes { background: var(--panel); padding-block: clamp(56px, 8vw, 96px); }
.fix-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.fix-list > div { padding-block: 20px; border-top: 1.5px solid var(--line); }
.fix-list dt { font-weight: 700; font-size: var(--step-1); }
.fix-list dt a { color: inherit; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.fix-list dt a:hover { text-decoration-color: var(--blue); }
.fix-list dd { color: var(--muted); margin-top: 4px; max-width: 30ch; }

.reviews { padding-block: clamp(64px, 9vw, 112px); }
/* Reviews: Google rating card plus review cards */
.rv-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 20px;
}
.rv-summary {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.rv-source { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.rv-source .g-logo { width: 28px; height: 28px; padding: 5px; box-sizing: content-box; background: var(--white); border-radius: 50%; }
.rv-score { font-size: clamp(4rem, 3rem + 4vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; margin-top: 28px; }
.rv-count { margin-top: 8px; font-weight: 500; }
.rv-link {
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.rv-summary .stars-lg { margin-top: 12px; }
.rv-link:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.rv-write { margin-top: 10px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.rv {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.rv-blue { background: var(--panel); color: var(--blue-deep); }
.rv-yellow { background: var(--yellow); color: var(--ink); }
.rv-ink { background: var(--ink); color: var(--white); }
.rv-who { flex: 1; min-width: 0; display: grid; gap: 3px; }
.rv-name { font-weight: 700; }
.rv-g { width: 20px; height: 20px; flex: none; }
.rv blockquote { font-size: var(--step-0); line-height: 1.55; color: var(--ink); text-wrap: pretty; }

/* Star rating: gold fill to --rating out of 5, gray for the rest */
.stars {
  --size: 16px;
  display: inline-block;
  width: calc(var(--size) * 5);
  height: var(--size);
  background: linear-gradient(90deg, #f5b400 calc(var(--rating) / 5 * 100%), rgba(26, 35, 71, 0.18) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
}
.stars-lg { --size: 26px; }
.rv-summary .stars { background: linear-gradient(90deg, var(--ink) calc(var(--rating) / 5 * 100%), rgba(26, 35, 71, 0.22) 0); }

.visit { background: var(--ink); color: var(--white); padding-block: clamp(56px, 8vw, 96px); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 24rem);
  gap: 40px;
  align-items: start;
}
.visit address { font-style: normal; font-size: var(--step-2); line-height: 1.3; margin-top: 24px; }
.visit-note { margin-top: 14px; color: #c3c9e2; }
.visit-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit-links a {
  color: var(--ink);
  background: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
}
.visit-links a:first-child { background: var(--yellow); }
.visit-links .short { display: none; }
@media (max-width: 560px) {
  .visit-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .visit-links a { text-align: center; padding-inline: 10px; }
  .visit-links .long { display: none; }
  .visit-links .short { display: inline; }
}
.visit-links a:hover { text-decoration: underline; }
.visit :focus-visible { outline-color: var(--yellow); }
.visit-map { display: block; width: 100%; aspect-ratio: 16 / 7; min-height: 280px; margin-top: 40px; border: 0; border-radius: var(--radius-l); background: #2a3358; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 700; font-size: var(--step-1); padding-bottom: 10px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.hours th { text-align: left; font-weight: 400; color: #c3c9e2; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--yellow); font-weight: 700; }

.foot { padding-block: clamp(40px, 6vw, 64px) 96px; color: var(--muted); font-size: var(--step--1); }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 40px;
  padding-bottom: 32px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
}
.foot-h { font-weight: 700; color: var(--ink); font-size: var(--step-0); margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col address { font-style: normal; line-height: 1.7; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-social { display: flex; gap: 10px; margin-top: 14px; }
.foot-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); }
.foot-social a:hover { border-color: var(--ink); }
.foot-social svg { width: 18px; height: 18px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-links { display: flex; gap: 20px; }
.foot a { color: inherit; }
@media (min-width: 761px) { .foot { padding-bottom: 28px; } }

/* Model picker */
.picker { display: grid; gap: 12px; }
.pk-body { display: grid; gap: 12px; }
.pk-body[hidden], .pk-chosen[hidden], .pk-detect[hidden], .pk-series[hidden], .pk-models[hidden], .pk-other[hidden] { display: none; }
.pk-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pk-brands button, .pk-series button, .pk-models button, .pk-detect button {
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pk-brands button {
  font-weight: 600;
  padding: 11px 6px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
}
.pk-brands button:hover { border-color: var(--blue); }
.pk-brands button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pk-brands button.pk-off { background: var(--panel); border-color: var(--line); border-style: dashed; color: var(--muted); opacity: 0.6; text-decoration: line-through; text-decoration-thickness: 1.5px; cursor: not-allowed; }
.picker.invalid .pk-brands button { border-color: #e5a29b; }
.pk-series { display: flex; flex-wrap: wrap; gap: 4px; }
.pk-series button {
  flex: none;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: none;
  color: var(--muted);
}
.pk-series button:hover { color: var(--ink); }
.pk-series button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pk-models { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-radius: 12px; background: var(--panel); }
.pk-models button {
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--white);
}
.pk-models button:hover { border-color: var(--blue); }
.pk-chosen {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--panel);
  font-weight: 600;
}
.pk-dot {
  flex: none;
  width: 20px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.pk-chosen-name { flex: 1; min-width: 0; }
.pk-change, .pk-help-btn {
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.pk-help { font-size: var(--step--1); color: var(--muted); }
.pk-other { display: grid; gap: 6px; }
.pk-other-label { font-size: var(--step--1); font-weight: 600; }
.pk-detect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdf5cc;
  border: 1.5px solid var(--yellow);
  font-weight: 500;
}
.pk-detect span { flex: 1 1 100%; }
.pk-detect button { font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--yellow); }
.pk-detect .pk-detect-no { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 0.18em; padding-inline: 4px; }

/* "Find your model" walkthrough */
.finder {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(20px, 4vw, 28px);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
  background: var(--white);
}
.finder::backdrop { background: rgba(26, 35, 71, 0.5); }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fd-head h2 { font-size: var(--step-2); letter-spacing: -0.015em; }
.fd-close { font: inherit; font-size: 1.1rem; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.fd-close:hover { border-color: var(--ink); }
.fd-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; margin-top: 18px; border-radius: 999px; background: var(--panel); }
.fd-tabs button { font: inherit; font-weight: 600; padding: 8px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.fd-tabs button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.fd-demo { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 20px; }
.fd-phone {
  position: relative;
  height: 280px;
  padding: 26px 10px 10px;
  border-radius: 28px;
  border: 5px solid var(--ink);
  background: #f2f2f7;
  overflow: hidden;
}
.fd-notch { position: absolute; top: 7px; left: 50%; translate: -50% 0; width: 54px; height: 12px; border-radius: 999px; background: var(--ink); }
.fd-title { font-weight: 700; font-size: 1.05rem; margin: 6px 4px 10px; }
.fd-rows { list-style: none; margin: 0; padding: 0; border-radius: 10px; background: var(--white); overflow: hidden; }
.fd-rows li { display: flex; justify-content: space-between; gap: 6px; font-size: 0.75rem; padding: 9px 10px; border-bottom: 1px solid #e5e5ea; }
.fd-rows li:last-child { border-bottom: 0; }
.fd-rows li.tap { background: #fdf5cc; font-weight: 700; }
.fd-val { color: #8a8a8e; white-space: nowrap; }
.fd-rows li.tap .fd-val { color: var(--ink); }
.fd-finger {
  position: absolute;
  right: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(65, 93, 191, 0.35);
  border: 2px solid var(--blue);
  translate: 0 -50%;
  pointer-events: none;
}
.fd-finger.press { animation: tap 1.2s ease-out; }
@keyframes tap {
  0% { opacity: 0; scale: 1.6; }
  35% { opacity: 1; scale: 1; }
  55% { scale: 0.8; }
  100% { opacity: 0.9; scale: 1; }
}
.fd-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--muted); }
.fd-steps li { transition: color 0.2s; }
.fd-steps li.on { color: var(--ink); font-weight: 600; }
.fd-lookup { margin-top: 22px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.fd-lookup label { font-weight: 600; }
.fd-codehint { font-size: var(--step--1); color: var(--muted); margin-top: 4px; }
.fd-row { display: flex; gap: 8px; margin-top: 10px; }
.fd-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.fd-row input::placeholder { text-transform: none; }
.fd-row button { font: inherit; font-weight: 700; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--yellow); color: var(--ink); cursor: pointer; }
.fd-err { color: var(--error); font-size: var(--step--1); margin-top: 8px; }
.fd-err:empty { display: none; }
@media (max-width: 480px) {
  .fd-demo { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
  .fd-phone { height: 250px; }
}

/* Inner pages */
.page-head { padding-block: clamp(24px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.page-head h1, .about h1 {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}
.page-head .lede { max-width: 46ch; }

/* For sale */
.devices { padding-block: 8px clamp(56px, 8vw, 96px); }
.devices-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.filter { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel); }
.filter[hidden] { display: none; }
.filter button {
  font: inherit;
  font-weight: 600;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.filter button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }

.listing-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 28px 24px;
}
.listing { display: flex; flex-direction: column; }
.listing[hidden] { display: none; }
.listing-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.listing-link:hover .listing-title { text-decoration: underline; text-underline-offset: 0.18em; }
.listing-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  background: var(--panel);
  overflow: hidden;
}
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-photo.no-photo {
  background:
    radial-gradient(ellipse 34% 26% at 50% 50%, var(--yellow) 98%, transparent 100%),
    var(--panel);
}
.listing-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.listing-tag {
  align-self: start;
  width: fit-content;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.listing-tag[data-condition="new"] { background: var(--yellow); }
.listing-title { font-size: var(--step-1); line-height: 1.25; margin-top: 10px; }
.listing-notes { color: var(--muted); margin-top: 4px; }
.listing-price { margin-top: auto; padding-top: 12px; font-size: var(--step-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.empty {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-l);
  border: 2px dashed var(--line);
  font-size: var(--step-1);
  color: var(--muted);
}
.empty[hidden] { display: none; }

.stock { background: var(--panel); padding-block: clamp(56px, 8vw, 96px); }
.stock .fix-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sell-cta { padding-block: clamp(56px, 8vw, 96px); }
.sell-inner { display: grid; justify-items: start; gap: 14px; }
.sell-inner p { color: var(--muted); font-size: var(--step-1); max-width: 40ch; }
.sell-btn, .about-btn {
  display: inline-block;
  width: auto;
  text-decoration: none;
  text-align: center;
  padding-inline: 32px;
}

/* About */
.about { padding-block: clamp(24px, 5vw, 56px) clamp(64px, 9vw, 112px); overflow-x: clip; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy p { font-size: var(--step-1); line-height: 1.55; max-width: 38em; margin-top: 18px; }
.about-copy h1 + p { margin-top: 28px; }
.about-copy h2 { margin-top: 44px; font-size: var(--step-2); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px !important; }
.about-actions a:not(.send) { font-weight: 600; }

.badge-stage { display: grid; justify-items: center; width: 100%; }
.badge {
  width: min(100%, 420px);
  padding-inline: 10%;
  aspect-ratio: 1.6 / 1;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  rotate: -8deg;
  display: grid;
  place-content: center;
  text-align: center;
}
.badge-num { font-size: clamp(5rem, 3rem + 9vw, 9rem); font-weight: 700; line-height: 0.85; letter-spacing: -0.05em; }
.badge-text { font-size: var(--step-1); font-weight: 600; margin-top: 8px; }

/* 404 */
.notfound { padding-block: 48px; display: grid; gap: 24px; justify-items: start; }
.notfound h1 { font-size: var(--step-3); }
.notfound img { width: 180px; }

/* Owner edit mode */
.manage { max-width: 640px; padding-bottom: 64px; }
.manage h1 { font-size: var(--step-3); letter-spacing: -0.02em; }
.muted { color: var(--muted); margin-top: 8px; }
.card {
  margin-top: 20px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: 6px 6px 0 var(--ink);
}
.photo-pick {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: var(--radius-s);
  border: 2px dashed var(--line);
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
}
.photo-pick:hover { border-color: var(--blue); }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-pick:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.photo-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hint {
  position: relative;
  font-weight: 600;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.photo-pick img:not([hidden]) + .photo-hint { align-self: end; margin-bottom: 12px; }
.cancel-edit, .signout {
  display: block;
  margin: 14px auto 0;
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.form-msg.ok { color: var(--blue-deep); }
.list-title { margin-top: 48px; font-size: var(--step-2); }
.manage-list { list-style: none; padding: 0; margin: 16px 0 0; }
.mrow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1.5px solid var(--line);
}
.mrow-photo { width: 64px; height: 64px; border-radius: var(--radius-s); background: var(--panel); overflow: hidden; grid-row: span 2; }
.mrow-photo img { width: 100%; height: 100%; object-fit: cover; }
.mrow-title { font-weight: 600; }
.mrow-meta { color: var(--muted); font-size: var(--step--1); }
.mrow-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.mrow-actions button {
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.mrow-actions button:hover { border-color: var(--ink); }
.mrow-actions .danger { color: var(--error); }
.mrow.is-sold .mrow-photo, .mrow.is-sold .mrow-title { opacity: 0.45; }

/* Questions */
.faq { padding-block: clamp(56px, 8vw, 96px); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(24px, 5vw, 64px); align-items: start; }
.faq-list { border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--blue); transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }
.faq details p a, .svc-hero .lede a { color: var(--blue-deep); font-weight: 600; }

/* Repair pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--blue-deep); }
.svc-hero { padding-block: clamp(24px, 5vw, 56px) clamp(48px, 7vw, 80px); }
.svc-hero h1 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; text-wrap: balance; }
.svc-hero .lede { max-width: 48ch; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.svc-btn { width: auto; display: inline-block; text-decoration: none; text-align: center; padding-inline: 32px; }
.svc-call { font-weight: 600; color: var(--ink); }

/* Call and text buttons on inner pages; the text button carries the same 24/7 tag as the header */
.act-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.act-btn:hover { background: var(--panel); }
.act-primary { background: var(--yellow); box-shadow: 0 4px 0 var(--ink); }
.act-primary:hover { background: var(--yellow); text-decoration: underline; text-underline-offset: 0.18em; }
.act-btn svg { width: 20px; height: 20px; flex: none; }
.act-text .badge-247 { top: -9px; right: -6px; left: auto; translate: none; }
.act-btn .short { display: none; }
@media (max-width: 560px) {
  .svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-actions .svc-btn { grid-column: 1 / -1; }
  .act-btn { justify-content: center; padding-inline: 12px; }
  .act-btn .long { display: none; }
  .act-btn .short { display: inline; }
}
.models { padding-block: clamp(56px, 8vw, 96px) 0; }
.model-group { margin-top: 24px; padding-top: 16px; border-top: 1.5px solid var(--line); display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 4px 24px; }
.model-group h3 { font-size: var(--step-0); }
.model-group p { color: var(--muted); }
.landing h1 { font-size: var(--step-3); max-width: 16ch; }
.landing-more { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.hero-copy .lede a, .landing-more a, .fix-list dd a, .expect-body a { color: var(--blue-deep); font-weight: 600; }
.expect { padding-bottom: 0; }
.expect-body { display: grid; gap: 14px; color: var(--muted); max-width: 60ch; }
.related { padding-block: 0 clamp(56px, 8vw, 96px); }
.related-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-list a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.related-list a:hover { border-color: var(--ink); }

/* Repair page illustration and guide */
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.svc-art { width: 100%; max-width: 440px; justify-self: end; }
/* When the three hero buttons can't share one row, stack them in a tidy grid instead of letting them wrap unevenly. */
.svc-hero-text { container-type: inline-size; }
@container (max-width: 760px) {
  .svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
  .svc-actions .svc-btn { grid-column: 1 / -1; }
  .svc-actions .act-btn { justify-content: center; padding-inline: 12px; }
}

.guide { padding-block: clamp(56px, 8vw, 96px); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.guide-body { max-width: 68ch; }
.guide-meta { font-size: var(--step--1); color: var(--muted); margin-bottom: 14px; }
.guide-intro { font-size: var(--step-1); line-height: 1.45; margin-top: 18px; }
.guide-body h3 { font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.01em; margin-top: 52px; scroll-margin-top: 24px; text-wrap: balance; }
.guide-body p { margin-top: 14px; }
.guide-body p a, .guide-list a { font-weight: 600; }
.guide-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.guide-list { list-style: none; margin: 16px 0 0; padding: 0; }
.guide-list li { position: relative; padding-left: 28px; margin-top: 10px; }
.guide-list li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 1.5px solid var(--ink); }
.guide-tip { background: var(--panel); border-radius: var(--radius-s); padding: 16px 20px; }
.guide-body .guide-tip { margin-top: 20px; }
.guide-tip strong { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--yellow); font-size: var(--step--1); }
.guide-fig { margin-top: 28px; }
.guide-fig img { width: 100%; padding: clamp(14px, 3vw, 28px); border: 1.5px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.guide-fig figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius-l); background: var(--panel); }
.guide-body .guide-cta p { margin: 0; max-width: 46ch; }
.guide-cta .act-btn { flex: none; }
.nowrap { white-space: nowrap; }

.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.dodont > div { border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: 18px 20px 20px; background: var(--white); }
.dd-do { box-shadow: 5px 5px 0 var(--ink); }
.dd-dont { background: var(--panel); }
.guide-body .dd-h { margin: 0; font-weight: 700; font-size: var(--step-1); }
.dodont ul { list-style: none; margin: 6px 0 0; padding: 0; }
.dodont li { position: relative; padding-left: 28px; margin-top: 10px; }
.dodont li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.dd-do li::before { content: "✓"; color: var(--blue); }
.dd-dont li::before { content: "✕"; color: var(--error); }

.guide-aside { position: sticky; top: 24px; display: grid; gap: 28px; }
.toc-h { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.guide-toc ol { list-style: none; margin: 10px 0 0; padding: 0; border-left: 1.5px solid var(--line); }
.guide-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted); font-size: var(--step--1); text-decoration: none; }
.guide-toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.guide-card { padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--radius-l); background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.gc-h { font-weight: 700; font-size: var(--step-1); line-height: 1.2; }
.gc-p { margin-top: 8px; color: var(--muted); font-size: var(--step--1); }
.guide-card .svc-btn { display: block; width: 100%; margin-top: 18px; padding-inline: 16px; }
.gc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.gc-row .act-btn { justify-content: center; padding-inline: 12px; }
.gc-foot { margin-top: 16px; font-size: var(--step--1); color: var(--muted); }

.steps { background: var(--panel); padding-block: clamp(56px, 8vw, 96px); }
.step-list { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step-list li { counter-increment: step; }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--yellow); color: var(--ink); }
.step-icon svg { width: 26px; height: 26px; }
.step-list h3 { margin-top: 16px; font-size: var(--step-1); }
.step-list h3::before { content: counter(step) ". "; color: var(--blue); }
.step-list p { margin-top: 6px; color: var(--muted); max-width: 30ch; }
.step-list a { font-weight: 600; }

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .guide-toc { display: none; }
  .guide-card { max-width: 30rem; }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-art { display: none; }
}
@media (max-width: 560px) {
  .guide-cta { flex-direction: column; align-items: stretch; }
  .guide-cta .act-btn { justify-content: center; }
  .dodont, .step-list { grid-template-columns: 1fr; }
  .guide-fig img { border-radius: var(--radius-s); padding: 8px; }
}

/* Single listing */
.item { padding-block: clamp(24px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.item-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-l); background: var(--panel); overflow: hidden; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-photo.no-photo { background: radial-gradient(ellipse 34% 26% at 50% 50%, var(--yellow) 98%, transparent 100%), var(--panel); }
.item-body h1 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; margin-top: 12px; }
.item-notes { color: var(--muted); font-size: var(--step-1); margin-top: 10px; }
.item-price { font-size: var(--step-3); font-weight: 700; margin-top: 18px; font-variant-numeric: tabular-nums; }
.item-status { color: var(--muted); margin-top: 4px; }
.item-visit { color: var(--muted); font-size: var(--step--1); margin-top: 20px; }

/* Mobile quote dock */
.dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10;
  text-align: center;
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 14px 20px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
}

@media (max-width: 760px) {
  .top { padding-block: 14px 8px; }
  .top-inner { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav a { flex: 1; padding-inline: 8px; }
  .top-actions { gap: 6px; }
  .top-call { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .call-icon { display: block; }
  .call-num { display: none; }
  .status { padding: 7px 12px; font-size: var(--step--1); }
  .icon-btn { width: 36px; height: 36px; }
  .badge-247 { top: -9px; right: auto; left: 50%; translate: -50% 0; }
  .icon-btn svg { width: 20px; height: 20px; }
  .top-call { width: 36px; height: 36px; }
  .status { padding: 6px 10px; gap: 6px; }
  .brand img { width: 124px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 14ch; }
  .facts { display: none; }
  .form-stage { max-width: 36rem; }
  .oval { width: 130%; left: -15%; top: 40%; }
  .fix-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-summary { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
  .rv-summary .rv-source { grid-column: 1 / -1; }
  .rv-summary .rv-score { grid-row: 2 / 4; margin-top: 16px; }
  .rv-summary .stars-lg, .rv-summary .rv-count { margin-top: 16px; }
  .rv-summary .rv-count { margin-top: 4px; align-self: start; }
  .rv-summary .rv-link, .rv-summary .rv-count + .rv-link { grid-column: 1 / -1; justify-self: start; margin-top: 20px; }
  .visit-grid { grid-template-columns: 1fr; }
  .stock .fix-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .faq-inner, .item-grid { grid-template-columns: 1fr; }
  .model-group { grid-template-columns: 1fr; }
  .badge-stage { order: -1; margin-bottom: 16px; }
  .badge { width: min(100%, 300px); }
}

/* Medium widths: the hero is one column here, so center it instead of leaving the right side empty. */
@media (min-width: 561px) and (max-width: 960px) {
  .hero-copy { text-align: center; }
  .hero h1, .hero .lede, .landing-more { margin-inline: auto; }
  .hero .lede, .landing-more { text-wrap: balance; }
  .hero .crumbs { justify-content: center; }
  .form-stage { width: 100%; margin-inline: auto; }
}

@media (max-width: 560px) {
  .lede { margin-top: 14px; font-size: var(--step-0); }
  .row { grid-template-columns: 1fr; }
  .quote, .done { box-shadow: 5px 5px 0 var(--ink); }
  .fix-list, .stock .fix-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rv-grid { grid-template-columns: 1fr; }
}
