:root {
    color-scheme: light;
    --accent: #2379ad;
    --accent-active: #206d9c;
    --green: #00b887;
    --paper: #f9fafb;
    --surface: #fff;
    --ink: #181c32;
    --body-text: #5e6278;
    --muted: #7e8299;
    --line: #e4e6ef;
    --soft-line: #eff2f5;
    --panel: #f5f8fa;
    --panel-strong: #eff2f5;
    --accent-soft: #f1faff;
    --accent-text: #3f4254;
    --success-soft: #e8fff3;
    --success-text: #3f4254;
    --button-bg: #2379ad;
    --button-ink: #fff;
    --brand-filter: none;
    --notification-bg: rgb(255 255 255 / 96%);
    --device-frame: #181c32;
    --card-shadow: 0 0 20px rgb(94 98 120 / 4%);
}

/* Light-only marketing presentation. The dashboard keeps its own theme. */
.navigation { gap: 20px; }
.navigation-left { gap: 32px; }
.navigation-actions { display: flex; align-items: center; gap: 18px; }
.brand img, .journey-result img, .tool-stack img, .brand-node img,
.product-closing > img, .dual-entry-brand img { filter: var(--brand-filter); }
.button:hover { background: var(--accent-active); color: #fff; }
.button-outline:hover { background: var(--panel-strong); color: var(--ink); }
.mega-menu, .mobile-menu { background: var(--surface); }
.mega-menu { border-color: var(--line); box-shadow: var(--card-shadow); }
.mobile-menu::backdrop { background: rgb(21 21 33 / 65%); }
.lead-notification { background: var(--notification-bg); border-color: var(--line); }
.owner-photo { outline-color: var(--soft-line); }
.free-plan { background: var(--surface); }

.floating-launcher { color: #fff; background: var(--accent); border-color: var(--accent); }

/* The illustrations use the same surfaces and accent colors as the dashboard. */
.ui-window, .ui-callout, .tool-stack, .a2a-proposal, .api-node,
.mini-pill, .mini-message, .mini-confirm, .mini-lines, .mini-route span,
.journey-receipt, .connection-client .agent-avatar { background: var(--surface); }
.ui-window, .ui-callout { box-shadow: var(--card-shadow); }
.ui-avatar { background: var(--panel-strong); color: var(--body-text); }
.ui-pill.blue { background: var(--accent-soft); border-color: var(--line); color: var(--accent-text); }
.ui-pill.green { background: var(--success-soft); border-color: var(--line); color: var(--success-text); }
.ui-callout-icon, .agent-avatar { background: var(--accent-soft); color: var(--accent); }
.agent-suggestion, .mini-route .active { color: var(--accent-text); }
.inbox-task .icon, .manifest-status, .mini-confirm .icon,
.journey-result-footer { color: var(--success-text); }
.device-preview { background: var(--device-frame); }
.device-screen { background: var(--surface); color: var(--ink); }
.browser-toolbar { border-color: var(--line); background: var(--panel); color: var(--body-text); }
.widget-window { background: var(--surface); }
.widget-window .ui-toolbar, .widget-illustration-content { color: var(--body-text); }
.widget-window .preview-launcher { background: var(--accent); color: #fff; }
.calendar-selected { background: var(--accent); color: #fff; }
.calendar-slots .selected { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
.call-phone { background: var(--surface); border-color: var(--device-frame); }
.call-wave i { background: var(--accent); opacity: .5; }
.call-answer { background: var(--green); color: #151521; }
.report-chart i { background: var(--accent); opacity: .3; }
.report-chart > div:nth-child(6) i { background: var(--accent); opacity: 1; }
.report-legend i { background: var(--accent); }
.connection-client .agent-avatar { border-color: var(--line); }
.leads-panel { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.dual-entry > div > span { color: var(--accent); border-color: var(--line); background: var(--accent-soft); }
.dual-entry small, .leads-panel > p, .lead-features p { color: var(--body-text); }
.dual-entry-brand::before, .dual-entry-brand::after { background: var(--line); }
.shared-outcome { color: var(--success-text); }
.lead-features { border-color: var(--line); }
.lead-features a { color: var(--ink); }
.lead-features a:hover { color: var(--accent); }
.code-card { border-color: var(--line); background: var(--surface); color: var(--ink); }
.code-card > div { border-color: var(--line); }
.code-card .eyebrow { color: var(--muted); }
.code-card button { border-color: var(--line); color: var(--ink); }
.code-card pre { color: var(--body-text); }

/* Shared local demo, including forms, calendars, and confirmation states. */
.inline-widget, .floating-widget {
    --widget-accent: var(--accent);
    --widget-accent-soft: color-mix(in srgb, var(--widget-accent) 12%, var(--surface));
}
.demo-widget { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--card-shadow); }
.widget-header, .widget-options > button { border-color: var(--line); }
.widget-subtitle, .widget-options small, .widget-credit span,
.demo-form-note, .booking-intro span, .demo-info > p, .demo-success > p,
.demo-location > p:not(.demo-form-note), .business-hours { color: var(--body-text); }
.widget-header .icon-button, .widget-options > button > .icon, .widget-credit { color: var(--muted); }
.widget-header .icon-button:hover { background: var(--panel-strong); }
.demo-form input, .demo-form textarea { background: var(--paper); color: var(--ink); border-color: var(--line); }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: var(--muted); }
.demo-submit, .preview-launcher { color: #fff; }
.demo-submit:hover { color: #151521; }
.booking-days button, .booking-times button { border-color: var(--line); }
.booking-days [aria-pressed='true'], .booking-times [aria-pressed='true'] { color: var(--ink); }
.demo-success .button { color: var(--ink); border-color: var(--line); }

/* One product page, with a live preview for each way to connect. */
.service-preview { margin-top: 40px; }
.service-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.service-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 125px; min-height: 36px; padding: 8px 18px; border-radius: 999px; color: var(--body-text); font-size: 12px; }
.service-tabs button[aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / 10%); }
.service-tabs button:hover:not([aria-selected='true']) { color: var(--ink); }
.service-preview .product-figure { margin-top: 24px; }

@media (min-width: 1024px) {
    .navigation .desktop-links { gap: 20px; }
    .navigation .account-links { gap: 20px; }
}
@media (max-width: 1023px) {
    .navigation-actions { gap: 12px; }
}
@media (max-width: 639px) {
    .navigation { gap: 12px; }
    .navigation-left { min-width: 0; }
    .navigation-actions { gap: 6px; }
    .brand span { font-size: 18px; }
    .service-tabs button { min-width: 108px; }
}
@media (max-width: 359px) {
    .navigation { padding-inline: 16px; gap: 8px; }
    .navigation-actions { gap: 2px; }
    .brand img { width: 25px; height: 25px; }
    .brand span { font-size: 17px; }
}
