/* ALGOWEB v43: one blue identity, explicit light/dark surfaces. Photographs are never inverted. */
:root {
  --aw43-bg:#fff; --aw43-surface:#f6f8fc; --aw43-card:#fff;
  --aw43-text:#17191d; --aw43-muted:#536071; --aw43-line:#dce4ef;
  --aw43-accent:#4087ed; --aw43-focus:#2464be;
  --aw-orange:#2464be; --aw-pink:#4087ed; --aw-purple:#70afff;
  --aw-brand-gradient:linear-gradient(110deg,#2464be 0%,#4087ed 54%,#78baff 100%);
  --wp--preset--gradient--brand:var(--aw-brand-gradient);
  --wp--preset--color--brand-orange:#2464be;
  --wp--preset--color--brand-pink:#4087ed;
  --wp--preset--color--brand-purple:#70afff;
  color-scheme:light;
}
html[data-aw-theme="dark"] {
  --aw43-bg:#11151d; --aw43-surface:#171e29; --aw43-card:#1d2633;
  --aw43-text:#f4f7fc; --aw43-muted:#b7c4d6; --aw43-line:#3b4b62;
  --aw43-accent:#75adff; --aw43-focus:#a8cdff;
  --aw-paper:#11151d; --aw-cashmere:#171e29; --aw-ink:#f4f7fc;
  --aw-muted:#b7c4d6; --aw-rule:#3b4b62;
  --aw-brand-gradient:linear-gradient(110deg,#7fb6ff 0%,#4087ed 54%,#aad4ff 100%);
  color-scheme:dark;
}
body {background:var(--aw43-bg); color:var(--aw43-text)}
body :is(a,button,summary,input,textarea,select):focus-visible {outline:3px solid var(--aw43-focus); outline-offset:4px}
body .aw-gradient-text {background-image:var(--aw-brand-gradient)}
body :is(.aw-text-link,.aw-footer-start)>span[aria-hidden="true"] {color:var(--aw43-accent)}
body .aw-process .aw-process-icon .aw-icon-accent {stroke:#4087ed}
body .aw-offer-card .aw-offer-arrow,body .aw-offer-card .aw-offer-more>span {color:#80b7ff}
body .aw-process .aw-process-step {border-color:var(--aw43-line)}
body .aw-offer17 {--accent:var(--aw-brand-gradient)}
body .aw-offer17 .awof17-btn:after,
body .aw-offer17 .awof17-btn:hover:after {background:#4087ed;color:#fff}
body .aw-offer17 .awof17-faq-list summary:after {color:var(--aw43-accent)}
body .aw-offer17 .awof33-dialog :is(input,textarea):focus-visible {outline-color:#86baff;border-color:#86baff}
body .aw-offer17 .awof33-dialog .aw-privacy-row input {accent-color:#4087ed}
body .aw-offer17 .awof33-dialog .aw-req {color:#9cc6ff}
body .aw-menu-link:focus-visible {outline-color:#90c0ff}

/* The existing black atelier, contact and footer remain deliberate dark sections in both modes. */
body :is(.aw-atelier,.aw-contact-panel,.aw-footer-expanded) {--aw-ink:#fff;--aw-paper:#080b10;--aw-muted:#bac6d6;color-scheme:dark}
body .aw-atelier .aw-offer-card {--aw-pillar-accent:#75adff}
body .aw-offer-pillar--branding,body .aw-offer-pillar--operations {--aw-pillar-accent:#75adff}
body .aw-atelier-ending {background-image:linear-gradient(90deg,#fff 0%,#fff 14%,#94c2ff 43%,#4087ed 72%,#76acff 100%)}

html[data-aw-theme="dark"] body .aw-opening-v42 {
  --aw-bg:var(--aw43-bg);--aw-soft:var(--aw43-surface);--aw-ink:var(--aw43-text);
  --aw-muted:var(--aw43-muted);--aw-line:var(--aw43-line);--aw-focus:var(--aw43-focus);
  color-scheme:dark;
}
html[data-aw-theme="dark"] body .aw-opening-v42 .aw42-showreel {color-scheme:light}
html[data-aw-theme="dark"] body .aw-atelier {background:var(--aw43-bg)}
html[data-aw-theme="dark"] body :is(.aw-services,.aw-about,.aw-faq,.aw-page-intro,.aw-prose,.aw-article) {background:var(--aw43-bg);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-process .aw-process-step {background:var(--aw43-surface);color:var(--aw43-text);border-color:var(--aw43-line)}
html[data-aw-theme="dark"] body .aw-process .aw-process-step>p:not(.aw-process-number) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-process-icon {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-process {background:transparent;color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-process-header h2 {color:#fff;mix-blend-mode:difference}
html[data-aw-theme="dark"] body .aw-faq :is(p,details p) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-faq :is(summary,h2) {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-faq .aw-text-link {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-faq details {border-color:var(--aw43-line)}
html[data-aw-theme="dark"] body .aw-project-invite {background:var(--aw43-bg);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-project-invite h2 {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-invite-copy :is(.aw-kicker,.aw-invite-description) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-project-invite .aw-invite-visual {
  /* Mask only the artwork boundary; retain its original colours and details. */
  -webkit-mask-image:radial-gradient(ellipse at 67% 48%,#000 30%,transparent 72%);
  mask-image:radial-gradient(ellipse at 67% 48%,#000 30%,transparent 72%);
}
html[data-aw-theme="dark"] body .aw-project-invite:before,
html[data-aw-theme="dark"] body .aw-project-invite:after {background:transparent}
html[data-aw-theme="dark"] body :is(.aw-footer,.aw-footer-expanded) {background:#080b10;color:#f4f7fc}
html[data-aw-theme="dark"] body .aw-footer :is(p,a) {color:#becbdd}

/* Accepted offer: same layout, values and interactions, with complete dark surfaces. */
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog {
  --ink:var(--aw43-text);--muted:var(--aw43-muted);--line:var(--aw43-line);
  --soft:var(--aw43-surface);--awof20-muted:var(--aw43-muted);
  background:var(--aw43-bg);color:var(--aw43-text);color-scheme:dark;
}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(h1,h2,h3,h4,.awof20-choice-title,.awof32-choice-price strong,.awof22-price,.awof22-plan-name,.awof22-pricing-heading,.awof32-pricing-label,.awof32-fit strong,.awof32-catalog-note strong) {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof20-choice,.awof20-choice.is-active,.awof22-price-card,.awof25-shop-price,.awof30-price-card,.awof31-price-card,.awof32-price-card,.awof17-price-card,.awof17-contact-box,.awof17-case-foot,.awof22-preparation,.awof25-common,.awof31-audience,.awof32-type-guide,.awof32-single-guide,.awof28-explanation) {background:var(--aw43-card);border-color:var(--aw43-line);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(p,.awof20-choice-copy,.awof20-tech,.awof32-choice-price>span,.awof22-pages,.awof22-plan-for,.awof22-tax,.awof25-timing,.awof32-catalog-note,.awof32-fit,.awof32-offer-lead,.awof32-hero-note,.awof22-included li,.awof32-quick-list li,.awof32-full-list li,.awof24-setup-list li,.awof31-audience li) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof20-choice-action,.awof20-platforms,.awof20-intro,.awof32-selection-bar button,.awof32-disclosure,.awof32-scope>summary,.awof32-back,.awof32-terms,.awof22-terms,.awof25-shop-terms,.awof31-terms,.awof32-description) {color:var(--aw43-text);border-color:var(--aw43-line)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof20-icon,.awof20-choice.is-active .awof20-icon) {background:transparent;color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof32-selection-bar,.awof32-quick-list,.awof32-scope,.awof32-disclosure,.awof32-comparison-table td,.awof32-comparison-table th,.awof28-definition-table td,.awof28-definition-table th,.awof32-guide-grid article,.awof22-included article,.awof25-shop-terms,.awof32-terms) {border-color:var(--aw43-line)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof32-comparison-table,.awof28-definition-table) {background:var(--aw43-card);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof32-comparison-table th,.awof28-definition-table th) {background:var(--aw43-surface);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof32-comparison-table td,.awof28-definition-table td) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof17-price-area,.awof17-contact,.awof17-pillar) {background:var(--aw43-surface);border-color:var(--aw43-line)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof17-btn,.awof22-price-cta) {background:#080b10;color:#fff;border-color:#52637b}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof17-btn,.awof22-price-cta):hover {background:#162d4d}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof17-faq-list summary,.awof32-guide-help button) {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof32-choice-state,.awof20-choice[aria-current="true"] .awof20-choice-title:after) {color:#a0c9ff}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .aw-mobile-package-nav button {background:var(--aw43-card);border-color:var(--aw43-line);color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .aw-mobile-package-nav button[aria-selected="true"] {background:#17365f;border-color:#75adff;color:#fff}
html[data-aw-theme="dark"] body .awof32-table-scroll {scrollbar-color:#637b9b #172130}
html[data-aw-theme="dark"] body .aw-service-detail {background:var(--aw43-bg);color:var(--aw43-text)}

@media (forced-colors:active) {
  body .aw-gradient-text {background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
}
@media print {
  html[data-aw-theme="dark"] {--aw43-bg:#fff;--aw43-card:#fff;--aw43-surface:#f6f8fc;--aw43-text:#111;--aw43-muted:#444;--aw43-line:#aaa;--aw-paper:#fff;--aw-ink:#111;color-scheme:light}
}

/* Dark offer: inherit readable SVG strokes and complete disclosure labels. */
body .aw-offer17 .awof20-icon .awof22-accent,
body .aw-offer17 .awof20-icon [stroke="#8938ee"] {stroke:#4087ed}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(summary,.awof32-helper,.awof32-guide-help,.awof17-route) {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof20-icon svg {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof20-icon :is(.awof22-accent,[stroke="#8938ee"]) {stroke:#88baff}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof17-route a,.awof32-terms strong,.awof32-single-guide li strong,.awof24-definitions summary) {color:var(--aw43-text)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof25-common li,.awof32-single-guide li) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof32-help {background:#080b10;border-color:var(--aw43-line);color:#f4f7fc}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof32-help h3 {color:#f4f7fc}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof32-help p {color:#bac8da}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog .awof32-guide-help a {color:#a8cdff}
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog summary::after,
html[data-aw-theme="dark"] body .aw-offer17.awof32-catalog :is(.awof25-common,.awof32-quick-list,.awof32-full-list) li::before {color:#a8cdff}
html[data-aw-theme="dark"] body .aw-faq summary::after {color:#a8cdff}
html[data-aw-theme="dark"] body :is(.aw-service-lead,.aw-service-aside-copy,.aw-service-result-copy,.aw-service-cta-copy) {color:var(--aw43-muted)}
html[data-aw-theme="dark"] body .aw-service-aside {border-color:#4087ed}
html[data-aw-theme="dark"] body .aw-service-back {color:var(--aw43-text)}
html:not([data-aw-theme="dark"]) body .aw-offer17 .awof17-tags{color:#707070}

/* v45: permanent dark footer needs its own text colour in both themes.
   This also covers anchors enhanced into buttons by the contact controller. */
body .aw-footer-expanded{color:#f4f7fc}
body .aw-footer-expanded :is(a,button).aw-footer-start,
html[data-aw-theme="dark"] body .aw-footer-expanded :is(a,button).aw-footer-start{color:#f4f7fc;background:transparent}
body .aw-footer-expanded :is(a,button).aw-footer-start:hover{color:#fff}
body .aw-footer-expanded :is(a,button).aw-footer-start:focus-visible{outline-color:#91beff}
@media(forced-colors:active){
 body .aw-footer-expanded :is(a,button).aw-footer-start{color:LinkText}
 html[data-aw-theme="dark"] body .aw-process-header h2{color:CanvasText;mix-blend-mode:normal}
}
