/* Revenue Leak Calculator — first non-Calendly conversion path.
   Uses the site's existing tokens (--orange, --muted, --line, --glass, --font). */
.tool-main { padding-top: 120px }
.tool-hero, .tool-calc, .tool-body { max-width: 1180px; margin: 0 auto; padding: 0 24px }
.tool-hero { padding-top: 12px; padding-bottom: 40px }
.tool-hero h1 { margin: 12px 0 0; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em }
.tool-lede { max-width: 62ch; margin: 18px 0 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; color: var(--muted) }

.calc-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1.15fr .85fr } }

.calc-inputs, .calc-result {
  border: 1px solid var(--line); border-radius: 22px; background: var(--glass); padding: 26px
}
.calc-field { margin-bottom: 24px }
.calc-field:last-child { margin-bottom: 0 }
.calc-field label {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 10px
}
.calc-field label em { font-style: italic; color: var(--orange); font-weight: 600 }
.calc-field output { font-variant-numeric: tabular-nums; color: var(--orange); font-weight: 600 }
.calc-hint { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--muted); opacity: .8 }

.calc-field input[type=number] {
  width: 100%; padding: 13px 15px; font-family: var(--font); font-size: 17px; font-weight: 600;
  color: var(--white); background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; -moz-appearance: textfield
}
.calc-field input[type=number]::-webkit-outer-spin-button,
.calc-field input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0 }
.calc-field input[type=number]:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px }

.calc-money { position: relative; display: flex; align-items: center }
.calc-money > span { position: absolute; left: 15px; color: var(--muted); font-weight: 600; pointer-events: none }
.calc-money input { padding-left: 30px !important }

.calc-field input[type=range] {
  width: 100%; height: 4px; border-radius: 4px; appearance: none;
  background: var(--line); cursor: pointer
}
.calc-field input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); border: 3px solid #1a1a1a; cursor: pointer
}
.calc-field input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--orange);
  border: 3px solid #1a1a1a; cursor: pointer
}
.calc-field input[type=range]:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px }

.calc-result { position: sticky; top: 100px }
.calc-big {
  margin: 10px 0 20px; font-size: clamp(38px, 5.5vw, 58px); font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--orange); font-variant-numeric: tabular-nums
}
.calc-breakdown { margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line) }
.calc-breakdown div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line)
}
.calc-breakdown dt { margin: 0; font-size: 13.5px; color: var(--muted) }
.calc-breakdown dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums }
.calc-note { margin: 0 0 20px; font-size: 12.5px; line-height: 1.6; color: var(--muted); opacity: .75 }
.calc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .12s ease
}

.calc-cta:hover { background: #e84800; border-color: #e84800 }
.calc-cta:active { transform: translateY(1px) }
.calc-cta:focus-visible { outline: 2px solid var(--white); outline-offset: 2px }
.calc-cta[disabled] { opacity: .55; pointer-events: none }
.calc-cta > span { font-size: 14px; line-height: 1 }
.calc-secondary {
  display: block; margin-top: 12px; text-align: center; font-size: 13.5px;
  color: var(--muted); text-decoration: none; transition: color .2s ease
}
.calc-secondary:hover { color: var(--orange) }

.tool-body { padding-top: 72px; padding-bottom: 40px; max-width: 780px }
.tool-body h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 40px 0 14px; letter-spacing: -.01em }
.tool-body h2:first-child { margin-top: 0 }
.tool-body p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 16px }
.tool-body a { color: var(--orange); text-decoration: none }
.tool-body a:hover { text-decoration: underline }

.tool-faq details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--glass);
  padding: 16px 20px; margin-bottom: 10px
}
.tool-faq summary { cursor: pointer; font-weight: 500; color: var(--white); font-size: 15px }
.tool-faq details p { margin: 12px 0 0; font-size: 15px }

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

/* Breadcrumb navigation
   Renders the BreadcrumbList already declared in each page's JSON-LD.
   Restores the hub-and-spoke link path: city pages previously had zero
   links back to their county hub and zero inbound links sitewide. */
.ldv-breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 0;
    font-family: var(--font)
}

.ldv-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none
}

.ldv-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4
}

.ldv-breadcrumb li+li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--muted);
    opacity: .4
}

.ldv-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color .25s cubic-bezier(.22, .61, .36, 1)
}

.ldv-breadcrumb a:hover,
.ldv-breadcrumb a:focus-visible {
    color: var(--orange)
}

.ldv-breadcrumb [aria-current="page"] {
    color: var(--white)
}

@media(max-width:640px) {
    .ldv-breadcrumb {
        padding: 20px 18px 0
    }

    .ldv-breadcrumb li {
        font-size: 12px
    }
}

/* AI Visibility Checker additions */
.calc-opt { font-weight: 400; font-size: 12px; color: var(--muted); opacity: .7 }
.calc-field input[type=text] {
  width: 100%; padding: 13px 15px; font-family: var(--font); font-size: 16px; font-weight: 500;
  color: var(--white); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px
}
.calc-field input[type=text]:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px }
.calc-field input[type=text]::placeholder { color: var(--muted); opacity: .5 }
#avRun { margin-top: 6px }

ul.av-comp { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line) }
ul.av-comp li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--white)
}
ul.av-comp em { font-style: normal; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums }
