/* ── Security page styles ──────────────────────────────────────────────────
   Layered on top of login.css so the page inherits the same colour palette,
   font, and header band. Only the article/card layout and prose styling are
   defined here. */

.security-body {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 32px 16px 80px;
}

/* Reuse the same surface / border / radius / shadow language as the login
   card, but allow much wider content because this is long-form prose. */
.security-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 40px 48px 32px;
    width: 100%;
    max-width: 820px;
}

.security-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.security-lede {
    font-size: 15px;
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.security-section {
    margin-bottom: 32px;
}

.security-section + .security-section {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.security-section h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.security-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 6px;
}

.security-section p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.security-section ul {
    margin: 0 0 14px 22px;
}

.security-section li {
    font-size: 14px;
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 6px;
}

.security-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

/* Inline code spans — used for algorithm names, header values, class names.
   Slightly tinted background so they stand out from prose without becoming
   a heavy "code block". */
.security-section code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
    color: #1e293b;
    word-break: break-word;
}

/* "Honest caveat" callout — same shape as the existing info banner in
   login.css but neutral grey so it doesn't read as a warning. */
.security-caveat {
    background: #f8fafc;
    border-left: 3px solid var(--text-muted);
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 13px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 10px 0 14px;
}

.security-jump {
    margin-top: 18px;
    font-size: 13px;
}

.security-jump a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.security-jump a:hover {
    text-decoration: underline;
}

.security-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12.5px;
}

.security-footer p {
    margin-bottom: 6px;
}

.security-footer a {
    color: var(--primary);
    text-decoration: none;
}

.security-footer a:hover {
    text-decoration: underline;
}

/* Narrow viewports — tighten padding so the card doesn't crowd the edges. */
@media (max-width: 640px) {
    .security-card {
        padding: 28px 20px 24px;
    }
    .security-title {
        font-size: 22px;
    }
}
