/* Aira Theme — App Styles
 * Extends TailwindCSS CDN with custom overrides.
 */

/* Alpine.js cloak */
[x-cloak] {
    display: none !important;
}

/* Cookie consent: the three first-layer choices intentionally share one visual
 * weight so accepting optional technologies is no easier than refusing them. */
.aira-cookie-consent,
.aira-cookie-preferences {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.42);
}

.aira-cookie-consent[hidden],
.aira-cookie-preferences[hidden] {
    display: none !important;
}

.aira-cookie-preferences {
    align-items: center;
}

.aira-cookie-consent__panel,
.aira-cookie-preferences__panel {
    width: min(100%, 46rem);
    max-height: min(100%, 48rem);
    overflow: auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.aira-cookie-consent__eyebrow {
    margin-bottom: 0.55rem;
    color: #3156d6;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.aira-cookie-consent h2,
.aira-cookie-preferences h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.2;
    font-weight: 800;
}

.aira-cookie-consent p,
.aira-cookie-preferences p {
    margin: 0.75rem 0 0;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.aira-cookie-consent__privacy-link,
.aira-cookie-settings-link {
    color: #1d4ed8;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.aira-cookie-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aira-cookie-consent__privacy-link {
    display: inline-block;
    margin-top: 0.85rem;
}

.aira-cookie-settings-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.aira-cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.aira-cookie-button {
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid #3156d6;
    border-radius: 0.7rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
}

.aira-cookie-button--primary {
    color: #fff;
    background: #3156d6;
}

.aira-cookie-button--secondary {
    color: #17377e;
    background: #fff;
}

.aira-cookie-button:hover {
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.18);
}

.aira-cookie-button--primary:hover {
    background: #1d4ed8;
}

.aira-cookie-preferences__list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.aira-cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe4f0;
    border-radius: 0.875rem;
    background: #f8fafc;
}

.aira-cookie-category h3,
.aira-cookie-category__title {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 750;
}

.aira-cookie-category p,
.aira-cookie-category__description {
    display: block;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.aira-cookie-category__required {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    color: #14532d;
    background: #dcfce7;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 750;
    white-space: nowrap;
}

.aira-cookie-category input[role="switch"] {
    position: relative;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 1.55rem;
    margin: 0;
    appearance: none;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    background: #e2e8f0;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.aira-cookie-category input[role="switch"]::after {
    position: absolute;
    top: 0.17rem;
    left: 0.17rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
    content: "";
    transition: transform 0.15s ease;
}

.aira-cookie-category input[role="switch"]:checked {
    border-color: #3156d6;
    background: #3156d6;
}

.aira-cookie-category input[role="switch"]:checked::after {
    transform: translateX(1.16rem);
}

.aira-cookie-button:focus-visible,
.aira-cookie-consent__privacy-link:focus-visible,
.aira-cookie-settings-link:focus-visible,
.aira-cookie-category input[role="switch"]:focus-visible {
    outline: 3px solid #60a5fa !important;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .aira-cookie-consent,
    .aira-cookie-preferences {
        padding: 0.75rem;
    }

    .aira-cookie-consent__actions {
        grid-template-columns: 1fr;
    }

    .aira-cookie-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-cookie-category input[role="switch"],
    .aira-cookie-category input[role="switch"]::after {
        transition: none;
    }
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Body font */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Primary color utilities for theme components across all pages */
.text-primary {
    color: #2563eb;
}
.bg-primary {
    background-color: #2563eb;
}
.bg-primary-dark,
.hover\:bg-primary-dark:hover {
    background-color: #1d4ed8;
}
.border-primary {
    border-color: #2563eb;
}

/* Remove aggressive default browser outlines on inputs and replace with smooth, modern glow */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
}

input:not([type]):focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: #315d92 !important;
    box-shadow: 0 0 0 2px rgba(49, 93, 146, 0.12) !important;
}

/* Sidebar link style fallback */
.aira-sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #374151;
    font-weight: 500;
    transition: background-color 0.15s, color 0.15s;
}

.aira-sidebar-link:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: #2563EB;
}

/* Score badge colors */
.score-green {
    color: #10B981;
}

.score-yellow {
    color: #F59E0B;
}

.score-red {
    color: #EF4444;
}

.score-bg-green {
    background-color: #ECFDF5;
}

.score-bg-yellow {
    background-color: #FFFBEB;
}

.score-bg-red {
    background-color: #FEF2F2;
}

/* Card base */
.aira-card {
    background: #fff;
    border: 1px solid #F3F4F6;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.aira-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Progress bar */
.aira-progress {
    height: 6px;
    border-radius: 3px;
    background: #F3F4F6;
    overflow: hidden;
}

.aira-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Spinner */
.aira-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #E5E7EB;
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: aira-spin 0.6s linear infinite;
}

@keyframes aira-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Comparison arrows */
.score-up::before {
    content: '▲';
    color: #10B981;
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

.score-down::before {
    content: '▼';
    color: #EF4444;
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

/* Pagination */
.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}

.nav-links a {
    color: #374151;
    background: #F9FAFB;
}

.nav-links a:hover {
    background: #2563EB;
    color: #fff;
}

.nav-links .current {
    background: #2563EB;
    color: #fff;
}

/* WordPress menu items in sidebar */
.menu-item a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #374151;
    font-weight: 500;
    transition: background-color 0.15s, color 0.15s;
}

.menu-item a:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: #2563EB;
}

/* ── Contact Form 7 Global Styles ── */
div.wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 1rem !important;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

div.wpcf7-response-output:empty {
    display: none !important;
}

/* Success */
div.wpcf7-mail-sent-ok {
    background-color: #ECFDF5 !important;
    border-color: #10B981 !important;
    color: #065F46 !important;
}

/* Validation Errors / General Errors */
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng,
div.wpcf7-spam-blocked {
    background-color: #FEF2F2 !important;
    border-color: #EF4444 !important;
    color: #991B1B !important;
}

.wpcf7-not-valid-tip {
    color: #EF4444;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
    border-color: #EF4444 !important;
    background-color: #FEF2F2 !important;
}

/* ── Public beta pages ──
 * These structural styles intentionally do not depend on generated Tailwind
 * utilities, so spacing remains stable when templates change after a CSS build.
 */
.aira-register-shell {
    width: 100%;
}

.aira-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    overflow: hidden;
    border: 1px solid #dbe4f0;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.aira-register-intro {
    position: relative;
    padding: 3.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(96, 165, 250, 0.42), transparent 36%),
        linear-gradient(145deg, #172554 0%, #1d4ed8 58%, #2563eb 100%);
}

