/* ─────────────────────────────────────────────────────────────
   Document page — privacy policy, terms, plain prose
   ───────────────────────────────────────────────────────────── */

/* Clears the fixed header on its own: this page has no hero for the
   header to sit over, so the type would otherwise start underneath it. */
.jm-doc__head {
    padding-top: clamp(112px, 13vw, 168px);
    padding-bottom: clamp(24px, 3vw, 38px);
    background: var(--bg-tint);
}

.jm-doc__eyebrow {
    margin: 0 0 clamp(10px, 1.2vw, 16px);
    color: var(--primary);
}

.jm-doc__title {
    margin: 0;
    font-size: var(--fs-h1);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    max-width: 20ch;
}

.jm-doc__head .jm-rule {
    margin: clamp(18px, 2.2vw, 28px) 0 0;
}

.jm-doc__meta {
    margin: clamp(12px, 1.4vw, 18px) 0 0;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
}

.jm-doc__body {
    padding-top: clamp(34px, 4.4vw, 62px);
    padding-bottom: clamp(48px, 6vw, 86px);
}

/* A legal document is read, not scanned — the measure matters more here than
   anywhere else on the site, so it stays tight even on a wide screen. */
.jm-doc__prose {
    max-width: 68ch;
}

.jm-doc__prose h2 {
    margin: clamp(30px, 3.4vw, 46px) 0 clamp(10px, 1.2vw, 14px);
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text-primary);
}

.jm-doc__prose h2:first-child {
    margin-top: 0;
}

.jm-doc__prose p,
.jm-doc__prose li {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--text-secondary);
}

.jm-doc__prose ul {
    margin: 0 0 var(--sp-5);
    padding-left: 1.1em;
}

.jm-doc__prose li {
    margin-bottom: 10px;
}

.jm-doc__prose li::marker {
    color: var(--accent);
}

.jm-doc__prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.jm-doc__prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

@media (hover: hover) and (pointer: fine) {
    .jm-doc__prose a:hover { color: var(--accent); }
}

.jm-doc__prose code {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-tint);
    font-size: 0.92em;
    color: var(--primary-dark);
}
