/* ─────────────────────────────────────────────────────────
   TRUST CENTER — Legal page styling
   Layers on top of ../../assets/styles.css
   Prefix: tc-
   ───────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────
   01. HERO
   ───────────────────────────────────────────────────────── */
.tc-hero {
  padding-top: 140px;
  padding-bottom: clamp(28px, 4vw, 44px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.tc-hero > .container {
  position: relative;
  z-index: 1;
}
.tc-ghost {
  position: absolute;
  top: clamp(30px, 4vh, 60px);
  right: clamp(-60px, -3vw, 0px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(10rem, 22vw, 28rem);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(0.18 0.025 260 / 0.10);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
html.dark .tc-ghost {
  -webkit-text-stroke-color: oklch(0.92 0.008 250 / 0.04);
}
.tc-hero .hero-headline {
  max-width: 20ch;
}

/* Last updated badge */
.tc-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.tc-meta__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: oklch(0.520 0.140 145);
  box-shadow: 0 0 0 3px oklch(0.520 0.140 145 / 0.15);
}
.tc-meta time {
  color: var(--ink-soft);
  font-weight: 500;
}

/* Cross-links bar */
.tc-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.tc-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  transition:
    border-color 200ms var(--ease-out-strong),
    color 200ms var(--ease-out-strong),
    background 200ms var(--ease-out-strong);
}
.tc-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.tc-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
  background: oklch(0.460 0.180 258 / 0.06);
}
html.dark .tc-nav a[aria-current="page"] {
  background: oklch(0.600 0.180 258 / 0.08);
}

/* ─────────────────────────────────────────────────────────
   02. BODY — readable prose column
   ───────────────────────────────────────────────────────── */
.tc-body {
  max-width: 72ch;
}

.tc-body h4 {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 0.6vw + 0.7rem, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-top: clamp(36px, 4vw, 48px);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tc-body h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 28px;
  margin-bottom: 10px;
}

.tc-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 68ch;
}

.tc-body ul,
.tc-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.tc-body li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}
.tc-body li strong {
  color: var(--ink);
  font-weight: 500;
}

.tc-body strong {
  color: var(--ink);
  font-weight: 600;
}

.tc-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: oklch(0.460 0.180 258 / 0.3);
  transition: text-decoration-color 200ms var(--ease-out-strong);
}
.tc-body a:hover {
  text-decoration-color: var(--accent);
}

.tc-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--paper-deeper);
  border: 1px solid var(--rule);
  color: var(--ink);
}

/* Section divider */
.tc-body hr {
  border: none;
  border-top: 1px dashed var(--rule);
  margin: clamp(28px, 4vw, 40px) 0;
}

/* Section heading (the h1 within sub pages) */
.tc-body .tc-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.5vw + 0.5rem, 2rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.014em;
  margin-top: clamp(48px, 6vw, 64px);
  margin-bottom: 16px;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 2px solid var(--ink);
}

/* ─────────────────────────────────────────────────────────
   03. TABLE — cookie policy
   ───────────────────────────────────────────────────────── */
.tc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}
.tc-table thead {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.tc-table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.tc-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-align: left;
  padding: 12px 14px;
  background: var(--paper-deeper);
  border-bottom: 2px solid var(--rule);
}
.tc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  vertical-align: top;
}
.tc-table td code {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 5px;
  background: var(--paper-deeper);
  border: 1px solid var(--rule);
  color: var(--ink);
  white-space: nowrap;
}
.tc-table tr:hover td {
  background: oklch(0.18 0.025 260 / 0.02);
}
html.dark .tc-table tr:hover td {
  background: oklch(1 0 0 / 0.02);
}

/* ─────────────────────────────────────────────────────────
   04. CLOSING
   ───────────────────────────────────────────────────────── */
.tc-closing {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--rule);
}
.tc-closing p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   05. RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .tc-hero {
    padding-top: 120px;
  }
  .tc-table {
    font-size: 12px;
  }
  .tc-table th,
  .tc-table td {
    padding: 10px 8px;
  }
  .tc-nav {
    gap: 6px;
  }
  .tc-nav a {
    font-size: 9px;
    padding: 5px 10px;
  }
}
