/* Cookie consent bar, shared by every redesigned page (home, AI consultation, legal, 404) and by the static prototypes.
   Light floating card in the nav pill's material (white glass, ink text, mono eyebrow, one accent button). Bottom-left
   on wide screens so it never sits on the consultation page's sticky CTA (bottom-right); full width on phones, where
   that CTA is lifted above it while the bar is open. Dark variant only on the 404 (body.nf / html.fp-nf). Behaviour:
   consent.js. Self-contained: every value has a fallback, so it does not depend on which page CSS is loaded. */
.fpc{position:fixed;left:24px;bottom:24px;z-index:110;box-sizing:border-box;width:min(440px,calc(100% - 48px));margin:0;padding:20px 20px 20px 22px;
  border-radius:22px;color:var(--ink,#0A0F2C);background:rgba(255,255,255,.84);border:1px solid rgba(10,15,44,.08);
  box-shadow:0 22px 50px -20px rgba(10,15,44,.34),0 2px 6px rgba(10,15,44,.04);
  -webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  font-family:'Geist',system-ui,-apple-system,sans-serif;font-weight:300;font-size:14px;line-height:1.5;letter-spacing:normal;text-align:left;
  -webkit-font-smoothing:antialiased;opacity:0;visibility:hidden;transform:translate3d(0,28px,0);
  transition:opacity .5s var(--ease,cubic-bezier(.22,1,.36,1)),transform .8s var(--ease,cubic-bezier(.22,1,.36,1)),visibility 0s .8s}
.fpc.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .5s var(--ease,cubic-bezier(.22,1,.36,1)),transform .8s var(--ease,cubic-bezier(.22,1,.36,1)),visibility 0s 0s}
.fpc *{box-sizing:border-box;margin:0;padding:0}
.fpc__eye{display:block;font-family:'Geist Mono',ui-monospace,monospace;font-weight:400;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:rgba(10,15,44,.5)}
.fpc__txt{margin-top:8px;color:rgba(10,15,44,.78)}
.fpc__txt a{color:var(--accent,#435af6);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;white-space:nowrap;transition:color .3s}
.fpc__txt a:hover{color:var(--ink,#0A0F2C)}
.fpc__btns{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.fpc__btn{height:40px;padding:0 20px;border-radius:999px;font:inherit;font-size:14px;font-weight:400;letter-spacing:normal;line-height:1;white-space:nowrap;cursor:pointer;
  -webkit-appearance:none;appearance:none;transition:transform .45s var(--ease,cubic-bezier(.22,1,.36,1)),box-shadow .45s var(--ease,cubic-bezier(.22,1,.36,1)),background-color .3s,border-color .3s,color .3s}
.fpc__btn--ghost{background:transparent;color:var(--ink,#0A0F2C);border:1px solid rgba(10,15,44,.16)}
.fpc__btn--ghost:hover{border-color:rgba(10,15,44,.4)}
.fpc__btn--pri{background:var(--accent,#435af6);color:#fff;border:1px solid transparent}
.fpc__btn--pri:hover{transform:translateY(-1px);box-shadow:0 12px 28px -10px rgba(67,90,246,.95)}
.fpc a:focus-visible,.fpc__btn:focus-visible{outline:2px solid var(--accent,#435af6);outline-offset:3px}
.fpc__btn:focus-visible{border-radius:999px}

/* 404 (dark underwater page) */
body.nf .fpc,html.fp-nf .fpc{color:#fff;background:rgba(8,14,40,.62);border-color:rgba(255,255,255,.12);box-shadow:0 22px 50px -18px rgba(0,0,0,.6)}
body.nf .fpc__eye,html.fp-nf .fpc__eye{color:rgba(255,255,255,.55)}
body.nf .fpc__txt,html.fp-nf .fpc__txt{color:rgba(255,255,255,.82)}
body.nf .fpc__txt a,html.fp-nf .fpc__txt a{color:var(--accent-soft,#8fa0ff)}
body.nf .fpc__txt a:hover,html.fp-nf .fpc__txt a:hover{color:#fff}
body.nf .fpc__btn--ghost,html.fp-nf .fpc__btn--ghost{color:#fff;border-color:rgba(255,255,255,.26)}
body.nf .fpc__btn--ghost:hover,html.fp-nf .fpc__btn--ghost:hover{border-color:rgba(255,255,255,.6)}
body.nf .fpc a:focus-visible,body.nf .fpc__btn:focus-visible,html.fp-nf .fpc a:focus-visible,html.fp-nf .fpc__btn:focus-visible{outline-color:var(--accent-soft,#8fa0ff)}

/* the consultation page's sticky CTA (.minicta) goes full width at the bottom on small screens: lift it above the bar */
@media (max-width:860px){
  html.fpc-open .minicta{bottom:calc(var(--fpc-h,0px) + 24px)}
}
@media (max-width:640px){
  .fpc{left:12px;right:12px;bottom:12px;width:auto;padding:18px 16px 16px 18px;border-radius:20px}
  .fpc__btns{margin-top:14px}
  .fpc__btn{flex:1 1 0;padding:0 12px}
  html.fpc-open .minicta{bottom:calc(var(--fpc-h,0px) + 20px)}
}
@media (prefers-reduced-motion:reduce){
  .fpc,.fpc.is-on{transform:none;transition:opacity .2s linear,visibility 0s}
}
html.reduced .fpc,html.reduced .fpc.is-on{transform:none;transition:opacity .2s linear,visibility 0s}
@media print{.fpc{display:none!important}}
