/* =========================================================================
   Doc page styles — used by /privacy/ and /terms/.
   Layered on top of styles.css. Keep narrow, readable, navy-dark on white.
   ========================================================================= */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-20) var(--container-pad) var(--s-24);
}

.doc__header {
  border-bottom: 1px solid var(--border-1);
  padding-bottom: var(--s-8);
  margin-bottom: var(--s-12);
}

.doc__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: 1.05;
  color: var(--pd-navy);
  margin: 12px 0 12px;
}

.doc__updated {
  font-size: var(--fs-13);
  color: var(--fg-3);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.doc h2 {
  font-size: var(--fs-24);
  font-weight: var(--fw-semibold);
  color: var(--pd-navy);
  letter-spacing: var(--ls-tight);
  line-height: 1.2;
  margin: var(--s-12) 0 var(--s-4);
}

.doc h3 {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  color: var(--pd-navy);
  margin: var(--s-8) 0 var(--s-3);
}

.doc p {
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
  margin: 0 0 var(--s-4);
}

.doc ul {
  margin: 0 0 var(--s-4);
  padding-left: 22px;
  list-style: disc;
}

.doc li {
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
  margin-bottom: 6px;
}

.doc a {
  color: var(--pd-purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(83, 74, 183, 0.25);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.doc a:hover {
  border-bottom-color: var(--pd-purple);
  text-decoration: none;
}

.doc strong {
  color: var(--pd-navy);
  font-weight: var(--fw-semibold);
}

.doc__footnote {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-1);
  font-size: var(--fs-13);
  color: var(--fg-3);
  line-height: var(--lh-normal);
}
