.expert-content { min-width: 0; }

.expert-facts {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(168, 108, 227, .42);
  border-bottom: 1px solid rgba(168, 108, 227, .42);
}

.expert-facts > div {
  min-width: 0;
  padding: 24px 22px 26px 0;
}

.expert-facts > div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.expert-facts strong,
.expert-facts span {
  display: block;
}

.expert-facts strong {
  margin-bottom: 10px;
  color: #b77bea;
  font-size: 18px;
  font-weight: 500;
}

.expert-facts span {
  color: rgba(244, 241, 246, .68);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.site-footer {
  display: block;
  padding-top: 54px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 10% 0%, rgba(133, 81, 197, .16), transparent 34%),
    #07090e;
  color: rgba(244, 241, 246, .68);
  letter-spacing: 0;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(520px, 1.25fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: start;
}

.site-footer-brand {
  display: inline-flex;
  width: min(360px, 100%);
}

.site-footer-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
}

.site-footer-legal a {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(244, 241, 246, .78);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
  transition: color .2s ease, border-color .2s ease;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus-visible {
  color: #c895f3;
  border-color: rgba(200, 149, 243, .62);
}

.site-footer-legal a:focus-visible {
  outline: 2px solid #a96bdd;
  outline-offset: 4px;
}

.site-footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer-bottom p {
  max-width: 700px;
  margin: 0;
  color: rgba(244, 241, 246, .52);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

:root[data-theme="light"] .expert-facts { border-color: rgba(125, 77, 158, .28); }
:root[data-theme="light"] .expert-facts > div + div { border-left-color: rgba(70, 53, 81, .16); }
:root[data-theme="light"] .expert-facts span { color: #6f6674; }

:root[data-theme="light"] .site-footer {
  border-top-color: rgba(70, 53, 81, .14);
  background:
    radial-gradient(circle at 10% 0%, rgba(133, 81, 197, .1), transparent 34%),
    #eee9e2;
  color: #625968;
}

:root[data-theme="light"] .site-footer-legal a {
  border-color: rgba(70, 53, 81, .17);
  color: #504757;
}

:root[data-theme="light"] .site-footer-bottom { border-color: rgba(70, 53, 81, .17); }
:root[data-theme="light"] .site-footer-bottom p { color: #746a79; }

@media (max-width: 980px) {
  .expert-facts { grid-template-columns: 1fr; }
  .expert-facts > div { padding: 20px 0; }
  .expert-facts > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .site-footer-main { grid-template-columns: 1fr; }
  .site-footer-brand { width: min(340px, 86vw); }
}

@media (max-width: 700px) {
  .site-footer { padding-top: 42px; }
  .site-footer-main { gap: 36px; }
  .site-footer-legal { grid-template-columns: 1fr; }
  .site-footer-legal a { min-height: 64px; }
  .site-footer-bottom {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-legal a { transition: none; }
}
