/* Shared footer: a vivid closing signature built from the established ATC palette. */
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) footer.atc-footer-v2 {
 --footer-bg:oklch(from var(--atc-bg) .16 .045 h);
 --footer-fg:oklch(from var(--atc-fg) .96 .015 h);
 --footer-muted:oklch(from var(--atc-muted) .80 .035 h);
 --footer-blue:oklch(from var(--atc-spectrum-blue) .83 .09 h);
 --footer-rose:oklch(from var(--atc-spectrum-pink) .83 .10 h);
 --footer-gold:oklch(from var(--atc-spectrum-peach) .86 .10 h);
 --footer-line:oklch(from var(--atc-spectrum-blue) .58 .075 h / .4);
 --footer-contact:oklch(from var(--atc-spectrum-blue) .25 .065 h);
 --footer-field:oklch(from var(--atc-bg) .19 .045 h);
 --footer-raised:oklch(from var(--atc-surface) .34 .06 h);
 --footer-highlight:oklch(from var(--atc-fg) .98 .01 h / .3);
 --footer-shadow:.4;--footer-light:.2;
 position:relative;isolation:isolate;margin:0;padding:72px 0 24px!important;
 color:var(--footer-fg)!important;background:var(--footer-bg)!important;border:0!important;
 font:400 14px/1.7 var(--atc-body)!important;
}
html[data-atc-theme="light"] body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) footer.atc-footer-v2 {
 --footer-bg:oklch(from var(--atc-spectrum-blue) .965 .018 h);
 --footer-fg:oklch(from var(--atc-bg) .23 .045 h);
 --footer-muted:oklch(from var(--atc-muted) .42 .04 h);
 --footer-blue:oklch(from var(--atc-spectrum-blue) .43 .15 h);
 --footer-rose:oklch(from var(--atc-spectrum-pink) .43 .14 h);
 --footer-gold:oklch(from var(--atc-spectrum-peach) .43 .10 h);
 --footer-line:oklch(from var(--atc-spectrum-blue) .64 .07 h / .55);
 --footer-contact:oklch(from var(--atc-spectrum-blue) .93 .035 h);
 --footer-field:oklch(from var(--atc-spectrum-blue) .90 .025 h);
 --footer-raised:oklch(from var(--atc-fg) .995 .003 h);
 --footer-highlight:oklch(from var(--atc-fg) 1 0 h / .9);
 --footer-shadow:.14;--footer-light:.13;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2::before {
 content:"";position:absolute;inset:0 0 auto;height:2px;z-index:2;
 background:linear-gradient(90deg,transparent,var(--atc-spectrum-blue) 25%,var(--atc-spectrum-pink) 60%,var(--atc-spectrum-peach) 85%,transparent);
 box-shadow:0 0 18px oklch(from var(--atc-spectrum-pink) l c h / .35);
}
.atc-footer-v2 .atc-footer-atmosphere { position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:paint; }
.atc-footer-v2 .atc-footer-halo {
 position:absolute;right:-8%;top:-25%;width:min(100%,1050px);aspect-ratio:1.3;
 background:radial-gradient(ellipse at 60% 40%,oklch(from var(--atc-spectrum-blue) l c h / var(--footer-light)),transparent 63%);
}
.atc-footer-v2 .atc-footer-atmosphere::after {
 content:"";position:absolute;inset:30% 5% -55% -20%;
 background:radial-gradient(ellipse,oklch(from var(--atc-spectrum-pink) l c h / var(--footer-light)),transparent 67%);
}
.atc-footer-v2 .atc-footer-orbit {
 position:absolute;right:-10%;top:5%;width:54%;height:58%;border:1px solid var(--footer-line);border-radius:50%;rotate:-28deg;opacity:.6;
}
.atc-footer-v2 .atc-footer-orbit-two { right:-7%;top:8%;rotate:-38deg;opacity:.25; }
.atc-footer-v2 .atc-footer-star {
 position:absolute;left:var(--x);top:var(--y);width:4px;height:4px;border-radius:50%;
 background:var(--footer-blue);box-shadow:0 0 12px var(--footer-blue);opacity:.6;
}
.atc-footer-v2 .atc-footer-star:nth-of-type(3n) {
 width:12px;height:12px;background:var(--footer-rose);box-shadow:none;
 clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-inner {
 position:relative;z-index:1;width:min(1200px,calc(100% - 80px))!important;max-width:none!important;margin:0 auto!important;padding:0!important;border:0;
}
.atc-footer-v2 .atc-footer-main { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.4fr);gap:clamp(40px,6vw,88px);align-items:start; }
.atc-footer-v2 .atc-footer-brand-block { min-width:0;max-width:460px; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-signature {
 display:inline-flex!important;align-items:center!important;gap:12px!important;max-width:100%;min-height:44px;text-decoration:none!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-signature .atc-logo-frame {
 --atc-logo-size:44px!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-signature :is(b,strong) {
 color:var(--footer-fg)!important;font:600 23px/1.2 var(--atc-display)!important;letter-spacing:-.035em!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-description {
 color:var(--footer-muted)!important;font:400 15px/1.75 var(--atc-body)!important;margin:22px 0 26px;max-width:48ch;text-wrap:pretty;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-mail {
 position:relative;display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px;
 width:100%;padding:18px 20px;margin-top:26px;border:1px solid var(--footer-line);border-radius:18px;
 background:var(--footer-contact);color:var(--footer-fg)!important;
 box-shadow:inset 0 1px 0 var(--footer-highlight),0 18px 30px -12px oklch(from var(--atc-bg) .05 c h / var(--footer-shadow));
}
.atc-footer-v2 .atc-footer-contact-label { color:var(--footer-blue);font:600 13px/1.4 var(--atc-body);margin-bottom:4px; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-email {
 display:grid!important;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:12px;
 min-width:0;min-height:48px;width:100%;padding:4px 0;border-radius:6px;
 background:transparent;color:var(--footer-fg)!important;text-decoration:none!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-mail strong {
 min-width:0;color:var(--footer-fg)!important;font:600 clamp(14px,1.25vw,16px)/1.5 var(--atc-body)!important;overflow-wrap:anywhere;
}
.atc-footer-v2 .atc-footer-mail-arrow {
 display:grid;place-items:center;width:40px;height:40px;
 color:var(--footer-fg);font-size:24px;background:var(--footer-raised);border:1px solid var(--footer-line);border-radius:50%;
 box-shadow:inset 0 1px 0 var(--footer-highlight),0 5px 10px oklch(from var(--atc-bg) .05 c h / var(--footer-shadow));
 transition:border-color .2s,translate .2s;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-email:is(:hover,:focus-visible,:active) {
 color:var(--footer-fg)!important;background:transparent;
}
.atc-footer-v2 .atc-footer-email:is(:hover,:focus-visible) strong { text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px; }
.atc-footer-v2 .atc-footer-email:is(:hover,:focus-visible) .atc-footer-mail-arrow { border-color:var(--footer-blue);translate:1px -1px; }
.atc-footer-v2 .atc-footer-email:active .atc-footer-mail-arrow { translate:0 1px; }
.atc-footer-v2 .atc-footer-social { display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 :is(.atc-footer-social,.atc-footer-nav,.atc-footer-base) a {
 display:flex!important;align-items:center;gap:8px;width:fit-content;max-width:100%;min-height:44px;padding:6px 0;
 color:var(--footer-fg)!important;font:500 13px/1.55 var(--atc-body)!important;text-decoration:none;overflow-wrap:anywhere;text-wrap:pretty;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 :is(.atc-footer-social,.atc-footer-nav,.atc-footer-base) a:hover {
 color:var(--footer-fg)!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;
}
.atc-footer-v2 .atc-footer-social svg { width:18px;height:18px;flex:none; }
.atc-footer-v2 .atc-footer-directory { display:grid;grid-template-columns:repeat(var(--footer-columns,2),minmax(0,1fr));gap:24px 36px;min-width:0; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-nav { display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;padding:0;margin:0; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-nav h2 {
 display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:6px 10px;
 color:var(--footer-blue)!important;background:oklch(from var(--atc-spectrum-blue) .63 .13 h / .12);border:1px solid var(--footer-line);border-radius:7px;
 font:600 13px/1.5 var(--atc-body)!important;letter-spacing:0!important;text-transform:none;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-nav:nth-child(2) h2 { color:var(--footer-rose)!important;background:oklch(from var(--atc-spectrum-pink) .63 .13 h / .12); }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-nav:nth-child(3) h2 { color:var(--footer-gold)!important;background:oklch(from var(--atc-spectrum-peach) .63 .13 h / .12); }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-wordmark {
 display:grid;grid-template-columns:1.18fr .85fr 1fr;align-items:center;gap:24px;
 margin:36px 0 24px;padding:20px 0;border-block:1px solid var(--footer-line);
 font:600 clamp(16px,1.3vw,19px)/1.4 var(--atc-display);letter-spacing:-.02em;
}
.atc-footer-v2 .atc-footer-wordmark>i { display:none; }
.atc-footer-v2 .atc-footer-domain { color:var(--footer-blue);min-width:0;overflow-wrap:anywhere; }
.atc-footer-v2 .atc-footer-domain:nth-of-type(2) { color:var(--footer-rose); }
.atc-footer-v2 .atc-footer-domain:nth-of-type(3) { color:var(--footer-gold); }
html:where([lang="pl"]) body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-wordmark { grid-template-columns:1fr 1.2fr 1fr; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-legal {
 margin:0 0 22px;max-width:115ch;color:var(--footer-muted)!important;font:400 13px/1.75 var(--atc-body)!important;text-wrap:pretty;
}
.atc-footer-v2 .atc-footer-base { display:flex;justify-content:space-between;align-items:center;gap:18px 36px; }
.atc-footer-v2 .atc-footer-base>nav { display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px; }
.atc-footer-v2 .atc-footer-copyright { color:var(--footer-muted);max-width:65ch;font:400 13px/1.6 var(--atc-body); }
/* The Home update request remains the original working form. */
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:40px;row-gap:8px;
 margin-top:44px;padding:28px;border:1px solid var(--footer-line);border-radius:20px;
 background:var(--footer-contact);box-shadow:inset 0 1px 0 var(--footer-highlight),0 16px 30px -12px oklch(from var(--atc-bg) .05 c h / var(--footer-shadow));
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>h4 { grid-column:1;grid-row:1;margin:0;color:var(--footer-fg)!important;font:600 22px/1.35 var(--atc-display)!important; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>p { grid-column:2;color:var(--footer-muted)!important;font:400 13px/1.6 var(--atc-body)!important;margin:0; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>h4+p { grid-column:1;grid-row:2;max-width:36ch; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates form {
 display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;grid-column:2;grid-row:1/span 2;margin:0;padding:0;border:0;background:none;box-shadow:none;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates input[type="email"] {
 width:100%;min-width:0;min-height:48px!important;font-size:16px!important;padding:12px 14px!important;background:var(--footer-field)!important;color:var(--footer-fg)!important;
 border:1px solid var(--footer-line)!important;border-radius:10px!important;box-shadow:inset 0 2px 4px oklch(from var(--atc-bg) .05 c h / .12)!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates input::placeholder { color:var(--footer-muted)!important;opacity:1; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates button {
 grid-column:2;grid-row:1;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:48px!important;padding:12px 18px!important;background:var(--footer-raised)!important;color:var(--footer-fg)!important;
 border:1px solid var(--footer-line)!important;border-radius:10px!important;box-shadow:inset 0 1px 0 var(--footer-highlight),0 4px 10px oklch(from var(--atc-bg) .05 c h / var(--footer-shadow))!important;
}
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates button:hover { border-color:var(--footer-blue)!important;translate:0 -1px; }
.atc-footer-v2 .atc-footer-updates form>.atc-policy-form-note { grid-column:1/-1;grid-row:2;margin:0; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates a { color:var(--footer-fg)!important;min-height:44px; }
html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 :is(a,button,input):focus-visible { outline:3px solid var(--footer-blue)!important;outline-offset:4px!important; }
@keyframes footer-light-travel { from{translate:-3% -3%;scale:.95}to{translate:5% 6%;scale:1.08} }
@keyframes footer-starlight { 0%,100%{opacity:.3;scale:.8}50%{opacity:.85;scale:1.2} }
@media(prefers-reduced-motion:no-preference) {
 .atc-footer-v2.atc-footer-playing .atc-footer-halo { animation:footer-light-travel 17s ease-in-out infinite alternate; }
 .atc-footer-v2.atc-footer-playing .atc-footer-star { animation:footer-starlight 6s var(--delay) ease-in-out infinite; }
}
@media(max-width:1000px) {
 .atc-footer-v2 .atc-footer-main { grid-template-columns:minmax(0,1fr);gap:36px; }
 .atc-footer-v2 .atc-footer-directory { grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:28px; }
 .atc-footer-v2 .atc-footer-base { align-items:flex-start;flex-direction:column;gap:10px; }
}
/* Give the email field a useful width before the two-column form becomes cramped. */
@media(max-width:1100px) {
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates { grid-template-columns:minmax(0,1fr);gap:12px; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>:is(h4,p,form) { grid-column:1!important;grid-row:auto!important;min-width:0; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>h4+p { max-width:65ch; }
}
@media(max-width:700px) {
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) footer.atc-footer-v2 { padding:48px 0 calc(28px + env(safe-area-inset-bottom))!important; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-inner { width:calc(100% - 40px)!important; }
 .atc-footer-v2 .atc-footer-main { grid-template-columns:minmax(0,1fr);gap:36px; }
 .atc-footer-v2 .atc-footer-brand-block { max-width:none; }
 .atc-footer-v2 .atc-footer-directory { gap:28px 20px; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-mail strong { font-size:14px!important; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-wordmark {
  grid-template-columns:minmax(0,1fr);gap:10px;margin-top:28px;padding-block:18px;font-size:16px;letter-spacing:-.02em;
 }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates { grid-template-columns:minmax(0,1fr);gap:12px;padding:20px;margin-top:32px; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates>:is(h4,p,form) { grid-column:1!important;grid-row:auto!important; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates form { grid-template-columns:minmax(0,1fr); }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 .atc-footer-updates button { grid-column:1;grid-row:2; }
 .atc-footer-v2 .atc-footer-updates form>.atc-policy-form-note { grid-row:3; }
 .atc-footer-v2 .atc-footer-orbit { width:95%;right:-35%;height:25%; }
 .atc-footer-v2 .atc-footer-star:nth-of-type(2n) { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .atc-footer-v2 *, .atc-footer-v2 *::before,.atc-footer-v2 *::after { animation:none!important;transition:none!important; }
}
@media(forced-colors:active),print {
 .atc-footer-v2 .atc-footer-atmosphere,.atc-footer-v2::before { display:none!important; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) footer.atc-footer-v2 { background:Canvas!important;color:CanvasText!important; }
 html body.atc-unified.atc-responsive.atc-visual-enhanced:is(#top,#atc-site) .atc-footer-v2 :is(a,p,span,strong,h2,h4,button,input) { background:Canvas!important;color:CanvasText!important;box-shadow:none!important;border-color:CanvasText!important; }
}

/* Shared contact links in the ATC enquiry blocks. */
.atc-contact-link { display:inline-flex;align-items:center;max-width:100%;min-height:44px;overflow-wrap:anywhere; }
.atc-contact-link:hover { text-decoration:underline;text-underline-offset:4px; }
.atc-contact-link:focus-visible, .contact-link:focus-visible, .contact-line:focus-visible { outline:2px solid currentColor;outline-offset:3px;border-radius:4px; }
