/* AB Academy footer, shared by the React pages and the static blog. */
.af {
  position: relative;
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.af-inner {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 40px;
}
.af-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: 48px;
}
.af-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}
.af-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0c0d0f;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}
.af-mark i {
  display: inline-block;
  width: 2.5px;
  height: 2.5px;
  margin-left: 1px;
  transform: translateY(3.5px);
  border-radius: 50%;
  background: #c98659;
}
.af-name { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.af-name b { font-size: 15px; font-weight: 500; letter-spacing: -0.03em; }
.af-name span { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.af-brand p { max-width: 260px; margin: 18px 0 0; }
.af-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.af-col h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.af-col ul { margin: 0; padding: 0; list-style: none; }
.af-col li + li { margin-top: 10px; }
.af-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s ease;
}
.af-col a:hover { color: #fff; }
.af-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
}
.af-bottom address { font-style: normal; }

@media (max-width: 900px) {
  .af-top { grid-template-columns: 1fr; gap: 40px; }
  .af-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .af-inner { padding: 48px 16px 32px; }
  .af-cols { grid-template-columns: 1fr; gap: 28px; }
}
