.terms-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 8px 22px 70px;
}

.terms-hero {
  margin-top: 46px;
  padding: clamp(26px, 2.5vw, 38px);
  border-radius: 24px;
  border: 1px solid rgba(130, 202, 255, 0.2);
  background:
    radial-gradient(circle at top right, rgba(82, 156, 252, 0.15), transparent 54%),
    linear-gradient(160deg, rgba(17, 22, 29, 0.82), rgba(9, 13, 19, 0.9));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.terms-kicker {
  color: #8acfff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 10px;
}

.terms-hero h1 {
  font-size: clamp(2rem, 5vw, 3.05rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.terms-subtitle {
  max-width: 760px;
  color: #a5b9d0;
  line-height: 1.62;
  font-size: clamp(0.97rem, 0.35vw + 0.9rem, 1.08rem);
}

.terms-sections {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.terms-card {
  padding: 24px clamp(18px, 2.4vw, 30px);
  border-radius: 18px;
  background: rgba(12, 18, 25, 0.78);
  border: 1px solid rgba(120, 186, 239, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.terms-card:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 204, 255, 0.36);
  box-shadow: 0 16px 34px rgba(2, 7, 12, 0.55);
}

.terms-card h2 {
  font-size: clamp(1.08rem, 1vw + 0.92rem, 1.42rem);
  line-height: 1.35;
}

.terms-card p {
  margin-top: 12px;
  color: #a8bbd2;
  line-height: 1.72;
  font-size: 0.98rem;
}

.terms-card ul {
  margin-top: 12px;
  padding-left: 20px;
  color: #a8bbd2;
  line-height: 1.72;
  font-size: 0.98rem;
}

.terms-card li + li {
  margin-top: 8px;
}

.terms-card a {
  color: #8dd9ff;
  text-decoration-color: rgba(141, 217, 255, 0.45);
  text-underline-offset: 3px;
}

.terms-card a:hover {
  color: #b9e9ff;
}

.terms-ack {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(120, 186, 239, 0.25);
  padding: 18px 20px;
  background: linear-gradient(120deg, rgba(17, 29, 40, 0.84), rgba(11, 18, 27, 0.9));
  color: #d7ebff;
  line-height: 1.6;
}

.atlas-reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  transition:
    opacity 0.58s ease,
    transform 0.58s ease,
    filter 0.58s ease;
  transition-delay: calc(var(--reveal-order, 0) * 0.05s);
}

.atlas-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 900px) {
  .terms-page {
    padding: 6px 16px 54px;
  }

  .terms-hero {
    margin-top: 28px;
    border-radius: 20px;
  }

  .terms-card {
    border-radius: 16px;
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .terms-subtitle {
    line-height: 1.56;
  }

  .terms-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
