/* Document pages — privacy, terms. Built on tokens.css, sharing the landing
   page's type and ground so a legal page still reads as the same product. */

.doc {
  width: 46rem;
  max-width: calc(100% - var(--wrap-gutter) * 2);
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 3vw, 5rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  margin-bottom: 2.5rem;
}

.doc h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.doc__meta {
  margin-top: 14px;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}

.doc__standfirst {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
  margin-top: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-divider);
}

.doc h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem);
  margin-top: 3rem;
  line-height: 1.1;
}

.doc h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1875rem;
  margin-top: 2rem;
}

.doc p,
.doc li {
  font-size: 1rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.doc p {
  margin-top: 1rem;
}

.doc ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.doc li {
  margin-top: 0.6rem;
}

.doc li::marker {
  color: var(--color-accent-700);
}

.doc strong {
  color: var(--color-text);
  font-weight: 500;
}

/* The plain-statement blocks — the sentences someone skimming should not
   miss. Blueprint framing, same as the landing page's cards. */
.doc__note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-accent-100);
}

.doc__note p {
  margin-top: 0;
  color: var(--color-accent-900);
}

.doc__note p + p {
  margin-top: 0.75rem;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.doc th {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: 0 1rem 0.5rem 0;
  border-bottom: 1px solid var(--color-divider);
}

.doc td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  vertical-align: top;
}

.doc__table-wrap {
  overflow-x: auto;
}
