/* Help page (/ajuda): long-form explanation of the alignment algorithm. */

.help-layout {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 32px 20px 56px;
    line-height: 1.6;
}

.help-eyebrow {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: var(--accent);
}

.help-title {
    margin: 0 0 14px;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.25;
}

.help-lead {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 1.02rem;
}

.help-section {
    margin-top: 34px;
}

.help-section h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.help-section h3 {
    margin: 20px 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-300);
}

.help-section p {
    margin: 0 0 12px;
}

.help-section ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 6px;
}

.help-note {
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    background: rgba(151, 196, 89, 0.08);
    color: var(--muted);
    font-size: 0.92rem;
}

.help-formula {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    font-family: "SFMono-Regular", ui-monospace, "Menlo", monospace;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text);
}

.help-formula sub {
    font-size: 0.7em;
    color: var(--muted);
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0 12px;
    font-size: 0.92rem;
}

.help-table th,
.help-table td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
}

.help-table thead th {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stone-500);
    font-weight: 600;
}

.help-table td:nth-child(2),
.help-table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    color: var(--stone-300);
}
