/* Evola - user-selected appearance.
   Dark: existing premium.css artwork. Light: fresh ivory-mist and deep-teal palette.
   The home workflow illustration remains a dark digital dashboard in both themes. */

/* Persistent theme control available on all six pages */
.theme-toggle {
  display: inline-flex; align-items:center; justify-content:center; flex:none; gap:9px;
  height:42px; min-width:42px; padding:0 13px; border:1px solid rgba(106,242,204,.30);
  border-radius:11px; background:rgba(106,242,204,.075); color:#a7f8df;
  font:750 12px/1 'Avenir Next','Segoe UI',sans-serif; cursor:pointer;
  transition: background .2s,border-color .2s,color .2s,transform .2s;
}
.theme-toggle:hover { background:rgba(106,242,204,.17); border-color:rgba(106,242,204,.62); }
.theme-toggle:active { transform:scale(.97); }
.theme-toggle:focus-visible { outline:3px solid #6af2cc; outline-offset:3px; }
.theme-toggle svg { width:19px; height:19px; flex:none; }
.theme-toggle .theme-moon { display:none; }
html[data-theme='light'] .theme-toggle .theme-sun { display:none; }
html[data-theme='light'] .theme-toggle .theme-moon { display:block; }
.nav-inner { gap:16px; }
@media(max-width:1280px) { .theme-toggle-text { display:none; } .theme-toggle { padding:0; } }
@media(max-width:1050px) { .theme-toggle { margin-left:auto; } .nav-toggle { margin-left:0 !important; } }
@media(max-width:580px) {
  .nav-inner { gap:7px; }
  .nav-inner.container { padding-left:15px; padding-right:15px; }
  .brand { gap:7px; }
  .brand-mark { width:37px; height:37px; }
  .brand-name { font-size:clamp(13px,3.95vw,17px); }
  .theme-toggle { width:38px; height:38px; min-width:38px; }
  .nav-toggle { padding:6px; }
  .nav-toggle svg { width:23px; height:23px; }
}
@media(max-width:350px) {
  .brand-name { font-size:12.6px; }
  .brand-mark { width:33px; height:33px; grid-template-columns:repeat(2,8px); grid-template-rows:repeat(2,8px); gap:3px; }
  .brand-label { letter-spacing:.6px; font-size:8px; }
  .theme-toggle { width:36px; height:36px; min-width:36px; }
}

/* Light theme retains electric mint as the brand's highlight while introducing
   high-contrast teal for links and labels on light surfaces. */
html[data-theme='light'] {
  color-scheme: light;
  --navy:#142d40; --navy-deep:#e6f3f4; --ink:#163248;
  --text:#455d6d; --muted:#567184; --bg:#f0f7f9; --white:#fff;
  --line:rgba(16,72,83,.17); --blue:#087964; --blue-light:#e5f7f0;
  --mint:#6af2cc; --mint-dark:#08745f;
  --shadow:0 16px 45px rgba(18,49,68,.075);
}
html[data-theme='dark'] { color-scheme:dark; }
html[data-theme='light'] body { background:#f6fafb; color:var(--ink); }
html[data-theme='light'] .site-header {
  background:rgba(249,253,253,.94); border-color:rgba(15,68,81,.12);
  box-shadow:0 5px 20px rgba(22,50,68,.04);
}
html[data-theme='light'] .brand-name,
html[data-theme='light'] .site-footer .brand-name { color:#142d40; }
html[data-theme='light'] .brand-accent,
html[data-theme='light'] .site-footer .brand-accent { color:#087c67; }
html[data-theme='light'] .brand-label,
html[data-theme='light'] .site-footer .brand-label { color:#547587; }
html[data-theme='light'] .brand-mark { box-shadow:inset 0 0 0 1px rgba(106,242,204,.25),0 5px 16px rgba(17,54,64,.09); }
html[data-theme='light'] .nav-links a { color:#3f5968; }
html[data-theme='light'] .nav-links a:hover,
html[data-theme='light'] .nav-links a[aria-current='page'] { color:#08715e; }
html[data-theme='light'] .nav-links a[aria-current='page']::after { background:#08715e; }
html[data-theme='light'] .nav-cta { color:#08715e; background:#eaf9f3; border-color:#9cdcca; }
html[data-theme='light'] .nav-cta:hover { color:#061e23; background:var(--mint); }
html[data-theme='light'] .nav-toggle { color:#0c6255; }
html[data-theme='light'] .theme-toggle { background:#e7f8f2; color:#086c59; border-color:#a5d9cb; }
html[data-theme='light'] .theme-toggle:hover { background:#d3f5e8; border-color:#55bea1; }
html[data-theme='light'] .theme-toggle:focus-visible { outline-color:#08715e; }
html[data-theme='light'] .eyebrow { color:#087e66; }
html[data-theme='light'] .section-heading,
html[data-theme='light'] .subhead,
html[data-theme='light'] .split-article h2 { color:#123248; }
html[data-theme='light'] .section-intro,
html[data-theme='light'] .text-lead,
html[data-theme='light'] .split-article p { color:#466171; }
html[data-theme='light'] .arrow-link { color:#087862; }
html[data-theme='light'] .btn-outline { color:#13435a; background:rgba(255,255,255,.65); border-color:#a9cad0; }
html[data-theme='light'] .btn-outline:hover { color:#086e5b; border-color:#0e997d; background:#eefbf5; }

/* Homepage light hero - the workflow terminal itself remains dark. */
html[data-theme='light'] .hero { background:#eff9f8; color:#142e41; }
html[data-theme='light'] .hero::before {
  background:radial-gradient(ellipse 48% 61% at 82% 38%,rgba(67,205,166,.19),transparent 75%),
    radial-gradient(ellipse 56% 62% at 14% 98%,rgba(124,167,219,.16),transparent 78%),
    linear-gradient(124deg,#f9fcfe 0%,#edf9f7 54%,#e7f3f8 100%);
}
html[data-theme='light'] .hero::after { background-image:radial-gradient(rgba(24,126,101,.27) .8px,transparent .8px); opacity:.28; }
html[data-theme='light'] .hero h1 { color:#102e43; }
html[data-theme='light'] .hero h1 .accent { background:linear-gradient(105deg,#047762,#16a887,#087561); -webkit-background-clip:text; background-clip:text; }
html[data-theme='light'] .hero-copy { color:#3e5b69; }
html[data-theme='light'] .hero .eyebrow { color:#087662; border-color:#b3e5d5; background:#e1f7ed; }
html[data-theme='light'] .hero-note { color:#4a6775; }
html[data-theme='light'] .hero-note svg { stroke:#087a65; }
html[data-theme='light'] .hero-points span { color:#2c4e5e; }
html[data-theme='light'] .mock-shell { box-shadow:0 38px 85px rgba(18,62,76,.22),inset 0 1px rgba(255,255,255,.06),0 0 55px rgba(54,218,172,.08); }
html[data-theme='light'] .mock-orbit { border-color:rgba(9,141,105,.24); }
html[data-theme='light'] .mock-orbit::after { background:#0d9a80; box-shadow:0 0 16px #54d9b9; }

/* Section backgrounds and panels */
html[data-theme='light'] .value-strip { background:#e8f5f2; border-color:#d7e9e6; }
html[data-theme='light'] .value-intro { color:#557380; }
html[data-theme='light'] .value-item { color:#2c5061; }
html[data-theme='light'] .value-item svg { color:#087966; }
html[data-theme='light'] .services,
html[data-theme='light'] .process,
html[data-theme='light'] .faq,
html[data-theme='light'] .content-section { background:#f8fbfc; }
html[data-theme='light'] .outcomes,
html[data-theme='light'] .content-section.alt { background:#edf6f7; }
html[data-theme='light'] .use-cases,
html[data-theme='light'] .content-section.dark { background:#e7f3f4; color:#153348; }
html[data-theme='light'] .contact-section { background:#f6fafb; }
html[data-theme='light'] .services::before,
html[data-theme='light'] .content-section.alt::before { background:radial-gradient(circle at top right,rgba(49,174,142,.05),transparent 75%); }
html[data-theme='light'] .service-card,
html[data-theme='light'] .detail-card,
html[data-theme='light'] .track-card,
html[data-theme='light'] .principle,
html[data-theme='light'] .contact-option,
html[data-theme='light'] .comparison-col,
html[data-theme='light'] .bullet-card,
html[data-theme='light'] .panel-box,
html[data-theme='light'] .flow-step,
html[data-theme='light'] .faq-item {
  color:#143247; background:linear-gradient(145deg,#fff,#f7fcfc);
  border-color:#d4e5e7; box-shadow:0 8px 30px rgba(17,63,82,.045);
}
html[data-theme='light'] .service-card:hover,
html[data-theme='light'] .detail-card:hover,
html[data-theme='light'] .track-card:hover,
html[data-theme='light'] .principle:hover,
html[data-theme='light'] .contact-option:hover,
html[data-theme='light'] .bullet-card:hover,
html[data-theme='light'] .flow-step:hover { border-color:#60c7ac; box-shadow:0 17px 40px rgba(17,63,82,.12); }
html[data-theme='light'] .service-icon { background:#dff9ee; border-color:#c0e8d8; color:#0a7e66; }
html[data-theme='light'] .service-num { color:#628590; }
html[data-theme='light'] .service-card h3,
html[data-theme='light'] .detail-card h3,
html[data-theme='light'] .track-card h3,
html[data-theme='light'] .principle h3,
html[data-theme='light'] .contact-option h3,
html[data-theme='light'] .bullet-card h3 { color:#17364a; }
html[data-theme='light'] .service-card p,
html[data-theme='light'] .detail-card p,
html[data-theme='light'] .track-card p,
html[data-theme='light'] .principle p,
html[data-theme='light'] .contact-option p,
html[data-theme='light'] .bullet-card p { color:#516b78; }
html[data-theme='light'] .tags span { background:#eaf8f2; border-color:#d1eade; color:#276855; }
html[data-theme='light'] .detail-card .number,
html[data-theme='light'] .track-card .track-no,
html[data-theme='light'] .contact-option .number { color:#0b7e68; }
html[data-theme='light'] .outcomes-list div,
html[data-theme='light'] .check-list li { color:#3d5867; }
html[data-theme='light'] .outcomes-list svg { color:#087b66; }
html[data-theme='light'] .comparison-heading strong,
html[data-theme='light'] .comparison-col.highlight .comparison-heading strong { color:#15374a; }
html[data-theme='light'] .comparison-heading span { color:#5e7684; background:#edf3f6; }
html[data-theme='light'] .comparison-items div,
html[data-theme='light'] .comparison-col.highlight .comparison-items div { color:#435e6e; }
html[data-theme='light'] .comparison-items svg { color:#63968c; }
html[data-theme='light'] .comparison-col.highlight { background:linear-gradient(145deg,#daf6ec,#eefbf7); border-color:#76ceb6; box-shadow:0 18px 40px rgba(11,121,99,.09); }
html[data-theme='light'] .comparison-col.highlight .comparison-heading span { color:#08705e; background:#c0efdf; }
html[data-theme='light'] .comparison-col.highlight .comparison-items svg { color:#077a62; }
html[data-theme='light'] .process-step h3 { color:#16374b; }
html[data-theme='light'] .process-step p { color:#4e6979; }
html[data-theme='light'] .process-step:not(:last-child)::after { border-color:#a5d9ce; }
html[data-theme='light'] .step-number { background:#dff7ed; color:#0b7562; border-color:#b4e2d2; }
html[data-theme='light'] .engagement-band { background:linear-gradient(110deg,#e1f6f0,#e7f3fa); border-color:#cde5e1; }
html[data-theme='light'] .engagement-band div strong { color:#153448; }
html[data-theme='light'] .engagement-band div span { color:#4f6b78; }
html[data-theme='light'] .use-cases { border-color:#dbe8e8; }
html[data-theme='light'] .use-cases .section-heading,
html[data-theme='light'] .content-section.dark .section-heading { color:#153448; }
html[data-theme='light'] .use-cases .section-intro,
html[data-theme='light'] .content-section.dark .section-intro { color:#425e6e; }
html[data-theme='light'] .usecase-card { background:linear-gradient(145deg,#fff,#f6fcfc); border-color:#d1e6e2; }
html[data-theme='light'] .usecase-card h3 { color:#153749; }
html[data-theme='light'] .usecase-card p { color:#4e6a79; }
html[data-theme='light'] .usecase-card .symbol { background:#e0f8ec; color:#087c64; border-color:#bde5d4; }
html[data-theme='light'] .use-cases-quote { color:#3c626c; }
html[data-theme='light'] .faq-item[open] { background:#ebf9f4; border-color:#9bd6c5; }
html[data-theme='light'] .faq-item summary { color:#13384a; }
html[data-theme='light'] .faq-item summary::after { color:#087f67; }
html[data-theme='light'] .faq-item p { color:#465f70; }

/* All inner pages share the same bright hero treatment. */
html[data-theme='light'] .page-hero { color:#12374c; background:#f0f8f9; }
html[data-theme='light'] .page-hero::before { background:radial-gradient(ellipse 46% 90% at 80% 34%,rgba(79,205,167,.20),transparent 75%),linear-gradient(110deg,#f9fcfd 0%,#e9f6f6 100%); }
html[data-theme='light'] .page-hero::after { border-color:rgba(9,135,107,.22); box-shadow:0 0 0 75px rgba(10,156,124,.028),0 0 0 155px rgba(10,156,124,.018); }
html[data-theme='light'] .page-hero h1 { color:#153548; }
html[data-theme='light'] .page-hero h1 .accent { color:#0a886f; }
html[data-theme='light'] .page-hero p { color:#465e6e; }
html[data-theme='light'] .breadcrumb { color:#476b77; }
html[data-theme='light'] .breadcrumb a { color:#08765f; }
html[data-theme='light'] .section-kicker { color:#087b64; }
html[data-theme='light'] .panel-box.soft { background:#eaf9f4; }
html[data-theme='light'] .panel-box h3,
html[data-theme='light'] .flow-step h3 { color:#193e51; }
html[data-theme='light'] .panel-box p,
html[data-theme='light'] .flow-step p { color:#546c77; }
html[data-theme='light'] .pill { background:#def6e9; color:#08725d; border-color:#b4e1d2; }
html[data-theme='light'] .flow-step .flow-no,
html[data-theme='light'] .flow-step::after { color:#087d66; }
html[data-theme='light'] .split-article { border-color:#d4e4e6; }
html[data-theme='light'] .track-card .level { background:#dff6e9; color:#0b705d; }
html[data-theme='light'] .track-card .card-bottom { color:#08705d; }
html[data-theme='light'] .track-card ul { color:#476170; }
html[data-theme='light'] .feature-strip span { background:#fff; border-color:#cce4df; color:#1c5261; }
html[data-theme='light'] .quote-card { background:linear-gradient(135deg,#e2f7ee,#e8f4fb); color:#183f4b; border-color:#b8e2d5; }
html[data-theme='light'] .quote-card h3 { color:#17394c; }
html[data-theme='light'] .quote-card p { color:#466673; }
html[data-theme='light'] .principle .symbol { color:#087b67; }
html[data-theme='light'] .mini-nav a { background:#fff; border-color:#c4e4dc; color:#205b63; }
html[data-theme='light'] .warning-note { background:#fff8ec; color:#715624; border-color:#e8d2a9; }
html[data-theme='light'] .small-caption,
html[data-theme='light'] .footnote { color:#637e8b; }

/* Keep the consultation CTA and contact panel as dark navy accent surfaces. */
html[data-theme='light'] .contact-details { background:linear-gradient(155deg,#103a38,#0b2338); color:#fff; }
html[data-theme='light'] .contact-details h3 { color:#fff; }
html[data-theme='light'] .contact-details p { color:#d1e5e8; }
html[data-theme='light'] .contact-details a.email { color:#94f6d7; }
html[data-theme='light'] .contact-card { background:linear-gradient(115deg,#0b4740,#103f40 52%,#122f46); color:#fff; }
html[data-theme='light'] .contact-card h2 { color:#fff; }
html[data-theme='light'] .contact-card .eyebrow { color:#b9ffe9; }
html[data-theme='light'] .contact-card p { color:#d3e8e8; }
html[data-theme='light'] .contact-action a { color:#0a2830; background:#6af2cc; }
html[data-theme='light'] .contact-action span { color:#c3e0db; }

/* Bright footer with clear information hierarchy */
html[data-theme='light'] .site-footer { background:#e7f1f4; color:#405e70; border-top:1px solid #d4e4e7; }
html[data-theme='light'] .footer-heading { color:#254456; }
html[data-theme='light'] .footer-description,
html[data-theme='light'] .footer-list a { color:#456677; }
html[data-theme='light'] .footer-list a:hover { color:#087762; }
html[data-theme='light'] .footer-bottom { color:#577789; border-top-color:#cbdfe4; }

/* Mobile menu overrides the original dark-only rule that used !important. */
@media(max-width:1050px) {
  html[data-theme='light'] .nav-links { background:#f9fdfd !important; border-color:#cde4e1 !important; box-shadow:0 24px 50px rgba(14,57,69,.13) !important; }
  html[data-theme='light'] .nav-links a { color:#355769 !important; }
  html[data-theme='light'] .nav-links a:hover,
  html[data-theme='light'] .nav-links a[aria-current='page'] { color:#087964 !important; }
}
@media(prefers-reduced-motion:reduce) { .theme-toggle { transition:none; } }
