.terms-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 78% 25%, rgba(35, 196, 229, 0.2), transparent 28%),
    linear-gradient(135deg, #06172f 0%, #0a2854 62%, #0c3974 100%);
}

.terms-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, #000 45%, #000);
}

.terms-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.terms-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.terms-breadcrumb i {
  font-size: 0.65rem;
}

.terms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #79e4f5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-hero h1 {
  max-width: 760px;
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.terms-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.terms-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-meta i {
  color: #62dcee;
}

.terms-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
}

.terms-visual::before,
.terms-visual::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(126, 228, 245, 0.18);
  border-radius: 50%;
  content: "";
  animation: terms-orbit 16s linear infinite;
}

.terms-visual::after {
  width: 360px;
  height: 360px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 22s;
}

.terms-document {
  position: relative;
  z-index: 2;
  width: 220px;
  min-height: 285px;
  padding: 2rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 35px 75px rgba(0, 8, 30, 0.35);
  transform: rotate(4deg);
}

.document-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 2.2rem;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #1462ef, #12bed0);
  font-size: 1.5rem;
}

.document-line {
  width: 78%;
  height: 8px;
  margin: 0 0 0.75rem;
  border-radius: 99px;
  background: #dce5f3;
}

.document-line.line-long {
  width: 100%;
  height: 11px;
  background: #17365e;
}

.document-line.line-short {
  width: 52%;
}

.document-signature {
  position: absolute;
  right: 1.7rem;
  bottom: 1.8rem;
  color: #1767e8;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  transform: rotate(-7deg);
}

.terms-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(9, 31, 64, 0.82);
  box-shadow: 0 15px 30px rgba(0, 8, 30, 0.25);
  backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 700;
}

.terms-float i {
  color: #65e1ef;
}

.float-one {
  top: 19%;
  left: 1%;
  animation: terms-float 4.5s ease-in-out infinite;
}

.float-two {
  right: 0;
  bottom: 18%;
  animation: terms-float 4.5s 1.2s ease-in-out infinite;
}

.terms-summary {
  position: relative;
  z-index: 4;
  margin-top: -2.3rem;
}

.terms-summary-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e2e9f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 47, 83, 0.12);
}

.terms-summary article {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem;
  border-right: 1px solid #e8edf5;
}

.terms-summary article:last-child {
  border-right: 0;
}

.terms-summary article > i {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #1265ed;
  background: #eaf2ff;
  font-size: 1.15rem;
}

.terms-summary span {
  display: grid;
  gap: 0.2rem;
}

.terms-summary strong {
  color: #102441;
  font-size: 0.88rem;
}

.terms-summary small {
  color: #708097;
  font-size: 0.72rem;
  line-height: 1.5;
}

.terms-content-section {
  background: linear-gradient(180deg, #f8fbff, #fff 32%);
}

.terms-index {
  position: sticky;
  top: 150px;
}

.terms-index > span {
  display: block;
  margin-bottom: 0.8rem;
  color: #8795a9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.terms-index nav {
  display: grid;
  overflow: hidden;
  border: 1px solid #e2e9f2;
  border-radius: 18px;
  background: #fff;
}

.terms-index nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: #4d607a;
  border-bottom: 1px solid #edf1f6;
  font-size: 0.75rem;
  font-weight: 600;
}

.terms-index nav a:last-child {
  border-bottom: 0;
}

.terms-index nav a:hover {
  color: #1163e8;
  background: #f4f8ff;
}

.terms-index nav b {
  color: #9aa8ba;
  font-size: 0.62rem;
}

.terms-help {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 18px;
  color: #fff;
  background: #0a264d;
}

.terms-help > i {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 11px;
  color: #0a264d;
  background: #67e2ed;
}

.terms-help strong {
  display: block;
  font-size: 0.84rem;
}

.terms-help p {
  margin: 0.3rem 0 0.7rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.55;
}

.terms-help a {
  color: #72e7f1;
  font-size: 0.73rem;
  font-weight: 700;
}

.terms-intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
  padding: 1.5rem;
  border: 1px solid #cfe0fb;
  border-radius: 18px;
  background: #eff6ff;
}

.terms-intro span {
  color: #1263e8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.terms-intro p {
  margin: 0;
  color: #455b78;
  font-size: 0.86rem;
  line-height: 1.75;
}

.terms-articles {
  overflow: hidden;
  border: 1px solid #e2e9f2;
  border-radius: 22px;
  background: #fff;
}

.terms-articles article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.3rem;
  padding: 2rem;
  border-bottom: 1px solid #e8edf4;
  scroll-margin-top: 150px;
}

.terms-articles article:last-child {
  border-bottom: 0;
}

.terms-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #d8e5f6;
  border-radius: 15px;
  color: #1764e6;
  background: #f5f9ff;
  font-size: 0.72rem;
  font-weight: 800;
}

.terms-articles h2 {
  margin-bottom: 0.85rem;
  color: #0e2442;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.terms-articles p,
.terms-articles li {
  color: #617086;
  font-size: 0.84rem;
  line-height: 1.85;
}

.terms-articles p:last-child,
.terms-articles ul:last-child {
  margin-bottom: 0;
}

.terms-articles li + li {
  margin-top: 0.4rem;
}

.terms-articles a {
  color: #1263e8;
  font-weight: 700;
}

@keyframes terms-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes terms-float {
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .terms-hero {
    padding-top: 4rem;
  }

  .terms-visual {
    min-height: 340px;
  }

  .terms-index {
    position: static;
  }

  .terms-index nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .terms-index nav a {
    border-right: 1px solid #edf1f6;
  }

  .terms-help {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .terms-hero {
    padding: 3rem 0 5rem;
  }

  .terms-breadcrumb {
    margin-bottom: 2rem;
  }

  .terms-summary-grid {
    grid-template-columns: 1fr;
  }

  .terms-summary article {
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }

  .terms-summary article:last-child {
    border-bottom: 0;
  }

  .terms-index nav {
    grid-template-columns: 1fr 1fr;
  }

  .terms-intro {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .terms-articles article {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terms-visual::before,
  .terms-visual::after,
  .terms-float {
    animation: none;
  }
}
