/* Niche landing pages and the business pages (lib/landing.php, lib/quote.php).
   Builds on css/theme.css (.sv-hero, .sv-section, .sv-steps, .sv-faq, .sv-cta, .sv-plan, .sp-form). */

.lp-page { max-width: 1160px; }
.lp-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.lp-ba > div { min-width: 0; }
.lp-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; background: #ffe8ec; color: #b4233d; }
.lp-tag.after { background: #e7f8f1; color: #0b6b4c; }
.lp-fig { margin: 0; }
.lp-fig img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--sv-line, #e4e9f2); box-shadow: var(--sv-shadow, 0 10px 30px rgba(15, 23, 42, .07)); }
.lp-fig figcaption { color: var(--sv-muted, #556179); font-size: 14px; margin-top: 8px; }
.lp-placeholder { aspect-ratio: 16 / 9; border: 2px dashed #b8c4dc; border-radius: 16px; background: #f3f6fc;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 16px; color: #5b6476; }
.lp-placeholder .fa { font-size: 34px; color: #9aa8c4; }
.lp-placeholder b { color: #26324a; }
.lp-placeholder span { font-size: 14px; max-width: 360px; }
.lp-srt { background: #0f172a; color: #e2e8f0; border-radius: 16px; padding: 18px 20px; font-size: 14px; line-height: 1.6;
    white-space: pre-wrap; word-break: break-word; margin: 0; box-shadow: var(--sv-shadow, 0 10px 30px rgba(15, 23, 42, .07)); }
.lp-srt .t { color: #7dd3fc; }
.lp-srt .o { color: #94a3b8; }
.lp-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; list-style: none; padding: 0; margin: 0 auto; max-width: 900px; }
.lp-points li { position: relative; padding-left: 28px; color: #2b3650; }
.lp-points li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; color: var(--sv-success, #12b886); }
.lp-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: #fff;
    border: 1px solid var(--sv-line, #e4e9f2); border-radius: 18px; padding: 18px 22px; box-shadow: var(--sv-shadow, 0 10px 30px rgba(15, 23, 42, .07)); }
.lp-price b.big { font-size: 26px; font-weight: 800; color: var(--sv-ink, #0f172a); }
.lp-price p { margin: 0; color: var(--sv-muted, #556179); }
.lp-cta-big { font-size: 19px; padding: 1rem 2rem !important; }
.lp-prose { max-width: 820px; margin: 0 auto; color: #2b3650; font-size: 16px; }
.lp-prose h3 { font-size: 19px; font-weight: 700; margin: 18px 0 6px; color: var(--sv-ink, #0f172a); }
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-related a { border: 1px solid var(--sv-line, #e4e9f2); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* Business pages */
.qt-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qt-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.qt-facts div { background: #fff; border: 1px solid var(--sv-line, #e4e9f2); border-radius: 16px; padding: 16px; text-align: center; }
.qt-facts b { display: block; font-size: 22px; font-weight: 800; color: var(--sv-primary-dark, #1f44d6); }
.qt-facts span { color: var(--sv-muted, #556179); font-size: 14px; }
.qt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qt-small { font-size: 13px; color: var(--sv-muted, #556179); margin: 12px 0 0; }
.qt-form { scroll-margin-top: 16px; }
.qt-form select.form-control { height: auto; min-height: 46px; }

@media (max-width: 900px) {
    .qt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .lp-ba, .lp-points, .qt-pricing { grid-template-columns: minmax(0, 1fr); }
    .lp-price { flex-direction: column; align-items: flex-start; }
    .lp-price .btn { width: 100%; }
}
/* The old pages set body.container width:80%: use the full phone width. */
@media (max-width: 575px) {
    body.lp-body { width: 100% !important; padding-left: 12px; padding-right: 12px; }
}
