/* ===========================================================
   Terms (legal) page — sober, leesbaar, geen visuele drukte.
   Spiegelt de pb-* klassen uit privacy.css met tc-* prefix.
   =========================================================== */

.tc-hero {
  padding-block: clamp(56px, 6vw, 96px) clamp(28px, 3vw, 40px);
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
}
.tc-hero h1 {
  font-size: clamp(2rem, 1rem + 2.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy-800);
  margin: 0 0 16px;
  max-width: 22ch;
}
.tc-hero__lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 64ch;
  margin: 0 0 22px;
}
.tc-hero__meta {
  display: flex; flex-wrap: wrap; gap: 22px 28px;
  font-size: 13.5px; color: var(--fg-3);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 18px;
}
.tc-hero__meta b { color: var(--fg-1); font-weight: 600; }
.tc-hero__meta > div { display: grid; gap: 2px; }
.tc-hero__crumb {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 13px; color: var(--fg-3);
  margin-bottom: 28px;
}
.tc-hero__crumb a { color: var(--fg-3); }
.tc-hero__crumb a:hover { color: var(--brand-navy); }
.tc-hero__crumb svg { opacity: 0.5; }

/* Two-column layout: TOC + body */
.tc-main {
  padding-block: clamp(40px, 5vw, 72px);
  background: #fff;
}
.tc-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .tc-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* TOC */
.tc-toc {
  position: sticky; top: 88px;
  font-size: 13.5px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 18px;
}
.tc-toc__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.tc-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 8px;
  counter-reset: tc;
}
.tc-toc li { counter-increment: tc; }
.tc-toc a {
  color: var(--fg-2);
  border-bottom: 0;
  display: block;
  padding: 4px 0;
  line-height: 1.4;
}
.tc-toc a:hover { color: var(--brand-navy); }
.tc-toc a::before {
  content: counter(tc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-orange-700);
  margin-right: 10px;
}
@media (max-width: 900px) {
  .tc-toc {
    position: static; border-left: 0; padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding-block: 16px;
  }
  .tc-toc ol { grid-template-columns: 1fr 1fr; }
}

/* Body / prose */
.tc-body {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-2);
  counter-reset: tcsec;
}
.tc-body section { padding-top: clamp(28px, 3vw, 40px); }
.tc-body section:first-child { padding-top: 0; }
.tc-body section + section { border-top: 1px solid var(--border-subtle); margin-top: clamp(28px, 3vw, 40px); }
.tc-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-navy-800);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  display: flex; align-items: baseline; gap: 12px;
  scroll-margin-top: 90px;
}
.tc-body h2::before {
  counter-increment: tcsec;
  content: counter(tcsec, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-orange-700);
  background: var(--brand-orange-50);
  border: 1px solid color-mix(in oklch, var(--brand-orange) 14%, transparent);
  border-radius: var(--r-sm);
  padding: 2px 7px;
  position: relative; top: -2px;
  flex: none;
}
.tc-body p { margin: 0 0 14px; }
.tc-body p:last-child { margin-bottom: 0; }
.tc-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.tc-body li { margin-bottom: 6px; }
.tc-body li::marker { color: var(--brand-navy-300); }
.tc-body strong { color: var(--fg-1); font-weight: 600; }

/* Contact card at end */
.tc-contact {
  margin-top: clamp(20px, 3vw, 32px);
  padding: 22px 24px;
  background: var(--brand-navy-50);
  border: 1px solid var(--brand-navy-100);
  border-radius: var(--r-lg);
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.6;
  display: grid; gap: 6px;
}
.tc-contact b { color: var(--brand-navy-800); }
.tc-contact a { color: var(--brand-navy); border-bottom: 1px solid color-mix(in oklch, var(--brand-navy) 30%, transparent); }
