/* LeapCode shared header and footer. Self-contained; every selector is namespaced .lcx- */
.lcx-header,.lcx-footer{--lcx-red:#C83A3A;--lcx-red-hi:#F65656;--lcx-paper:#F7F9F9;--lcx-muted:#AEBBC2;
  font-family:var(--font-body,"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);line-height:1.5;-webkit-text-size-adjust:100%}
.lcx-header *,.lcx-footer *{box-sizing:border-box}
.lcx-header ul,.lcx-footer ul{list-style:none;margin:0;padding:0}
.lcx-header a,.lcx-footer a{text-decoration:none}
.lcx-header{position:sticky;top:0;z-index:60;background:rgba(26,26,26,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08)}
.lcx-header__in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;width:100%;max-width:1200px;margin:0 auto;padding:8px clamp(16px,4vw,40px);min-height:56px}
.lcx-header__in>.lcx-header__logo{justify-self:start}
.lcx-header__in>.lcx-btn{justify-self:end}
.lcx-header__logo{display:flex;align-items:center;min-height:44px}
.lcx-header__logo img{display:block;height:28px;width:auto}
.lcx-nav{justify-self:center}
.lcx-nav__list{display:flex;gap:6px}
.lcx-nav__list a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--lcx-paper);font:600 .95rem var(--font-body,"Inter",system-ui,sans-serif)}
.lcx-nav__list a:hover,.lcx-nav__list a:focus-visible{color:var(--lcx-red-hi)}
.lcx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:999px;background:var(--lcx-red);color:#fff!important;font:700 .95rem var(--font-heading,"Figtree","Inter",system-ui,sans-serif);white-space:nowrap;transition:background .2s ease,transform .2s ease}
.lcx-btn:hover,.lcx-btn:focus-visible{background:#a82e2e;transform:translateY(-1px)}
.lcx-menu{display:none;position:relative}
.lcx-menu summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;cursor:pointer;border-radius:10px}
.lcx-menu summary::-webkit-details-marker{display:none}
.lcx-menu__bars,.lcx-menu__bars::before,.lcx-menu__bars::after{display:block;width:22px;height:2px;background:var(--lcx-paper);border-radius:2px;content:"";position:relative}
.lcx-menu__bars::before{position:absolute;top:-7px}.lcx-menu__bars::after{position:absolute;top:7px}
.lcx-menu[open] .lcx-menu__list{display:block}
.lcx-menu__list{display:none;position:absolute;right:0;top:calc(100% + 8px);min-width:220px;padding:8px;background:#1A1A1A;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.lcx-menu__list a{display:flex;align-items:center;min-height:44px;padding:0 14px;color:var(--lcx-paper);font:600 1rem var(--font-body,"Inter",system-ui,sans-serif);border-radius:8px}
.lcx-menu__list a:hover,.lcx-menu__list a:focus-visible{background:rgba(255,255,255,.08);color:var(--lcx-red-hi)}
.lcx-nav__list a{white-space:nowrap}
@media (max-width:1040px){.lcx-header__in{display:flex}.lcx-nav{display:none}.lcx-menu{display:block}.lcx-btn{margin-left:auto}.lcx-header__in{gap:10px}}
@media (max-width:420px){.lcx-header__logo img{height:24px}.lcx-btn{padding:0 14px;font-size:.85rem}.lcx-header__in{padding-left:16px;padding-right:12px}}

.lcx-footer{background:#1A1A1A;color:var(--lcx-muted);padding:48px clamp(16px,4vw,40px) 28px;font-size:.9rem;text-align:left}
.lcx-footer__in{width:100%;max-width:1200px;margin:0 auto}
.lcx-footer__grid{display:grid;grid-template-columns:1.2fr 1.5fr 1fr;gap:40px 48px}
.lcx-lockup{display:inline-flex;flex-direction:column;gap:4px}
.lcx-lockup img{display:block;height:35px;width:auto;max-width:100%}
.lcx-lockup__tag{font:600 .7rem var(--font-heading,"Figtree","Inter",system-ui,sans-serif);letter-spacing:.18em;text-transform:uppercase;color:var(--lcx-red-hi)}
.lcx-footer__tagline{margin:14px 0 12px;color:var(--lcx-paper);font:700 1.05rem var(--font-heading,"Figtree","Inter",system-ui,sans-serif)}
.lcx-footer a{color:var(--lcx-muted)}
.lcx-footer a:hover,.lcx-footer a:focus-visible{color:#fff}
.lcx-footer__contact a,.lcx-footer__col li a,.lcx-footer__meta a{display:inline-flex;align-items:center;min-height:44px}
.lcx-footer__col h2{margin:0 0 6px;font:700 .8rem var(--font-heading,"Figtree","Inter",system-ui,sans-serif);letter-spacing:.14em;text-transform:uppercase;color:#fff}
.lcx-soc{display:flex;gap:12px;margin-top:10px!important}
.lcx-soc a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--lcx-muted);color:var(--lcx-muted);transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease}
.lcx-soc a:hover,.lcx-soc a:focus-visible{background:var(--lcx-red);border-color:var(--lcx-red);color:#fff;transform:translateY(-2px)}
.lcx-soc svg{width:18px;height:18px}
.lcx-partners{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:10px!important}
.lcx-partners a{display:inline-flex;align-items:center;min-height:48px}
.lcx-partners img{display:block;height:48px;width:auto;border-radius:6px}
.lcx-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#2C3E50;color:#fff;font:700 .95rem var(--font-heading,"Figtree","Inter",system-ui,sans-serif);letter-spacing:.04em;border:2px solid rgba(255,255,255,.2)}
.lcx-footer__legal{margin-top:36px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);font-size:.8125rem}
.lcx-footer__legal p{margin:0 0 8px;max-width:none}
.lcx-footer__meta{display:flex;flex-wrap:wrap;gap:0 18px;margin:6px 0 4px!important}
.lcx-footer__copy{margin-top:6px!important;color:#8696a0}
@media (min-width:561px){.lcx-footer__col nav ul,nav.lcx-footer__col ul{columns:2;column-gap:28px}.lcx-footer__col li{break-inside:avoid}}
@media (max-width:900px){.lcx-footer__grid{grid-template-columns:1fr 1fr;gap:32px 40px}.lcx-footer__brand{grid-column:1/-1}}
@media (max-width:560px){.lcx-footer{padding-top:36px}.lcx-footer__grid{grid-template-columns:1fr;gap:28px}.lcx-footer__col nav ul,nav.lcx-footer__col ul{columns:1}}
@media (prefers-reduced-motion:reduce){.lcx-btn,.lcx-soc a{transition:none}.lcx-btn:hover,.lcx-soc a:hover{transform:none}}

/* Shell overflow guards (moved from the homepage): the footer grid and header must never cause sideways scroll */
.lcx-footer__grid > * { min-width: 0; }
.lcx-partners img { max-width: 100%; box-sizing: border-box !important; }
@media (max-width: 380px) { .lcx-header .lcx-header__logo img { width: 110px; height: auto; } .lcx-header .lcx-header__in { gap: 4px; padding-right: 4px; } .lcx-header .lcx-btn { padding: 0 10px; font-size: .8rem; } }

/* 1.3: at 320px the header was 4px too wide (hamburger past the edge) */
@media (max-width: 340px) { .lcx-header .lcx-header__logo img { width: 96px; } .lcx-header .lcx-btn { padding: 0 8px; font-size: .75rem; } }

/* ---- notes strip above the footer (design rule DR-5): every disclaimer, referral note and "how we save data" line lives here,
        in small type, never in the hero or above the fold ---- */
.lcx-notes { background: #F4F7F8; border-top: 1px solid #E3E8EB; padding: 18px 0; }
.lcx-notes__in { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.lcx-notes p { margin: 0 0 6px; font-size: .78rem; line-height: 1.55; color: #5E6D74; max-width: 90ch; }
.lcx-notes p:last-child { margin-bottom: 0; }
.lcx-notes b { color: #44525a; }
.lcx-notes a { color: inherit; text-decoration: underline; text-decoration-color: #C83A3A; text-underline-offset: 3px; }
.lcx-notes button { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: #C83A3A; text-underline-offset: 3px; cursor: pointer; }
.lcx-notes a:focus-visible, .lcx-notes button:focus-visible { outline: 3px solid #FF2032; outline-offset: 2px; border-radius: 3px; }
