#footer.jr-footer {
  --footer-bg: #fff;
  --footer-ink: #161519;
  --footer-muted: #595762;
  --footer-line: #dedce4;
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  padding: 0;
  font-family: "Onest", system-ui, sans-serif;
  font-size: .9375rem;
  line-height: 1.55;
}
#footer.jr-footer[data-theme="dark"] {
  --footer-bg: #111015;
  --footer-ink: #faf9fc;
  --footer-muted: #c7c3cf;
  --footer-line: #45414d;
}
.jr-footer-inner {max-width: 75rem; margin-inline: auto; padding: 3rem clamp(1.25rem,5vw,3rem) max(6rem, env(safe-area-inset-bottom));}
.jr-footer-grid {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(1.5rem,4vw,3rem);}
.jr-footer-grid h2 {margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.25; letter-spacing: -.025em;}
.jr-footer-grid .jr-footer-intro h2 {font-size: clamp(1.45rem,2.6vw,1.85rem); letter-spacing: -.04em;}
.jr-footer-intro p,.jr-footer-legal {color: var(--footer-muted);}
.jr-footer ul {list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem;}
.jr-footer a {color: inherit; text-decoration: none;}
.jr-footer a:hover {text-decoration: underline; text-underline-offset: .2em;}
.jr-footer-cta {display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 46px; margin-top: 1.15rem; padding: .35rem .45rem .35rem .75rem; border: 1px solid var(--footer-line); border-radius: .45rem; font-weight: 650;}
.jr-footer img {display: block; width: auto; object-fit: contain; flex: none;}
.jr-footer ul.jr-footer-social {display: flex; flex-wrap: wrap; gap: .55rem;}
.jr-footer-social a {display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--footer-line); border-radius: 50%; font-weight: 750;}
.jr-instagram {position: relative; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 5px;}
.jr-instagram::before {content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%;}
.jr-instagram::after {content: ""; position: absolute; top: 2px; right: 2px; width: 2px; height: 2px; border-radius: 50%; background: currentColor;}
.jr-footer-theme {display: flex; align-items: center; gap: .35rem; margin-top: .7rem;}
.jr-footer-theme[hidden] {display: none;}
.jr-footer-theme > span {font-size: 1.15rem;}
.jr-footer-theme button {position: relative; width: 48px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--footer-ink); cursor: pointer;}
.jr-footer-theme button::before {content: ""; position: absolute; top: 10px; left: 0; width: 48px; height: 24px; border-radius: 99px; background: var(--footer-ink);}
.jr-footer-theme button::after {content: ""; position: absolute; left: 3px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--footer-bg);}
.jr-footer-theme button[aria-checked="true"]::after {left: 27px;}
.jr-footer-legal {display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid var(--footer-line); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .9rem;}
@media(max-width: 870px) {.jr-footer-grid {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media(max-width: 560px) {
  .jr-footer-inner {padding-top: 2.15rem;}
  .jr-footer-grid {grid-template-columns: minmax(0,1fr); gap: 1.65rem;}
  .jr-footer-grid h2 {margin-bottom: .6rem;}
  .jr-footer-legal {flex-direction: column;}
}
