/* Small-screen and safety overrides layered on top of each page's own styles. */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
select.cl-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.cl-mnav { display: none; }

@media (max-width: 860px) {
  .cl-mnav { display: flex; justify-content: center; gap: 28px; padding: 0 20px 6px; font-size: 15px; font-weight: 500; position: relative; }
  .cl-mnav a { text-decoration: none; opacity: .85; padding: 10px 2px; }
}
@media (max-width: 700px) {
  section, footer, main, header.cl-header { padding-left: 20px !important; padding-right: 20px !important; }
  header.cl-header { padding-top: 18px !important; padding-bottom: 14px !important; gap: 12px !important; }
  header.cl-header img { height: 40px !important; }
  header.cl-header .cl-btn { min-height: 40px !important; padding: 0 16px !important; font-size: 14px !important; }
  #process, #why, #calculator, #call { padding-top: 76px !important; padding-bottom: 76px !important; }
  #faq { padding-bottom: 76px !important; }
  h1 { font-size: clamp(38px, 11.5vw, 54px) !important; width: auto !important; max-width: 100% !important; }
  #top { padding-top: 24px !important; padding-bottom: 56px !important; gap: 22px !important; }
  #top p { width: auto !important; font-size: 17px !important; }
  #top ul { gap: 10px 20px !important; margin-top: 8px !important; }
  h2 { font-size: clamp(32px, 9vw, 40px) !important; }
  #why h2 { font-size: clamp(32px, 9.5vw, 44px) !important; }
  #calculator form, #calculator .cl-leather { padding: 28px 22px !important; }
  .cl-leather-big { padding: 28px 24px !important; }
  .cl-book-card, .cl-audit-card { padding: 28px 20px !important; border-radius: 22px !important; gap: 28px !important; }
  .cl-day { height: 44px; font-size: 14px; border-radius: 10px; }
  .cl-faq summary { font-size: 18px; padding: 20px 0; gap: 16px; }
  .cl-detail { padding: 22px 20px; }
  .cl-detail[style] { grid-column: auto !important; }
  .cl-audit-card [style*="grid-template-columns: repeat(2"] { grid-template-columns: minmax(0, 1fr) !important; }
  .cl-grade-row { gap: 20px !important; }
  footer > div > div { gap: 32px !important; }
  footer > div > div > div { gap: 28px 40px !important; }
  label[for="au-leads"], label[for="au-capacity"] { flex: 1 1 100%; }
  #au-leads, #au-capacity { flex: 1 1 100% !important; width: 100% !important; text-align: left !important; }
}
@media (max-width: 420px) {
  .cl-slots { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .cl-opt { flex: 1 1 100%; }
}
