/* ============================================================
   site.css — SHARED site chrome (header + footer) for every
   marketing/content page, matching the landing page 1:1.

   Self-contained (hardcoded brand values, scoped to .nav-*/.foot-*
   /footer) so it can be dropped onto any page without clashing with
   that page's own stylesheet. Nav is position:sticky (in-flow → no
   overlap on differently-structured pages); the landing keeps its
   own fixed variant. Pair with /js/site.js (scroll + newsletter).
   ============================================================ */

/* Self-sufficient guard against horizontal overflow (redundant with the page stylesheet, but
   makes site.css safe on any page that ever loads it alone). */
html,body{overflow-x:hidden;max-width:100%}

/* ── Header (floating pill nav) ──────────────────────────── */
/* Generous top gap so the pill clearly floats on plain (non-landing) pages, matching the airy
   look of the start page. Shrinks a little once scrolled. */
.nav-wrap{position:sticky;top:0;left:0;right:0;z-index:500;padding:1.5rem 1.5rem 0;transition:padding .3s}
.nav-wrap.compact{padding:.7rem 1.5rem 0}
.nav-pill{
  max-width:1120px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;
  background:rgba(255,255,255,.85);border:1px solid #e8eaef;border-radius:14px;padding:.7rem 1.1rem;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  transition:box-shadow .3s,border-color .3s,background .3s;
}
.nav-pill.scrolled{background:rgba(255,255,255,.95);box-shadow:0 4px 18px rgba(15,23,42,.06),0 1px 4px rgba(15,23,42,.04);border-color:#e2e8f0}
.nav-logo{display:flex;align-items:center}
.nav-logo img{height:26px;width:auto;display:block}
.nav-links{display:flex;gap:.15rem;align-items:center}
.nav-link{font-size:.875rem;font-weight:500;color:#475569;padding:.4rem .8rem;border-radius:8px;
  transition:color .15s,background .15s;text-decoration:none}
.nav-link:hover{color:#0f172a;background:#f1f5f9}
.nav-right{display:flex;align-items:center;gap:.75rem}
.nav-login{font-size:.875rem;color:#475569;font-weight:600;padding:.4rem .6rem;transition:color .15s;text-decoration:none;white-space:nowrap}
.nav-login:hover{color:#0f172a}
.nav-cta{
  display:inline-flex;align-items:center;gap:.45rem;
  background:linear-gradient(135deg,#255deb 0%,#1d4ed8 100%);color:#fff;
  padding:.55rem 1.15rem;border-radius:10px;font-weight:700;font-size:.875rem;text-decoration:none;white-space:nowrap;
  box-shadow:0 6px 16px rgba(37,93,235,.35);transition:box-shadow .2s,transform .15s;
}
.nav-cta:hover{box-shadow:0 10px 24px rgba(37,93,235,.45);transform:translateY(-1px)}
.nav-cta-short{display:none}

/* ── Footer (dark, 5-column) ─────────────────────────────── */
.site-foot{background:#0b1220;color:rgba(255,255,255,.6);padding:4rem 1.5rem 2rem}
.foot-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1.4fr;gap:2.5rem}
.foot-brand img{height:26px;margin-bottom:1rem;display:block}
.foot-tag{font-size:.875rem;color:rgba(255,255,255,.45);line-height:1.6;max-width:240px}
.foot-col h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.85);margin-bottom:1rem}
.foot-col a{display:block;font-size:.875rem;color:rgba(255,255,255,.55);margin-bottom:.65rem;transition:color .15s;text-decoration:none}
.foot-col a:hover{color:#fff}
.foot-news h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.85);margin-bottom:.6rem}
.foot-news p{font-size:.85rem;color:rgba(255,255,255,.45);line-height:1.6;margin-bottom:1rem}
.foot-form{display:flex;gap:.5rem;position:relative}
.foot-form input{flex:1;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:9px;padding:.6rem .8rem;color:#fff;font-size:.85rem;font-family:inherit;outline:none}
.foot-form input::placeholder{color:rgba(255,255,255,.4)}
.foot-form input:focus{border-color:#255deb}
.foot-form button{background:linear-gradient(135deg,#255deb 0%,#1d4ed8 100%);color:#fff;border:none;border-radius:9px;width:42px;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}
.foot-bottom{max-width:1120px;margin:3rem auto 0;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.foot-bottom .c{font-size:.82rem;color:rgba(255,255,255,.4)}
.foot-social{display:flex;gap:.5rem}
.foot-social a{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6);transition:background .15s,color .15s}
.foot-social a:hover{background:rgba(255,255,255,.12);color:#fff}
.foot-social svg{width:16px;height:16px}

/* ── Responsive (mirrors the landing breakpoints) ────────── */
@media(max-width:1024px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:768px){
  .nav-links{display:none}
  .nav-wrap{padding:.75rem 1rem 0}
  .nav-right .nav-login{display:none}
  .foot-grid{grid-template-columns:1fr}
  .foot-bottom{flex-direction:column;text-align:center}
}
@media(max-width:600px){
  .nav-cta{padding:.55rem 1rem;font-size:.8125rem;gap:0}
  .nav-cta-full{display:none}
  .nav-cta-short{display:inline}
}
