.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--black);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid #ffbd24;
  outline-offset: 3px;
}

.card:focus-within,
.price-item:focus-within,
.question-card:focus-within,
.scenario-card:focus-within,
.seo-panel:focus-within,
.intent-card:focus-visible,
.location-card:focus-visible,
.sticky-action:focus-visible,
.search-cloud a:focus-visible {
  border-color: rgba(181, 18, 27, .42);
  box-shadow: 0 18px 45px rgba(20, 20, 20, .12);
}

.card h3 a:focus-visible,
.footer-col a:focus-visible,
.text-link:focus-visible {
  border-radius: 4px;
}

.intent-card[type="button"] {
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.page-hero > .breadcrumbs {
  display: none;
}

.main-nav a:not(.nav-phone) {
  position: relative;
  padding-block: 8px;
}

.main-nav a.is-current:not(.nav-phone) {
  color: var(--red);
  font-weight: 900;
}

.main-nav a.is-current:not(.nav-phone)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  content: "";
}

.faq-list details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(20, 20, 20, .05);
}

.faq-list details[open] {
  border-color: rgba(181, 18, 27, .26);
  box-shadow: 0 18px 48px rgba(20, 20, 20, .08);
}

.faq-list summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  content: "+";
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--red-dark); }
.faq-list details > p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.text-link {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration-color: rgba(181, 18, 27, .35);
  text-underline-offset: 4px;
}

.text-link:hover { color: var(--red); }

.calc-field input[aria-invalid="true"] {
  background: #fff8e8;
  border-color: #b5121b;
  box-shadow: 0 0 0 3px rgba(181, 18, 27, .1);
}

.calc-result.is-error {
  color: var(--black);
  background: #fff3d6;
  border: 1px solid #e6b84b;
}

.calc-result.is-error span,
.calc-result.is-error small { color: #765818; }

.calc-result.is-error strong {
  color: #7c0a10;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.error-hero h1 { max-width: 760px; }

@media (prefers-contrast: more) {
  :root {
    --muted: #3f3f3f;
    --line: #555;
    --red: #9f0711;
    --red-dark: #650006;
  }

  body {
    color: #000;
  }

  :where(a, button, input, summary):focus-visible {
    outline: 4px solid #000;
    outline-offset: 4px;
  }

  .btn,
  .nav-phone,
  .footer-phone,
  .sticky-action,
  .search-cloud a,
  .quick-facts span,
  .trust-list li {
    border: 2px solid currentColor;
  }

  .card,
  .price-item,
  .notice,
  .seo-panel,
  .question-card,
  .calc-card,
  .scenario-card,
  .intent-card,
  .faq-list details,
  .location-card {
    border-width: 2px;
  }

  .hero .lead,
  .cta-section p,
  .trust-panel p {
    color: #fff;
  }

  .page-hero .lead,
  .notice p {
    color: #111;
  }

  .text-link,
  .breadcrumbs a,
  .footer-col a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }

  .calc-field input {
    border: 2px solid #000;
  }
}

@media (max-width: 1120px) {
  .main-nav a.is-current:not(.nav-phone) {
    padding-inline: 10px;
    background: var(--red-soft);
    border-radius: 6px;
  }

  .main-nav a.is-current:not(.nav-phone)::after { display: none; }
}

@media (max-width: 760px) {
  .faq-list summary {
    padding: 18px 52px 18px 18px;
    font-size: 17px;
  }

  .faq-list summary::after { right: 16px; }
  .faq-list details > p { padding: 0 18px 18px; }
}
