/* ==========================================================================
   Terms & Conditions — builds on style.css + faq.css (hero, sticky contents)
   ========================================================================== */

.tc-layout { padding-bottom: 96px; }

.tc-toc .faq-topics__link { display: flex; gap: 4px; padding-right: 16px; }
.tc-toc__num { flex: 0 0 32px; opacity: .7; }

/* Document column */
.tc-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 40px 40px 48px;
  color: var(--text-neutral-1);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2px;
}

.tc-intro { padding-bottom: 32px; }

.tc-note {
  padding: 16px 20px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  background: #FFFFFF;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  color: var(--text-dark);
}

.tc-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 99px;
}
.tc-section + .tc-section { margin-top: 32px; }

.tc-section__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.tc-sub {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text-dark);
  margin: 20px 0 12px;
}

.tc-p { margin-bottom: 14px; }
.tc-p strong, .tc-li strong { color: var(--text-dark); }

.tc-li {
  padding-left: 16px;
  margin-bottom: 14px;
}

.tc-li--bullet {
  position: relative;
  padding-left: 32px;
}
.tc-li--bullet::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-neutral-1);
}

.tc-doc p:last-child { margin-bottom: 0; }

/* Marks wording missing from the source screenshots */
.tc-gap {
  background: #FFF4CC;
  color: #6B5200;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

@media (max-width: 1199px) {
  .tc-doc { padding: 32px 28px 40px; }
}

@media (max-width: 767px) {
  .tc-doc {
    padding: 24px 18px 32px;
    border-radius: var(--radius-card);
    font-size: 14px;
  }
  .tc-section__title { font-size: 20px; line-height: 28px; }
  .tc-li { padding-left: 8px; }
  .tc-li--bullet { padding-left: 24px; }
  .tc-li--bullet::before { left: 10px; }
  .tc-toc__num { flex-basis: auto; }
}

@media print {
  .site-header, .site-footer, .tc-toc, .page-hero { display: none; }
  .tc-layout { display: block; padding: 0; }
  .tc-doc { border: 0; padding: 0; }
}
