/* Shared public footer. The homepage is the source for the French and English links. */
body footer.artstria-site-footer {
  display: block;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  padding: clamp(38px, 5vw, 60px) 0 0;
  border-block-start: 1px solid #ffffff1c;
  background: #041641;
  color: #d2dced;
  font: 400 13px/1.6 Hellix, Inter, system-ui, sans-serif;
}
.artstria-site-footer > :is(.wrap,.r62-footer-links,.r82-private) {
  box-sizing: border-box;
  inline-size: min(1600px, calc(100% - 2 * clamp(20px, 4.4vw, 72px)));
  max-inline-size: none;
  margin-inline: auto;
  padding-inline: 0;
}
.artstria-site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px 32px;
  padding-block-end: 30px;
  border-block-end: 1px solid #ffffff26;
}
body footer.artstria-site-footer .footer-col h3 {
  margin: 0 0 12px;
  color: #e4c89f !important;
  font: 500 20px/1.2 Atacama, Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
}
body footer.artstria-site-footer a {
  color: #d2dced;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body footer.artstria-site-footer a:hover {
  color: #f8c784;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.artstria-site-footer .footer-col a {
  display: flex;
  align-items: center;
  min-block-size: 36px;
  padding: 4px 0;
  font-size: 13px;
  opacity: 1;
}
body footer.artstria-site-footer :is(a,button):focus-visible {
  outline: 2px solid #f8c784;
  outline-offset: 2px;
}
.artstria-site-footer .footer-social,
.artstria-site-footer .footer-trust,
.artstria-site-footer .footer-bottom,
.artstria-site-footer .pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.artstria-site-footer .footer-social { gap: 14px; padding: 15px 0 2px; margin: 0; border: 0; }
.artstria-site-footer .footer-social a { display: grid; place-items: center; min-inline-size: 34px; min-block-size: 38px; }
.artstria-site-footer .footer-trust { gap: 10px; padding: 8px 0 15px; }
.artstria-site-footer .trust-badge,
.artstria-site-footer .pay { color: inherit; padding: 4px 10px; font-size: 11px; border: 1px solid #d2dced45; }
.artstria-site-footer .trust-badge { border-radius: 999px; }
.artstria-site-footer .pay { border-radius: 3px; }
.artstria-site-footer .pay-row { gap: 7px; margin-inline-start: auto; }
.artstria-site-footer .footer-bottom {
  justify-content: space-between;
  gap: 8px 20px;
  padding: 19px 0;
  color: #aebdd5;
  font-size: 12px;
  border-block-start: 1px solid #ffffff1c;
}
.artstria-site-footer .r62-footer-links,
.artstria-site-footer .r82-private {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  padding-block: 9px;
  border-block-start: 1px solid #ffffff26;
}
.artstria-site-footer :is(.r82-private,.r62-footer-links) :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  line-height: 1.35;
}
.artstria-site-footer .r62-effects {
  border: 1px solid #d2dced70;
  border-radius: 999px;
  padding: 5px 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.artstria-site-footer .flag-bar { display: flex; height: 3px; margin: 0; }
.artstria-site-footer .flag-bar span { flex: 1; }
.artstria-site-footer .flag-blue { background: #0055a4; }
.artstria-site-footer .flag-white { background: #fff; }
.artstria-site-footer .flag-red { background: #ef4135; }

/* The launch calculator has a small footer inside its React root. The shared
   public footer lives outside that root and remains available without JS. */
body:has(> footer.artstria-site-footer) > #app footer.shell.footer { display: none; }

@media (max-width: 1100px) {
  .artstria-site-footer .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 700px) {
  .artstria-site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 25px 18px; }
  .artstria-site-footer .pay-row { margin-inline-start: 0; }
  .artstria-site-footer .footer-col a,
  .artstria-site-footer :is(.r82-private,.r62-footer-links) :is(a,button) { min-block-size: 44px; }
}
