/* Public dark theme. Brand artwork and application screenshots retain their colors. */
html[data-theme="dark"],
html[data-theme="dark"] .original-home {
  color-scheme: dark;
  --canvas:#18242d;
  --surface:#22343f;
  --surface-soft:#293e49;
  --soft:#293e49;
  --line:#466171;
  --ink:#e5edf4;
  --muted:#b4c4d0;
  --blue:#a5d4f1;
  --orange:#ffb26b;
  --root-blue:#a5d4f1;
  --root-blue-deep:#e5edf4;
  --root-blue-soft:#293e49;
  --root-orange:#ffb26b;
  background:var(--canvas);
}
html[data-theme="dark"] .site-body { color:var(--ink); background:var(--canvas); }
html[data-theme="dark"] .site-header { --header-ink:#e5edf4; --header-surface:#293e49; --header-line:#5e7889; background:#18242df5; border-color:var(--line); }
html[data-theme="dark"] .site-header .brand.uses-shared-logo { background:transparent; padding:0; border-color:transparent; box-shadow:none; }
html[data-theme="dark"] .site-header .brand img.logo-dark { background:transparent; padding:0; border-radius:0; filter:brightness(0) invert(1); }
html[data-theme="dark"] .site-header :is(.main-nav>a,.nav-more-toggle,.language-link) { color:var(--ink); }
html[data-theme="dark"] .site-header .main-nav>a[aria-current="page"] { background:var(--surface-soft); color:var(--blue); }
html[data-theme="dark"] :is(.nav-more-menu,.mobile-nav) { background:var(--surface); border-color:var(--line); box-shadow:0 16px 38px #08141d40; }
html[data-theme="dark"] :is(.nav-more-menu a,.mobile-nav-links a,.mobile-nav-head) { color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] :is(.nav-more-menu a,.mobile-nav-links a):hover { background:var(--surface-soft); color:var(--blue); }
html[data-theme="dark"] .site-body .button-primary { color:#182f40; background:var(--blue); border-color:var(--blue); }
html[data-theme="dark"] .site-body :is(.button-primary:hover,.contact-form-submit) { color:#182f40; background:#b9def5; border-color:#b9def5; }
html[data-theme="dark"] .site-body :is(.solution-card,.article-card,.career-card,.article-reading-aside,.links-panel,.article-search,.related-reading-list a) { background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] .site-body .solution-card { --card-tone:#9dceed; --card-tint:#2d495b; }
html[data-theme="dark"] .site-body .solution-card[data-tone="1"] { --card-tone:#ffbe84; --card-tint:#4b3c31; }
html[data-theme="dark"] .site-body .solution-card[data-tone="2"] { --card-tone:#95d8c6; --card-tint:#294943; }
html[data-theme="dark"] .site-body .solution-card[data-tone="3"] { --card-tone:#b6c9ff; --card-tint:#344159; }
html[data-theme="dark"] .site-body .solution-card[data-tone="4"] { --card-tone:#c7d99f; --card-tint:#3d4932; }
html[data-theme="dark"] .site-body .solution-card[data-tone="5"] { --card-tone:#efb4ac; --card-tint:#503b3c; }
html[data-theme="dark"] .site-body .solution-card .solution-copy h3 { color:var(--ink); }
html[data-theme="dark"] .site-body .solution-card .solution-body p { color:var(--muted); }
html[data-theme="dark"] .site-body .solution-card .solution-action { color:var(--blue); border-color:var(--line); }
html[data-theme="dark"] .site-body :is(.page-breadcrumbs span:last-child,.article-toc>strong,.article-search input,.article-reading-aside>strong) { color:var(--ink); }
html[data-theme="dark"] .site-body :is(.article-prose p,.article-toc a,.article-results-status,.gallery-motion-bar) { color:var(--muted); }
html[data-theme="dark"] .site-body :is(.article-filters button,.gallery-motion-toggle,.moving-portfolio .work-categories a,.work-category-picker) { color:var(--ink); background:var(--surface-soft); border-color:var(--line); }
html[data-theme="dark"] .site-body :is(.article-filters button[aria-pressed="true"],.moving-portfolio .work-categories a[aria-current="page"],.work-category-picker .work-categories [aria-current="page"]) { background:#b9def5; color:#182f40; border-color:#b9def5; }
html[data-theme="dark"] .site-body :is(.article-toc a[aria-current="location"],.related-reading-list a:hover) { background:var(--surface-soft); color:var(--blue); }
html[data-theme="dark"] .site-body :is(.detail-icon,.studio-products-band,.home-about,.home-contact-zone,.comparison-board,.work-entry) { background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] .original-home :is(.home-section-heading h2,.home-about h2,.faq-heading h2,.home-contact h2,.home-feature h3,.comparison-board h3,.comparison-row h4,.process-step h3,.home-about-points h3,.home-contact-form h3,.home-text-link,.service-detail a) { color:var(--ink); }
html[data-theme="dark"] .original-home :is(.home-section-heading p,.home-about-copy>p,.faq-heading>p,.home-contact-copy>p,.home-feature p,.process-step p,.home-about-points p,.home-contact-form p,.service-detail p) { color:var(--muted); }
html[data-theme="dark"] .original-home :is(.home-contact-form,.service-accordion details,.faq-item) { color:var(--ink); background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] .original-home .service-accordion details[open] { background:var(--surface-soft); }
html[data-theme="dark"] .original-home :is(.service-summary-icon,.service-expander,.home-feature>span,.process-step>i) { background:var(--surface-soft); color:var(--blue); }
html[data-theme="dark"] .original-home .service-accordion details[open] .service-expander { color:#182f40; background:var(--orange); }
html[data-theme="dark"] .original-home :is(.faq-item summary,.faq-item summary>strong,.home-button.is-secondary) { color:var(--ink); }
html[data-theme="dark"] .original-home .faq-item>p { color:var(--muted); }
html[data-theme="dark"] .original-home .comparison-value.is-other i { background:var(--surface-soft); color:var(--muted); }
html[data-theme="dark"] .site-body :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { background:var(--surface-soft); color:var(--ink); border-color:#6b8393; }
html[data-theme="dark"] .site-body input::placeholder,
html[data-theme="dark"] .site-body textarea::placeholder { color:var(--muted); opacity:1; }
html[data-theme="dark"] .original-home .article-search input { background:transparent; }
html[data-theme="dark"] .original-home .home-signal-bar { background:transparent; }
html[data-theme="dark"] .original-home .home-signal-bar>div { background:#274759; }
html[data-theme="dark"] .original-home .home-signal-bar>div:first-child { background:#f3aa60; }
html[data-theme="dark"] .original-home .home-signal-bar>div:first-child :is(strong,span) { color:#182f40; }
html[data-theme="dark"] .original-home .home-signal-bar>div:not(:first-child) strong { color:var(--ink); }
html[data-theme="dark"] .original-home .home-signal-bar>div:not(:first-child) span { color:#cad9e4; }
html[data-theme="dark"] .site-body :focus-visible { outline-color:var(--orange); }
html[data-theme="dark"] .site-body .agency-footer { background:#203847; }
