/*
 * Aira approved UI isolation layer.
 * Source of truth: aira-design-1609@8f6c4e3.
 *
 * Legacy app.css remains for pages that have not yet migrated. This layer only
 * neutralizes legacy presentation that still leaks into approved surfaces. It
 * must not redefine frozen component geometry already owned by the approved
 * source CSS.
 */

/* Hero controls: map both the temporary legacy classes and the approved
   namespaced classes to the frozen Hero v5 button appearance. Geometry itself
   stays owned by aira-homepage-v15-hero-source.css. */
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta::before,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta::after {
    content: none !important;
    display: none !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta--primary,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta.btn-pri {
    border: 1px solid rgba(59, 130, 246, .4) !important;
    background: #081226 !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(8, 18, 38, .22), inset 0 1px 0 rgba(255,255,255,.15) !important;
    transform: none !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta--secondary,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta.btn-sec {
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(15,23,42,.05) !important;
    transform: none !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta--primary:hover,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta.btn-pri:hover {
    border-color: #3b82f6 !important;
    background: #0c1e3d !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(37,99,235,.30) !important;
    transform: none !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta--secondary:hover,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta.btn-sec:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: 0 3px 8px rgba(15,23,42,.08) !important;
    transform: none !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta:focus-visible {
    outline: 2px solid var(--aira-ui-accent, #2563eb) !important;
    outline-offset: 3px !important;
}

.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta--mobile-primary,
.aira-homepage-v15 .aira-home-hero .aira-home-hero__cta.cta-mobile-primary {
    display: none !important;
}

/* Action Plan: only neutralize generic legacy button presentation. Do not
   override the approved v3 rail, panel dimensions, type or mobile positions. */
.aira-homepage-v15 .action-plan .example__trigger {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.aira-homepage-v15 .action-plan .example__trigger:hover,
.aira-homepage-v15 .action-plan .example__trigger:active {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.aira-homepage-v15 .action-plan .example__trigger:focus-visible {
    outline: 2px solid var(--aira-ui-accent, #2563eb) !important;
    outline-offset: 3px !important;
}

@media (max-width: 767px) {
    .aira-homepage-v15 .aira-home-hero .aira-home-hero__actions > .aira-home-hero__cta--primary:not(.aira-home-hero__cta--mobile-primary),
    .aira-homepage-v15 .aira-home-hero .aira-home-hero__actions > .aira-home-hero__cta.btn-pri:not(.cta-mobile-primary) {
        display: none !important;
    }

    .aira-homepage-v15 .aira-home-hero .aira-home-hero__actions > .aira-home-hero__cta--mobile-primary,
    .aira-homepage-v15 .aira-home-hero .aira-home-hero__actions > .aira-home-hero__cta.cta-mobile-primary {
        display: inline-flex !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-homepage-v15 .aira-home-hero .aira-home-hero__cta {
        transition: none !important;
    }
}