/* A compact footer, scoped to the public homepage. */
body.applio-home.home-v2 { padding-bottom: 0; }
.home-v2 .applio-footer {
  margin-top: 48px;
  padding-top: 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border: 0;
}
.home-v2 .footer-shell {
  position: relative;
  padding: 25px 28px 20px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 26px;
  background: linear-gradient(120deg, #ffffffdb, #f9f7ffcc 58%, #fff4f0b3);
  box-shadow: 0 9px 30px #48496806;
}
.home-v2 .footer-shell::before {
  content: '';
  position: absolute;
  height: 2px;
  inset: 0 28px auto;
  background: linear-gradient(90deg, #a7c4fb00, #a7c4fb, #bda9ef, #efc0cd, #efc0cd00);
}
.home-v2 .footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px 40px;
}
.home-v2 .footer-brand-link { display: block; width: fit-content; }
.home-v2 .footer-brand-link img { display: block; width: 126px; height: 42px; object-fit: contain; }
.home-v2 .footer-brand p { margin: 4px 0 0 5px; color: #777c94; font-size: 11px; line-height: 1.5; }
.home-v2 .applio-footer .footer-links {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 28px;
  margin: 0;
}
.home-v2 .applio-footer .footer-links a {
  min-height: 32px;
  color: #5e637d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.home-v2 .footer-help {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid #dce5f680;
  border-radius: 17px;
  background: #fff9;
  color: #354672;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.home-v2 .footer-help > img { display: block; width: 30px; height: 30px; flex: none; }
.home-v2 .footer-help-copy { display: grid; gap: 2px; }
.home-v2 .footer-help strong { font-size: 12px; font-weight: 650; line-height: 1.4; }
.home-v2 .footer-help small { color: #7985a3; font-size: 10px; line-height: 1.5; }
.home-v2 .footer-help > svg { width: 14px; height: 14px; color: #91a0c1; margin-left: 3px; flex: none; }
.home-v2 .footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
  padding-top: 10px;
  border-top: 1px solid #dfe1ed;
  font-size: 10px;
  color: #7c8197;
}
.home-v2 .footer-cookie-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 0;
  padding: 0;
  background: none;
  color: #7c8197;
  font: inherit;
  cursor: pointer;
}
.home-v2 .footer-cookie-control svg { width: 13px; height: 13px; }
.home-v2 .footer-fineprint {
  max-width: 690px;
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.7;
  color: #72778d;
  text-wrap: pretty;
}
@media (hover: hover) {
  .home-v2 .applio-footer .footer-links a:hover,
  .home-v2 .footer-cookie-control:hover { color: #6a4eae; }
  .home-v2 .footer-help:hover { background: #fff; border-color: #cbd9ef; }
}
@media (max-width: 760px) {
  .home-v2 .applio-footer { margin-top: 34px; padding-inline: 16px; }
  .home-v2 .footer-shell { padding: 18px 18px 17px; border-radius: 24px; }
  .home-v2 .footer-main { grid-template-columns: 1fr auto; gap: 16px 12px; }
  .home-v2 .footer-brand-link img { width: 113px; height: 38px; }
  .home-v2 .footer-brand p { margin: 3px 0 0 4px; font-size: 10px; }
  .home-v2 .footer-help { grid-column: 2; grid-row: 1; gap: 7px; padding: 9px 10px; border-radius: 15px; }
  .home-v2 .footer-help > img { width: 26px; height: 26px; }
  .home-v2 .footer-help strong { font-size: 11px; }
  .home-v2 .footer-help small { font-size: 9px; }
  .home-v2 .footer-help > svg { display: none; }
  .home-v2 .applio-footer .footer-links { grid-column: 1 / -1; grid-template-columns: max-content 1fr; gap: 0 20px; margin: 0; }
  .home-v2 .applio-footer .footer-links a { min-height: 34px; font-size: 11.5px; }
  .home-v2 .footer-meta { margin-top: 12px; padding-top: 7px; font-size: 10px; }
  .home-v2 .footer-fineprint { margin-top: 7px; font-size: 10px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) { .home-v2 .footer-help { transition: none; } }
