/* =============================================================================
   Syncible site chrome — nav and footer
   12 September 2026

   Loaded by every page. Three rules govern what may live in here:

   1. Every selector is namespaced `sx-`. 21 pages define their own `.btn`, 9 define
      `.logo`, and 20 use `class="btn"` in their bodies. Namespacing means this file
      cannot reach a page body and a page cannot reach the chrome, so no page needed
      editing to adopt it.
   2. No custom properties. `--green` is #15803D in the redesign but #059669 on 16
      pages and #2CA01C on another; publishing a `:root` here would repaint them.
      Colours are therefore literal.
   3. Nothing targets `body`, headings, `*` or any bare element except the two the
      chrome owns. Manrope is set on `.sx-nav` and `.sx-foot` only, so inner-page
      bodies keep their own typeface until they are restyled.

   The only page rules that can still reach this markup are the bare `nav{…}` on 13
   pages and `footer{…}` on 4. A class beats an element selector, so `.sx-nav` and
   `.sx-foot` below re-declare every property those rules set.
   ============================================================================= */

@font-face{font-family:"Manrope";font-style:normal;font-weight:500 800;font-display:swap;
  src:url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500 800;font-display:swap;
  src:url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* --- shared primitives, chrome only ------------------------------------- */
.sx-wrap{max-width:1120px;margin:0 auto;padding:0 28px;box-sizing:border-box}

.sx-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;
  border-radius:999px;font-weight:600;font-size:16px;white-space:nowrap;
  text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.2;
  transition:transform .15s ease,background .15s ease}
