/* ==================================================================
   SITE CHROME: the one nav bar and the one footer every public page shares
   (17 Nov 2026, Cheze's call: "they shouldn't be landing pages, they should
   be web pages... they should have nav bars, all of them").

   Namespaced sn- (nav) and sf- (footer) so it can sit on top of any page's
   own stylesheet without a clash. The HTML is written into each page rather
   than injected by script, so search engines see every link.

   Pages using it: / , /academy , /algebra-challenge , /masterclass , /cork
   Change a link here? Change it in all five pages too.
   ================================================================== */
.sn{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid #E3E7EF;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;}
.sn-in{max-width:1180px;margin:0 auto;padding:0 18px;height:64px;display:flex;align-items:center;gap:18px;}
.sn-logo{display:flex;align-items:center;flex:0 0 auto;margin-right:auto;}
.sn-logo img{height:30px;width:auto;display:block;}
.sn-links{display:none;align-items:center;gap:2px;}
.sn-links a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;color:#0F172A;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;letter-spacing:-.01em;}
.sn-links a:hover{background:#F2F5FC;color:#3B5BDB;}
.sn-links a[aria-current="page"]{color:#3B5BDB;background:#E6ECFD;}
.sn-links a .sn-free{font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#16A34A;color:#fff;border-radius:6px;padding:3px 6px;}
.sn-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:11px;background:#3B5BDB;color:#fff !important;
  font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:0 3px 0 #22378F;}
.sn-cta:hover{background:#2F49B4;}
.sn-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;border:1px solid #E3E7EF;background:#fff;cursor:pointer;padding:0;}
.sn-burger svg{width:22px;height:22px;fill:none;stroke:#0F172A;stroke-width:2.4;stroke-linecap:round;}
.sn-burger .x{display:none;}
.sn.open .sn-burger .x{display:block;} .sn.open .sn-burger .m{display:none;}
.sn-panel{display:none;border-top:1px solid #E3E7EF;background:#fff;padding:10px 18px 20px;max-height:calc(100vh - 64px);overflow:auto;}
.sn.open .sn-panel{display:block;}
.sn-panel a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 4px;border-bottom:1px solid #EEF1F6;color:#0F172A;font-size:17px;font-weight:800;text-decoration:none;}
.sn-panel a small{display:block;font-size:13.5px;font-weight:600;color:#5F6B7D;margin-top:2px;}
.sn-panel a::after{content:"";width:9px;height:9px;border-right:2.5px solid #3B5BDB;border-top:2.5px solid #3B5BDB;transform:rotate(45deg);flex:0 0 auto;margin-right:6px;}
.sn-panel .sn-cta{display:flex;justify-content:center;margin-top:16px;min-height:54px;font-size:17px;border-bottom:0;}
.sn-panel .sn-cta::after{display:none;}
@media(max-width:400px){ .sn-in .sn-cta{padding:0 12px;font-size:14px;} }
@media(min-width:1040px){ .sn-links{display:flex;} .sn-burger,.sn-panel,.sn.open .sn-panel{display:none;} }

/* ------------------------------------------------------------------ FOOTER */
.sf{background:#0B1222;color:#93A1BE;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14.5px;line-height:1.55;padding:56px 0 34px;}
.sf-in{max-width:1180px;margin:0 auto;padding:0 18px;}
.sf-grid{display:grid;gap:30px;}
@media(min-width:820px){ .sf-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;} }
.sf-brand img{height:30px;width:auto;filter:brightness(0) invert(1);display:block;}
.sf-brand p{margin-top:14px;max-width:34ch;}
.sf h4{color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px;}
.sf ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;}
.sf a{color:#C3D0E4;text-decoration:none;font-weight:600;}
.sf a:hover{color:#fff;text-decoration:underline;}
.sf-wa{display:inline-flex;align-items:center;gap:8px;margin-top:4px;background:#16A34A;color:#fff !important;border-radius:10px;padding:10px 14px;font-weight:800;text-decoration:none !important;}
.sf-wa svg{width:18px;height:18px;fill:#fff;}
.sf-legal{border-top:1px solid #1C2744;margin-top:40px;padding-top:22px;font-size:12.5px;color:#7D8BA8;}
.sf-legal p+p{margin-top:8px;}
.sf-legal a{color:#93A1BE;font-weight:600;}
