/* The lead pages' footer (footerMarkup in portal.mjs): a full-width dark band on the brand kit's horizon mesh
   (the site's shared closing band: blue light rising along the bottom) with the site's grain, gray-300 links and
   white social icons (brand kit 11_Social_Icons/white). Welcome, chat, team and the assessment. */
.portal-foot{position:relative;isolation:isolate;flex:none;margin-top:auto;background:#111827 url('/brand/mesh-horizon.webp') 80% bottom/cover no-repeat;color:#d1d5db;font:.875rem/1.5 var(--sans)}
.portal-foot::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.55;mix-blend-mode:overlay;background-size:240px 240px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-0.8'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.foot-inner{width:min(100% - 3rem,72rem);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1.2rem;padding:1rem 0}
.foot-links{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.2rem}
.foot-links>a,.portal-foot button{color:inherit;font-weight:500;text-decoration:underline;text-underline-offset:.23em}
.portal-foot button{margin:0;padding:0;border:0;background:transparent;font:inherit;font-weight:500;cursor:pointer}
.foot-links>a:hover,.portal-foot button:hover{color:#fff}
.social{display:flex;align-items:center;gap:.125rem;margin-inline-end:-.375rem}
.social a{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:.375rem;opacity:.75}
.social a:hover{opacity:1;background:#1f2937}.social img{display:block;width:1rem;height:1rem}
.portal-foot [hidden]{display:none!important}
/* Phones: a smaller, centered footer in two rows, the icons first and the policies under them. */
@media(max-width:680px){
  .portal-foot{font-size:.75rem}.foot-inner{width:calc(100% - 2rem);flex-direction:column;align-items:center;gap:.45rem;padding:.75rem 0}
  .foot-links{justify-content:center;gap:.35rem 1rem}.social{order:-1;justify-content:center;margin:0}.social a{width:1.6rem;height:1.6rem}.social img{width:.875rem;height:.875rem}
}
@media print{.portal-foot{display:none}}
