/* ==========================================================================
   Plain document pages (sync-privacy.html): one readable column of text on
   the night background, with the landing page's nav, type and footer.
   ========================================================================== */

/* No section links on a document page: the app button sits at the right edge. */
.nav-inner > .btn {
  margin-left: auto;
}

/* The nav is sticky, so it already holds its own height in the flow. */
.doc {
  padding-block: clamp(32px, 6vw, 72px) clamp(48px, 8vw, 96px);
}

/* A reading column, not the landing page's full width. */
.doc-page {
  max-width: 760px;
}

.doc-head {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-bottom: clamp(24px, 4vw, 36px);
  margin-bottom: clamp(24px, 4vw, 36px);
  border-bottom: 2px dashed var(--v-line);
}

.doc-head h1 {
  color: var(--v-title);
  font-family: var(--v-font-display);
  font-size: var(--t-3xl);
  font-weight: var(--v-display-weight);
  line-height: 0.98;
  text-shadow: var(--v-title-shadow);
  transform: rotate(var(--v-title-tilt));
  transform-origin: 0 100%;
}

.doc-lead {
  color: var(--v-text);
  font-size: var(--t-lg);
  line-height: 1.6;
}

.doc-date {
  color: var(--v-text-3);
  font-size: var(--t-sm);
}

.doc-section {
  display: grid;
  gap: 12px;
}

.doc-section + .doc-section {
  margin-top: clamp(28px, 4vw, 40px);
}

.doc-section h2 {
  color: var(--v-text);
  font-family: var(--v-font-heading);
  font-size: var(--t-xl);
  font-weight: 800;
  line-height: 1.2;
}

.doc-section p,
.doc-section li {
  color: var(--v-text-2);
  line-height: 1.65;
}

.doc-section strong {
  color: var(--v-text);
}

.doc-section ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

/* A gold diamond for each item, like the landing page's lists. */
.doc-section li {
  position: relative;
  padding-left: 22px;
}
.doc-section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--v-gold);
  transform: rotate(45deg);
}

.doc-section code {
  padding: 1px 6px;
  border-radius: var(--v-radius-sm);
  background: var(--v-surface-1);
  color: var(--v-text);
  overflow-wrap: anywhere;
}

.doc-section a {
  color: var(--v-title);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.doc-section a:hover {
  color: var(--v-accent-hi);
}
