/* ==========================================================================
   AJA Digital: engine-callout.css
   Visually distinct Swiss obsidian technical module ("Under the hood") for
   app pages powered by open-source Rust sculpt-engine (Sculptor & Dream
   Builder). Deliberately separated from consumer app download CTAs.
   ========================================================================== */

.eng-section {
    padding-block: clamp(16px, 2.5vw, 28px);
}

.eng-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    align-items: center;
    gap: 24px 36px;
    padding: clamp(22px, 3vw, 32px) clamp(22px, 3.2vw, 36px);
    border-radius: 14px;
    background: #050507;
    color: #F5F5F7;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.eng-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #FF5A36;
}

.eng-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF5A36;
}

.eng-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF5A36;
    box-shadow: 0 0 10px rgba(255, 90, 54, 0.75);
    flex: none;
}

.eng-title {
    margin: 0 0 8px;
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #F5F5F7;
}

.eng-title code {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 0.92em;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.08em 0.42em;
    border-radius: 6px;
}

.eng-body {
    margin: 0 0 16px;
    max-width: 60ch;
    font-size: 0.94rem;
    line-height: 1.58;
    color: #A1A1AA;
}

.eng-body a {
    color: #F5F5F7;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.32);
    text-underline-offset: 3px;
}

.eng-body a:hover {
    color: #FF5A36;
    text-decoration-color: #FF5A36;
}

.eng-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eng-specs li {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    color: #D4D4D8;
    background: #0B0B10;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    padding: 4px 9px;
}

.eng-specs strong {
    color: #F5F5F7;
    font-weight: 600;
}

.eng-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 240px;
}

.eng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.eng-btn:focus-visible {
    outline: 2px solid #FF5A36;
    outline-offset: 2px;
}

.eng-btn--primary {
    background: #FF5A36;
    color: #050507;
    border: 1px solid #FF5A36;
}

.eng-btn--primary:hover {
    background: #FF7152;
    border-color: #FF7152;
    color: #050507;
}

.eng-btn--ghost {
    background: #0C0C11;
    color: #F5F5F7;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.eng-btn--ghost:hover {
    background: #15151D;
    border-color: rgba(255, 255, 255, 0.42);
    color: #FFFFFF;
}

@media (max-width: 820px) {
    .eng-panel {
        grid-template-columns: 1fr;
    }

    .eng-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }

    .eng-btn {
        flex: 1 1 200px;
    }
}
