*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#content.route-enter > * {
  animation: routeFadeUp 0.55s ease both;
}

#content.route-enter > *:nth-child(2) {
  animation-delay: 0.08s;
}

@keyframes routeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Pages ── */
.page {
  padding: 60px 40px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px var(--site-padding);
  font-size: 17px;
  font-weight: 500;
  animation: breadcrumbSlide 0.45s ease both;
}

@keyframes breadcrumbSlide {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #content.route-enter > *,
  .breadcrumb {
    animation: none;
  }
}

.breadcrumb__link {
  position: relative;
  color: #888;
  text-decoration: none;
  transition: color 0.25s;
  padding-bottom: 3px;
}

.breadcrumb__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #5BC4F5, #7B5CF5);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.breadcrumb__link:hover {
  color: #0d1b2e;
}

.breadcrumb__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.breadcrumb__sep {
  color: #ccc;
  font-size: 16px;
}

.breadcrumb__current {
  font-weight: 700;
  background: linear-gradient(to right, #5BC4F5, #7B5CF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Legal pages ── */
.legal {
  padding: 60px var(--site-padding) 100px;
  background: #fff;
}

.legal__container {
  max-width: 820px;
}

.legal__title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #0d1b2e;
  margin-bottom: 8px;
}

.legal__updated {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 56px;
}

.legal__section {
  margin-bottom: 48px;
}

.legal__heading {
  font-size: 22px;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.legal__subheading {
  font-size: 17px;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 12px;
  margin-top: 28px;
}

.legal__text {
  font-size: 16px;
  color: #555;
  line-height: 1.85;
}

.legal__link {
  color: #5BC4F5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.legal__link:hover {
  color: #7B5CF5;
}

.legal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.legal__list-item {
  font-size: 16px;
  color: #555;
  line-height: 1.85;
  padding-left: 20px;
  position: relative;
}

.legal__list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(to right, #5BC4F5, #7B5CF5);
}