.aira-register-kicker {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aira-register-intro h1 {
    margin: 1.5rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.aira-register-intro > p {
    margin: 0;
    color: #dbeafe;
    font-size: 1.05rem;
    line-height: 1.7;
}

.aira-register-benefits {
    display: grid;
    gap: 1.25rem;
    margin: 2.25rem 0;
    padding: 0;
    list-style: none;
}

.aira-register-benefits li {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    column-gap: 0.75rem;
}

.aira-register-benefits li > span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #bfdbfe;
    font-weight: 800;
}

.aira-register-benefits strong,
.aira-register-benefits small {
    grid-column: 2;
}

.aira-register-benefits strong {
    align-self: center;
    font-size: 0.95rem;
}

.aira-register-benefits small {
    margin-top: 0.2rem;
    color: #dbeafe;
    font-size: 0.82rem;
    line-height: 1.5;
}

.aira-register-intro .aira-register-note {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #bfdbfe;
    font-size: 0.78rem;
    line-height: 1.55;
}

.aira-register-card {
    align-self: center;
    padding: 2.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.aira-register-form {
    display: grid;
    gap: 1.25rem;
}

.aira-register-field > span {
    display: block;
    min-height: 1.25rem;
    margin-bottom: 0.5rem;
}

.aira-register-field input {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aira-register-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.aira-register-consent {
    gap: 0.75rem;
    line-height: 1.5;
}

.aira-register-consent input {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}

.aira-register-form button[type="submit"] {
    min-height: 3rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.aira-register-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
}

.aira-register-errors {
    margin-top: 1.5rem;
}

.aira-methodology-card {
    padding: 1.75rem;
}

.aira-faq-item {
    padding: 1.5rem;
}

.aira-faq-item + .aira-faq-item {
    margin-top: 1rem;
}

.aira-privacy-sections {
    display: grid;
    gap: 2rem;
}

@media (max-width: 639px) {
    .aira-register-shell,
    .aira-methodology-page,
    .aira-privacy-page {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .aira-register-card {
        padding: 1.5rem;
    }

    .aira-methodology-card,
    .aira-faq-item {
        padding: 1.25rem;
    }
}

@media (max-width: 860px) {
    .aira-register-layout {
        grid-template-columns: 1fr;
        border-radius: 1.5rem;
    }

    .aira-register-intro {
        padding: 2rem;
    }

    .aira-register-intro h1 {
        font-size: 2rem;
    }

    .aira-register-benefits {
        margin: 1.75rem 0;
    }
}

/* Keyboard and form accessibility. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid #315d92;
    outline-offset: 2px;
}

#cf7-wrapper .aira-contact-label-text {
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
}

#cf7-wrapper .wpcf7-not-valid {
    border-color: #b91c1c;
}

#cf7-wrapper .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.375rem;
    color: #991b1b;
    font-size: 0.875rem;
}

.aira-pro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #08a7ff 0%, #286bff 35%, #6236ff 68%, #ec00e9 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(93, 65, 255, 0.18);
}

.aira-site-header {
    position: sticky;
    isolation: isolate;
    min-height: 5.25rem;
    border: 0;
    background: #fcfdff;
    box-shadow: 0 10px 30px rgba(35, 50, 90, 0.035);
}

.aira-site-header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 1360px;
    min-height: 5.25rem;
    margin: 0 auto;
    align-items: center;
    padding: 0 3.5rem;
}

.aira-site-header-brand {
    display: flex;
    width: 10.375rem;
    flex: 0 0 10.375rem;
    align-items: center;
    color: #11182a;
    text-decoration: none;
}

.aira-header-logo-art {
    position: relative;
    display: block;
    width: 70%;
    aspect-ratio: 640 / 210;
}

.aira-header-logo-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aira-primary-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: 3.75rem;
}

.aira-primary-nav-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.35rem;
    color: #11182a;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 190ms ease, opacity 190ms ease;
}

.aira-primary-nav-link:hover,
.aira-primary-nav-link:focus-visible {
    color: #3753c8;
}

.aira-intelligence-dock {
    position: relative;
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.875rem;
    margin-left: auto;
    padding: 0.375rem 0.75rem 0.375rem 1.25rem;
    border: 1px solid rgba(30, 45, 80, 0.075);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(35, 50, 90, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.aira-dock-separator {
    width: 1px;
    height: 1.875rem;
    flex: 0 0 1px;
    background: #e3e7f0;
}

.aira-header-signal-pattern {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 1.25rem;
    width: 32.5rem;
    height: 5.25rem;
    pointer-events: none;
    opacity: 0.075;
}

.aira-header-signal-rail,
.aira-header-signal-rail::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #13d5ff, #087bff, #514cff, #9b2cff, #f000c8, #7364ff, #087bff, #13d5ff);
    background-size: 250% 100%;
    content: "";
    pointer-events: none;
    animation: aira-header-signal-flow 10s linear infinite;
}

.aira-header-signal-rail {
    height: 2px;
}

.aira-header-signal-rail::after {
    height: 8px;
    opacity: 0.12;
    filter: blur(7px);
}

@keyframes aira-header-signal-flow {
    from { background-position: 0% 50%; }
    to { background-position: 250% 50%; }
}

.aira-site-footer {
    position: relative;
    border-top: 1px solid rgba(191, 219, 254, 0.8);
    background: linear-gradient(110deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.74) 52%, rgba(238, 242, 255, 0.94));
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.035);
}

.aira-site-footer::before {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55), transparent);
    content: "";
}

.aira-site-footer > div {
    position: relative;
}

.aira-support-header-link {
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.5625rem;
    padding: 0 0.75rem;
    border: 0;
    border-radius: 0.625rem;
    background: transparent;
    color: #11182a;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 190ms ease, opacity 190ms ease, background-color 190ms ease;
}

.aira-support-header-link:hover,
.aira-support-header-link-active {
    background: rgba(73, 109, 255, 0.045);
    color: #29395d;
}

.aira-support-header-link svg {
    width: 1.375rem;
    height: 1.375rem;
    min-width: 1.375rem;
    min-height: 1.375rem;
    flex: 0 0 1.375rem;
}

.aira-dock-language {
    display: flex;
    align-items: center;
}

.aira-language-button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.125rem;
    border: 0;
    border-radius: 0.625rem;
    background: transparent;
    color: #11182a;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color 190ms ease, background-color 190ms ease;
}

.aira-language-button:hover {
    background: rgba(73, 109, 255, 0.045);
    color: #29395d;
}

.aira-language-globe {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
    min-width: 1.375rem;
    min-height: 1.375rem;
    flex: 0 0 1.375rem;
}

.aira-account-button {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e7eaf1;
    border-radius: 0.9375rem;
    background: rgba(255, 255, 255, 0.75);
    color: #11182a;
    box-shadow: 0 3px 10px rgba(35, 50, 90, 0.035);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 190ms ease, background-color 190ms ease, color 190ms ease;
}

.aira-account-button:hover {
    border-color: #dce2ed;
    background: #fff;
    color: #29395d;
}

.aira-account-button svg {
    width: 1.375rem;
    height: 1.375rem;
}

.aira-menu-button {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    padding: 0;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    cursor: pointer;
    transition: background-color 190ms ease, opacity 190ms ease;
}

.aira-menu-button:hover {
    background: rgba(73, 109, 255, 0.045);
}

.aira-menu-button > span {
    display: block;
    width: 1.3125rem;
    height: 2px;
    border-radius: 999px;
    background: #11182a;
}

.aira-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.aira-menu-link:hover,
.aira-menu-link-active {
    background: #eff6ff;
    color: #2563eb;
}

@media (forced-colors: active) {
    .aira-pro-badge,
    .aira-support-header-link,
    #cf7-wrapper input,
    #cf7-wrapper textarea {
        border: 1px solid ButtonText;
    }

    .aira-site-header,
    .aira-site-footer {
        border-color: ButtonText;
        background: Canvas;
        box-shadow: none;
    }

    .aira-header-signal-pattern,
    .aira-header-signal-rail {
        display: none;
    }
}

@media (max-width: 1399px) {
    .aira-primary-navigation {
        gap: 1.375rem;
        margin-left: 2.5rem;
    }

    .aira-site-header-inner {
        padding-inline: 2.5rem;
    }

    .aira-intelligence-dock {
        margin-left: auto;
    }
}

@media (max-width: 1279px) {
    .aira-site-header {
        min-height: 4rem;
    }

    .aira-site-header-inner {
        min-height: 4rem;
        justify-content: space-between;
        padding-inline: 1.5rem;
    }

    .aira-site-header-brand {
        width: 7.5rem;
        flex-basis: 7.5rem;
    }

    .aira-primary-navigation {
        display: none;
    }

    .aira-intelligence-dock {
        min-height: auto;
        gap: 0.75rem;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .aira-header-signal-pattern {
        display: none;
    }
}

@media (max-width: 767px) {
    .aira-dock-separator {
        display: none;
    }

    .aira-account-button {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    .aira-menu-button {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 520px) {
    .aira-site-header-inner {
        padding-inline: 1rem;
    }

    .aira-site-header-brand {
        width: 6.75rem;
        flex-basis: 6.75rem;
    }

    .aira-intelligence-dock {
        gap: 0.25rem;
    }

    .aira-support-header-link {
        width: auto;
        min-height: 2.75rem;
        padding-inline: 0.625rem;
    }

    .aira-support-header-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (max-width: 340px) {
    .aira-site-header-inner {
        padding-inline: 0.5rem;
    }

    .aira-site-header-brand {
        width: 5.75rem;
        flex-basis: 5.75rem;
    }

    .aira-language-button {
        gap: 0.25rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .aira-header-signal-rail,
    .aira-header-signal-rail::after {
        animation: none !important;
        background-position: 50% 50%;
    }
}

/* ── Public Landing Pages Spacing & Component System ──
 * Explicit, framework-independent rules to ensure perfect spacing,
 * padding, and dimensions across all public landing pages.
 */

.aira-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.333;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.aira-public-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.aira-capability-card {
    position: relative;
    display: block;
    min-height: 14.5rem;
    padding-bottom: 4.5rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aira-capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.72);
    background-color: #ffffff;
    box-shadow: 0 18px 40px -24px rgba(37, 99, 235, 0.55), 0 8px 18px -12px rgba(15, 23, 42, 0.2);
}

.aira-capability-card:focus-visible {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28), 0 18px 40px -24px rgba(37, 99, 235, 0.55);
}

.aira-capability-card__arrow {
    position: absolute;
    right: 1.75rem;
    bottom: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #f0f4f9;
    border: 1px solid rgba(200, 215, 235, 0.5);
    color: var(--aira-blue);
    font-size: 1.15rem;
    font-weight: 700;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.aira-capability-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.875rem;
    margin-top: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.6875rem;
    font-weight: 750;
    line-height: 1.25;
}

.aira-capability-card:hover .aira-capability-card__arrow {
    transform: scale(1.12);
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--aira-blue);
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.15);
}

