/* Documents & PDF remediation page.
   Builds on platform.css (clean theme, 800px reading column). Page-only classes are
   prefixed doc- so nothing here can restyle another page. */

.doc-hero {
    padding-bottom: 1rem;
}

.doc-eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.doc-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0 0 2.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-muted);
}

.doc-facts strong {
    color: #000;
    font-weight: 600;
}

.doc-button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.5rem;
    background: #000;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
}

.doc-button:hover {
    background: #374151;
}

.doc-button:focus-visible,
.clean-theme a:focus-visible,
.clean-theme summary:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
}

.doc-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.doc-list strong {
    color: #000;
}

/* The process: a real sequence, so it is an ordered list with visible numbers */
.doc-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2rem;
}

.doc-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0 1rem;
}

.doc-steps li::before {
    content: counter(step, decimal-leading-zero);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--text-dim);
    padding-top: 0.15rem;
}

.doc-steps h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.35rem;
}

.doc-steps p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Price bands */
.doc-bands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.doc-band {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-band.is-common {
    border-color: #000;
    border-width: 2px;
}

.doc-band-tag {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-dim);
    min-height: 1em;
}

.doc-band h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.doc-band .doc-price {
    font-size: 2.25rem;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.doc-band .doc-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.doc-band p,
.doc-band li {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.doc-band h4 {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    margin-top: 0.5rem;
}

.doc-band ul {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.3rem;
}

.doc-note {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    background: #f9fafb;
    border-left: 3px solid #000;
    padding: 1rem 1.25rem;
}

/* Tables */
.doc-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.doc-table caption {
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding-bottom: 0.75rem;
}

.doc-table th,
.doc-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.85rem 1rem 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    line-height: 1.5;
}

.doc-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #000;
}

.doc-table tbody th {
    color: #000;
    font-weight: 600;
}

.doc-table td.doc-num {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #000;
    font-weight: 500;
}

/* FAQ */
.doc-faq details {
    border-bottom: 1px solid var(--border-color);
    padding: 1.1rem 0;
}

.doc-faq details:first-of-type {
    border-top: 1px solid var(--border-color);
}

.doc-faq summary {
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 500;
    color: #000;
}

.doc-faq details p {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .doc-bands {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .doc-button {
        transition: none;
    }
}
