/* ══ Footer — midnight-navy backdrop, overlapping white subscribe card, sapphire bento ══ */

footer.site-foot { position: relative; color: #F1F5F9; padding: 0 0 36px; margin-top: 72px;
  border-top: 1.5px solid rgba(96,165,250,.28);
  background:
    radial-gradient(950px 380px at 85% 15%, rgba(34,211,238,.16), transparent 65%),
    radial-gradient(850px 380px at 15% 90%, rgba(46,107,255,.22), transparent 65%),
    linear-gradient(180deg, #0B1B42 0%, #081433 60%, #061028 100%); }

/* 1 · overlapping white 3D subscribe card */
footer.site-foot .wrap .foot-sub { position: relative; transform: translateY(-36px); margin-bottom: 2px;
  background: #FFFFFF; color: #0B1220; border: 1.5px solid #D5E0F2; border-radius: 24px;
  padding: 26px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 2px 0 rgba(255,255,255,1) inset, 0 5px 0 -1px rgba(31,91,255,.25),
              0 24px 50px -12px rgba(6,16,40,.50); }
footer.site-foot .wrap .foot-sub::before { content: ""; position: absolute; top: -1.5px; left: 26px; right: 26px;
  height: 3.5px; border-radius: 0 0 4px 4px; pointer-events: none;
  background: linear-gradient(90deg, #1F5BFF 0%, #22D3EE 55%, #0B8B63 100%); }
footer.site-foot .wrap .foot-sub .fs-txt b { color: #0B1220; font: 800 20px/1.2 var(--display, var(--sans)); display: block; }
footer.site-foot .wrap .foot-sub .fs-txt .muted { color: #475569 !important; font-size: 14.5px; font-weight: 500; }
footer.site-foot .wrap .foot-sub form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
footer.site-foot .wrap .foot-sub input[type="email"] { min-width: 240px; height: 42px; padding: 0 14px;
  border-radius: 11px; border: 1.5px solid #D5E0F2; background: #F8FAFF; color: #0B1220; font-size: 14px; }
footer.site-foot .wrap .foot-sub input[type="email"]:focus { outline: none; border-color: #1F5BFF;
  box-shadow: 0 0 0 3px rgba(31,91,255,.14); }
footer.site-foot .wrap .foot-sub .btn.sm { height: 42px; padding: 0 20px; border-radius: 11px; border: 0;
  background: #0A1738; color: #fff; font: 700 14px/42px var(--sans); cursor: pointer;
  box-shadow: 0 2px 0 #050C1E, 0 8px 18px -8px rgba(10,23,56,.5); }
footer.site-foot .wrap .foot-sub .btn.sm:hover { background: #1F5BFF; }

/* 2 · sapphire-glass bento columns */
footer.site-foot .wrap .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 16px; }
footer.site-foot .wrap .cols > div { background: linear-gradient(180deg, rgba(30,58,138,.34) 0%, rgba(15,35,82,.46) 100%);
  border: 1.5px solid rgba(147,197,253,.22); border-radius: 20px; padding: 24px 24px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 14px 30px -12px rgba(4,10,26,.45);
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; }
footer.site-foot .wrap .cols > div:hover { transform: translateY(-4px); border-color: rgba(125,211,252,.55);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 20px 38px -14px rgba(4,10,26,.6); }

/* headings as ice-cyan pills */
footer.site-foot .wrap .cols h4 { display: inline-flex; align-self: flex-start; padding: 5px 11px; border-radius: 8px;
  background: rgba(56,189,248,.14); border: 1px solid rgba(125,211,252,.28);
  font: 800 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: #7DD3FC;
  margin: 0 0 12px; }

/* readability */
footer.site-foot .wrap .cols p, footer.site-foot .wrap .cols .muted { color: #E2E8F0 !important; font-size: 14.5px !important;
  font-weight: 500; line-height: 1.68; }
footer.site-foot .wrap .cols p.xs.muted { color: #CBD5E1 !important; font-size: 13.5px !important; }
footer.site-foot .wrap .cols a:not(.brand) { display: block; color: #F8FAFC !important; font: 600 14.5px/1.3 var(--sans);
  padding: 7px 10px; margin: 2px -10px; border-radius: 9px; text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease; }
footer.site-foot .wrap .cols a:not(.brand):hover { background: rgba(56,189,248,.16); color: #7DD3FC !important;
  transform: translateX(3px); }
footer.site-foot .wrap .cols .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
footer.site-foot .wrap .cols .brand .word { font: 800 20px/1 var(--display, var(--sans)); letter-spacing: -.03em; color: #F8FAFC; }
footer.site-foot .wrap .cols .brand .word em { font-style: normal; color: #7DD3FC; }
footer.site-foot .wrap .cols .brand .word i { font-style: normal; font-family: var(--mono); font-size: 13.5px;
  font-weight: 700; color: #94A3B8; }

/* 3 · framed legal bar */
footer.site-foot .wrap .legal { margin-top: 16px; padding: 16px 22px; border-radius: 16px;
  background: rgba(15,35,82,.45); border: 1px solid rgba(147,197,253,.18); color: #CBD5E1;
  font-size: 13px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 18px; }
footer.site-foot .wrap .legal a { color: #F8FAFC; text-decoration: none; }
footer.site-foot .wrap .legal a:hover { color: #7DD3FC; }

@media (max-width: 980px) {
  footer.site-foot .wrap .cols { grid-template-columns: 1fr 1fr; }
  footer.site-foot .wrap .foot-sub { padding: 22px 20px; }
}
@media (max-width: 640px) {
  footer.site-foot { margin-top: 56px; padding-bottom: 28px; }
  footer.site-foot .wrap .cols { grid-template-columns: 1fr; gap: 12px; }
  footer.site-foot .wrap .foot-sub { transform: translateY(-26px); padding: 20px 18px; border-radius: 18px;
    flex-direction: column; align-items: stretch; }
  footer.site-foot .wrap .foot-sub::before { left: 18px; right: 18px; }
  footer.site-foot .wrap .foot-sub form { width: 100%; }
  footer.site-foot .wrap .foot-sub input[type="email"] { min-width: 0; flex: 1; }
  footer.site-foot .wrap .legal { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
}

/* the card must paint above <main> and the footer backdrop so its top edge + ribbon stay visible */
footer.site-foot { z-index: 1; isolation: isolate; }
footer.site-foot > .wrap { position: relative; z-index: 2; }
footer.site-foot .wrap .foot-sub { z-index: 3; box-shadow: 0 2px 0 rgba(255,255,255,1) inset,
  0 6px 0 -1px rgba(31,91,255,.30), 0 26px 54px -12px rgba(6,16,40,.55); }
footer.site-foot .wrap .foot-sub::before { z-index: 4; }

/* the footer clipped its own overflow; the card must overlap into the section above.
   Use a negative top margin on the card instead of relying on un-clipped overflow. */
footer.site-foot { overflow: visible; padding-top: 36px; }
footer.site-foot .wrap .foot-sub { transform: none; margin-top: -72px; margin-bottom: 22px; }

/* ══ legal bar: one row — copyright + disclaimer left stacked inline, links right ══ */
footer.site-foot .wrap .legal { display: flex; align-items: center; justify-content: space-between;
  gap: 10px 24px; flex-wrap: nowrap; padding: 15px 22px; }
footer.site-foot .wrap .legal .lg-copy { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  min-width: 0; color: #CBD5E1; font-size: 13px; }
footer.site-foot .wrap .legal .lg-copy .lg-dot { font-style: normal; color: #64748B; }
footer.site-foot .wrap .legal .lg-copy .lg-note { font-style: normal; color: #94A3B8; }
footer.site-foot .wrap .legal .lg-links { display: inline-flex; align-items: center; gap: 0; flex: none; }
footer.site-foot .wrap .legal .lg-links a { position: relative; padding: 2px 0 2px 14px; color: #F8FAFC;
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
footer.site-foot .wrap .legal .lg-links a:first-child { padding-left: 0; }
footer.site-foot .wrap .legal .lg-links a + a::before { content: '·'; position: absolute; left: 5px;
  color: #64748B; font-weight: 400; }
footer.site-foot .wrap .legal .lg-links a:hover { color: #7DD3FC; }

@media (max-width: 900px) {
  footer.site-foot .wrap .legal { flex-direction: column; align-items: flex-start; flex-wrap: wrap;
    gap: 8px; padding: 14px 16px; }
  footer.site-foot .wrap .legal .lg-copy { flex-direction: column; align-items: flex-start; gap: 3px; }
  footer.site-foot .wrap .legal .lg-copy .lg-dot { display: none; }
}

/* keep one row as long as physically possible; hide the separator once the note wraps */
footer.site-foot .wrap .legal .lg-copy { flex-wrap: wrap; }
@media (max-width: 1240px) and (min-width: 901px) {
  footer.site-foot .wrap .legal { padding: 14px 18px; gap: 8px 16px; }
  footer.site-foot .wrap .legal .lg-copy { font-size: 12.5px; gap: 7px; }
  footer.site-foot .wrap .legal .lg-links a { font-size: 12.5px; padding-left: 12px; }
  footer.site-foot .wrap .legal .lg-links a + a::before { left: 4px; }
}
@media (max-width: 1120px) and (min-width: 901px) {
  footer.site-foot .wrap .legal .lg-copy .lg-dot { display: none; }
}
