.page-disclaimer {
  position: relative;
  min-height: 100vh;
  background:
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(0, 216, 255, 0.028) 18px 36px),
    radial-gradient(circle at 88% 6%, rgba(138, 43, 226, 0.14), transparent 42%),
    var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  padding: 1.25rem 1rem 4rem;
}

.page-disclaimer a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.page-disclaimer a:hover {
  color: var(--orange);
  text-shadow: 0 0 20px rgba(0, 216, 255, 0.22);
}

.page-disclaimer .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 216, 255, 0.16);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.page-disclaimer .breadcrumbs__sep {
  opacity: 0.7;
}

.page-disclaimer .breadcrumbs__current {
  color: var(--blue);
  font-weight: 600;
}

.terms-hero {
  max-width: 1240px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(0, 216, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.08), transparent 40%),
    rgba(20, 26, 41, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  position: relative;
}

.terms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(0, 216, 255, 0.035) 16px 32px);
  pointer-events: none;
}

.terms-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 106, 0, 0.9) 50%);
  z-index: 1;
}

.terms-hero__inner {
  position: relative;
  padding: 1.8rem 1.4rem 1.4rem;
}

.terms-hero__content {
  position: relative;
  z-index: 2;
}

.terms-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 900;
  margin: 0.35rem 0 0.9rem;
  color: var(--text-main);
}

.terms-hero__lede {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 1.2rem;
}

.terms-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.terms-hero__media {
  margin-top: 1.6rem;
  border-radius: 6px 24px 6px 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 216, 255, 0.24);
  position: relative;
  z-index: 2;
}

.terms-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.terms-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.terms-index {
  background: linear-gradient(160deg, rgba(20, 26, 41, 0.88), rgba(11, 15, 25, 0.92));
  border: 1px solid rgba(0, 216, 255, 0.16);
  border-left: 3px solid var(--orange);
  border-radius: 0 16px 16px 0;
  padding: 1.4rem 1.3rem;
}

.terms-index__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.terms-index__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.terms-index__status {
  font-size: 0.7rem;
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

.terms-index__list {
  list-style: none;
  counter-reset: index;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.terms-index__list li {
  counter-increment: index;
}

.terms-index__list a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.terms-index__list a::before {
  content: counter(index, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.terms-index__list a:hover {
  color: var(--text-main);
  background: rgba(0, 216, 255, 0.08);
  border-color: rgba(0, 216, 255, 0.24);
  transform: translateX(4px);
}

.terms-index__meta {
  margin: 1.2rem 0 1rem;
  padding: 0.85rem 0.9rem;
  border-top: 1px solid rgba(0, 216, 255, 0.14);
  border-bottom: 1px solid rgba(0, 216, 255, 0.14);
}

.terms-index__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
}

.terms-index__row dt {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.terms-index__row dd {
  margin: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.86rem;
}

.terms-index__note {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  padding: 0.2rem 0.2rem 0;
}

.terms-content {
  display: grid;
  gap: 2rem;
}

.terms-section {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(0, 216, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.terms-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--violet), var(--orange));
  opacity: 0.7;
}

.terms-section--revision {
  border-color: rgba(255, 106, 0, 0.24);
  background:
    linear-gradient(150deg, rgba(255, 106, 0, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.03);
}

.terms-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.terms-section__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.terms-section__headline {
  padding-top: 0.1rem;
}

.terms-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.terms-section__subtitle {
  margin: 0.28rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.terms-section__body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.9);
}

.terms-list {
  list-style: none;
  counter-reset: terms;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.terms-list li {
  counter-increment: terms;
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 3.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(0, 216, 255, 0.06);
}

.terms-list li::before {
  content: counter(terms, decimal-leading-zero);
  position: absolute;
  left: 0.75rem;
  top: 0.78rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--orange);
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 106, 0, 0.26);
  border-radius: 6px;
  background: rgba(255, 106, 0, 0.08);
}

.terms-quote {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--violet);
  background: linear-gradient(90deg, rgba(138, 43, 226, 0.12), transparent 70%);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-main);
}

.page-disclaimer .terms-section .accordion {
  margin-top: 0.4rem;
}

.page-disclaimer .terms-section .accordion__trigger {
  border: 1px solid rgba(0, 216, 255, 0.2);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(0, 216, 255, 0.06);
  color: var(--text-main);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-disclaimer .terms-section .accordion__trigger:hover {
  background: rgba(0, 216, 255, 0.12);
  border-color: var(--blue);
}

.page-disclaimer .terms-section .accordion__panel-inner {
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--text-dim);
  padding-top: 0.7rem;
}

.terms-revision-copy {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.terms-contact {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(138, 43, 226, 0.12));
  border: 1px solid rgba(0, 216, 255, 0.18);
  border-radius: 12px;
}

.terms-contact__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.terms-contact__label {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.terms-contact__item a {
  font-weight: 700;
  word-break: break-all;
}

.terms-contact-note {
  margin: 0.4rem 0 1.2rem;
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.6;
  border-left: 2px solid var(--orange);
  padding-left: 0.8rem;
}

.terms-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 106, 0, 0.18);
}

@keyframes terms-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-disclaimer .terms-section,
.page-disclaimer .terms-index {
  animation: terms-rise 0.55s ease-out both;
}

.page-disclaimer .terms-section:nth-child(2) {
  animation-delay: 0.08s;
}

.page-disclaimer .terms-section:nth-child(3) {
  animation-delay: 0.16s;
}

.page-disclaimer .terms-section:nth-child(4) {
  animation-delay: 0.24s;
}

@media (max-width: 420px) {
  .page-disclaimer {
    padding: 1rem 0.5rem 3rem;
  }

  .terms-hero__inner,
  .terms-section {
    padding: 1.25rem 0.95rem;
  }

  .terms-list li {
    padding-left: 2.8rem;
  }

  .terms-section__head {
    gap: 0.7rem;
  }

  .terms-self__headline {
    min-width: 0;
  }

  .terms-contact__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

@media (min-width: 900px) {
  .page-disclaimer {
    padding: 2.25rem 2.25rem 5rem;
  }

  .terms-hero {
    margin-bottom: 4rem;
  }

  .terms-hero__inner {
    padding: 2.6rem 2.6rem 2rem;
  }

  .terms-hero__title {
    font-size: clamp(3rem, 5vw, 4.2rem);
  }

  .terms-hero__lede {
    font-size: 1.05rem;
    max-width: 70ch;
  }

  .terms-hero__media {
    margin-top: 2.2rem;
  }

  .terms-wrap {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 0 3.5rem;
    align-items: start;
  }

  .terms-index {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    padding: 1.8rem 1.5rem;
  }

  .terms-content {
    gap: 2.4rem;
    padding-bottom: 1.5rem;
  }

  .terms-section {
    padding: 2rem 2.2rem;
  }

  .terms-section__title {
    font-size: 1.7rem;
  }

  .terms-list li {
    padding: 0.85rem 1rem 0.85rem 3.3rem;
  }

  .terms-contact {
    padding: 1.2rem 1.5rem;
  }
}
