/* FlowZen Pro: shared styles (tokens, reset, buttons, header menu, footer).
   Loaded by every page. Page styles live in home.css and legal.css. */
:root{
  --paper:#F2F5FA; --paper-2:#E9EDF5; --card:#fff;
  --ink:#10121A; --ink-2:#2B3040; --muted:#5E6474;
  --line:#E1E6EF; --line-2:#CBD2DF;
  --blue:#1259FA; --blue-d:#0A44CC; --blue-l:#E4ECFF;
  --sun:#FFD84D; --sun-l:#FFF3C4;
  --green:#12875F; --green-l:#DDF2E8;
  --amber-l:#FCEBCB;
  --r-xl:32px; --r-lg:24px; --r-md:14px;
  --display:"Bricolage Grotesque","Segoe UI",system-ui,-apple-system,sans-serif;
  --body:"Instrument Sans","Segoe UI",system-ui,-apple-system,sans-serif;
  --wrap:1160px; --gutter:clamp(16px,4vw,32px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:92px}
body{margin:0;background:var(--paper);color:var(--ink-2);font:400 1.0625rem/1.6 var(--body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
main{overflow-x:clip}
.wrap{width:min(100% - 2*var(--gutter),var(--wrap));margin-inline:auto}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:.6rem 1rem;border-radius:8px;z-index:100}
.skip:focus{left:8px}
h1,h2,h3{font-family:var(--display);color:var(--ink);font-weight:700;letter-spacing:-.03em;line-height:1.04;font-optical-sizing:auto}
/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font:600 1rem/1 var(--body);padding:.9rem 1.4rem;border-radius:999px;border:1.5px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.btn .ic{width:18px;height:18px;transition:transform .15s}
.btn:hover .ic{transform:translateX(3px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-d)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000}
.btn-ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:#fff}
.btn-lg{padding:1.05rem 1.7rem;font-size:1.0625rem}
.btn-sm{padding:.65rem 1.05rem;font-size:.9375rem}
.btn-block{width:100%}
.btn[disabled]{opacity:.65;cursor:progress}
/* Header: three floating cards (logo, links, actions) */
.top{position:sticky;top:0;z-index:50;padding:14px var(--gutter) 0}
.bar{max-width:var(--wrap);margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.cell{background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border:1px solid rgba(255,255,255,.75);border-radius:20px;box-shadow:0 12px 30px -18px rgba(16,18,26,.4),0 0 0 1px rgba(16,18,26,.05)}
.brand{justify-self:start;display:flex;align-items:center;height:64px;padding:0 22px}
.brand img{height:32px;width:auto}
.menu{padding:6px}
.links{display:flex;gap:2px}
.links>li{position:relative}
.links a,.sub-btn{display:flex;align-items:center;gap:6px;height:52px;padding:0 22px;border:0;border-radius:16px;background:transparent;font:500 .9688rem var(--body);color:var(--ink-2);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.links a:hover,.sub-btn:hover,.has-sub.open .sub-btn{background:rgba(16,18,26,.07);color:var(--ink)}
.chev{width:15px;height:15px;stroke-width:2.2;transition:transform .2s}
.has-sub.open .chev{transform:rotate(180deg)}
.sub{position:absolute;top:100%;left:50%;padding-top:14px;transform:translateX(-50%);display:none;z-index:60}
.has-sub.open .sub{display:block}
.sub-card{width:330px;background:#fff;border-radius:18px;padding:8px;box-shadow:0 24px 50px -22px rgba(16,18,26,.5),0 0 0 1px rgba(16,18,26,.06)}
.sub-card a{display:block;height:auto;padding:10px 14px;border-radius:12px;white-space:normal}
.sub-card a b{display:block;font:600 .9688rem/1.25 var(--body);color:var(--ink)}
.sub-card a span{display:block;margin-top:2px;font-size:.8125rem;line-height:1.35;color:var(--muted);font-weight:400}
.sub-card a:hover{background:var(--paper)}
.sub-card .sub-foot{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 12px 12px;font-size:.875rem;font-weight:600;color:var(--blue)}
.actions{justify-self:end;display:flex;align-items:center;gap:4px;height:64px;padding:6px}
.login{display:flex;align-items:center;height:52px;padding:0 18px;border-radius:16px;font-weight:600;font-size:.9688rem;color:var(--ink);text-decoration:none;transition:background .15s}
.login:hover{background:rgba(16,18,26,.07)}
.actions .btn{height:48px;border-radius:15px}
.burger{display:none;width:48px;height:48px;border-radius:15px;border:0;background:rgba(16,18,26,.07);cursor:pointer;place-items:center;color:var(--ink)}
.brand,.menu,.actions{transition:transform .55s cubic-bezier(.22,.7,.2,1)}
.top.is-collapsed .brand{transform:translateX(var(--dx-brand,0px))}
.top.is-collapsed .menu{transform:translateX(var(--dx-menu,0px))}
.top.is-collapsed .actions{transform:translateX(var(--dx-actions,0px))}
.mmenu{position:absolute;left:var(--gutter);right:var(--gutter);top:calc(100% + 8px);max-width:var(--wrap);margin:0 auto;background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);border:1px solid rgba(255,255,255,.75);border-radius:22px;padding:10px;box-shadow:0 20px 40px -20px rgba(16,18,26,.4),0 0 0 1px rgba(16,18,26,.05);display:flex;flex-direction:column;max-height:calc(100vh - 100px);overflow-y:auto}
.mmenu[hidden]{display:none}
.mmenu a{padding:.85rem 1rem;border-radius:14px;text-decoration:none;font-weight:600;color:var(--ink)}
.mmenu a:hover{background:var(--paper)}
.mmenu details,.mmenu details:last-of-type{border:0}
.mmenu summary{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1rem;border-radius:14px;font:600 1rem/1.5 var(--body);letter-spacing:0;color:var(--ink);cursor:pointer;list-style:none}
.mmenu summary::-webkit-details-marker{display:none}
.mmenu summary:hover{background:var(--paper)}
.mmenu details[open] .chev{transform:rotate(180deg)}
.m-sub-list{display:flex;flex-direction:column;padding:0 0 6px 8px}
.m-sub-list a{font-weight:500}
.m-sub-list a span{display:block;font-size:.8125rem;font-weight:400;color:var(--muted)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.cell,.mmenu{background:#fff}@media (max-width:1100px){.bar{background:#fff}}}
@keyframes drop{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
.cell{animation:drop .7s cubic-bezier(.22,.7,.2,1) backwards}
.bar .menu{animation-delay:.06s}
.bar .actions{animation-delay:.12s}
/* Footer */
.foot{padding:clamp(40px,6vw,64px) 0 28px}
.foot-grid{display:flex;justify-content:space-between;gap:32px 48px;flex-wrap:wrap}
.foot-brand p{margin-top:12px;max-width:30ch;color:var(--muted);font-size:.9688rem}
.foot-cols{display:flex;gap:clamp(28px,6vw,72px);flex-wrap:wrap}
.foot-cols b{display:block;color:var(--ink);font-size:.8125rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px}
.foot-cols li+li{margin-top:8px}
.foot-cols a{text-decoration:none;color:var(--ink-2);font-size:.9688rem}
.foot-cols a:hover{color:var(--blue);text-decoration:underline}
.foot-base{margin-top:36px;padding-top:20px;border-top:1px solid var(--line-2);display:flex;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;font-size:.875rem;color:var(--muted)}
@media (max-width:767px){
  body{padding-bottom:72px}
}
@media (max-width:640px){
  .foot-base{flex-direction:column}
}
@media (max-width:1100px){
  .bar{display:flex;justify-content:space-between;gap:10px;height:60px;padding:6px 6px 6px 18px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border:1px solid rgba(255,255,255,.75);border-radius:20px;box-shadow:0 12px 30px -18px rgba(16,18,26,.4),0 0 0 1px rgba(16,18,26,.05);animation:drop .7s cubic-bezier(.22,.7,.2,1) backwards}
  .bar .cell{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;box-shadow:none;border-radius:0;animation:none}
  .menu{display:none}
  .brand{height:auto;padding:0}
  .brand img{height:28px}
  .actions{height:auto;padding:0;gap:6px}
  .actions .btn{height:44px}
  .burger{display:grid;width:44px;height:44px;border-radius:13px}
}
@media (max-width:640px){
  .login{display:none}
}
@media (max-width:420px){
  .actions .btn-sm{padding:0 .85rem;font-size:.875rem}
  .bar{padding-left:14px}
  .brand img{height:26px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* Utilities and footer pieces shared by every page */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.foot-logo{display:inline-block}
.foot-logo img{height:34px;width:auto}
.foot-contact{margin-top:14px;font-style:normal;font-size:.9688rem;color:var(--muted);line-height:1.6}
.foot-contact a{color:var(--ink-2);font-weight:600;text-decoration:none}
.foot-contact a:hover{color:var(--blue);text-decoration:underline}
