/* PRAWNIKOM.PL — TYPOGRAPHY V1 */

:root {
    --pp-font-ui: "Inter", "Segoe UI", Arial, sans-serif;
    --pp-font-heading: Georgia, "Times New Roman", serif;
    --pp-font-document: Georgia, "Times New Roman", serif;

    --pp-text: #253449;
    --pp-heading: #142641;
    --pp-muted: #64748b;
    --pp-accent: #174b92;
    --pp-gold: #96702d;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--pp-font-ui);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--pp-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pp-heading);
    font-family: var(--pp-font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
    margin: 0 0 .65em;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(30px, 3vw, 44px); }
h2 { font-size: clamp(24px, 2.4vw, 32px); }
h3 { font-size: 23px; }
h4 { font-size: 19px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p {
    margin: 0 0 1em;
    line-height: 1.75;
}

strong, b {
    font-weight: 650;
}

small {
    font-size: 12px;
    line-height: 1.5;
    color: var(--pp-muted);
}

button, input, select, textarea, label {
    font-family: var(--pp-font-ui);
    font-size: 14px;
}

table {
    font-family: var(--pp-font-ui);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

th {
    font-weight: 650;
    color: var(--pp-heading);
}

code, pre, kbd {
    font-family: Consolas, monospace;
    font-size: .9em;
}

.pp-text-xs { font-size: 11px; }
.pp-text-sm { font-size: 13px; }
.pp-text-md { font-size: 15px; }
.pp-text-lg { font-size: 18px; }
.pp-text-xl { font-size: 22px; }

.pp-text-muted {
    color: var(--pp-muted);
}

.pp-text-gold {
    color: var(--pp-gold);
}

.pp-eyebrow {
    font-family: var(--pp-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pp-gold);
}

.pp-document-text {
    font-family: var(--pp-font-document);
    font-size: 17px;
    line-height: 1.9;
    color: #263345;
    overflow-wrap: break-word;
}

.pp-document-text p {
    margin-bottom: 1.2em;
}

.pp-document-text h2 {
    margin-top: 1.5em;
}

.pp-signature {
    font-family: var(--pp-font-ui);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .035em;
    color: var(--pp-accent);
}

.pp-number {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

::selection {
    background: #dbeafe;
    color: #142641;
}

@media (max-width: 600px) {
    body { font-size: 14px; }

    h1 { font-size: 28px; }
    h2 { font-size: 23px; }
    h3 { font-size: 20px; }

    .pp-document-text {
        font-size: 16px;
        line-height: 1.8;
    }

    input, select, textarea {
        font-size: 16px;
    }
}

@media print {
    body {
        font-family: var(--pp-font-document);
        font-size: 11pt;
        color: #000;
    }

    h1, h2, h3, p {
        color: #000;
    }
}
