/* The parts every page shares: a flat shell in PolishPoint's colours, Poppins, and no shadow, gradient or glow. */
:root{
  --font:'Poppins',sans-serif;
  --primary:#02358B;--primary-hover:#01225A;--primary-50:#F2F5F9;--primary-100:#E6ECF4;
  --secondary:#C0DDFF;--secondary-hover:#A9C2E0;--navy:#011538;
  --page:#F5F5F6;--card:#FFFFFF;--line:#E6E7E8;
  --n300:#D3D5D7;--n500:#6D727B;--n600:#50545A;--n700:#3D4045;--text:#18191B;--body:#27292C;
  --hover:#FAFAFB;--bad:#B3261E;--in:cubic-bezier(.2,.8,.2,1);--nav:64px;
}
/* Poppins is served from the site and preloaded, so the page's first frame already has its final words and nothing reflows */
@font-face{font-family:'Poppins';font-weight:400;font-style:normal;font-display:block;src:url(../fonts/poppins-400.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-weight:500;font-style:normal;font-display:block;src:url(../fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-weight:600;font-style:normal;font-display:block;src:url(../fonts/poppins-600.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-weight:700;font-style:normal;font-display:block;src:url(../fonts/poppins-700.woff2) format('woff2')}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding:calc(var(--nav) + 16px) 0 24px;background:#fff}
html.fx-lock,html.fx-popped{overflow:hidden}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.5;color:var(--body);background:var(--page);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
img,svg{display:block}
a{color:inherit;text-decoration:none}
button{margin:0;font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* a press marks the page so Shift or Caps Lock alone draws no ring; a text field keeps its ring, to show where you're typing */
:root[data-focus="press"] :focus-visible:not(input:not([type="range"]),textarea){outline:none}
.num{font-variant-numeric:tabular-nums}
.fx-eb{display:block;font-size:13px;line-height:20px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}

/* buttons: each size has a line height that Poppins splits evenly above and below its words */
.fx-btn{display:inline-flex;align-items:center;justify-content:safe center;gap:8px;height:44px;padding:0 20px;border:0;border-radius:10px;font-size:15px;line-height:23px;font-weight:600;white-space:nowrap;transition:background-color .16s,border-color .16s}
.fx-btn-sm{height:36px;padding:0 16px;font-size:13px;line-height:21px}
.fx-btn-1{background:var(--primary);color:#fff}
.fx-btn-2{background:var(--secondary);color:var(--primary)}
.fx-btn-3{background:#fff;color:var(--n700);border:1px solid var(--line)}

/* a tick box, and one you can press by its words */
.fx-tk{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:6px;border:1.5px solid var(--n300);background:#fff;color:#fff;transition:background-color .16s,border-color .16s}
.fx-tk svg{grid-area:1/1;width:14px;height:14px;opacity:0;transition:opacity .16s}
.fx-check{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;color:var(--n700);cursor:pointer}
.fx-check input{position:absolute;top:0;left:0;width:22px;height:22px;margin:0;opacity:0;cursor:pointer}
.fx-check input:checked + .fx-tk{background:var(--primary);border-color:var(--primary)}
.fx-check input:checked + .fx-tk svg{opacity:1}
:where(:root:not([data-focus="press"])) .fx-check input:focus-visible + .fx-tk{outline:2px solid var(--primary);outline-offset:2px}
.fx-check a{color:var(--primary);text-decoration:underline}

/* menu */
.fx-nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:28px;height:var(--nav);padding:0 44px;background:#fff;border-bottom:1px solid var(--line)}
.fx-logo img{width:auto;height:28px}
.fx-links{display:flex;gap:28px;margin-left:auto;font-size:14px;line-height:21px;font-weight:500;color:var(--n700)}
.fx-links a{transition:color .16s}
.fx-links [aria-current]{color:var(--primary);font-weight:600}
.fx-burger{display:none;align-items:center;justify-content:center;width:40px;height:40px;margin-left:auto;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--body)}
.fx-burger svg{width:20px;height:20px}
/* the phone's menu draws at the page's top level, under the bar and above everything else */
.fx-menu{position:fixed;top:var(--nav);left:0;right:0;bottom:0;z-index:40;display:flex;flex-direction:column;gap:4px;padding:16px 20px 32px;background:#fff;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .18s var(--in),transform .18s var(--in),visibility 0s linear .18s;overscroll-behavior:contain}
.fx-menu.open{visibility:visible;opacity:1;transform:none;transition-delay:0s}
.fx-menu a{display:flex;align-items:center;min-height:48px;font-size:17px;line-height:26px;font-weight:500;color:var(--n700)}
.fx-menu a[aria-current]{color:var(--primary);font-weight:600}
.fx-menu .fx-btn{margin-top:12px}

/* the shared pop-up (fxPop in js/site.js): a box in the middle, or a sheet from the bottom on a phone, at the page's top
   level over everything; it stands in the visible part of the screen, so on a phone it sits on the keyboard */
.fx-pop{position:fixed;left:0;right:0;top:var(--vv-top,0px);height:var(--vv-h,100%);z-index:60;display:grid;place-items:center;padding:24px}
.fx-pop-dim{position:fixed;inset:0;background:rgba(1,21,56,.42)}
.fx-pop-box{position:relative;display:flex;flex-direction:column;width:min(var(--pop-w,600px),100%);height:min(var(--pop-h,620px),100%);border-radius:20px;background:#fff;overflow:hidden;outline:none}
.fx-pop-grab{display:none}

/* footer */
.fx-foot{background:#fff;border-top:1px solid var(--line)}
.fx-foot-in{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;max-width:1280px;margin:0 auto;padding:56px 24px 32px}
.fx-foot img{width:auto;height:28px}
.fx-foot p{margin:14px 0 0;max-width:340px;font-size:14px;line-height:22px;color:var(--n600)}
.fx-foot h3{margin:0 0 10px;font-size:13px;line-height:20px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--n500)}
.fx-foot-c a,.fx-foot-c button{display:block;padding:4px 0;border:0;background:none;font-size:14px;line-height:22px;font-weight:400;color:var(--n700);text-align:left;transition:color .16s}
.fx-foot-b{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;max-width:1280px;margin:0 auto;padding:18px 24px 28px;border-top:1px solid var(--line);font-size:13px;line-height:20px;color:var(--n600)}

@media (hover:hover){
  .fx-btn-1:hover{background:var(--primary-hover)}
  .fx-btn-2:hover{background:var(--secondary-hover)}
  .fx-btn-3:hover{border-color:var(--n300)}
  .fx-links a:hover{color:var(--primary)}
  .fx-foot-c a:hover,.fx-foot-c button:hover{color:var(--primary)}
}

@media (max-width:760px){
  :root{--nav:56px}
  .fx-nav{padding:0 14px 0 18px;gap:12px}
  .fx-logo img{height:24px}
  .fx-links{display:none}
  /* Try the demo stays in the bar, beside the menu */
  .fx-nav [data-demo]{margin-left:auto}
  .fx-burger{display:inline-flex;margin-left:0}
}
@media (max-width:640px){
  .fx-eb{font-size:12px;line-height:19px}
  .fx-pop{display:block;padding:0}
  .fx-pop-box{position:absolute;left:0;right:0;bottom:0;width:auto;height:min(var(--sheet-h,88%),calc(100% - 12px));border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  /* the grabber: a tap closes the sheet, and a pull from it does too */
  .fx-pop-grab{flex:none;display:flex;justify-content:center;width:100%;height:22px;padding:8px 0 0;border:0;background:none;touch-action:none}
  .fx-pop-grab i{width:36px;height:5px;border-radius:3px;background:var(--n300)}
  .fx-foot-in{grid-template-columns:1fr 1fr;gap:28px 20px;padding:40px 20px 24px}
  .fx-foot-brand{grid-column:1 / -1}
  .fx-foot-c a,.fx-foot-c button{padding:9px 0}
  .fx-foot-b{padding:16px 20px 24px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.001ms!important;transition-delay:0s!important}
}