.aira-ai-assistant-feature {
    position: relative;
    isolation: isolate;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    padding: 2.5rem;
    border: 1px solid rgba(139, 92, 246, 0.42);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 24%),
        linear-gradient(125deg, #eef6ff 0%, #f4f0ff 52%, #edf2ff 100%);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 24px 70px -42px rgba(79, 70, 229, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.aira-ai-assistant-feature::before,
.aira-ai-assistant-feature::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 9999px;
    filter: blur(2px);
    pointer-events: none;
}

.aira-ai-assistant-feature::before {
    width: 18rem;
    height: 18rem;
    right: -4rem;
    top: -9rem;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.34), rgba(96, 165, 250, 0));
}

.aira-ai-assistant-feature::after {
    width: 15rem;
    height: 15rem;
    left: 42%;
    bottom: -11rem;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.28), rgba(168, 85, 247, 0));
}

.aira-ai-assistant-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.64);
    box-shadow: 0 32px 80px -42px rgba(79, 70, 229, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.aira-ai-assistant-feature:focus-visible {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.28), 0 32px 80px -42px rgba(79, 70, 229, 0.88);
}

.aira-ai-assistant-feature__content,
.aira-ai-assistant-feature__visual {
    position: relative;
    z-index: 1;
}

.aira-ai-assistant-feature__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
    color: #6d28d9;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aira-ai-assistant-feature__spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(196, 181, 253, 0.8);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 18px -12px rgba(109, 40, 217, 0.6);
}

.aira-ai-assistant-feature__spark svg {
    width: 1.125rem;
    height: 1.125rem;
}

.aira-ai-assistant-feature__title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.aira-ai-assistant-feature__description {
    max-width: 46rem;
    margin-top: 0.875rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
}

.aira-ai-assistant-feature__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.aira-ai-assistant-feature__benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.68);
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
}

.aira-ai-assistant-feature__visual {
    display: flex;
    min-width: 10rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.aira-ai-assistant-feature__orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    height: 6.5rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2rem;
    background: #ffffff;
    line-height: 1;
    box-shadow: 0 24px 48px -22px rgba(67, 56, 202, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: rotate(-5deg);
}

.aira-ai-assistant-feature__orb-image {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
    border-radius: 1.25rem;
}

.aira-ai-assistant-feature__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(196, 181, 253, 0.85);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.82);
    color: #5b21b6;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 10px 24px -18px rgba(76, 29, 149, 0.75);
}

.aira-pillar-list {
    padding-top: 1.5rem;
}

