/* Homepage styles on the shared public shell. Tokens and shared pieces live in
   public-components.css; this file only places them. */
#home.free-search-hero { padding: 64px 0 48px; background: linear-gradient(180deg, #f6faf8 0%, #fff 70%); }
#home .home-search-container { width: 100%; max-width: 768px; margin: 0 auto; padding: 0 24px; }
.public-page #home h1 { max-width: none; margin: 0 0 14px; color: #1d2723; font-size: clamp(32px, 4vw, 44px) !important; line-height: 1.15 !important; font-weight: 650 !important; letter-spacing: -.025em; text-align: center !important; }
.public-page #home .free-search-intro { max-width: 600px; margin: 0 auto 28px; color: #4d5c55; font-size: 18px !important; line-height: 1.5 !important; text-align: center; text-wrap: balance; }
#home .form-wrapper { position: relative; width: 100%; margin: 0 auto; padding: 24px 24px 20px; border: 1px solid #dce6e0; border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -32px rgba(20, 60, 40, .45); text-align: center; }
#home .form-wrapper > label { display: block; margin-bottom: 8px; color: #1d2723; font-size: 15px; font-weight: 600; }
#home .phone-input { display: block; width: 100%; height: 80px; padding: 10px 14px; border: 2px solid #7f9188; border-radius: 6px; background: #fff; color: #1d2723; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; text-align: center; transition: border-color .15s; }
#home .phone-input::placeholder { color: #a9b6af; opacity: 1; }
#home .phone-input:hover { border-color: #5f7a6d; }
#home .phone-input:focus { border-color: #168354; outline: 3px solid #cfeadb; outline-offset: 1px; }
.public-page #home .free-number-help { margin: 8px 0 16px; color: #58665f; font-size: 13px !important; line-height: 1.5 !important; }
#home .free-search-submit { display: block; width: 100%; min-height: 56px; padding: 12px 24px; border: 1px solid #168354; border-radius: 6px; background: #168354; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .15s; }
#home .free-search-submit:hover { background: #11683f; border-color: #11683f; }
#home .free-search-submit:focus-visible { outline: 3px solid #9fd0b6; outline-offset: 2px; }
#home .free-search-submit:disabled { cursor: wait; opacity: .65; }
.public-page #home .free-search-terms { max-width: 440px; margin: 0 auto 14px; color: #58665f; font-size: 13px !important; line-height: 1.5 !important; text-wrap: balance; }
.public-page #home .free-search-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.public-page #home .free-search-alert { color: #9d2222; font-size: 15px !important; }
#home .free-search-honeypot { position: absolute; left: -9999px; }
#home #free-search-turnstile { margin-top: 10px; }

/* The two ways past one number: a heading and two equal cards, no outer box. */
#home .volume-upsell { margin-top: 40px; padding: 0; border: 0; background: transparent; }
.public-page #home .volume-upsell h2 { margin: 0 0 4px; font-size: 20px !important; }
.public-page #home .volume-upsell p { font-size: 15px !important; line-height: 1.5 !important; }
.public-page #home .volume-upsell .volume-upsell-price { font-size: 15px !important; }

/* Trust strip under the search. */
#home .home-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 18px 0 0; padding: 0; list-style: none; }
#home .home-trust li { display: inline-flex; align-items: center; gap: 6px; color: #4d5c55; font-size: 14px; font-weight: 500; line-height: 1.4; }
#home .home-trust .home-icon { width: 16px; height: 16px; color: #146c43; }

