/* Shared site footer, used on every page. */
footer.site-foot {
  padding: 36px 0 calc(48px + env(safe-area-inset-bottom));
  margin-top: 48px;
  border-top: 0;
  color: #f4f7ff;
}
.foot-cta {
  background: #0f1932;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 20px 18px 16px;
  max-width: 560px;
}
.foot-cta-title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 16px;
}
.foot-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(180deg, #5b9bff 0%, #2f68f4 100%);
  text-decoration: none;
}
.foot-cta-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.foot-cta-btn:hover { filter: brightness(1.05); color: #fff; }
.foot-cta-micro {
  text-align: center;
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #7d90b3;
  line-height: 1.4;
}

.foot-brandblock {
  margin-top: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.foot-brand {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}
.foot-brand span { color: #4c8dff; }
.foot-brand:hover { color: #fff; }
.foot-tagline {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #8fa3c4;
  line-height: 1.45;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 10px;
  margin-top: 18px;
  align-items: start;
}
.foot-col-label {
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d90b3;
  margin: 0 0 10px;
}
.foot-cols a,
.foot-cols button {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #eef3ff;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
  width: auto;
  height: auto;
  border-radius: 0;
}
.foot-cols a:hover,
.foot-cols button:hover { color: #fff; }
.foot-cols button:focus-visible,
.foot-cta-btn:focus-visible,
.foot-brand:focus-visible {
  outline: 2px solid #6ba4ff;
  outline-offset: 2px;
  border-radius: 4px;
}

.foot-risk {
  margin-top: 22px;
  background: #0f1932;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 16px 16px 14px;
}
.foot-risk-label {
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d90b3;
  margin: 0 0 8px;
}
.foot-risk p {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #8fa3c4;
  line-height: 1.55;
}
.foot-risk p:last-child { margin-bottom: 0; }

.foot-entity {
  margin: 22px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #7d90b3;
  line-height: 1.6;
}
.foot-copy {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #6c7fa3;
  line-height: 1.6;
}
.foot-copy a { color: #8fa3c4; text-decoration: none; }
.foot-copy a:hover { color: #fff; }

@media (min-width: 720px) {
  footer.site-foot { padding: 48px 0 72px; margin-top: 48px; }
  .foot-cta { padding: 24px 24px 18px; }
  .foot-cta-title { font-size: 32px; }
  .foot-cta-btn { height: 52px; font-size: 16.5px; border-radius: 16px; }
  .foot-cols a,
  .foot-cols button { font-size: 14.5px; margin: 0 0 9px; }
  .foot-risk { padding: 18px 20px 16px; margin-top: 28px; }
}

@media (min-width: 900px) {
  footer.site-foot {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    column-gap: 48px;
    padding: 64px 0 80px;
    margin-top: 32px;
  }
  .foot-cta {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title btn"
      "title micro";
    column-gap: 32px;
    row-gap: 8px;
    align-items: center;
    padding: 28px 32px;
  }
  .foot-cta-title {
    grid-area: title;
    margin: 0;
    font-size: clamp(24px, 2.1vw, 30px);
    max-width: 16ch;
  }
  .foot-cta-btn {
    grid-area: btn;
    width: auto;
    min-width: 260px;
    padding: 0 28px;
    height: 52px;
    justify-self: end;
  }
  .foot-cta-micro {
    grid-area: micro;
    text-align: right;
    margin: 0;
    justify-self: end;
  }
  .foot-cta { grid-row: 1; }
  .foot-brandblock {
    grid-column: 1;
    grid-row: 2;
    margin-top: 36px;
    padding-bottom: 28px;
    border-bottom: 0;
  }
  .foot-cols {
    grid-column: 2;
    grid-row: 2;
    margin-top: 36px;
    padding-bottom: 28px;
    border-bottom: 0;
    grid-template-columns: repeat(3, minmax(122px, 170px));
    gap: 8px 36px;
  }
  footer.site-foot::after {
    content: "";
    grid-column: 1 / -1;
    grid-row: 3;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 0 0 32px;
  }
  .foot-risk {
    grid-column: 1 / -1;
    grid-row: 4;
    max-width: 72ch;
    margin-top: 0;
  }
  .foot-entity { grid-column: 1 / -1; grid-row: 5; }
  .foot-copy { grid-column: 1 / -1; grid-row: 6; }
}

/* v3: editorial footer, no cards or gradients */
.foot-cta { background: none; border: 0; border-radius: 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.10); max-width: none; }
.foot-cta-title { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 14px; }
.foot-cta-btn { display: inline-flex; width: auto; padding: 0 20px; height: 44px; border-radius: 8px; background: #3d7bf0; }
.foot-cta-btn:hover { filter: none; background: #4c8dff; }
.foot-cta-micro { text-align: left; }
.foot-col-label, .foot-risk-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #9fb0cb; }
.foot-risk { background: none; border: 0; border-top: 1px solid rgba(255,255,255,.10); border-radius: 0; padding: 18px 0 0; }
