#tc-hero {
  padding: 9rem 4vw 6rem;
  position: relative;
  background: radial-gradient(
      ellipse 60% 60% at 70% 50%,
      rgba(37, 99, 235, 0.08) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #0a0a0a 0%, #0d1117 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.tc-hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 40%,
    black 85%,
    transparent 100%
  );
  pointer-events: none;
}

#tc-hero .container {
  position: relative;
  z-index: 1;
}

#tc-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

#tc-hero .hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

#tc-hero .hero-meta-label {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#tc-hero .hero-meta-value {
  font-size: 0.85rem;
  color: rgba(245, 244, 240, 0.7);
}

/* ── MAIN T&C LAYOUT ── */
#tc-main {
  padding: 6rem 4vw 8rem;
  background: var(--black);
}

.tc-layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── SIDEBAR ── */
.tc-sidebar {
  position: sticky;
  top: 5.5rem;
}

.toc-head {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.toc-list a {
  display: block;
  padding: 0.38rem 0.7rem;
  font-size: 0.76rem;
  color: rgba(245, 244, 240, 0.38);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.18s;
  line-height: 1.45;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--white);
  border-left-color: var(--teal);
  background: rgba(37, 99, 235, 0.06);
}

/* ── CONTENT ── */
.tc-content {
  min-width: 0;
}

/* intro block */
.tc-intro {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5.5rem;
}

.tc-intro h2 {
  font-family: var(--fd);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.tc-intro p {
  font-size: 0.95rem;
  color: rgba(245, 244, 240, 0.65);
  line-height: 1.8;
}

/* section */
.tc-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5.5rem;
}

.tc-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.tc-section-num {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.tc-section h3 {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tc-section p {
  font-size: 0.9rem;
  color: rgba(245, 244, 240, 0.62);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tc-section p:last-child {
  margin-bottom: 0;
}

/* list items */
.tc-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tc-section ul li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(245, 244, 240, 0.62);
  line-height: 1.7;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.18s, background 0.18s;
}

.tc-section ul li:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.03);
}

.tc-section ul li::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 5px var(--teal);
  margin-top: 0.55rem;
}

/* contact callout */
.tc-contact-note {
  margin-top: 3.5rem;
  padding: 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-left: 3px solid var(--teal);
  border-radius: 0 3px 3px 0;
}

.tc-contact-note p {
  font-size: 0.88rem;
  color: rgba(245, 244, 240, 0.6);
  line-height: 1.7;
  margin: 0;
}

.tc-contact-note strong {
  color: var(--white);
  font-weight: 500;
}

.tc-contact-note a {
  color: var(--teal);
  text-decoration: none;
}

.tc-contact-note a:hover {
  text-decoration: underline;
}

/* scroll animation */
.fade-up {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── MOBILE ── */
@media (max-width: 960px) {
  .tc-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tc-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  #tc-hero {
    padding: 7.5rem 1.5rem 4rem;
  }
  #tc-main {
    padding: 3.5rem 1.5rem 5rem;
  }
  #tc-hero .hero-meta {
    gap: 1.5rem;
  }
}

/* Mobile menu (matches index.html) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 4vw 2rem;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 99;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: rgba(245, 244, 240, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover {
  color: var(--teal);
}
.mobile-menu .nav-cta {
  background: var(--teal) !important;
  color: var(--black) !important;
  padding: 0.65rem 1.2rem;
  border-radius: 2px;
  font-weight: 600 !important;
  text-align: center;
  border-bottom: none !important;
  margin-top: 0.5rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* nav-logo img */
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
