/* ============================================================
   SML — Secure Message Layer
   Page-specific styles, extends ../style.css
   Fonts via ../fonts/ (loaded through inherited ../style.css)
   ============================================================ */

/* ---- Feature Rows ---------------------------------------- */

.sml-feature-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--c-border);
    align-items: flex-start;
}

.sml-feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sml-feature-row:first-child {
    padding-top: 0;
}

.sml-feature-num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--c-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-width: 2rem;
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.sml-feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--c-text);
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
}

.sml-feature-desc {
    font-size: 0.9375rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* ---- Code Block ------------------------------------------ */

.sml-code-block {
    border: 1px solid var(--c-border);
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: #0A0B0C;
}

.sml-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--c-surface-alt);
    border-bottom: 1px solid var(--c-border);
}

.sml-code-body {
    padding: 1.5rem 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.8;
    overflow-x: auto;
    font-family: var(--font-mono);
}

/* Syntax tokens */
.sml-keyword {
    color: var(--c-amber);
}

.sml-type {
    color: #7EC8E3;
}

.sml-func {
    color: #FAFAFA;
}

.sml-comment {
    color: var(--c-text-muted);
}

.sml-string {
    color: #98C379;
}

/* ---- Tags override — reuse from parent ------------------- */

/* .tag is already defined in ../style.css, no override needed */

/* ---- meta-value mono variant ----------------------------- */

.meta-value.font-mono {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}