

.terms-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--om-sp-3);
  margin-top: var(--om-sp-6);
  margin-bottom: var(--om-sp-6);
}
.terms-meta__note {
  flex-basis: 100%;
  font-size: var(--om-fs-sm);
  margin: var(--om-sp-2) 0 0;
}

.terms-toc {
  background: var(--om-surface);
  border: 1px solid var(--om-line);
  border-radius: var(--om-r-lg);
  padding: var(--om-sp-5) var(--om-sp-6);
  margin-bottom: var(--om-sp-7);
}
.terms-toc__title {
  font-size: var(--om-fs-md);
  margin-bottom: var(--om-sp-3);
}
.terms-toc__list {
  margin: 0;
  padding-left: 1.4em;
  display: grid;
  gap: 8px;
  font-size: var(--om-fs-sm);
}
.terms-toc__list::marker,
.terms-toc__list li::marker {
  color: var(--om-primary);
  font-family: var(--om-font-heading);
  font-weight: 700;
}
.terms-toc__list a {
  color: var(--om-ink);
  border-bottom: 1px solid transparent;
  transition: color var(--om-dur) var(--om-ease), border-color var(--om-dur) var(--om-ease);
}
.terms-toc__list a:hover {
  color: var(--om-primary-deep);
  border-bottom-color: var(--om-line-strong);
}

.terms-body {
  display: block;
}
.terms-section {
  padding-top: var(--om-sp-2);
  margin-bottom: var(--om-sp-8);
}
.terms-section:last-of-type {
  margin-bottom: var(--om-sp-7);
}
.terms-section > h2 {
  display: flex;
  align-items: center;
  gap: var(--om-sp-3);
  padding-bottom: var(--om-sp-4);
  border-bottom: 1px solid var(--om-line);
  margin-bottom: var(--om-sp-5);
}
.terms-section__num {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  background: var(--om-grad-fire);
  color: var(--om-white);
  font-family: var(--om-font-heading);
  font-weight: 800;
  font-size: var(--om-fs-md);
  box-shadow: var(--om-shadow-glow);
}
.terms-section h3 {
  font-size: var(--om-fs-md);
  margin-top: var(--om-sp-6);
  margin-bottom: var(--om-sp-3);
}
.terms-section > h2 + h3,
.terms-section > h2 + p + h3:first-of-type {
  margin-top: 0;
}
.terms-section ul,
.terms-section ol {
  margin: 0 0 var(--om-sp-4);
  display: grid;
  gap: 10px;
  font-size: var(--om-fs-sm);
  color: var(--om-ink);
}
.terms-section li::marker {
  color: var(--om-primary);
}
.terms-section p {
  font-size: var(--om-fs-sm);
}
.terms-section .om-alert {
  margin-top: var(--om-sp-4);
}

.terms-section[id] {
  scroll-margin-top: 100px;
}

.terms-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--om-sp-5);
}
.terms-cta__title {
  font-size: var(--om-fs-xl);
  margin-bottom: var(--om-sp-2);
}

@media (max-width: 640px) {
  .terms-toc {
    padding: var(--om-sp-4) var(--om-sp-5);
  }
  .terms-section > h2 {
    align-items: flex-start;
  }
  .terms-section__num {
    width: 38px;
    height: 38px;
    font-size: var(--om-fs-sm);
  }
  .terms-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .terms-cta .om-cluster {
    flex-direction: column;
    align-items: stretch;
  }
  .terms-cta .om-btn {
    width: 100%;
  }
}
