/* The beto.sh footer (scripts/footer.html, placed by scripts/build-footer.py).
   Indigo night with a warm glow, a closing call to action, link columns, an
   Ask Beto panel, the legal row and the wordmark cropped by the bottom edge.
   Brand: docs/brand.md. Orange fills carry ink text. */
.bfoot{position:relative;isolation:isolate;overflow:hidden;background:#15183a;color:#F6EEE0;padding-bottom:env(safe-area-inset-bottom)}
.bf-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
.bf-bg .glow{position:absolute;right:-180px;top:-240px;width:680px;height:680px;border-radius:50%;background:radial-gradient(closest-side,rgba(247,149,73,.26),rgba(46,125,107,.12) 55%,transparent);filter:blur(30px)}
.bf-bg .grid{position:absolute;inset:0;opacity:.06;background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%)}
.bfoot a{color:inherit}

/* closing call to action */
.bf-cta{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:clamp(56px,7vw,88px) 0 clamp(40px,5vw,56px)}
.bf-cta h2{margin:0;font-size:clamp(32px,4.4vw,56px);line-height:1.04;letter-spacing:-.035em;color:#fff}
.bf-hl{background:linear-gradient(100deg,#F4C76A,#F79549 55%,#EE8B6E);-webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap}
.bf-cta p{max-width:30em;margin-top:14px;color:rgba(246,238,224,.65);font-size:16px}
.bf-btns{display:flex;flex-wrap:wrap;gap:12px;flex-shrink:0}
.bf-go{display:inline-flex;align-items:center;gap:12px;height:54px;padding:0 22px 0 6px;border-radius:999px;background:#fff;color:#15183a!important;font-weight:700;font-size:15.5px;white-space:nowrap;box-shadow:0 18px 40px -18px rgba(247,149,73,.7);transition:transform .2s}
.bf-go:hover{transform:translateY(-2px)}
.bf-go-i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#F4C76A,#F79549);transition:transform .3s}
.bf-go:hover .bf-go-i{transform:rotate(18deg)}
.bf-go-i svg{width:20px;height:20px;fill:none;stroke:#15183a;stroke-width:2;stroke-linejoin:round}
.bf-ghost{display:inline-flex;align-items:center;gap:8px;height:54px;padding:0 22px;border-radius:999px;border:1.5px solid rgba(246,238,224,.28);font-weight:600;font-size:15.5px;white-space:nowrap;transition:background .2s,border-color .2s}
.bf-ghost:hover{background:rgba(246,238,224,.08);border-color:rgba(246,238,224,.5)}

/* links and the Ask Beto panel */
.bf-main{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(32px,5vw,72px);padding:clamp(40px,5vw,56px) 0}
.bf-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.bf-k{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(246,238,224,.42)}
.bf-cols ul{list-style:none;margin-top:12px}
.bf-cols a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:15px;color:rgba(246,238,224,.78);transition:color .15s}
.bf-cols a:hover{color:#fff}
.bf-cols a i{font-style:normal;font-size:12px;color:rgba(246,238,224,.4)}
.bf-beto{padding:22px;border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bf-beto-top{display:flex;align-items:center;gap:14px}
.bf-av{flex-shrink:0;width:64px;height:64px;border-radius:18px;overflow:hidden;background:#22264F;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 14px 30px -14px rgba(247,149,73,.6)}
.bf-av video{width:100%;height:100%;object-fit:cover}
.bf-t{font-family:var(--display);font-size:19px;font-weight:700;color:#fff}
.bf-s{font-size:14px;color:rgba(246,238,224,.62);margin-top:2px}
.bf-ask{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding:12px 16px;border-radius:14px;background:linear-gradient(135deg,#F4C76A,#F79549);color:#15183a!important;font-weight:700;font-size:15px;transition:filter .2s}
.bf-ask:hover{filter:brightness(1.06)}
.bf-contact{list-style:none;margin-top:16px;display:grid;gap:2px}
.bf-contact a{display:inline-flex;align-items:center;gap:10px;min-height:36px;font-size:14.5px;color:rgba(246,238,224,.78)}
.bf-contact a:hover{color:#fff}
.bf-contact svg{width:18px;height:18px;fill:none;stroke:#F79549;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bf-certs{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.bf-certs li{padding:5px 10px;border-radius:999px;background:rgba(217,164,65,.12);border:1px solid rgba(217,164,65,.28);color:#F4D48E;font-size:12px;font-weight:700}

/* legal */
.bf-legal{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;padding:22px 26px;margin-bottom:8px;border-radius:20px;background:rgba(255,255,255,.04);font-size:13.5px;color:rgba(246,238,224,.5)}
.bf-legal p{max-width:44em}
.bf-legal nav{display:flex;flex-wrap:wrap;gap:4px 18px}
.bf-legal nav a{display:inline-flex;align-items:center;min-height:36px}
.bf-legal nav a:hover{color:#fff}

/* the wordmark, cropped by the bottom edge */
.bf-word{display:flex;align-items:flex-end;gap:1.2vw;max-width:var(--max);margin:8px auto -0.16em;padding:0 var(--gutter);font-family:var(--display);font-weight:800;font-size:clamp(84px,19vw,280px);line-height:.8;letter-spacing:-.06em;white-space:nowrap;pointer-events:none;user-select:none}
.bf-word img{width:.72em;height:.72em;margin-bottom:.06em;filter:drop-shadow(0 20px 40px rgba(247,149,73,.35))}
.bf-word span{background:linear-gradient(180deg,rgba(246,238,224,.95),rgba(246,238,224,.25));-webkit-background-clip:text;background-clip:text;color:transparent}

@media (max-width:1080px){
  .bf-main{grid-template-columns:minmax(0,1fr)}
  .bf-beto{max-width:520px}
}
@media (max-width:820px){
  .bf-cta{flex-direction:column;align-items:flex-start}
  .bf-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bf-legal{flex-direction:column;align-items:flex-start}
}
@media (max-width:620px){
  .bf-btns{width:100%;flex-direction:column}
  .bf-go,.bf-ghost{justify-content:center;width:100%}
  .bf-go{padding-left:6px}
  /* room for the phone's sticky bar on the pages that have one */
  .bfoot{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.bf-go,.bf-go-i{transition:none}}