.sx-btn:active{transform:translateY(1px)}
.sx-btn-primary{background:#2563EB;color:#fff}
.sx-btn-primary:hover{background:#1D4FD7}

/* --- nav ----------------------------------------------------------------- */
/* Every property below that looks redundant is overriding a bare nav{…} rule on one
   of the 13 pages that carry one: background, height, display, align-items,
   justify-content, padding, border-bottom, and position/top/left/right/z-index on
   accountants/index.html, which is fixed. */
.sx-nav{position:sticky;top:0;left:auto;right:auto;z-index:10;
  background:rgba(255,255,255,.9);backdrop-filter:blur(12px);
  border-bottom:1px solid #E4E9F3;height:auto;display:block;padding:0;
  font-family:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#0F1E3D;font-size:17px;line-height:1.6;box-sizing:border-box}
.sx-nav *,.sx-nav *::before,.sx-nav *::after{box-sizing:border-box}
.sx-nav .sx-wrap{display:flex;align-items:center;gap:36px;height:68px;position:relative}
.sx-nav a{color:inherit;text-decoration:none}

.sx-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;
  letter-spacing:-0.02em;color:#0F1E3D}
.sx-logo .sx-mark{width:32px;height:32px;border-radius:9px;background:#2563EB;
  display:grid;place-items:center;flex:none}
.sx-logo .sx-mark svg{display:block}

.sx-nav ul{display:flex;gap:28px;list-style:none;font-weight:600;font-size:15px;
  color:#4A5878;margin:0;padding:0}
.sx-nav ul li{margin:0;list-style:none}
.sx-nav ul a:hover,.sx-nav ul a:focus-visible{color:#0F1E3D}
.sx-nav ul a.nav-active{color:#0F1E3D;font-weight:700}

.sx-right{margin-left:auto;display:flex;align-items:center;gap:20px;
  font-weight:600;font-size:15px}
.sx-right a{white-space:nowrap}
.sx-nav .sx-btn{padding:11px 18px;font-size:15px}

/* The CTA pill is white text on blue, and it has to say so at a specificity that
   clears .sx-nav a{color:inherit} (0,1,1) above and .sx-menu a{color:#4A5878}
   below. Both of those beat the plain .sx-btn-primary{color:#fff} (0,1,0), so the
   label was rendering navy on every page. .sx-menu sits inside .sx-nav, so this one
   selector covers the desktop pill and the mobile one. No page rule needs
   outranking beyond this: page classes are unnamespaced and cannot match
   .sx-btn-primary, and the only page selectors that reach the element at all are
   bare a{...} at (0,0,1) and a:hover{...} at (0,1,1). Hence no !important. */
.sx-nav a.sx-btn-primary,
.sx-nav a.sx-btn-primary:visited,
.sx-nav a.sx-btn-primary:hover,
.sx-nav a.sx-btn-primary:focus,
.sx-nav a.sx-btn-primary:focus-visible,
.sx-nav a.sx-btn-primary:active{color:#fff}

/* --- Connectors dropdown ------------------------------------------------- */
.sx-dd{position:relative}
.sx-dd-t{display:inline-flex;align-items:center;gap:5px;background:transparent;
  border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}
.sx-dd-t svg{transition:transform .16s ease}
.sx-dd-t[aria-expanded="true"] svg{transform:rotate(180deg)}
.sx-dd-p{position:absolute;top:calc(100% + 14px);left:-14px;min-width:246px;
  background:#fff;border:1px solid #E4E9F3;border-radius:14px;padding:8px;
  box-shadow:0 18px 40px -22px rgba(15,30,61,.45);display:flex;flex-direction:column;
  gap:2px;z-index:20}
.sx-dd-p a{padding:11px 14px;border-radius:9px;font-size:14.5px;font-weight:600;
  color:#0F1E3D}
.sx-dd-p a:hover,.sx-dd-p a:focus-visible{background:#EEF3FF}

/* An author display declaration beats the UA [hidden]{display:none}, so both panels
   need this or they render open on every page. */
.sx-dd-p[hidden],.sx-menu[hidden]{display:none}

/* --- mobile menu --------------------------------------------------------- */
.sx-burger{display:none;width:40px;height:40px;border:0;background:transparent;
  cursor:pointer;padding:10px 8px;flex-direction:column;justify-content:space-between;
  margin-left:auto}
.sx-burger span{display:block;height:2px;width:100%;border-radius:2px;background:#0F1E3D;
  transition:transform .18s ease,opacity .18s ease}
.sx-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.sx-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.sx-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.sx-menu{position:absolute;left:0;right:0;top:100%;background:#fff;
  border-bottom:1px solid #E4E9F3;box-shadow:0 18px 40px -24px rgba(15,30,61,.4);
  padding:14px 28px 22px;display:flex;flex-direction:column;gap:2px;z-index:30}
.sx-menu a{padding:13px 4px;font-weight:600;font-size:16px;color:#4A5878;
  text-decoration:none}
.sx-menu a:hover,.sx-menu a:focus-visible{color:#0F1E3D}
.sx-menu .sx-sub{padding-left:20px;font-size:15px}
.sx-menu hr{border:0;border-top:1px solid #E4E9F3;margin:10px 0}
.sx-menu .sx-btn{justify-content:center;margin-top:6px}

@media (max-width:900px){
  .sx-nav ul{display:none}
  .sx-right{display:none}
  .sx-burger{display:flex}
  .sx-nav .sx-wrap{gap:0}
}
@media (min-width:901px){
  .sx-menu{display:none !important}
}

/* --- footer -------------------------------------------------------------- */
/* Re-declares background, color, text-align, padding and font-size because three
   pages carry a bare footer{…} that sets them. */
.sx-foot{background:transparent;color:#4A5878;text-align:left;
  padding:56px 0 40px;border-top:1px solid #E4E9F3;font-size:14px;
  font-family:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.6;box-sizing:border-box}
.sx-foot *,.sx-foot *::before,.sx-foot *::after{box-sizing:border-box}
.sx-foot a{color:inherit;text-decoration:none}
.sx-foot a:hover{color:#0F1E3D}
.sx-foot .sx-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:32px}
.sx-foot h4{font-size:13px;font-weight:800;color:#0F1E3D;margin:0 0 12px;
  letter-spacing:0;line-height:1.3}
.sx-foot ul{margin:0;padding:0}
.sx-foot li{list-style:none;margin:8px 0}
.sx-foot p{margin:0}
.sx-foot .sx-base{margin-top:40px;padding-top:24px;border-top:1px solid #E4E9F3;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px;
  color:#8A95AF}

@media (max-width:900px){
  .sx-foot .sx-cols{grid-template-columns:1fr 1fr}
}

/* Focus ring, scoped so it cannot restyle focus on a page body. */
.sx-nav :focus-visible,.sx-foot :focus-visible{outline:3px solid #93B4FF;outline-offset:3px}