/* The sections below the search. */
.home-overview .home-section { padding: 64px 0; text-align: left; }
.home-overview .container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.public-page .home-overview h2 { margin: 0 0 12px; padding: 0; color: #1d2723; font-size: 26px !important; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
.public-page .home-overview h3 { margin: 0 0 8px; color: #1d2723; font-size: 18px !important; font-weight: 600; line-height: 1.35; }
.public-page .home-overview p { margin: 0 0 16px; color: #4d5c55; font-size: 16px !important; font-weight: 400; line-height: 1.6; }
.home-overview .home-section-intro { max-width: 720px; }
.public-page .home-overview .home-detail { margin: 0; font-size: 15px !important; }

/* Value: a tinted band with the facts strip. */
.home-overview .home-value { background: #f6faf8; border-top: 1px solid #e3eee8; border-bottom: 1px solid #e3eee8; }
.public-page .home-overview .home-value p { max-width: 720px; margin: 0; font-size: 18px !important; }

/* Line types: three tiles. */
.home-overview .home-type-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 20px; padding: 0; list-style: none; }
.home-overview .home-type-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: 10px; background: #f6faf8; color: #1d2723; font-size: 18px; font-weight: 600; }
.home-overview .home-type-list .home-icon { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; color: #146c43; }
.home-overview .home-option-links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* Checker answers: four cards. */
.home-overview .home-line-types { padding-bottom: 32px; }
.home-overview .home-checker { padding-top: 32px; }
.home-overview .home-checker-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 24px; }
.home-overview .home-checker-answers article { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 0 0; border: 0; border-top: 1px solid #dce6e0; border-radius: 0; background: transparent; }
.public-page .home-overview .home-checker-answers p { margin: 0; font-size: 15px !important; }

/* Bulk: a list card beside an API card with a response excerpt. */
.home-overview .home-scale { background: #f6faf8; border-top: 1px solid #e3eee8; border-bottom: 1px solid #e3eee8; }
.home-overview .home-scale-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; margin-top: 24px; align-items: start; }
.home-overview .home-scale-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #dce6e0; border-radius: 10px; background: #fff; }
.home-overview .home-scale-card > .home-icon { width: 44px; height: 44px; margin-bottom: 14px; padding: 10px; border-radius: 50%; background: #eef7f2; color: #146c43; }
.public-page .home-overview .home-scale-card .home-detail { margin-bottom: 16px; }
.home-overview .home-scale-card .home-primary-link { margin: 0 0 8px; }
.home-overview .home-api-code { align-self: stretch; margin: 4px 0 12px; }
.public-page .home-overview .home-api-code p.pv-endpoint { margin: 0; color: #cfe3d8; font-size: 13px !important; }
.home-overview .home-scale-more { display: flex; flex-wrap: wrap; gap: 0 40px; margin-top: 20px; }
.public-page .home-overview .home-scale-more p { margin: 0; line-height: 2.2 !important; }
.home-overview .home-scale-more .pv-arrow { white-space: nowrap; }

/* Coverage: quiet logos and country pills. */
.home-overview .home-carriers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 8px; padding: 0; list-style: none; border-top: 1px solid #dce6e0; border-bottom: 1px solid #dce6e0; }
.home-overview .home-carriers li { display: flex; align-items: center; justify-content: center; height: 72px; }
.home-overview .home-carriers li + li { border-left: 1px solid #dce6e0; }
.home-overview .home-carriers img { width: auto; height: 44px; max-width: 110px; object-fit: contain; }
.public-page .home-overview .home-disclaimer { margin: 0 0 24px; font-size: 13px !important; }

/* Closing band. */
.home-overview .home-customers { padding: 64px 0; border-top: 1px solid #e3eee8; background: #eaf5ef; text-align: center; }
.public-page .home-overview .home-customers h2, .public-page .home-overview .home-customers p { margin-left: auto; margin-right: auto; text-align: center; }
.home-overview .home-customers .pv-actions { justify-content: center; gap: 12px 28px; margin: 8px 0 20px; }
.public-page .home-overview .home-customers .home-detail { max-width: 560px; color: #3f5a4c; }

.home-overview a:focus-visible { outline: 2px solid #146c43; outline-offset: 3px; }
.home-overview .home-api-code pre:focus-visible { outline: 2px solid #7ee2a8; outline-offset: -2px; }

@media (max-width: 960px) {
  .home-overview .home-section, .home-overview .home-customers { padding: 56px 0; }
  .home-overview .home-type-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-overview .home-scale-options { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  #home.free-search-hero { padding: 40px 0 32px; }
  #home .home-search-container { padding: 0 20px; }
  .public-page #home .free-search-intro { font-size: 17px !important; margin-bottom: 20px; }
  #home .form-wrapper { padding: 20px 16px 16px; }
  #home .phone-input { height: 68px; font-size: 30px; }
  .home-overview .home-section, .home-overview .home-customers { padding: 44px 0; }
  .home-overview .container { padding: 0 20px; }
  .public-page .home-overview h2 { font-size: 23px !important; }
  .public-page .home-overview .home-value p { font-size: 17px !important; }
  .home-overview .home-type-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-overview .home-type-list li { padding: 12px 14px; font-size: 16px; }
  .home-overview .home-scale-more { flex-direction: column; gap: 10px; }
  .public-page .home-overview .home-scale-more p { line-height: 1.5 !important; }
  .home-overview .home-checker-answers { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #home .home-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: 8px 16px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .home-overview .home-scale-card { padding: 20px; }
  .home-overview .home-scale-card .home-primary-link { width: 100%; }
  .home-overview .home-carriers li { height: 60px; }
  .home-overview .home-carriers img { height: 32px; max-width: 72px; }
  .home-overview .home-customers .pv-actions a.pv-button { width: 100%; }
}

/* The home page ends in a tinted band; let it meet the footer. */
body.public-site #footer.public-site-footer { margin-top: 0; }
