/* ============================================================
   KULTXR — legal pages (/privacy/, /terms/)

   Loaded after style.css, so these pages share the site's tokens, type, section tag, skip link
   and footer. What is here is only what a long document needs that the home page does not:
   a static header (the home page's nav is revealed by GSAP from opacity 0, and these pages run
   no script), a contents column, and readable body copy.
   ============================================================ */

/* style.css hides the system cursor for the home page's canvas cursor, which main.js draws.
   These pages load no script, so the cursor must stay. */
body.doc { cursor: auto; }
body.doc a { cursor: pointer; }

.doc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.doc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.doc-logo__icon { height: 34px; width: auto; display: block; }
.doc-bar__nav { display: flex; gap: 32px; }
.doc-bar__nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.doc-bar__nav a:hover { color: var(--white); }

.doc-main { padding: 96px 48px 120px; max-width: 1440px; margin: 0 auto; }

.doc-head { padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.doc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.doc-date {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-date strong { margin-left: 16px; color: var(--blue-text); font-weight: 600; }

.doc-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.6fr;
  gap: 8%;
  align-items: start;
  padding-top: 72px;
}

.doc-toc { position: sticky; top: 32px; }
.doc-toc__label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-toc ol {
  list-style: none;
  margin: 18px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  counter-reset: toc;
}
.doc-toc li { counter-increment: toc; border-bottom: 1px solid rgba(255,255,255,0.08); }
.doc-toc li a {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.2s;
}
.doc-toc li a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 10px;
  padding-top: 2px;
  color: var(--blue-text);
}
.doc-toc li a:hover { color: var(--white); }
.doc-toc__other {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-text);
  transition: background 0.2s, color 0.2s;
}
.doc-toc__other:hover { background: var(--blue); color: var(--white); }

.doc-body { max-width: 46em; }
.doc-intro { margin-bottom: 56px; font-size: 20px; line-height: 1.55; color: var(--white); }
.doc-body section { padding: 40px 0 12px; border-top: 1px solid rgba(255,255,255,0.08); scroll-margin-top: 24px; }
.doc-body h2 {
  margin-bottom: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.doc-body p,
.doc-body li { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.74); }
.doc-body p { margin-bottom: 20px; }
.doc-body ul { margin-bottom: 24px; }
.doc-body li { position: relative; padding: 8px 0 8px 26px; }
.doc-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1.5px;
  background: var(--blue);
}
.doc-body strong { color: var(--white); font-weight: 600; }
.doc-body a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.doc-body a:hover { color: var(--white); }

.ft-mid a[aria-current='page'] { color: var(--white); }

@media (max-width: 960px) {
  .doc-bar { padding: 18px 24px; }
  .doc-main { padding: 56px 24px 72px; }
  .doc-head { padding-bottom: 40px; }
  .doc-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .doc-toc { position: static; }
  .doc-intro { font-size: 18px; margin-bottom: 40px; }
}
