/* V6.26 — universal project footer inspired by the AI Project Universe footer. */
:root{--apu-footer-accent:#ffd94d;--apu-footer-ink:#07090d;--apu-footer-paper:#f7f8fb}
footer[data-apu-footer-replaced="true"]{display:none!important}
.apu-project-footer{position:relative;isolation:isolate;clear:both;width:100%;margin-top:clamp(56px,8vw,128px);overflow:hidden;border-top:1px solid rgba(255,255,255,.12);background:#07090d!important;color:#f7f8fb!important;color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 -20px 70px rgba(0,0,0,.16)}
.apu-project-footer::before{content:"";position:absolute;top:-8px;left:50%;width:14px;height:14px;border:3px solid #f7f8fb;border-radius:999px;background:#07090d;transform:translateX(-50%);box-shadow:0 0 0 5px #07090d;z-index:2}
.apu-project-footer::after{content:"";position:absolute;right:16px;bottom:-2px;width:42px;height:10px;border:3px solid #f7f8fb;border-bottom:0;opacity:.95}
.apu-project-footer__glow{position:absolute;inset:auto 6% -70% auto;width:min(36vw,520px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--apu-footer-accent) 28%,transparent),transparent 68%);filter:blur(8px);pointer-events:none;opacity:.42;z-index:-1}
.apu-project-footer__inner{width:min(1760px,calc(100% - 48px));margin-inline:auto;padding:clamp(58px,7vw,104px) 0 clamp(52px,6vw,82px);display:grid;grid-template-columns:minmax(260px,.86fr) minmax(390px,1.18fr) auto;align-items:end;gap:clamp(36px,5vw,92px)}
.apu-project-footer__brand{min-width:0}.apu-project-footer__code{margin:0 0 17px;color:rgba(247,248,251,.56)!important;font:800 11px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.18em;text-transform:uppercase}
.apu-project-footer__logo{margin:0;max-width:660px;font-family:Impact,Haettenschweiler,"Arial Narrow Bold","Arial Black",sans-serif;font-size:clamp(38px,4.25vw,72px);font-weight:900;line-height:.76;letter-spacing:-.035em;text-transform:uppercase;text-wrap:balance}
.apu-project-footer__logo span{display:block;color:#f7f8fb!important}.apu-project-footer__logo .apu-project-footer__logo-accent{color:var(--apu-footer-accent)!important}
.apu-project-footer__brand[data-compact="true"] .apu-project-footer__logo{font-size:clamp(32px,3.45vw,58px);line-height:.82}
.apu-project-footer__copy{max-width:680px;min-width:0}.apu-project-footer__description{margin:0 0 28px;color:rgba(247,248,251,.92)!important;font-size:clamp(15px,1.28vw,20px);font-weight:520;line-height:1.55;text-wrap:pretty}
.apu-project-footer__visitor{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 25px;color:rgba(247,248,251,.9)!important;font-size:clamp(14px,1.1vw,18px);line-height:1.45}.apu-project-footer__visitor-mark{display:inline-grid;place-items:center;width:18px;height:18px;border:2px solid currentColor;border-radius:50%;font-size:0}.apu-project-footer__visitor-mark::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--apu-footer-accent)}.apu-project-footer__visitor strong{color:#fff!important;font-weight:900}
.apu-project-footer__links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}.apu-project-footer__links a,.apu-project-footer__links button{appearance:none;border:0;padding:2px 0;background:transparent!important;color:#f7f8fb!important;font-family:inherit;font-size:clamp(13px,1vw,17px);font-weight:850;line-height:1.35;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;cursor:pointer;transition:color .2s ease,transform .2s ease,text-decoration-color .2s ease}.apu-project-footer__links a:hover,.apu-project-footer__links button:hover{color:var(--apu-footer-accent)!important;text-decoration-color:var(--apu-footer-accent);transform:translateY(-2px)}.apu-project-footer__links a:focus-visible,.apu-project-footer__links button:focus-visible{outline:3px solid var(--apu-footer-accent);outline-offset:5px;border-radius:3px}
.apu-project-footer__symbols{align-self:end;justify-self:end;display:flex;align-items:center;gap:18px;color:var(--apu-footer-accent)!important;font:900 clamp(22px,2.2vw,34px)/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}.apu-project-footer__symbols span{display:inline-block;transition:transform .28s cubic-bezier(.2,.8,.2,1)}.apu-project-footer__symbols span:nth-child(2){font-size:.82em}.apu-project-footer__symbols span:nth-child(3){font-size:1.12em}.apu-project-footer__symbols:hover span:nth-child(odd){transform:translateY(-5px) rotate(9deg)}.apu-project-footer__symbols:hover span:nth-child(even){transform:translateY(4px) rotate(-8deg)}
.apu-project-footer__reserve{height:0;transition:height .25s ease;background:#07090d}
@media(max-width:1080px){.apu-project-footer__inner{grid-template-columns:1fr 1.15fr}.apu-project-footer__symbols{grid-column:1/-1;justify-self:start}.apu-project-footer__brand[data-compact="true"] .apu-project-footer__logo,.apu-project-footer__logo{font-size:clamp(38px,6vw,62px)}}
@media(max-width:760px){.apu-project-footer{margin-top:64px}.apu-project-footer__inner{width:min(100% - 30px,680px);grid-template-columns:1fr;align-items:start;gap:32px;padding:58px 0 54px}.apu-project-footer__logo,.apu-project-footer__brand[data-compact="true"] .apu-project-footer__logo{font-size:clamp(38px,12vw,62px);line-height:.8}.apu-project-footer__description{font-size:15px;margin-bottom:22px}.apu-project-footer__visitor{font-size:14px;margin-bottom:22px}.apu-project-footer__links{gap:12px 16px}.apu-project-footer__symbols{grid-column:auto;justify-self:start;gap:15px}.apu-project-footer::before{left:auto;right:28px;transform:none}.apu-project-footer::after{right:12px}}
@media(max-width:430px){.apu-project-footer__inner{width:calc(100% - 24px)}.apu-project-footer__logo,.apu-project-footer__brand[data-compact="true"] .apu-project-footer__logo{font-size:clamp(34px,12.8vw,52px)}.apu-project-footer__links{align-items:flex-start;flex-direction:column;gap:11px}.apu-project-footer__symbols{font-size:24px}}
@media(prefers-reduced-motion:reduce){.apu-project-footer__links a,.apu-project-footer__links button,.apu-project-footer__symbols span,.apu-project-footer__reserve{transition:none!important}}
