/* Productivity palette; change DEFAULT_SITE_THEME in i18n.js to "green" to restore the original palette. */
:root{--paper:#f3f6fc;--soft:#e7eef9;--ink:#17263a;--forest:#1c416e;--deep:#102641;--forest-dark:#102641;--lime:#91e4f2;--blue:#3e6bd5;--muted:#6b7a91;--line:rgba(23,38,58,.16);--brand-accent:#3867c8;--brand-accent-soft:#dbe8ff}
:root[data-theme="green"]{--paper:#f4f1e8;--soft:#e8eadb;--ink:#172820;--forest:#173e32;--deep:#102a22;--forest-dark:#0c2a23;--lime:#d5f36b;--blue:#4955e8;--muted:#72796f;--line:rgba(23,40,32,.16);--brand-accent:#788541;--brand-accent-soft:#e8eadb}
html[data-theme] .eyebrow,html[data-theme] .aside-label{color:var(--brand-accent)}
html[data-theme] .service-hero h1 em,html[data-theme] .section-copy h2 em,html[data-theme] .solution-section-title h2 em,html[data-theme] .flow-heading h2 em,html[data-theme] .solution-cta h2 em,html[data-theme] .approach-top h2 em{color:var(--brand-accent)}
html[data-theme] .solution-aside{background:var(--brand-accent-soft)}
html[data-theme] .solution-benefits{background:var(--soft)}
html[data-theme] .art-ring{border-color:color-mix(in srgb,var(--brand-accent) 35%,transparent)}
html[data-theme] .art-symbol,html[data-theme] .art-foot span,html[data-theme] .other-link span{color:var(--blue)}
html[data-theme] .eyebrow-dot{background:var(--brand-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--brand-accent) 16%,transparent)}
/* Quiet visual polish: crisp edges, clearer hierarchy, and restrained depth. */
:where(a, button, input, textarea, select):focus-visible{outline:2px solid #a8c84c;outline-offset:3px}
:where(.case-card,.workflow-card,.solution-aside,.solution-cta,.deliverable,.step,.example-section,.hero-art,.cal-booking,.other-link){box-shadow:0 1px 0 #102a2210,0 10px 28px #102a2208}
:where(.case-card,.workflow-card,.solution-aside,.solution-cta,.deliverable,.step,.example-section,.hero-art,.cal-booking,.other-link){border:1px solid #1728201a}
:where(.button,.nav-cta,.header-cta){transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
:where(.button,.nav-cta,.header-cta):hover{transform:translateY(-2px);box-shadow:0 5px 0 #102a2220}
:where(.case-card,.workflow-card,.deliverable,.other-link){transition:transform .2s ease,box-shadow .2s ease}
:where(.case-card,.workflow-card,.deliverable,.other-link):hover{transform:translateY(-2px);box-shadow:0 12px 26px #102a2214}
.cal-booking-fallback{display:flex;justify-content:flex-end;margin:8px 2px 0;font-size:12px;line-height:1.4}
.cal-booking-fallback a{display:inline-flex;align-items:center;min-height:0;padding:0;border:0;background:transparent;color:#123d31;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Remove leftover sage/olive surfaces from the default blue palette. */
html[data-theme="blue"] .hero .eyebrow{color:#c6d8f4}
html[data-theme="blue"] .hero-deck,html[data-theme="blue"] .hero-signals{color:#d3e0f3}
html[data-theme="blue"] .case-invoice .case-visual,html[data-theme="blue"] .case-legal .case-visual,html[data-theme="blue"] .case-project .case-visual,html[data-theme="blue"] .case-crm .case-visual,html[data-theme="blue"] .case-ai .case-visual{background:#e8effb}
html[data-theme="blue"] .case-outcome{background:#edf3fc;color:#29466f}
html[data-theme="blue"] .fit-strip{background:#e7eef9;color:#29466f}
html[data-theme="blue"] .fit-strip b{background:#f8faff;color:#29466f}
html[data-theme="blue"] .solution-aside,html[data-theme="blue"] .solution-benefits,html[data-theme="blue"] .hero-art{background:#e8effb}
html[data-theme="blue"] .solution-note{background:#f0f5fd;border-left-color:var(--brand-accent)}
html[data-theme="blue"] .other-link:hover{background:#e8effb}
html[data-theme="blue"] .example-section,html[data-theme="blue"] .solution-flow{background:#1c416e}
html[data-theme="blue"] .example-section .eyebrow,html[data-theme="blue"] .flow-heading .eyebrow{color:#c7d9f5}
html[data-theme="blue"] .solution-section-copy li:before,html[data-theme="blue"] .case-outcome span,html[data-theme="blue"] .aside-label{color:var(--brand-accent)}
html[data-theme="blue"] .eyebrow-dot{background:#4f79dd;box-shadow:0 0 0 5px #4f79dd25}
html[data-theme="blue"] .button-dark{background:#244e85}
html[data-theme="blue"] .cal-booking-fallback a{color:#244e85}

/* Blue-theme overrides for remaining olive accents on the homepage. */
html[data-theme="blue"] .work-heading h2 em{color:var(--brand-accent)}
html[data-theme="blue"] .approach-cards article{background:#e8effb;border-color:#cad8eb}
html[data-theme="blue"] .approach-icon{color:#5279c1}

html[data-theme="blue"] .work-heading>p{color:#526b89}
html[data-theme="blue"] .case-card-top{color:#536984}
html[data-theme="blue"] .case-card-top b{background:#e2ecfb;color:#315d9d}
html[data-theme="blue"] .case-card>p{color:#4d607a}
html[data-theme="blue"] .case-outcome{background:#edf3fc;border-left-color:#4f78c2}
html[data-theme="blue"] .case-outcome span{color:#4269a5}
html[data-theme="blue"] .case-link{color:#284f87}
html[data-theme="blue"] .case-link span{color:#3e6bd5}

/* Blue-theme fixes for the booking area: label, fallback box and contact eyebrow used to keep sage tones. */
html[data-theme="blue"] .cal-booking-heading span{color:var(--brand-accent)}
html[data-theme="blue"] .cal-booking-fallback{background:#eef3fd;border-color:#cad9ef}
html[data-theme="blue"] .contact-heading .eyebrow{color:#c6d8f4}

/* Glass sticky header: content softly blurs behind the bar on every page. */
html[data-theme] .site-header{background:color-mix(in srgb,var(--deep) 87%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid color-mix(in srgb,var(--paper) 7%,transparent)}

/* Blue-theme accents inside the case-card mini windows. */
html[data-theme="blue"] .project-window-top,html[data-theme="blue"] .assistant-window-top{color:#3f5372}
html[data-theme="blue"] .project-window-top span,html[data-theme="blue"] .assistant-window-top span{color:#52708f}
html[data-theme="blue"] .assistant-question{background:#eef3fc;color:#41598a}
html[data-theme="blue"] .assistant-answer{color:#4d5a70}
html[data-theme="blue"] .assistant-answer b{color:#28466e}
html[data-theme="blue"] .assistant-answer span:before{color:#4f78b7}
html[data-theme="blue"] .assistant-window,html[data-theme="blue"] .intake-crm{border-color:#d5dfef}
html[data-theme="blue"] .intake-source span{color:#4a5f8f;border-color:#c9d4ec}
html[data-theme="blue"] .intake-crm>b{color:#5a668f}
html[data-theme="blue"] .intake-crm>div{color:#3b4a63}
html[data-theme="blue"] .intake-crm i{color:#4f78b7}

/* Dify chat bubble (injected at runtime by assets/js/dify-embed.js). */
#dify-chatbot-bubble-button{background-color:#1c64f2!important}
#dify-chatbot-bubble-window{width:24rem!important;height:40rem!important}
@media(max-width:480px){#dify-chatbot-bubble-window{width:calc(100vw - 20px)!important;height:72vh!important}}
