/* Consultor.ia: the Studio theme preference with three distinct areas of expertise. */
:root{
 --home-surface:#fff;--home-raised:#f5f7fa;--home-header:#ffffffed;--home-green:#096b57;--home-purple:#7043dc;--home-blue:#14799f;
 --home-green-soft:#edf7f2;--home-purple-soft:#f3effc;--home-blue-soft:#edf5fc;
 --home-green-line:#c8e3d7;--home-purple-line:#dbcef4;--home-blue-line:#c9e0f2;
}
html[data-studio-theme=dark]{
 color-scheme:dark;--bg:#08090c;--panel:#0c0e12;--panel2:#15181f;--text:#edeef3;--muted:#abb1bf;--line:#2b303a;
 --accent:#72d5b7;--violet:#b69aff;--cyan:#81c8ed;--home-surface:#0c0e12;--home-raised:#141820;--home-header:#08090cf2;
 --home-green:#72d5b7;--home-purple:#b69aff;--home-blue:#81c8ed;
 --home-green-soft:#10221e;--home-purple-soft:#201a30;--home-blue-soft:#102033;
 --home-green-line:#294d40;--home-purple-line:#47365f;--home-blue-line:#2b4b68;
 background:var(--bg);color:var(--text);
}
.consultoria-home{--area-accent:var(--home-green);--area-soft:var(--home-green-soft);--area-line:var(--home-green-line)}
.consultoria-home :is([data-area=generative],[data-demo=generative],.generative-panel){--area-accent:var(--home-purple);--area-soft:var(--home-purple-soft);--area-line:var(--home-purple-line)}
.consultoria-home :is([data-area=agentic],[data-demo=agentic],.agentic-panel){--area-accent:var(--home-blue);--area-soft:var(--home-blue-soft);--area-line:var(--home-blue-line)}
/* Stable, compact header: the theme control stays within reach beside the menu. */
.consultoria-home .header{background:var(--home-header);border-color:var(--line)}
.consultoria-home .header:after{content:"";position:absolute;inset:auto 0 -1px;height:2px;background:linear-gradient(90deg,var(--home-green) 0 33.33%,var(--home-purple) 33.33% 66.66%,var(--home-blue) 66.66%);opacity:.65;pointer-events:none}
.consultoria-home .nav{height:78px;gap:24px}
.consultoria-home .header-brand-group{display:flex;align-items:center;gap:20px;width:auto;flex:none}
.consultoria-home .header-brand-group>.brand{min-height:44px;font-size:26px}
.consultoria-home .header-brand-group>.studio-entry{width:auto;min-height:44px;padding:9px 16px;gap:8px;font-size:16px;border-radius:11px;background:#7043dc;box-shadow:none;animation:none}
.consultoria-home .studio-entry:before{display:none}
.consultoria-home .studio-entry:hover{background:#8050ec;transform:none;box-shadow:none}
.consultoria-home .studio-entry svg{width:19px;height:19px}
.consultoria-home .studio-entry-arrow{display:none}
.consultoria-home .brand-suffix{color:var(--home-green)}
.consultoria-home .nav nav{order:2;gap:22px;color:var(--muted)}
.consultoria-home .nav nav a:hover{color:var(--text)}
.consultoria-home .nav-ready-solutions{color:var(--home-purple)}
.home-header-controls{display:flex;align-items:center;gap:8px;order:3;flex:none}
.consultoria-home .nav-cta{order:4;border-radius:11px;white-space:nowrap}
.home-header-controls .studio-theme-toggle{display:grid;place-items:center;flex:none;width:42px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--muted);font:24px/1 Arial,sans-serif;touch-action:manipulation}
.home-header-controls .studio-theme-toggle:hover,.home-header-controls .menu-toggle:hover{background:var(--home-raised);color:var(--text)}
.home-header-controls .studio-theme-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-header-controls .studio-theme-sun{display:none}
html[data-studio-theme=dark] .studio-theme-sun{display:block}
html[data-studio-theme=dark] .studio-theme-moon{display:none}
.consultoria-home .header .menu-toggle{width:42px;height:44px;flex:0 0 42px;border-radius:11px}
.consultoria-home :is(a,button,summary):focus-visible{outline:3px solid var(--area-accent);outline-offset:4px}
/* A quieter surface and consistent radii tie the home to Studio. */
.consultoria-home .hero{min-height:0;padding-block:48px 32px;gap:30px}
.consultoria-home .hero h1{font-weight:750;text-wrap:balance}
.consultoria-home .hero-description{max-width:900px}
.consultoria-home .hero .eyebrow,.consultoria-home .hero-footnote{color:var(--muted)}
.consultoria-home .button{border-radius:12px;min-height:48px}
.consultoria-home .primary,.consultoria-home .nav-cta{background:#096b57;border-color:transparent;color:#fff}
.consultoria-home .primary:hover,.consultoria-home .nav-cta:hover{background:#08785f}
.consultoria-home .hero .primary>span,.consultoria-home .contact-section .primary>span{display:none}
.consultoria-home .studio-preview{box-shadow:none;border-color:var(--home-purple-line);border-radius:20px;background:var(--home-surface)}
.consultoria-home .studio-preview-disclosure{min-height:72px;background:var(--home-purple-soft);color:var(--home-purple);border-color:var(--home-purple-line)}
.consultoria-home .studio-preview[open]>.studio-preview-disclosure{border-bottom-color:var(--home-purple-line)}
.consultoria-home .studio-demo-cta{background:#7043dc;box-shadow:none;animation:none}
.consultoria-home .studio-demo-cta:before{display:none}
.consultoria-home .section{padding-block:76px}
.consultoria-home .section-heading{gap:48px}
.consultoria-home .section-heading h2{font-weight:700}
.consultoria-home .solution-card{display:flex;flex-direction:column;border:1px solid var(--area-line);border-radius:20px;background:linear-gradient(145deg,var(--area-soft),var(--home-surface));padding:28px}
.consultoria-home .solution-card:hover{box-shadow:0 12px 32px #0000000a;transform:translateY(-3px)}
.consultoria-home .solution-card .service-icon{background:var(--area-soft);color:var(--area-accent)}
.consultoria-home .solution-card p{min-height:0;flex:1}
.consultoria-home .solution-card ul{border-color:var(--area-line);color:var(--muted)}
.consultoria-home .solution-card li:before,.consultoria-home .solution-card>a{color:var(--area-accent)}
.consultoria-home .solution-card>a{min-height:44px;align-items:center}
.consultoria-home .lab-section{background:var(--home-raised);border-color:var(--line);padding-block:72px}
.consultoria-home .demo-shell{border-radius:20px;border-color:var(--line);background:var(--home-surface);box-shadow:none}
.consultoria-home .demo-toolbar{background:var(--home-surface)}
.consultoria-home .demo-tabs button{padding:21px 17px;background:var(--home-surface);border:1px solid var(--area-line);border-radius:14px;box-shadow:none;color:var(--text)}
.consultoria-home .demo-tabs button:hover{background:var(--area-soft);border-color:var(--area-accent);box-shadow:none;transform:none}
.consultoria-home .demo-tabs button[aria-selected=true]{background:var(--area-soft);border:1px solid var(--area-accent);padding:21px 17px;box-shadow:inset 0 -3px var(--area-accent);color:var(--text)}
.consultoria-home .demo-tabs button .area-icon,.consultoria-home .demo-tabs button[aria-selected=true] .area-icon{background:var(--area-soft);color:var(--area-accent)}
.consultoria-home .demo-tabs button .area-copy small,.consultoria-home .demo-tabs button .area-detail{color:var(--muted)}
.consultoria-home .demo-tabs button .area-copy{padding-right:0}
.consultoria-home .area-icon svg{display:block;width:24px;height:24px}
.consultoria-home .service-icon svg{display:block;width:28px;height:28px}
.consultoria-home .process-grid{gap:16px;margin-top:36px}
.consultoria-home .process-grid li{border:1px solid var(--line);border-radius:18px;background:var(--home-surface);padding:22px}
.consultoria-home .process-grid li>span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--home-green-soft);color:var(--home-green);font-weight:700}
.consultoria-home .principles{background:var(--home-green-soft);border-color:var(--home-green-line);border-radius:14px;color:var(--muted)}
.consultoria-home .faq-list details{background:var(--home-surface);border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:18px 20px}
.consultoria-home .faq-list details[open]{border-color:var(--home-green-line);background:var(--home-green-soft)}
.consultoria-home .faq-list summary{font-weight:600}
.consultoria-home .contact-section{background:var(--home-green-soft);border-color:var(--home-green-line)}
.consultoria-home .contact-section h2,.consultoria-home .contact-details a{color:var(--text)}
.consultoria-home .contact-section p{color:var(--muted)}
.consultoria-home .contact-section .eyebrow,.consultoria-home .contact-details span{color:var(--home-green)}
.consultoria-home .contact-details{border-color:var(--home-green-line)}
/* Dark surfaces extend through every interactive demonstration. Image pixels retain their original colors. */
html[data-studio-theme=dark] .consultoria-home :is(h1,h2,h3,h4,h5,h6,strong,summary){color:var(--text)}
html[data-studio-theme=dark] .consultoria-home :is(p,small,dt,dd,label,caption,th,td,.eyebrow,.card-number,.motion-toggle,.demo-navigation-kicker,.demo-bottom>span,.source-filebar,.cluster-map-kicker,.cluster-axis-label,.chart-months,.chart-legend,.ml-tab-number,.ml-kind,.ml-types,.rl-cell,.basket,.trace-state,.trace-tool,.trace-number){color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home :is(h1 em,.brand-suffix){color:var(--home-green)}
html[data-studio-theme=dark] .consultoria-home h2>span{color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home :is(.demo-panel,.demo-shell,.source-preview,.studio-preview) :where(*){border-color:var(--line)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-results,.gen-workspace,.agent-workspace,.gen-input,.gen-output,.demo-screen,.ml-matrix-grid>div,.cluster-map,.source-document,.source-preview,.rl-cell,.basket,.association-rule>span){background:var(--home-surface);color:var(--text);box-shadow:none}
html[data-studio-theme=dark] .consultoria-home :is(.ml-sidebar,.gen-sidebar,.agent-sidebar,.ml-metrics,.ml-algorithm,.ml-table caption,.ml-table th,.ml-table tbody tr:nth-child(even),.ml-types li,.source-image-button,.source-format,.source-preview-toolbar,.source-preview-footer,.gen-card-heading,.gen-flow li>span,.gen-avatar,.gen-request,.agent-brief,.agent-code-block summary,.agent-code-block pre,.trace-tool,.trace-number,.insight,.demo-bottom,.association-rule,.cluster-population,.studio-preview-top,.studio-preview-bottom,.studio-preview-art){background:var(--home-raised);color:var(--muted);box-shadow:none}
html[data-studio-theme=dark] .consultoria-home :is(.ml-tabs button,.ml-example-switch button,.scenario-buttons button,.source-actions button,.source-actions a,.source-text-download,.source-preview-toolbar button,.gen-answer-header button,.agent-execution-heading .button,.cluster-view-controls button,.cluster-group-controls button){background:var(--home-surface);border-color:var(--line);color:var(--text);box-shadow:none}
html[data-studio-theme=dark] .consultoria-home :is(.ml-tabs button:hover,.ml-example-switch button:hover,.source-actions button:hover,.source-actions a:hover,.cluster-view-controls button:hover,.cluster-group-controls button:hover){background:var(--area-soft);border-color:var(--area-line)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-tabs button[aria-selected=true],.ml-example-switch button[aria-pressed=true],.scenario-buttons .selected,.cluster-view-controls button[aria-pressed=true],.cluster-group-all[aria-pressed=true]){background:var(--area-soft);border-color:var(--area-accent);color:var(--area-accent);box-shadow:inset 0 -2px var(--area-accent)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-tabs button,.cluster-group-controls button) small{color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home :is(.demo-panel,.source-preview) :is(a,.demo-tag,.ml-kind,.ml-value>span,.ml-algorithm>span,.gen-card-heading>span,.gen-flow>li>span,.source-preview-footer a){color:var(--area-accent)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-value,.ml-example-note,.screen-badge,.cluster-insight,.agent-benefit,.gen-benefit,.studio-preview-badge,.studio-preview-modes>span){background:var(--area-soft);color:var(--area-accent);border-color:var(--area-line)}
html[data-studio-theme=dark] .consultoria-home .ml-track,html[data-studio-theme=dark] .consultoria-home .agent-progress>div{background:var(--line)}
html[data-studio-theme=dark] .consultoria-home .ml-bar{background:#72b99b}
html[data-studio-theme=dark] .consultoria-home .ml-bar-alt{background:#7aafe0}
html[data-studio-theme=dark] .consultoria-home .agent-progress>div>span{background:var(--home-blue)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-matrix-grid .ml-hit,.rl-route,.basket.both,.trace-done .trace-number){background:var(--home-green-soft);border-color:var(--home-green-line);color:var(--home-green)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-matrix-grid .ml-false,.ml-matrix-grid .ml-missed,.basket.filter,.agent-approval,.trace-approval .trace-number){background:#2b2418;border-color:#665334;color:#edc57d}
html[data-studio-theme=dark] .consultoria-home :is(.basket.coffee,.trace-active .trace-number){background:var(--home-blue-soft);border-color:var(--home-blue-line);color:var(--home-blue);box-shadow:none}
html[data-studio-theme=dark] .consultoria-home .rl-obstacle{background:repeating-linear-gradient(135deg,#252b34,#252b34 4px,#171c24 4px,#171c24 8px)}
html[data-studio-theme=dark] .consultoria-home .rl-endpoint{background:#23634e;color:#fff}
html[data-studio-theme=dark] .consultoria-home #rl-calculation{background:var(--home-green-soft);color:var(--home-green)}
html[data-studio-theme=dark] .consultoria-home .cluster-group-button[aria-pressed=true]{border-color:var(--cluster-color);box-shadow:inset 0 -2px var(--cluster-color);background:var(--home-raised)}
html[data-studio-theme=dark] .consultoria-home .cluster-point{stroke:var(--home-surface)}
html[data-studio-theme=dark] .consultoria-home :is(.cluster-tick,svg text){fill:var(--muted)}
html[data-studio-theme=dark] .consultoria-home :is(.cluster-gridline,.chart-grid line){stroke:var(--line)}
html[data-studio-theme=dark] .consultoria-home .source-preview::backdrop{background:#000b}
html[data-studio-theme=dark] .consultoria-home .studio-preview{--area-accent:var(--home-purple);--area-soft:var(--home-purple-soft);--area-line:var(--home-purple-line)}
html[data-studio-theme=dark] .consultoria-home :is(.studio-preview-agent,.studio-preview-gallery-group figcaption,.studio-preview-sender){color:var(--home-purple)}
html[data-studio-theme=dark] .consultoria-home .studio-preview-request{background:var(--home-purple-soft);color:var(--text)}
html[data-studio-theme=dark] .consultoria-home .studio-disclosure-copy strong{color:var(--home-purple)}
html[data-studio-theme=dark] .consultoria-home .studio-disclosure-description{color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home :is(.studio-demo-cta,.studio-demo-cta span,.studio-entry,.primary,.nav-cta,.agent-approval button,.studio-preview-logo){color:#fff}
@media(min-width:981px){.consultoria-home .header .menu-toggle{display:none}.consultoria-home .nav nav{position:static;background:transparent}}
@media(max-width:1250px){.consultoria-home .nav{gap:18px}.consultoria-home .nav nav{gap:18px}.consultoria-home .header-brand-group{gap:14px}}
@media(max-width:980px){
 .consultoria-home .nav{height:72px;gap:14px}.consultoria-home .header-brand-group{flex:1;justify-content:space-between}
 .consultoria-home .nav nav{top:100%;background:var(--home-surface);border-color:var(--line);box-shadow:0 16px 30px #0002;padding:20px 28px;gap:6px}
 .consultoria-home .nav nav a{min-height:44px;display:flex;align-items:center;padding:8px 12px;border-radius:10px}
 .consultoria-home .nav nav a:hover{background:var(--home-raised)}
 .consultoria-home .header-brand-group>.studio-entry{margin-left:auto}
}
@media(max-width:760px){
 .consultoria-home .nav{height:67px;width:calc(100% - 24px);gap:10px}
 .consultoria-home .header-brand-group{gap:10px;min-width:0}
 .consultoria-home .header-brand-group>.brand{font-size:21px;justify-content:flex-start}
 .consultoria-home .header .brand small{font-size:7px;letter-spacing:.85px;margin-top:5px}
 .consultoria-home .header-brand-group>.studio-entry{font-size:14px;min-height:40px;padding:7px 10px;gap:5px}
 .consultoria-home .studio-entry svg{width:16px;height:16px}
 .home-header-controls{gap:6px}
 .home-header-controls .studio-theme-toggle,.consultoria-home .header .menu-toggle{width:36px;height:40px;min-height:40px;flex-basis:36px;border-radius:10px}
 .consultoria-home .hero{padding-block:32px 30px;gap:26px}
 .consultoria-home .hero h1{font-size:clamp(36px,9.5vw,52px);letter-spacing:-1.7px;line-height:1.13;margin-bottom:20px;text-wrap:initial}
 .consultoria-home .hero .eyebrow{font-size:10px;letter-spacing:1.35px;gap:10px;margin-bottom:24px}
 .consultoria-home .hero-description{font-size:17px;line-height:1.75;margin-bottom:24px}
 .consultoria-home .hero-actions{gap:18px}
 .consultoria-home .hero-actions>.primary{min-height:56px;border-radius:14px;justify-content:center;padding:14px 16px;font-size:15px}
 .consultoria-home .hero-actions>.text-link{min-height:40px}
 .consultoria-home .hero-footnote{margin-top:16px;gap:8px;font-size:11px}
 .consultoria-home .studio-preview-disclosure{min-height:72px;padding:15px 17px}
 .consultoria-home .studio-disclosure-copy strong{font-size:16px}
 .consultoria-home .section,.consultoria-home .lab-section{padding-block:48px}
 .consultoria-home .section-heading{gap:20px}
 .consultoria-home .demo-tabs button,.consultoria-home .demo-tabs button[aria-selected=true]{padding:15px 19px;min-height:99px}
 .consultoria-home .process-grid{grid-template-columns:1fr 1fr;gap:12px}
 .consultoria-home .process-grid li{padding:18px}
 .consultoria-home .process-grid h3{font-size:18px}
 .consultoria-home .process-grid p{font-size:14px}
}
@media(max-width:359px){
 .consultoria-home .nav{gap:7px}.consultoria-home .header-brand-group{gap:7px}
 .consultoria-home .header-brand-group>.brand{font-size:18px}.consultoria-home .header .brand small{font-size:6px;letter-spacing:.7px}
 .consultoria-home .header-brand-group>.studio-entry{font-size:13px;padding-inline:8px}
 .home-header-controls{gap:5px}.home-header-controls .studio-theme-toggle,.consultoria-home .header .menu-toggle{width:34px;flex-basis:34px}
 .consultoria-home .process-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.consultoria-home .solution-card{transition:none}.consultoria-home .solution-card:hover{transform:none}}

/* Keep small labels and disclosure affordances legible on dark surfaces. */
html[data-studio-theme=dark] .consultoria-home .skip{color:#08090c}
html[data-studio-theme=dark] .consultoria-home .demo-bottom a{color:var(--home-green)}
html[data-studio-theme=dark] .consultoria-home :is(.ml-metrics span,.ml-matrix-grid span){color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home .legend-area{background:#345071}
html[data-studio-theme=dark] .consultoria-home .studio-disclosure-chevron{border-color:var(--home-purple)}

html[data-studio-theme=dark] .consultoria-home :is(.studio-preview-agent>span:last-child,.gen-flow li,.ml-bar-row>div:first-child,.ml-legend,.source-document-meta){color:var(--muted)}
html[data-studio-theme=dark] .consultoria-home .insight>span{color:var(--home-green)}
html[data-studio-theme=dark] .consultoria-home .cluster-legend-symbol{color:color-mix(in srgb,var(--cluster-color) 70%,#fff)}
