/* Core Typography Mapping */
body {
    font-family: var(--font-primary);
    font-size: var(--text-body);
    font-weight: 400;
    color: var(--color-near-black);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-primary-blue);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

h1 { font-size: var(--text-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-h6); }

p {
    margin-bottom: 24px;
    max-width: var(--text-max-width);
    line-height: 1.6;
}

p:last-child {
    margin-bottom: 0;
}

.text-large {
    font-size: var(--text-body-large);
}

.text-small {
    font-size: var(--text-body-small);
}

.eyebrow {
    display: block;
    font-size: var(--text-eyebrow);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
    color: var(--color-primary-blue);
    margin-bottom: 16px;
}

a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: color var(--transition-duration) var(--ease-out);
}

a:hover {
    color: var(--color-primary-blue);
}

/* Legal Document Formatting Node (Aligned with NOXVERN variables.css) */
.legal-document {
    /* Uses your strict 720px reading width */
    max-width: var(--text-max-width); 
    margin: 0 auto;
    /* Uses your laptop vertical rhythm */
    padding: var(--section-padding-laptop) 24px; 
    color: var(--color-near-black); 
    font-family: var(--font-primary);
}

.legal-document h1 {
    font-size: var(--text-h3);
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary-blue); 
}

.legal-document h2 {
    font-size: var(--text-h5);
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--color-primary-blue);
}

.legal-document p, 
.legal-document li {
    font-size: var(--text-body);
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-near-black);
}

.legal-document ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-document li {
    margin-bottom: 12px;
    list-style-type: disc;
}

.legal-document strong {
    color: var(--color-deep-navy);
    font-weight: 600;
}