.terms-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(182, 78, 250, 0.14), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(83, 252, 24, 0.08), transparent 30%),
    linear-gradient(180deg, #12051f 0%, #090312 100%);
  color: #ece6f4;
}

.terms-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.terms-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.terms-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b64efa, #53fc18);
  color: #12051f;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}

.terms-brand strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.terms-brand small {
  display: block;
  color: #c59ae8;
  font-size: 0.78rem;
}

.terms-back {
  color: #9fd4ff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.terms-back:hover {
  text-decoration: underline;
}

.terms-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.terms-card {
  padding: 32px 30px 36px;
  border: 1px solid rgba(171, 75, 255, 0.24);
  border-radius: 18px;
  background: rgba(38, 13, 62, 0.42);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.terms-eyebrow {
  margin: 0 0 8px;
  color: #53fc18;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.terms-card h1 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.terms-effective {
  margin: 0 0 24px;
  color: #c59ae8;
  font-size: 0.92rem;
}

.terms-card h2 {
  margin: 28px 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #f0c8ff;
}

.terms-card h3 {
  margin: 20px 0 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #e8b8ff;
}

.terms-card p,
.terms-card li {
  color: #d9cfe8;
  line-height: 1.65;
  font-size: 0.98rem;
}

.terms-card ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.terms-card li + li {
  margin-top: 8px;
}

.terms-card a {
  color: #9fd4ff;
}

.terms-card a:hover {
  color: #c8e8ff;
}

.terms-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  border-top: 1px solid rgba(171, 75, 255, 0.18);
  padding-top: 22px;
  color: #ab98c2;
  font-size: 0.88rem;
}

.terms-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.terms-footer-links a {
  color: #d47eff;
  font-weight: 600;
  text-decoration: none;
}

.terms-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .terms-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .terms-card {
    padding: 24px 20px 28px;
  }
}