.tc-legal-page {
  background: #080808;
  color: #fefcef;
  min-height: 100vh;
}

.tc-legal-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9rem 5vw 5rem;
  border-bottom: 1px solid rgba(222, 220, 208, 0.12);
  overflow: hidden;
}

.tc-legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(222, 220, 208, 0.11), transparent 34rem),
    linear-gradient(135deg, rgba(222, 220, 208, 0.06), transparent 52%);
  pointer-events: none;
}

.tc-legal-hero__inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
}

.tc-legal-kicker,
.tc-legal-toc__title,
.tc-legal-contact__eyebrow {
  color: #dedcd0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tc-legal-hero h1 {
  margin: 1.2rem 0 1rem;
  color: #fefcef;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.tc-legal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 1.5rem;
  color: rgba(222, 220, 208, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tc-legal-meta span {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(222, 220, 208, 0.14);
  border-radius: 999px;
  background: rgba(222, 220, 208, 0.035);
}

.tc-legal-summary {
  width: min(720px, 100%);
  margin: 0 auto;
  color: rgba(222, 220, 208, 0.76);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.85;
}

.tc-legal-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 5vw;
}

.tc-legal-toc {
  position: sticky;
  top: 105px;
  align-self: start;
  padding: 1.35rem;
  border: 1px solid rgba(222, 220, 208, 0.12);
  background: rgba(222, 220, 208, 0.025);
  backdrop-filter: blur(10px);
}

.tc-legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.tc-legal-toc__link {
  display: block;
  padding: 0.58rem 0;
  border-bottom: 1px solid rgba(222, 220, 208, 0.08);
  color: rgba(222, 220, 208, 0.62);
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.35;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.tc-legal-toc__link:hover,
.tc-legal-toc__link.is-active {
  color: #fefcef;
  padding-left: 0.35rem;
}

.tc-legal-content {
  min-width: 0;
  color: rgba(254, 252, 239, 0.84);
}

.tc-legal-content h2 {
  scroll-margin-top: 120px;
  margin: 0 0 1.3rem;
  padding-top: 0.5rem;
  color: #fefcef;
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.tc-legal-content h2:not(:first-child) {
  margin-top: 4.8rem;
}

.tc-legal-content h3 {
  margin: 2rem 0 0.75rem;
  color: #dedcd0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tc-legal-content p,
.tc-legal-content li {
  color: rgba(222, 220, 208, 0.78);
  font-size: 1rem;
  line-height: 1.85;
}

.tc-legal-content p {
  margin: 0 0 1rem;
}

.tc-legal-content ul,
.tc-legal-content ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
}

.tc-legal-content a {
  color: #fefcef;
  border-bottom: 1px solid rgba(254, 252, 239, 0.35);
}

.tc-legal-content strong {
  color: #fefcef;
  font-weight: 800;
}

.tc-legal-highlight,
.tc-legal-contact {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(222, 220, 208, 0.14);
  background: rgba(222, 220, 208, 0.04);
}

.tc-legal-highlight p:last-child,
.tc-legal-contact p:last-child {
  margin-bottom: 0;
}

.tc-legal-contact__eyebrow {
  margin-bottom: 0.8rem;
}

@media (max-width: 900px) {
  .tc-legal-hero {
    min-height: 52vh;
    padding-top: 7.5rem;
  }

  .tc-legal-shell {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .tc-legal-toc {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  .tc-legal-hero {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .tc-legal-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .tc-legal-shell {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .tc-legal-toc,
  .tc-legal-highlight,
  .tc-legal-contact {
    padding: 1.1rem;
  }
}
