/* ========================================================================
   Core Editorial Documents (About, Terms, Privacy, Registry)
   Designed for scholarly legibility and premium archival feel.
   ======================================================================== */

.tf-core-doc {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 40px;
  color: var(--tf-text);
  line-height: 1.8;
}

/* --- Document Header --- */
.tf-core-doc header {
  margin-bottom: 32px; /* Reduced from 60px */
  border-bottom: 1.5px solid var(--tf-border); /* Softer line */
  padding-bottom: 24px; /* Reduced from 32px */
}

.tf-core-doc h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.tf-core-doc .tf-text-muted {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--tf-text-soft);
  max-width: 600px;
}

/* --- Sectioning --- */
.tf-core-doc section {
  margin-bottom: 48px;
}

.tf-core-doc h2 {
  font-family: "Newsreader", serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tf-border);
  display: inline-block;
  padding-bottom: 4px;
}

.tf-core-doc h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tf-text-dim);
  margin-bottom: 16px;
  margin-top: 32px;
}

/* --- Typography --- */
.tf-core-doc p {
  font-family: "Newsreader", serif;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.tf-core-doc ul, .tf-core-doc ol {
  margin-bottom: 32px;
  padding-left: 20px;
}

.tf-core-doc li {
  font-family: "Newsreader", serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  position: relative;
}

.tf-core-doc strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tf-text);
}

/* --- Links & Utils --- */
.tf-core-doc a {
  color: var(--tf-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: all var(--tf-t) var(--tf-ease);
}

.tf-core-doc a:hover {
  color: var(--tf-text);
  text-decoration-thickness: 2px;
}

/* --- Special Sections --- */
.tf-core-doc .editorial-note {
  background: var(--tf-bg-mid);
  padding: 32px;
  border-left: 4px solid var(--tf-accent);
  font-style: italic;
  margin: 40px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .tf-core-doc {
    margin: 40px auto;
    padding: 0 24px;
  }
  .tf-core-doc h1 {
    font-size: 2.5rem;
  }
  .tf-core-doc .tf-text-muted {
    font-size: 1.2rem;
  }
}
