/* Guide pages: article extras on top of styles.css and legal.css (same tokens). */
.doc-meta {
    margin: -12px 0 28px;
    color: var(--muted);
    font-size: 15px;
}

.doc .doc-lead {
    color: var(--text);
    font-size: clamp(1.1rem, 2.6vw, 1.25rem);
    line-height: 1.6;
}

.doc h3 {
    margin: 1.8em 0 0.5em;
    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.doc ol {
    margin: 0 0 1.2em;
    padding-left: 1.35em;
}
.doc ol li::marker {
    color: var(--volt);
    font-weight: 700;
}
.doc li strong {
    color: var(--text);
}

.doc-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 40px 0;
}
.doc-figure figcaption {
    max-width: 30em;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.doc-table {
    margin: 0 0 1.4em;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.doc-table table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}
.doc-table th,
.doc-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: #c5cad0;
    font-size: 15.5px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}
.doc-table th {
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.doc-table tr:last-child td {
    border-bottom: 0;
}
.doc-table td:first-child {
    color: var(--text);
    font-weight: 650;
}
.doc-table tr.hl td {
    background: rgba(195, 255, 61, 0.05);
}

/* Closing call to action, outside .doc so the button keeps its own colours. */
.guide-cta {
    margin-top: 56px;
    padding: clamp(24px, 5vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    text-align: center;
}
.guide-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
    line-height: 1.15;
    font-weight: 780;
    letter-spacing: -0.03em;
}
.guide-cta p {
    max-width: 32em;
    margin: 0 auto 22px;
    color: var(--muted);
}

/* Phones: stack each table row into a card so no column scrolls out of view. */
@media (max-width: 640px) {
    .doc-table {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }
    .doc-table table {
        min-width: 0;
    }
    .doc-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .doc-table tr {
        display: block;
        margin-bottom: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: var(--r-md);
        background: var(--surface);
    }
    .doc-table tr.hl {
        border-color: rgba(195, 255, 61, 0.35);
    }
    .doc-table td {
        display: block;
        padding: 8px 16px;
        border-bottom: 0;
    }
    .doc-table td:first-child {
        padding-top: 14px;
        font-size: 16.5px;
    }
    .doc-table td:last-child {
        padding-bottom: 14px;
    }
    .doc-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }
}
