:root{
  --container: 1200px;
  --pad-x: 20px;

  --bg: #061a22;
  --text: #0b1d2a;
  --muted: rgba(11,29,42,0.7);

  --accent: #cfa75f;
  --radius: 18px;
}

.js-scroll-reveal .scroll-reveal{
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-scroll-reveal .scroll-reveal.is-visible{
  opacity: 1;
  transform: none;
}

.js-scroll-reveal .scroll-reveal--zoom{
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 850ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1050ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-scroll-reveal .scroll-reveal--zoom.is-visible{
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce){
  .js-scroll-reveal .scroll-reveal,
  .js-scroll-reveal .scroll-reveal--zoom{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.back-to-top{
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(16px, 2.8vw, 30px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(6, 26, 34, 0.9);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  z-index: 300;
}

.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus{
  background: rgba(26, 138, 203, 0.9);
  border-color: rgba(255, 255, 255, 0.75);
}

.back-to-top:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.site-footer{
  background: #061a22;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-copy{
  margin: 0;
  padding: 22px 0 10px 0;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.site-footer-sep{
  opacity: 0.5;
  margin: 0 10px;
}

.site-footer-link{
  color: #ffffff;
  text-decoration: none;
}

.site-footer-link:hover{
  text-decoration: underline;
}

.site-footer-social{
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 0 20px 0;
}

.site-footer-social-link{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(6, 26, 34, 0.28);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-footer-social-link:hover,
.site-footer-social-link:focus{
  background: rgba(26, 138, 203, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.site-footer-social-icon{
  width: 16px;
  height: 16px;
}

.site-footer-social-icon-instagram{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-footer-social-icon-facebook{
  fill: currentColor;
  stroke: none;
}

.legal-page{
  background: #061a22;
  color: #ffffff;
  min-height: calc(100vh - 220px);
}

.legal-card{
  background: #0b2430;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
}

.legal-card h1{
  margin: 0 0 14px 0;
}

.legal-card p{
  margin: 0 0 12px 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
