/* Shared footer based on the approved desktop reference. */
footer.cic-reference-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: .375rem solid #F8981D;
  color: #B8C7DA;
  background: #152B51;
}
footer.cic-reference-footer::before { content: none; display: none; }
footer.cic-reference-footer *, footer.cic-reference-footer *::before, footer.cic-reference-footer *::after { box-sizing: border-box; }
footer.cic-reference-footer .cic-footer-flicker-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .72;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 110% 90% at 50% 43%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 110% 90% at 50% 43%, #000 35%, transparent 100%);
}
footer.cic-reference-footer .cic-footer-callout,
footer.cic-reference-footer .cic-footer-main,
footer.cic-reference-footer .cic-footer-legal { position: relative; z-index: 1; }
footer.cic-reference-footer .cic-footer-container {
  position: relative;
  width: min(80.625rem, calc(100% - clamp(2rem, 4vw, 4rem))) !important;
  max-width: 80.625rem !important;
  margin-inline: auto;
}
.cic-footer-callout {
  border-bottom: .0625rem solid rgba(226,232,240,.13);
  background: rgba(8,19,38,.5);
}
.cic-footer-callout .cic-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2.5rem, 4vw, 3.75rem);
}
.cic-footer-eyebrow {
  margin: 0 0 .65rem;
  color: #F8981D;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cic-footer-callout h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 2.3vw, 2.5rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.cic-footer-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 1rem; }
footer.cic-reference-footer .cic-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3.375rem;
  padding: .75rem 1.25rem;
  border: .0625rem solid #596C88;
  border-radius: .75rem 0 .75rem 0;
  color: #F5F6F8;
  background: transparent;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
footer.cic-reference-footer .cic-footer-button:hover { border-color: #F8981D; background: rgba(248,152,29,.08); transform: translateY(-2px); }
footer.cic-reference-footer .cic-footer-button-primary { min-width: 15.5rem; border-color: #F8981D; color: #152B51; background: #F8981D; }
footer.cic-reference-footer .cic-footer-button-primary:hover { color: #152B51; background: #FFAD2F; }
.cic-footer-button svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cic-footer-main .cic-footer-container {
  display: grid;
  grid-template-columns: minmax(18rem, 2.2fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
  min-height: 30rem;
  padding-block: clamp(3rem, 4.3vw, 4.5rem) 4rem;
}
footer.cic-reference-footer .cic-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}
.cic-footer-brand-link img { display: block; width: 12rem; max-width: 100%; height: auto; }
.cic-footer-brand-link .cic-footer-brand-amber { color: #F8981D; }
footer.cic-reference-footer .cic-footer-brand > p {
  max-width: 24rem;
  margin: 1.5rem 0 0;
  color: #B8C7DA;
  font-size: .9375rem;
  line-height: 1.6;
}
.cic-footer-contact { display: grid; gap: .75rem; margin-top: 1.5rem; }
.cic-footer-contact > span, .cic-footer-contact > a { display: flex; align-items: flex-start; gap: .75rem; color: #B8C7DA; font-size: .875rem; line-height: 1.4; text-decoration: none; }
.cic-footer-contact svg { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; fill: none; stroke: #F8981D; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cic-footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cic-footer-badges span { padding: .5rem .75rem; border: .0625rem dashed #73839A; border-radius: .375rem; color: #B8C7DA; font-size: .8125rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; }
.cic-footer-links h3 { margin: 0 0 1rem; color: #F8981D; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
footer.cic-reference-footer .cic-footer-links a { display: flex; align-items: flex-start; gap: .625rem; margin: 0 0 .9rem; color: #B8C7DA; font-size: .9375rem; line-height: 1.4; text-decoration: none; transition: color .2s ease, transform .2s ease; }
footer.cic-reference-footer .cic-footer-links a::before { content: none; display: none; }
footer.cic-reference-footer .cic-footer-links a > svg { display: block; width: 1rem !important; height: 1rem !important; max-width: none !important; flex: 0 0 1rem; margin-top: .08rem; fill: none !important; stroke: #F8981D !important; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
footer.cic-reference-footer .cic-footer-links a:hover > svg { stroke: #fff !important; }
footer.cic-reference-footer .cic-footer-links a:hover { color: #fff; transform: translateX(.2rem); }
.cic-footer-legal { background: #0C1B36; }
.cic-footer-legal .cic-footer-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-block: 1.5rem; }
.cic-footer-legal p { grid-column: 1; margin: 0; color: #B8C7DA; font-size: .8125rem; line-height: 1.5; }
.cic-footer-policies { display: flex; grid-column: 1; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
footer.cic-reference-footer .cic-footer-policies a, footer.cic-reference-footer .cic-cookie-settings { color: #B8C7DA; font-size: .8125rem; line-height: 1.5; text-decoration: none; }
footer.cic-reference-footer .cic-cookie-settings { padding: 0; border: 0; background: none; cursor: pointer; }
footer.cic-reference-footer .cic-footer-policies a:hover, footer.cic-reference-footer .cic-cookie-settings:hover { color: #fff; }
.cic-footer-social { display: flex; grid-column: 2; grid-row: 1 / 3; gap: .5rem; align-self: center; }
footer.cic-reference-footer .cic-footer-social span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: .0625rem solid #596C88; border-radius: .5rem; color: #B8C7DA; }
.cic-footer-social svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cic-cookie-dialog { position: fixed; max-width: min(26rem, calc(100% - 2rem)); padding: 1.5rem; border: .0625rem solid #E2E8F0; border-radius: .75rem; color: #152B51; background: #fff; box-shadow: 0 1.5rem 4rem rgba(3,15,39,.3); }
.cic-cookie-dialog::backdrop { background: rgba(3,15,39,.65); }
.cic-cookie-dialog h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.cic-cookie-dialog p { margin: 0 0 1.25rem; font-size: .875rem; line-height: 1.5; }
.cic-cookie-dialog button { padding: .6rem 1rem; border: 0; border-radius: .75rem 0 .75rem 0; color: #152B51; background: #F8981D; font-weight: 700; cursor: pointer; }
footer.cic-reference-footer a:focus-visible, footer.cic-reference-footer button:focus-visible { outline: .125rem solid #F8981D; outline-offset: .1875rem; }
@media (max-width: 70rem) {
  .cic-footer-callout .cic-footer-container { flex-direction: column; align-items: flex-start; }
  .cic-footer-main .cic-footer-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cic-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .cic-footer-actions { width: 100%; flex-wrap: wrap; }
  footer.cic-reference-footer .cic-footer-button { flex: 1 1 12rem; }
  .cic-footer-main .cic-footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; min-height: 0; }
  .cic-footer-legal .cic-footer-container { grid-template-columns: 1fr; }
  .cic-footer-social { grid-column: 1; grid-row: auto; }
}
@media (max-width: 28rem) {
  .cic-footer-callout h2 { font-size: 1.75rem; }
  .cic-footer-main .cic-footer-container { grid-template-columns: 1fr 1fr; }
  .cic-footer-brand { grid-column: 1 / -1; }
  .cic-footer-badges span { font-size: .8125rem; }
  .cic-footer-links h3, footer.cic-reference-footer .cic-footer-links a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  footer.cic-reference-footer a, footer.cic-reference-footer button { transition: none; }
}
