/* Theme tokens and late overrides for the premium landing experience. */
html[data-theme="dark"] body { background: var(--vp-paper); color: var(--vp-text); }
html[data-theme="dark"] .vp-header { border-color: rgba(145, 201, 173, .18); background: rgba(16, 27, 26, .92); }
html[data-theme="dark"] .vp-brand, html[data-theme="dark"] .vp-nav a { color: var(--vp-ink); }
html[data-theme="dark"] .vp-header--shared .theme-switch { border-color: var(--vp-line); background: #172724; color: var(--vp-ink); }

html[data-theme="dark"] .vp-hero,
html[data-theme="dark"] .vp-story-section--problem,
html[data-theme="dark"] .vp-story-section--process,
html[data-theme="dark"] .vp-story-section--trust { background: linear-gradient(180deg, #101b1a, #15221f); }
html[data-theme="dark"] .vp-story-section--solution { background: var(--vp-paper); }
html[data-theme="dark"] .vp-section,
html[data-theme="dark"] .vp-form-section { border-color: var(--vp-line); }

html[data-theme="dark"] .vp-care-visual {
    border-color: #38594e;
    background: radial-gradient(circle at 24% 18%, rgba(130, 190, 158, .14), transparent 42%), linear-gradient(145deg, #162b25, #17221f 52%, #1b2d28);
    box-shadow: inset 0 0 0 1px rgba(214, 243, 229, .04), 0 34px 84px rgba(0, 0, 0, .32);
}
html[data-theme="dark"] .vp-care-visual__backdrop { border-color: rgba(163, 219, 188, .14); }
html[data-theme="dark"] .vp-care-visual__glow { background: radial-gradient(circle, rgba(111, 195, 150, .24), rgba(111, 195, 150, .08) 44%, transparent 74%); }
html[data-theme="dark"] .vp-care-pill,
html[data-theme="dark"] .vp-care-panel,
html[data-theme="dark"] .vp-care-checklist__item { border-color: #3b5b50; background: rgba(25, 43, 38, .94); color: var(--vp-text); box-shadow: 0 14px 28px rgba(0, 0, 0, .2); }
html[data-theme="dark"] .vp-care-panel__eyebrow { color: #bde6ce; }
html[data-theme="dark"] .vp-care-panel h2,
html[data-theme="dark"] .vp-care-checklist__item strong { color: var(--vp-ink); }
html[data-theme="dark"] .vp-care-panel p,
html[data-theme="dark"] .vp-care-checklist__item small { color: var(--vp-muted); }
html[data-theme="dark"] .vp-care-slot { background: #204438; color: #dff8e9; }
html[data-theme="dark"] .vp-care-status { background: #18352c; color: #c4ead3; }

html[data-theme="dark"] :is(.vp-hero__lead, .vp-commercial-hero__lead, .vp-benefit-card p, .vp-consent, .vp-workbench__note p, .vp-comparison-date) { color: #c6d9d1; }
html[data-theme="dark"] :is(.vp-brief-card, .vp-browser-card, .vp-quote-brief, .vp-local-preview, .vp-handoff, .vp-choice-cards, .vp-scope-card, .vp-inclusion-panel, .vp-price-breakdown-grid article, .vp-model-grid article, .vp-local-benefits article, .vp-managed-service-grid article, .vp-responsibility-grid article, .vp-choice-profile-grid article, .vp-comparison) { border-color: var(--vp-line); background: #172724; color: var(--vp-text); }
html[data-theme="dark"] :is(.vp-local-preview__search, .vp-handoff > div, .vp-choice-cards article, .vp-scope-card, .vp-inclusion-panel, .vp-price-breakdown-grid article, .vp-model-grid article, .vp-local-benefits article, .vp-managed-service-grid article, .vp-responsibility-grid article, .vp-choice-profile-grid article) { background: #1b302a; }
html[data-theme="dark"] :is(.vp-quote-brief strong, .vp-handoff strong, .vp-choice-cards strong, .vp-scope-card h3, .vp-inclusion-panel h3, .vp-price-breakdown-grid h3, .vp-model-grid h3, .vp-local-benefits h3, .vp-managed-service-grid h3, .vp-responsibility-grid h3, .vp-choice-profile-grid h3, .vp-comparison tbody th) { color: var(--vp-ink); }
html[data-theme="dark"] :is(.vp-quote-brief p, .vp-handoff p, .vp-choice-cards p, .vp-scope-card li, .vp-inclusion-panel li, .vp-price-breakdown-grid p, .vp-model-grid p, .vp-local-benefits p, .vp-managed-service-grid p, .vp-responsibility-grid li, .vp-choice-profile-grid li, .vp-comparison td, .vp-section-note) { color: var(--vp-muted); }
html[data-theme="dark"] :is(.vp-price-poster, .vp-local-preview__card, .vp-handoff > div:last-child, .vp-choice-cards article.is-highlighted, .vp-scope-card--included, .vp-inclusion-panel--yes, .vp-model-grid article.is-highlighted, .vp-responsibility-grid article.is-highlighted, .vp-choice-profile-grid article.is-highlighted) { background: #245f4b; color: #f4fbf7; }
html[data-theme="dark"] :is(.vp-price-poster > p, .vp-local-preview__card > p, .vp-handoff > div:last-child p, .vp-choice-cards .is-highlighted p, .vp-scope-card--included li, .vp-inclusion-panel--yes li, .vp-model-grid .is-highlighted p, .vp-responsibility-grid .is-highlighted li, .vp-choice-profile-grid .is-highlighted li) { color: #d9eee4; }
html[data-theme="dark"] :is(.vp-price-poster > b, .vp-handoff > div:last-child span, .vp-choice-cards .is-highlighted span, .vp-scope-card--included > span, .vp-inclusion-panel--yes > span, .vp-model-grid .is-highlighted span, .vp-responsibility-grid .is-highlighted > span, .vp-choice-profile-grid .is-highlighted > span) { color: #ffd5c5; }
html[data-theme="dark"] :is(.vp-price-poster > strong, .vp-local-preview__card > strong, .vp-handoff > div:last-child strong, .vp-choice-cards .is-highlighted strong, .vp-scope-card--included h3, .vp-inclusion-panel--yes h3, .vp-model-grid .is-highlighted h3, .vp-responsibility-grid .is-highlighted h3, .vp-choice-profile-grid .is-highlighted h3) { color: #fff; }
html[data-theme="dark"] .vp-comparison thead th { background: #10231e; }
html[data-theme="dark"] .vp-section-note { background: #1b302a; }
html[data-theme="dark"] .vp-proof-bar { background: #17352d; color: #e4f4eb; }
html[data-theme="dark"] .vp-proof-bar span { color: #e4f4eb; border-color: rgba(228, 244, 235, .15); }

html[data-theme="dark"] :is(.vp-objection-card, .vp-offer-card, .vp-offer-details, .vp-process li, .vp-form-copy, .vp-lead-form, .vp-faq-list details) { border-color: var(--vp-line); background: #172724; color: var(--vp-text); box-shadow: 0 14px 32px rgba(0, 0, 0, .16); }
html[data-theme="dark"] :is(.vp-section-heading h2, .vp-objection-card h3, .vp-offer-card h2, .vp-offer-details h3, .vp-process h3, .vp-faq-list summary, .vp-form-copy h2, .vp-lead-form h2) { color: var(--vp-ink); }
html[data-theme="dark"] :is(.vp-section-heading > p, .vp-objection-card p, .vp-offer-details p, .vp-process p, .vp-faq-list p, .vp-form-copy p, .vp-lead-form p) { color: var(--vp-muted); }
html[data-theme="dark"] .vp-faq-list details[open] { border-color: #56816f; background: #1b302a; }
html[data-theme="dark"] :is(.vp-lead-form input, .vp-lead-form textarea, .vp-lead-form select) { border-color: #46685d; background: #0f1c19; color: var(--vp-ink); }
html[data-theme="dark"] :is(.vp-lead-form input, .vp-lead-form textarea, .vp-lead-form select)::placeholder { color: #91aaa0; }
html[data-theme="dark"] .vp-demo-card { border-color: #43675b; box-shadow: 0 18px 42px rgba(0, 0, 0, .24); }
html[data-theme="dark"] .vp-demo-card > div:last-child { background: #172724; }
html[data-theme="dark"] .vp-demo-card p { color: #b7ccc3; }
html[data-theme="dark"] .vp-assurance-strip { background: #132a24; }
html[data-theme="dark"] .vp-site-footer { background: #0a1211; }

html[data-theme="dark"] .theme-switch { border-color: #4e7769; background: #13221f; color: #e4f6ee; }
html[data-theme="dark"] .theme-switch__thumb { background: #79c9a4; }
html[data-theme="dark"] .theme-switch__icon--sun { color: #78958a; }
html[data-theme="dark"] .theme-switch__icon--moon { color: #e0f7ec; }

@media (prefers-reduced-motion: no-preference) {
    html.theme-ready[data-theme] body,
    html.theme-ready[data-theme] .vp-header,
    html.theme-ready[data-theme] .vp-care-visual,
    html.theme-ready[data-theme] .vp-care-panel,
    html.theme-ready[data-theme] .vp-care-pill,
    html.theme-ready[data-theme] .vp-care-checklist__item,
    html.theme-ready[data-theme] .vp-faq-list details { transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease; }
}


/* Keep the highlighted responsibility panel legible in dark mode. */
html[data-theme="dark"] .vp-responsibility-grid article.is-highlighted {
    border-color: #4f866e !important;
    background: linear-gradient(145deg, #1f604a, #174637) !important;
    color: #f4fbf7 !important;
}
html[data-theme="dark"] .vp-responsibility-grid article.is-highlighted > span {
    color: #d7ff80 !important;
}
html[data-theme="dark"] .vp-responsibility-grid article.is-highlighted h3 {
    color: #ffffff !important;
}
html[data-theme="dark"] .vp-responsibility-grid article.is-highlighted li {
    color: #e0f1e8 !important;
}
html[data-theme="dark"] .vp-responsibility-grid article.is-highlighted li::before {
    color: #ffd5c5 !important;
}

/* The turnkey-process steps need visible elevation against the page background. */
html[data-theme="dark"] .landing-turnkey .vp-process {
    gap: 12px;
}
html[data-theme="dark"] .landing-turnkey .vp-process::before {
    display: none;
}
html[data-theme="dark"] .landing-turnkey .vp-process li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 28px;
    padding: 22px;
    border: 1px solid #3e6757;
    border-radius: 18px;
    background: #1b342b;
    box-shadow: none;
}
html[data-theme="dark"] .landing-turnkey .vp-process li > span {
    border-color: #659a85;
    background: #123126;
    color: #ffd5c5;
}
html[data-theme="dark"] .landing-turnkey .vp-process li > div {
    max-width: none;
    padding: 3px 0;
    border: 0;
}
html[data-theme="dark"] .landing-turnkey .vp-process h3 { color: #ffffff !important; }
html[data-theme="dark"] .landing-turnkey .vp-process p { color: #d5e8dd !important; }
@media (max-width: 640px) {
    html[data-theme="dark"] .landing-turnkey .vp-process li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px; }
}

html[data-theme="dark"] .landing-quote .vp-process { gap: 12px; }
html[data-theme="dark"] .landing-quote .vp-process::before { display: none; }
html[data-theme="dark"] .landing-quote .vp-process li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 28px;
    padding: 22px;
    border: 1px solid #3e6757;
    border-radius: 18px;
    background: #1b342b;
    box-shadow: none;
}
html[data-theme="dark"] .landing-quote .vp-process li > span { border-color: #659a85; background: #123126; color: #ffd5c5; }
html[data-theme="dark"] .landing-quote .vp-process li > div { max-width: none; padding: 3px 0; border: 0; }
html[data-theme="dark"] .landing-quote .vp-process h3 { color: #ffffff !important; }
html[data-theme="dark"] .landing-quote .vp-process p { color: #d5e8dd !important; }
@media (max-width: 640px) {
    html[data-theme="dark"] .landing-quote .vp-process li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px; }
}

html[data-theme="dark"] .landing-turnkey .vp-faq-list details {
    border-color: #3e6757 !important;
    background: #1b342b !important;
    box-shadow: none !important;
}
html[data-theme="dark"] .landing-turnkey .vp-faq-list details[open] {
    border-color: #72a88f !important;
    background: #214235 !important;
}
html[data-theme="dark"] .landing-turnkey .vp-faq-list summary {
    color: #f5fcf7 !important;
}
html[data-theme="dark"] .landing-turnkey .vp-faq-list p {
    color: #d1e5da !important;
}

/* The artisan offer summary is a dark panel in dark mode, never a pale card with pale text. */
html[data-theme="dark"] .landing-artisan .vp-managed-summary {
    border: 1px solid #4a7865;
    background: linear-gradient(145deg, #1d513f, #12382b);
    color: #f4fbf7;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .24);
}
html[data-theme="dark"] .landing-artisan .vp-managed-summary > span {
    color: #d7ff80;
}
html[data-theme="dark"] .landing-artisan .vp-managed-summary li {
    color: #e1f0e8;
}
html[data-theme="dark"] .landing-artisan .vp-managed-summary li::before {
    color: #ffd5c5;
}
html[data-theme="dark"] .landing-artisan .vp-managed-summary p {
    border-top-color: rgba(230, 248, 239, .24);
    color: #c8dfd3;
}

/* Highlighted price cards must not inherit the dark ink used by standard cards. */
html[data-theme="dark"] .landing-price .vp-inclusion-panel--yes,
html[data-theme="dark"] .landing-price .vp-model-grid article.is-highlighted {
    border-color: #4f866e !important;
    background: linear-gradient(145deg, #1f604a, #174637) !important;
    color: #f4fbf7 !important;
}
html[data-theme="dark"] .landing-price .vp-inclusion-panel--yes h3,
html[data-theme="dark"] .landing-price .vp-model-grid article.is-highlighted h3 {
    color: #ffffff !important;
}
html[data-theme="dark"] .landing-price .vp-inclusion-panel--yes > span,
html[data-theme="dark"] .landing-price .vp-model-grid article.is-highlighted > span {
    color: #d7ff80 !important;
}
html[data-theme="dark"] .landing-price .vp-inclusion-panel--yes li,
html[data-theme="dark"] .landing-price .vp-model-grid article.is-highlighted p,
html[data-theme="dark"] .landing-price .vp-model-grid article.is-highlighted .vp-text-link {
    color: #e0f1e8 !important;
}
html[data-theme="dark"] .landing-price .vp-inclusion-panel--yes li::before { color: #ffd5c5 !important; }

/* Comparison-page highlighted choices need their own text palette in dark mode. */
html[data-theme="dark"] .landing-wix :is(.vp-choice-cards article.is-highlighted, .vp-choice-profile-grid article.is-highlighted) {
    border-color: #4f866e !important;
    background: linear-gradient(145deg, #1f604a, #174637) !important;
    color: #f4fbf7 !important;
}
html[data-theme="dark"] .landing-wix :is(.vp-choice-cards article.is-highlighted strong, .vp-choice-profile-grid article.is-highlighted h3) { color: #ffffff !important; }
html[data-theme="dark"] .landing-wix :is(.vp-choice-cards article.is-highlighted > span, .vp-choice-profile-grid article.is-highlighted > span) { color: #d7ff80 !important; }
html[data-theme="dark"] .landing-wix :is(.vp-choice-cards article.is-highlighted p, .vp-choice-profile-grid article.is-highlighted li) { color: #e0f1e8 !important; }
html[data-theme="dark"] .landing-wix .vp-choice-profile-grid article.is-highlighted li::before { color: #ffd5c5 !important; }
html[data-theme="dark"] .landing-wix .vp-managed-summary {
    border: 1px solid #4f866e;
    background: linear-gradient(145deg, #1f604a, #174637);
    color: #f4fbf7;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .24);
}
html[data-theme="dark"] .landing-wix .vp-managed-summary > span { color: #d7ff80; }
html[data-theme="dark"] .landing-wix .vp-managed-summary h3 { color: #ffffff; }
html[data-theme="dark"] .landing-wix .vp-managed-summary p { border-top-color: rgba(230, 248, 239, .24); color: #c8dfd3; }
html[data-theme="dark"] .landing-wix .vp-managed-summary .vp-text-link { color: #f1fff4; }

html[data-theme="dark"] .vp-client-trust {
    background:
        radial-gradient(circle at 15% 18%, rgba(120, 196, 160, .09), transparent 32%),
        linear-gradient(180deg, #101b1a, #162421);
    border-color: var(--vp-line);
}
html[data-theme="dark"] .vp-trust-principle {
    border-color: var(--vp-line);
    background: rgba(23, 39, 36, .92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}
html[data-theme="dark"] .vp-trust-principle__index {
    background: rgba(120, 196, 160, .12);
    color: #8dd5ae;
}
html[data-theme="dark"] .vp-trust-principle h3 { color: #eff9f5; }
html[data-theme="dark"] .vp-trust-principle p { color: #b9d0ca; }

html[data-theme="dark"] .vp-google-reviews { background: linear-gradient(180deg, #101b1a, #15221f); border-color: var(--vp-line); }