@media (max-width: 639px) {
    .aira-public-card {
        padding: 1.25rem;
    }

    .aira-capability-card {
        min-height: 0;
        padding-bottom: 4rem;
    }

    .aira-capability-card__arrow {
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .aira-ai-assistant-feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .aira-ai-assistant-feature__visual {
        min-width: 0;
        flex-direction: row;
        justify-content: space-between;
    }

    .aira-ai-assistant-feature__orb {
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 1.35rem;
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-capability-card,
    .aira-capability-card__arrow,
    .aira-ai-assistant-feature {
        transition: none;
    }

    .aira-capability-card:hover,
    .aira-capability-card:hover .aira-capability-card__arrow,
    .aira-ai-assistant-feature:hover {
        transform: none;
    }
}

.aira-number-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.aira-number-marker--purple {
    background-color: #faf5ff;
    border-color: #f3e8ff;
    color: #9333ea;
}

.aira-number-marker--indigo {
    background-color: #eef2ff;
    border-color: #e0e7ff;
    color: #4f46e5;
}

.aira-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}

.aira-icon-wrapper svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.aira-icon-wrapper--purple {
    background-color: #faf5ff;
    color: #9333ea;
}

.aira-icon-wrapper--indigo {
    background-color: #eef2ff;
    color: #4f46e5;
}

.aira-icon-wrapper--green {
    background-color: #f0fdf4;
    color: #16a34a;
}

.aira-icon-wrapper--amber {
    background-color: #fffbeb;
    color: #d97706;
}

.aira-icon-wrapper--rose {
    background-color: #fff1f2;
    color: #e11d48;
}

.aira-icon-wrapper--cyan {
    background-color: #ecfeff;
    color: #0891b2;
}

/* Signal Rail button system — compatible with the established Aira variants. */
:root {
    --aira-surface: #f7f9fc;
    --aira-white: #ffffff;
    --aira-ink: #141b2d;
    --aira-muted: #63718a;
    --aira-blue: #165dff;
    --aira-blue-hover: #2a7cff;
    --aira-blue-pressed: #1148d4;
    --aira-violet: #6d5cf6;
    --aira-cyan: #78d9ea;
    --aira-border: #cad5e5;
    --aira-soft-blue: #eaf1ff;
}

/* ==========================================================================
   Signal Rail v1: Button System Core
   ========================================================================== */

.btn-pri,
.btn-sec,
.btn-pri-pro,
.btn-sec-pro,
.aira-btn-primary,
.aira-btn-secondary {
    --aira-button-ink: var(--aira-ink);
    position: relative;
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 54px;
    max-width: 100%;
    padding: 0;
    color: var(--aira-button-ink) !important;
    background: var(--aira-white);
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

/* ── 1. Primary Geometry & Palette ── */
.btn-pri,
.btn-pri-pro,
.aira-btn-primary {
    --aira-button-ink: var(--aira-white);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    /* clip-path: polygon - removed per user request: return to classic rounded corners (border-radius: 0.75rem) */
    background: linear-gradient(110deg, #0b4fe6 0%, #0d55ff 45%, #1660ff 100%);
    color: var(--aira-white) !important;
    box-shadow: 0 4px 14px rgba(12, 85, 255, 0.24);
}

/* ── 2. Secondary Geometry & Palette ("How Aira works") ── */
.btn-sec,
.aira-btn-secondary {
    --aira-button-ink: var(--aira-ink);
    border: 1px solid var(--aira-border, #cad5e5) !important;
    border-radius: 0.75rem;
    background: #edf2f9;
    color: var(--aira-ink) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* ── 3. PRO Secondary Geometry & Palette ── */
.btn-sec-pro {
    --aira-button-ink: var(--aira-ink);
    border: 1px solid var(--aira-border, #cad5e5) !important;
    border-radius: 0.75rem;
    background: #edf2f9;
    color: var(--aira-ink) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* ── 4. Structural Zones: Label, PRO Badge, Rail & Arrow-zone ── */
.aira-button__label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 1.5rem;
    padding-right: 1.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-pri-pro .aira-button__label,
.btn-sec-pro .aira-button__label {
    flex: 0 1 auto;
    padding-right: 0.5rem;
}

.btn-pri-pro .pro-badge,
.btn-sec-pro .pro-badge {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-left: 0.15rem;
    margin-right: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: var(--aira-violet);
    color: var(--aira-white);
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.aira-button__rail {
    display: block;
    position: relative;
    flex: 0 0 1px;
    width: 1px;
    align-self: stretch;
    margin: 10px 0;
    background: var(--aira-cyan);
    opacity: 0.95;
}

.btn-pri-pro .aira-button__rail,
.btn-sec-pro .aira-button__rail {
    margin-left: auto;
}

.aira-button__rail::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.5px;
    height: 4.5px;
    content: "";
    background: var(--aira-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(92, 228, 245, 0.14), 0 0 4px rgba(92, 228, 245, 0.28);
    transform: translate(-50%, -50%);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, box-shadow 220ms ease;
}

.aira-button__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    color: currentColor;
}

.aira-button__arrow svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    margin: auto;
}

.aira-button__spinner {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: aira-button-spin 700ms linear infinite;
    margin: auto;
}

/* ── 5. Fallback for Buttons without dedicated child markup ── */
.btn-pri:not(:has(.aira-button__arrow)),
.btn-sec:not(:has(.aira-button__arrow)),
.btn-pri-pro:not(:has(.aira-button__arrow)),
.btn-sec-pro:not(:has(.aira-button__arrow)),
.aira-btn-primary:not(:has(.aira-button__arrow)),
.aira-btn-secondary:not(:has(.aira-button__arrow)) {
    padding-left: 1.5rem;
    padding-right: 5rem;
    align-items: center;
    justify-content: flex-start;
}

.btn-pri:not(:has(.aira-button__rail))::before,
.btn-sec:not(:has(.aira-button__rail))::before,
.btn-pri-pro:not(:has(.aira-button__rail))::before,
.btn-sec-pro:not(:has(.aira-button__rail))::before,
.aira-btn-primary:not(:has(.aira-button__rail))::before,
.aira-btn-secondary:not(:has(.aira-button__rail))::before {
    position: absolute;
    top: 10px;
    right: 3.25rem;
    bottom: 10px;
    width: 5px;
    transform: translateX(2px);
    background:
        radial-gradient(circle at 2.5px 50%, var(--aira-cyan) 0 2.25px, transparent 2.5px) no-repeat,
        linear-gradient(var(--aira-cyan), var(--aira-cyan)) no-repeat center center / 1px 100%;
    content: "";
    opacity: 0.95;
    transition: background-position 180ms ease, background-size 180ms ease, opacity 180ms ease;
}

.btn-pri:not(:has(.aira-button__arrow))::after,
.btn-sec:not(:has(.aira-button__arrow))::after,
.btn-pri-pro:not(:has(.aira-button__arrow))::after,
.btn-sec-pro:not(:has(.aira-button__arrow))::after,
.aira-btn-primary:not(:has(.aira-button__arrow))::after,
.aira-btn-secondary:not(:has(.aira-button__arrow))::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    color: currentColor;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    content: "→";
    transform: translateY(-50%);
}

.btn-pri:has(.aira-button__arrow)::after,
.btn-sec:has(.aira-button__arrow)::after,
.btn-pri-pro:has(.aira-button__arrow)::after,
.btn-sec-pro:has(.aira-button__arrow)::after,
.aira-btn-primary:has(.aira-button__arrow)::after,
.aira-btn-secondary:has(.aira-button__arrow)::after {
    content: none;
}

.btn-pri:has(.aira-button__rail)::before,
.btn-sec:has(.aira-button__rail)::before,
.btn-pri-pro:has(.aira-button__rail)::before,
.btn-sec-pro:has(.aira-button__rail)::before,
.aira-btn-primary:has(.aira-button__rail)::before,
.aira-btn-secondary:has(.aira-button__rail)::before {
    display: none;
}

/* ── 6. Hover & Active States (Color only — NO translateY!) ── */
.btn-pri:hover,
.btn-pri-pro:hover,
.aira-btn-primary:hover {
    background: linear-gradient(110deg, #145bff 0%, #206aff 45%, #2877ff 100%);
    box-shadow: 0 5px 16px rgba(22, 93, 255, 0.3);
    transform: none !important;
}

.btn-sec:hover,
.aira-btn-secondary:hover {
    background: #e2ebf6;
    border-color: #94a3b8 !important;
    color: var(--aira-ink) !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.09);
    transform: none !important;
}

.btn-sec-pro:hover {
    background: #e2ebf6;
    border-color: #94a3b8 !important;
    color: var(--aira-ink) !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.09);
    transform: none !important;
}

.btn-pri:active,
.btn-pri-pro:active,
.aira-btn-primary:active {
    background: linear-gradient(110deg, #093fc8 0%, #0c47d6 45%, #114fe0 100%);
    box-shadow: 0 2px 6px rgba(22, 93, 255, 0.2);
    transform: none !important;
}

.btn-sec:active,
.btn-sec-pro:active,
.aira-btn-secondary:active {
    background: #d6e3f2;
    transform: none !important;
}

.btn-pri:active .aira-button__rail::after,
.btn-sec:active .aira-button__rail::after,
.btn-pri-pro:active .aira-button__rail::after,
.btn-sec-pro:active .aira-button__rail::after,
.aira-btn-primary:active .aira-button__rail::after,
.aira-btn-secondary:active .aira-button__rail::after {
    top: 50%;
    transform: translate(-50%, -50%) scale(1.08);
}

.btn-pri:focus-visible,
.btn-sec:focus-visible,
.btn-pri-pro:focus-visible,
.btn-sec-pro:focus-visible,
.aira-btn-primary:focus-visible,
.aira-btn-secondary:focus-visible {
    outline: 2px solid var(--aira-blue);
    outline-offset: 3px;
}

.btn-pri:disabled,
.btn-sec:disabled,
.btn-pri-pro:disabled,
.btn-sec-pro:disabled,
.btn-pri[aria-disabled="true"],
.btn-sec[aria-disabled="true"],
.btn-pri-pro[aria-disabled="true"],
.btn-sec-pro[aria-disabled="true"] {
    color: #8ea0ba !important;
    border-color: #dce4ef;
    background: #eef3fb;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-pri:disabled .aira-button__rail,
.btn-sec:disabled .aira-button__rail,
.btn-pri-pro:disabled .aira-button__rail,
.btn-sec-pro:disabled .aira-button__rail {
    background: #cbd5e1;
}

.btn-pri:disabled .aira-button__rail::after,
.btn-sec:disabled .aira-button__rail::after,
.btn-pri-pro:disabled .aira-button__rail::after,
.btn-sec-pro:disabled .aira-button__rail::after {
    background: #cbd5e1;
    box-shadow: none;
}

/* ── 7. Icon-only Button System ── */
.btn-icon,
.aira-btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #f0f4f9;
    border: 1px solid rgba(200, 215, 235, 0.5);
    color: var(--aira-blue);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.btn-icon::after,
.aira-btn-icon::after {
    content: "";
    position: absolute;
    bottom: 18%;
    right: 18%;
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    background: var(--aira-cyan);
    box-shadow: 0 0 1px rgba(92, 228, 245, 0.5);
    pointer-events: none;
}

.btn-icon:hover,
.aira-btn-icon:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--aira-blue);
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.15);
    transform: none !important;
}

.btn-icon:active,
.aira-btn-icon:active {
    background: #eaf1fb;
    transform: none !important;
}

.btn-icon:focus-visible,
.aira-btn-icon:focus-visible {
    outline: 2px solid var(--aira-blue);
    outline-offset: 3px;
}

@keyframes aira-button-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 420px) {
    .btn-pri,
    .btn-sec,
    .btn-pri-pro,
    .btn-sec-pro,
    .aira-btn-primary,
    .aira-btn-secondary {
        width: 100%;
        min-height: 44px;
        font-size: 0.875rem;
        justify-content: flex-start;
    }
    .aira-button__label {
        padding-left: 1rem;
        padding-right: 0.5rem;
    }
    .aira-button__rail {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .aira-button__arrow {
        flex: 0 0 2.75rem;
        width: 2.75rem;
    }
    .btn-pri-pro .pro-badge,
    .btn-sec-pro .pro-badge {
        margin-left: 0.15rem;
        margin-right: 0.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-pri,
    .btn-sec,
    .btn-pri-pro,
    .btn-sec-pro,
    .aira-btn-primary,
    .aira-btn-secondary,
    .aira-button__spinner {
        transition: none;
        animation: none;
    }
}

.aira-btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    color: #6b7280 !important;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.15s ease;
}

.aira-btn-tertiary:hover {
    color: #2563eb !important;
}

/* ── Shared Dark Feature Banner ── */
.aira-dark-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    border: 1px solid #1e293b;
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.2), 0 8px 10px -6px rgba(15, 23, 42, 0.2);
}

@media (max-width: 639px) {
    .aira-dark-banner {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }
}

.aira-dark-banner__kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.333;
    margin-bottom: 0.75rem;
}

.aira-dark-banner__title {
    color: #ffffff !important;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.aira-dark-banner__desc {
    color: #cbd5e1 !important;
    font-size: 1rem;
    line-height: 1.625;
    max-width: 48rem;
}

.aira-dark-banner__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aira-dark-banner__card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}

.aira-dark-banner__card-title {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.aira-dark-banner__card-desc {
    color: #94a3b8 !important;
    font-size: 0.8125rem;
    line-height: 1.55;
}

/* ── Problem Section Balanced 2-Column Grid ── */
.aira-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .aira-problem-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 2.5rem;
    }
}

/* ── Canonical Public Hero System ── */
.aira-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.333;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.aira-hero-eyebrow__dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #2563eb;
    flex-shrink: 0;
    animation: aira-hero-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes aira-hero-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-hero-eyebrow__dot {
        animation: none !important;
    }
}

.aira-hero-title {
    font-size: clamp(2rem, 4vw + 0.75rem, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 1.25rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
}

.aira-hero-desc {
    color: #475569;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
    .aira-hero-desc {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .aira-hero-desc {
        font-size: 1.25rem;
    }
}

.aira-hero-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-w: 80rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 639px) {
    .aira-hero-section {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.aira-bottom-cta-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding-top: 1.5rem;
    padding-bottom: 4.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 639px) {
    .aira-bottom-cta-section {
        padding-bottom: 2.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ── Secondary Navigation Button (Bug #35) ── */
.aira-nav-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    min-height: 2.625rem;
    border-radius: 0.625rem;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155 !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.aira-nav-btn-secondary:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.aira-nav-btn-secondary:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* ── Homepage Product Hero: Aira Signal Reader ── */
.aira-home-main {
    background: #ffffff;
    color: #0b1f3a;
}

.aira-home-hero {
    position: relative;
    z-index: 10;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100dvh - 88px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2eaf4;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #f9fbfe 100%);
}

.aira-home-hero::before,
.aira-home-hero::after {
    content: "";
    position: absolute;
    inset: -14%;
    z-index: 0;
    pointer-events: none;
}

.aira-home-hero::before {
    background:
        radial-gradient(circle at 18% 28%, rgba(96, 165, 250, 0.1), transparent 29%),
        radial-gradient(circle at 76% 32%, rgba(124, 58, 237, 0.07), transparent 27%),
        radial-gradient(circle at 58% 78%, rgba(37, 99, 235, 0.065), transparent 31%);
    filter: blur(32px);
    opacity: 0.65;
}

.aira-home-hero::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(248, 251, 255, 0.2) 62%, rgba(255, 255, 255, 0.38));
}

.aira-home-hero__routes {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.62;
}

.aira-home-route__base {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aira-home-route__base {
    stroke: url(#aira-home-route-gradient);
    stroke-width: 1.15;
    opacity: 0.2;
}

.aira-home-route-nodes circle:not(.aira-home-route-node__core) {
    fill: rgba(255, 255, 255, 0.82);
    stroke: #5b8fe8;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    opacity: 0.32;
}

.aira-home-route-node__core {
    fill: #2563eb;
    opacity: 0.34;
}

.aira-home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 88rem);
    margin: 0 auto;
    padding: 3.5rem 2rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(31rem, 0.92fr);
    align-items: start;
    gap: clamp(2rem, 3vw, 3.5rem);
}

.aira-home-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 100%;
    align-self: start;
    padding-top: 0.65rem;
}

.aira-home-hero__eyebrow-cluster {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

.aira-home-hero__eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.625rem;
    background: #081226;
    color: #f8fafc;
    border-radius: 0.375rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.aira-home-hero__eyebrow-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5625rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 0.375rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
}

.aira-home-hero__title {
    max-width: 14em;
    margin: 0;
    color: #081226;
    font-size: clamp(2.85rem, 3.8vw, 3.95rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.aira-home-hero__description {
    max-width: 36rem;
    margin: 1.25rem 0 0;
    color: #475569;
    font-size: clamp(1.025rem, 1.2vw, 1.125rem);
    line-height: 1.62;
}

.aira-home-hero__description-p {
    margin: 0;
}

.aira-home-hero__description-p--sub {
    margin-top: 0.65rem;
    color: #64748b;
    font-size: clamp(0.95rem, 1.05vw, 1.025rem);
}

.aira-home-hero__benchmark {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.35rem;
    padding: 0.625rem 0.95rem;
    background: linear-gradient(90deg, rgba(239, 246, 255, 0.92) 0%, rgba(248, 250, 252, 0.75) 100%);
    border-left: 3px solid #2563eb;
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}

.aira-home-hero__benchmark-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.aira-home-hero__benchmark-text {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #1e293b;
    font-weight: 500;
}

.aira-home-hero__actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 1.75rem;
    flex-wrap: nowrap;
}

.aira-home-hero__cta {
    min-height: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-width: 0;
    flex: 0 0 auto;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: all 180ms ease;
    border-radius: 0.75rem;
}

.aira-home-hero__cta .aira-button__rail::after {
    display: none !important;
}

.aira-home-hero__cta .aira-button__label {
    padding-left: 1.35rem;
    padding-right: 1.25rem;
}

.aira-home-hero__cta:focus-visible {
    outline: 2px solid var(--aira-blue);
    outline-offset: 3px;
}

.aira-home-hero__cta.btn-pri {
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    background: #081226;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(8, 18, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.aira-home-hero__cta.btn-sec {
    border: 1px solid #cbd5e1 !important;
    background: #ffffff;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.aira-home-hero__cta.btn-pri:hover {
    background: #0c1e3d;
    border-color: #3b82f6 !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
    transform: none !important;
}

.aira-home-hero__cta.btn-sec:hover {
    background: #f8fafc;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
    transform: none !important;
}

.aira-home-hero__cta.btn-pri:active {
    background: #060e1d;
    transform: none !important;
}

.aira-home-hero__cta.btn-sec:active {
    background: #edf2f7;
    transform: none !important;
}

.aira-home-hero__trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    font-size: 0.78125rem;
    color: #64748b;
    font-weight: 500;
    flex-wrap: wrap;
}

.aira-home-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.aira-home-hero__trust-icon {
    width: 0.85rem;
    height: 0.85rem;
    color: #2563eb;
    flex-shrink: 0;
}

.aira-home-hero__trust-dot {
    color: #cbd5e1;
    font-weight: 700;
}

.aira-signal-reader {
    position: relative;
    width: 100%;
    margin: 0;
    color: #0b2a55;
}

.aira-signal-reader::before {
    content: "";
    position: absolute;
    inset: 12% 5% 10% 18%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.075), rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
}

.aira-signal-reader__caption {
    position: absolute;
    top: -2.25rem;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    padding: 0.4rem 0.85rem;
    color: #12366a;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d7e3f3;
    border-radius: 999px;
    box-shadow: 0 0.45rem 1.3rem rgba(30, 64, 175, 0.08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.035em;
    white-space: nowrap;
    animation: none;
}

.aira-signal-reader__canvas {
    width: 100%;
    height: auto;
    overflow: visible;
}

.aira-signal-reader__canvas--mobile {
    display: none;
}

.aira-reader-frame__corners,
.aira-reader-frame__rails,
.aira-reader-frame__nodes circle,
.aira-reader-frame__nodes path {
    stroke: #9bb4d7;
    stroke-width: 1.15;
}

.aira-reader-frame__corners {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aira-reader-frame__rails {
    stroke-dasharray: 2 8;
    stroke-linecap: round;
}

.aira-reader-frame__corner-targets circle:not(.aira-reader-frame__target-dot),
.aira-reader-frame__corner-targets path {
    fill: #ffffff;
    stroke: #2563eb;
    stroke-width: 1;
    stroke-linecap: round;
}

.aira-reader-frame__corner-targets .aira-reader-frame__target-dot {
    fill: #2563eb;
    stroke: none;
}

.aira-reader-frame__nodes circle:not(.aira-reader-frame__node-dot) {
    fill: #ffffff;
}

.aira-reader-frame__nodes .aira-reader-frame__node-dot {
    fill: #2563eb;
    stroke: none;
}

.aira-reader-labels text {
    fill: #0c2a55;
}

.aira-reader-mobile-labels text {
    fill: #0c2a55;
}

.aira-reader-signals--incoming path {
    stroke-dasharray: 11 7;
    stroke-linecap: round;
    filter: drop-shadow(0 0 1.5px rgb(37 99 235 / 35%));
    animation: aira-reader-route 2.2s linear infinite;
}

.aira-reader-signals--outgoing path {
    stroke-dasharray: none;
    stroke-linecap: round;
    filter: drop-shadow(0 0 1px rgb(37 99 235 / 22%));
}

.aira-reader-mobile-signals--incoming path {
    stroke-dasharray: 8 7;
    stroke-linecap: round;
    filter: drop-shadow(0 0 1.5px rgb(37 99 235 / 32%));
    animation: aira-reader-mobile-route 2.2s linear infinite;
}

.aira-reader-mobile-signals--outgoing path {
    stroke-linecap: round;
    filter: drop-shadow(0 0 1px rgb(37 99 235 / 22%));
}

.aira-reader-labels rect {
    stroke: #7c3aed;
    stroke-width: 1.2;
    stroke-dasharray: 7 5;
    stroke-linecap: round;
    animation: aira-reader-label-border 2.8s linear infinite;
}

.aira-reader-labels > g:nth-child(2) rect { animation-delay: -0.18s; }
.aira-reader-labels > g:nth-child(3) rect { animation-delay: -0.36s; }
.aira-reader-labels > g:nth-child(4) rect { animation-delay: -0.54s; }
.aira-reader-labels > g:nth-child(5) rect { animation-delay: -0.72s; }
.aira-reader-labels > g:nth-child(6) rect { animation-delay: -0.9s; }

.aira-reader-mobile-labels rect {
    stroke: #7c3aed;
    stroke-width: 1.2;
    stroke-dasharray: 7 5;
    stroke-linecap: round;
    animation: aira-reader-label-border 2.8s linear infinite;
}

.aira-reader-mobile-labels > g:nth-child(2) rect { animation-delay: -0.18s; }
.aira-reader-mobile-labels > g:nth-child(3) rect { animation-delay: -0.36s; }
.aira-reader-mobile-labels > g:nth-child(4) rect { animation-delay: -0.54s; }
.aira-reader-mobile-labels > g:nth-child(5) rect { animation-delay: -0.72s; }
.aira-reader-mobile-labels > g:nth-child(6) rect { animation-delay: -0.9s; }

.aira-reader-scan {
    transform-box: fill-box;
    transform-origin: left center;
    animation: aira-reader-scan 5.8s ease-in-out infinite;
}

.aira-reader-scan-line {
    filter:
        drop-shadow(0 0 2px rgb(37 99 235 / 36%))
        drop-shadow(0 0 9px rgb(96 165 250 / 18%));
}

.aira-reader-scan-indicators {
    filter: drop-shadow(0 0 4px rgb(37 99 235 / 36%));
}

.aira-reader-mobile-scan {
    transform-box: fill-box;
    transform-origin: left center;
    animation: aira-reader-mobile-scan 5.8s ease-in-out infinite;
}

.aira-reader-mobile-phone > rect:first-child {
    filter: drop-shadow(0 12px 22px rgb(37 99 235 / 9%));
}

.aira-reader-voice-glow,
.aira-reader-voice-particles__layer {
    transform-box: fill-box;
    transform-origin: center;
}

.aira-reader-voice-glow {
    animation: aira-reader-voice-glow 3.2s ease-in-out infinite;
}

.aira-reader-voice-particles__layer--a {
    opacity: 0.34;
    animation: aira-reader-particles-a 4.3s ease-in-out infinite;
}

.aira-reader-voice-particles__layer--b {
    opacity: 0.3;
    animation: aira-reader-particles-b 3.7s ease-in-out infinite;
}

.aira-reader-voice-particles__layer--c {
    opacity: 0.26;
    animation: aira-reader-particles-c 5.1s ease-in-out infinite;
}

.aira-reader-mark {
    filter: drop-shadow(0 0 8px rgb(37 99 235 / 25%));
}

@keyframes aira-reader-caption-float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        box-shadow: 0 0.45rem 1.3rem rgba(30, 64, 175, 0.08);
    }
    50% {
        transform: translateX(-50%) translateY(-0.22rem);
        box-shadow: 0 0.65rem 1.55rem rgba(30, 64, 175, 0.12);
    }
}

@keyframes aira-reader-scan {
    0% { transform: translateX(-52px); opacity: 0.66; }
    50% { transform: translateX(244px); opacity: 1; }
    100% { transform: translateX(-52px); opacity: 0.66; }
}

@keyframes aira-reader-mobile-scan {
    0% { transform: translateX(0); opacity: 0.66; }
    50% { transform: translateX(150px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.66; }
}

@keyframes aira-reader-route {
    to { stroke-dashoffset: -36; }
}

@keyframes aira-reader-mobile-route {
    to { stroke-dashoffset: -30; }
}

@keyframes aira-reader-label-border {
    to { stroke-dashoffset: -24; }
}

@keyframes aira-reader-voice-glow {
    0%, 100% { opacity: 0.5; transform: scale(0.94); }
    50% { opacity: 0.94; transform: scale(1.07); }
}

@keyframes aira-reader-particles-a {
    0%, 100% { opacity: 0.24; transform: translate(-4px, -2px) scale(0.96); }
    21% { opacity: 0.52; transform: translate(5px, -4px) scale(1.03); }
    47% { opacity: 0.31; transform: translate(-2px, 6px) scale(0.99); }
    73% { opacity: 0.58; transform: translate(6px, 3px) scale(1.05); }
}

@keyframes aira-reader-particles-b {
    0%, 100% { opacity: 0.38; transform: translate(3px, 4px) scale(1.02); }
    28% { opacity: 0.2; transform: translate(-6px, 1px) scale(0.95); }
    56% { opacity: 0.54; transform: translate(1px, -6px) scale(1.04); }
    82% { opacity: 0.29; transform: translate(5px, -1px) scale(0.98); }
}

@keyframes aira-reader-particles-c {
    0%, 100% { opacity: 0.18; transform: translate(-2px, 5px) scale(0.97); }
    18% { opacity: 0.46; transform: translate(4px, 2px) scale(1.05); }
    49% { opacity: 0.24; transform: translate(6px, -5px) scale(0.96); }
    76% { opacity: 0.5; transform: translate(-5px, -3px) scale(1.02); }
}

.aira-home-audit-launch {
    scroll-margin-top: 6rem;
    padding-top: 3.5rem;
    border-bottom: 1px solid #e7edf5;
    background: #f7faff;
}

@media (max-width: 1120px) {
    .aira-home-hero {
        min-height: auto;
    }

    .aira-home-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 52rem);
        padding-top: 4.25rem;
        gap: 2.6rem;
    }

    .aira-home-hero__copy {
        max-width: 44rem;
        padding-top: 0;
    }

    .aira-home-hero__title {
        max-width: 14em;
        font-size: clamp(2.75rem, 6.5vw, 3.85rem);
    }

    .aira-signal-reader {
        max-width: 48rem;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .aira-home-hero__inner {
        padding: 2.5rem 1.125rem 2rem;
        gap: 2.25rem;
    }

    .aira-home-hero__copy {
        padding-top: 0;
    }

    .aira-home-hero__eyebrow-cluster {
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .aira-home-hero__title {
        max-width: 100%;
        font-size: clamp(2.15rem, 9.5vw, 2.85rem);
        line-height: 1.1;
        letter-spacing: -0.035em;
    }

    .aira-home-hero__description {
        margin-top: 1rem;
        font-size: 0.95rem;
        line-height: 1.55;
        min-height: auto;
    }

    .aira-home-hero__benchmark {
        margin-top: 1.1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .aira-home-hero__actions {
        margin-top: 1.35rem;
        gap: 0.65rem;
        flex-direction: column;
        align-items: stretch;
    }

    .aira-home-hero__cta {
        width: 100%;
        min-width: 0;
        min-height: 3.15rem;
        padding: 0;
        font-size: 0.875rem;
        justify-content: center;
    }

    .aira-home-hero__cta .aira-button__label {
        padding-left: 1.15rem;
        padding-right: 1rem;
    }

    .aira-home-hero__trust {
        margin-top: 1rem;
        font-size: 0.72rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .aira-signal-reader {
        overflow: visible;
        width: min(100%, 25rem);
    }

    .aira-signal-reader__caption {
        top: -1.45rem;
        font-size: 0.58rem;
    }

    .aira-signal-reader__canvas--desktop {
        display: none;
    }

    .aira-signal-reader__canvas--mobile {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .aira-reader-grid {
        display: none;
    }

    .aira-home-audit-launch {
        scroll-margin-top: 5.25rem;
        padding-top: 2rem;
    }
}

@media (max-width: 339px) {
    .aira-home-hero__inner {
        padding-inline: 1rem;
    }

    .aira-home-hero__title {
        font-size: 2.35rem;
    }

    .aira-home-hero__description {
        font-size: 0.94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-reader-signals--incoming path,
    .aira-reader-mobile-signals--incoming path,
    .aira-reader-labels rect,
    .aira-reader-mobile-labels rect,
    .aira-reader-scan,
    .aira-reader-mobile-scan,
    .aira-signal-reader__caption,
    .aira-home-hero::before,
    .aira-home-hero::after,
    .aira-reader-voice-glow,
    .aira-reader-voice-particles__layer {
        animation: none !important;
    }

    .aira-home-hero__cta,
    .aira-home-hero__cta > span[aria-hidden="true"] {
        transition: none !important;
    }
}

/* ==========================================================================
   Homepage Section 2: Paradigm Shift (Traditional SEO vs GEO Framework)
   ========================================================================== */

.aira-paradigm-shift {
    box-sizing: border-box;
    padding-top: clamp(3.5rem, 6vw, 7rem);
    padding-bottom: clamp(4rem, 7vw, 8rem);
}

.aira-shift-header {
    margin-inline: auto;
    max-width: 56rem;
    margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.aira-shift-header .aira-section-kicker {
    margin-bottom: 1rem;
    display: inline-block;
}

.aira-shift-header h2 {
    color: #091224;
    font-size: clamp(1.85rem, 3.4vw + 0.35rem, 2.85rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.aira-shift-header p {
    color: #475569;
    font-size: clamp(1rem, 1vw + 0.25rem, 1.15rem);
    line-height: 1.65;
    margin-top: 1.25rem;
    max-width: 48rem;
    margin-inline: auto;
}

.aira-shift-matrix {
    align-items: stretch;
}

.aira-shift-card {
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* CARD 1: Traditional SEO (Neutral / Legacy / Static) */
.aira-shift-card--traditional {
    background: #fbfcfe;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

.aira-shift-card--traditional:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

.aira-shift-card--traditional .aira-shift-card__header {
    border-bottom: 1px solid #e2e8f0;
}

.aira-shift-card--traditional .aira-shift-protocol {
    color: #64748b;
}

.aira-shift-tag--muted {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.aira-shift-card--traditional h3 {
    color: #1e293b;
    font-weight: 700;
}

.aira-shift-card--traditional .aira-shift-item {
    color: #64748b;
}

.aira-shift-card--traditional .aira-shift-item strong {
    color: #334155;
}

.aira-shift-card--traditional .aira-shift-bullet {
    color: #94a3b8;
}

/* CARD 2: Aira GEO Framework (Active / Precise / Advanced) */
.aira-shift-card--geo {
    background: #ffffff;
    border: 1.5px solid #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12),
                0 16px 36px -8px rgba(37, 99, 235, 0.12),
                0 2px 8px -2px rgba(37, 99, 235, 0.04);
}

.aira-shift-card--geo:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2),
                0 22px 48px -10px rgba(37, 99, 235, 0.18),
                0 4px 12px -2px rgba(37, 99, 235, 0.06);
}

.aira-shift-card--geo .aira-shift-card__header {
    border-bottom: 1px solid rgba(59, 130, 246, 0.18);
}

.aira-shift-card--geo .aira-shift-protocol {
    color: #2563eb;
    font-weight: 700;
}

.aira-shift-tag--active {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
}

.aira-shift-card--geo h3 {
    color: #091224;
    font-weight: 800;
}

.aira-shift-card--geo .aira-shift-item {
    color: #475569;
}

.aira-shift-card--geo .aira-shift-item strong {
    color: #0f172a;
}

.aira-shift-card--geo .aira-shift-bullet {
    color: #2563eb;
}

/* Protocol & Badge common */
.aira-shift-protocol {
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.aira-shift-beacon-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 8px #3b82f6;
    animation: aira-beacon-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes aira-beacon-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
        box-shadow: 0 0 2px rgba(37, 99, 235, 0.3);
    }
}

.aira-shift-item {
    word-break: break-word;
}

.aira-shift-bullet {
    font-size: 1.1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Code box */
.aira-shift-code {
    border-radius: 0.75rem;
    padding: 1.125rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Traditional: Muted legacy DOM inspect */
.aira-shift-code--slate {
    background: #0f172a !important;
    border: 1px solid #1e293b;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
    color: #cbd5e1 !important;
}

.aira-shift-code--slate .shift-code-comment {
    color: #64748b !important;
}

.aira-shift-code--slate .shift-code-tag {
    color: #94a3b8 !important;
}

.aira-shift-code--slate .shift-code-key {
    color: #cbd5e1 !important;
}

.aira-shift-code--slate .shift-code-string {
    color: #94a3b8 !important;
}

.aira-shift-code--slate .shift-code-line {
    color: #e2e8f0 !important;
}

/* GEO: Verified Knowledge Token terminal */
.aira-shift-code--geo {
    background: #060d1d !important;
    border: 1px solid rgba(59, 130, 246, 0.42) !important;
    box-shadow: inset 0 0 22px rgba(37, 99, 235, 0.14), inset 0 1px 3px rgba(0, 0, 0, 0.5);
    color: #f1f5f9 !important;
}

.aira-shift-code--geo .shift-code-comment {
    color: #60a5fa !important;
}

.aira-shift-code--geo .shift-code-tag {
    color: #94a3b8 !important;
}

.aira-shift-code--geo .shift-code-key {
    color: #38bdf8 !important;
}

.aira-shift-code--geo .shift-code-string {
    color: #34d399 !important;
}

.aira-shift-code--geo .shift-code-highlight {
    color: #fbbf24 !important;
    font-weight: 700 !important;
}

.aira-shift-code--geo .shift-code-line {
    color: #f1f5f9 !important;
}

.aira-shift-verdict__icon {
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Verdict pills */
.aira-shift-verdict {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.8125rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.aira-shift-verdict--warning {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.aira-shift-verdict--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Bottom statement banner */
.aira-shift-banner {
    background: #081226;
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 16px 40px -10px rgba(8, 18, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.aira-shift-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.aira-shift-banner__link svg {
    transition: transform 0.2s ease;
}

.aira-shift-banner__link:hover svg {
    transform: translateX(4px);
}

@media (min-width: 1024px) {
    .aira-shift-card {
        padding: 2.5rem;
    }
}

@media (max-width: 1023px) {
    .aira-shift-matrix {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 639px) {
    .aira-paradigm-shift {
        padding-top: 2rem;
        padding-bottom: 3.5rem;
    }

    .aira-shift-header {
        margin-bottom: 2rem;
    }

    .aira-shift-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .aira-shift-card__header {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .aira-shift-protocol {
        font-size: 0.6875rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .aira-shift-tag {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
        white-space: nowrap;
    }

    .aira-shift-list {
        margin-bottom: 1.5rem;
    }

    .aira-shift-code {
        padding: 0.875rem;
        font-size: 0.75rem;
    }

    .aira-shift-verdict {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }

    .aira-shift-banner {
        padding: 1.25rem;
        border-radius: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .aira-shift-banner__link {
        width: 100%;
        justify-content: flex-start;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-shift-card,
    .aira-shift-banner__link svg {
        transition: none !important;
        transform: none !important;
    }

    .aira-shift-beacon-dot {
        animation: none !important;
    }
}
