/* =========================================================================
   AI Olympiad — 2026 Theme Polish (scoped to .home-2026)
   Gradients: css/brand-gradients.css (single source of truth)
   ========================================================================= */

:is(.home-2026, .site-2026, .register-2026) {
    --section-gradient: var(--site-gradient-banner);
    position: relative;
}

.home-2026 {
    --section-gap: 4rem;
    background: var(--site-gradient-overlay), var(--background);
    color: var(--foreground);
    overflow-x: clip;
    max-width: 100%;
}

/* ----- Section rhythm (consistent gap between all sections) ----- */
.home-2026 main .section {
    position: relative;
    padding: 0 1.5rem;
}

.home-2026 main .section:not(.section-banner):not(.p-0) > .hero-container {
    padding-top: calc(var(--section-gap) / 2);
    padding-bottom: calc(var(--section-gap) / 2);
}

.home-2026 main .section.section-powered-by {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0 !important;
    overflow-x: clip;
    box-sizing: border-box;
}

.home-2026 main .section.section-powered-by > .hero-container {
    width: 100%;
    max-width: 100%;
    padding-top: calc(var(--section-gap) / 2);
    padding-bottom: calc(var(--section-gap) / 2);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    min-height: 0;
    box-sizing: border-box;
}

.home-2026 .section-powered-by .row {
    --bs-gutter-x: 1.25rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
}

.home-2026 main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 767px) {
    .home-2026 {
        --section-gap: 2.75rem;
        --section-side-gap: 1.25rem;
    }

    .home-2026 main .section:not(.section-banner) {
        padding-left: var(--section-side-gap) !important;
        padding-right: var(--section-side-gap) !important;
        box-sizing: border-box;
    }

    .home-2026 main .section:not(.section-banner) > .hero-container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    /* Keep Bootstrap rows from eating the side gaps */
    .home-2026 main .section:not(.section-banner) .row {
        --bs-gutter-x: 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }

    .home-2026 main .section:not(.section-banner) .row > [class*="col"] {
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }

    .home-2026 main .section.section-powered-by {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-2026 main .section.section-powered-by > .hero-container {
        padding-left: var(--section-side-gap) !important;
        padding-right: var(--section-side-gap) !important;
    }
}

/* ----- Eyebrow / sub-heading chip ----- */
.home-2026 .sub-heading {
    justify-content: inherit;
}

.home-2026 main .section .sub-heading {
    display: inline-flex;
    width: max-content;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.18);
    backdrop-filter: blur(6px);
}

.home-2026 .sub-heading i {
    color: var(--brand-amber);
}

.home-2026 .sub-heading span {
    color: var(--brand);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* ----- Gradient headings on light sections ----- */
.home-2026 main .section .title-heading,
.home-2026 .ui-date-card__date,
.home-2026 .ui-dates-heading,
.home-2026 .ui-pricing-heading,
.home-2026 .newsletter-layout .title-heading {
    line-height: 1.25;
    padding-block: 0.12em;
    overflow: visible;
}

.home-2026 main .section .title-heading {
    background-image: var(--site-gradient-accent-135);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-block;
}

.home-2026 main .section p {
    color: var(--muted-foreground);
}

.home-2026 .text-accent {
    color: var(--brand-amber);
}

/* ----- Buttons ----- */
.home-2026 .btn-accent {
    background: var(--site-gradient-accent-135);
    box-shadow: 0 10px 24px -8px rgba(79, 70, 229, 0.55);
    border: none;
}

.home-2026 .btn-accent:hover {
    background: var(--site-gradient-btn);
    box-shadow: 0 16px 30px -10px rgba(79, 70, 229, 0.6);
    transform: translateY(-2px);
}

.home-2026 .btn-accent .btn-title a,
.home-2026 .btn-accent .btn-title span {
    color: #fff;
}

.home-2026 .btn-accent:hover .btn-title a,
.home-2026 .btn-accent:hover .btn-title span {
    color: #fff !important;
}

.home-2026 .btn-accent .icon-circle {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transition: transform 0.4s ease;
}

.home-2026 .btn-accent:hover .icon-circle {
    transform: translateX(4px) rotate(-8deg);
    background: var(--brand-amber);
}

/* ----- Compact buttons (−35% across themed public pages) ----- */
:is(.home-2026, .site-2026, .register-2026) {
    --ui-btn-shell: 3px;
    --ui-btn-pad-y: 13px;
    --ui-btn-pad-x: 20px;
    --ui-btn-font: 0.65rem;
    --ui-btn-icon: 38px;
    --ui-btn-icon-font: 0.65rem;
}

:is(.home-2026, .site-2026, .register-2026) .btn {
    padding: var(--ui-btn-shell) !important;
    align-self: auto;
}

:is(.home-2026, .site-2026, .register-2026) .btn .btn-title,
:is(.home-2026, .site-2026, .register-2026) .btn-title {
    padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x) !important;
    font-size: max(11px, calc(var(--font-size-base) * 0.65)) !important;
    line-height: 1.25 !important;
}

:is(.home-2026, .site-2026, .register-2026) .btn .icon-circle,
:is(.home-2026, .site-2026, .register-2026) .icon-circle {
    width: var(--ui-btn-icon) !important;
    height: var(--ui-btn-icon) !important;
    min-width: var(--ui-btn-icon);
    font-size: calc(var(--font-size-6xl) * 0.65) !important;
}

:is(.home-2026, .site-2026, .register-2026) .btn .icon-circle i,
:is(.home-2026, .site-2026, .register-2026) .icon-circle i {
    font-size: 0.72rem !important;
}

:is(.home-2026, .site-2026, .register-2026) .navbar-nav {
    align-items: center;
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-item--cta,
:is(.home-2026, .site-2026, .register-2026) .navbar .nav-item:has(.nav-link.btn) {
    display: flex;
    align-items: center;
    margin-left: 0.15rem;
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-link.btn.btn-accent {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    gap: 0.5rem;
    padding: 0.62rem 1.2rem !important;
    min-height: 2.5rem;
    margin: 0 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    white-space: nowrap;
    text-decoration: none !important;
    border-radius: 999px !important;
    border: none !important;
    background: var(--site-gradient-accent-135) !important;
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-register-btn__label {
    line-height: 1.2;
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1;
    color: #052e2b;
    background: var(--site-gradient-accent-135);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-cta-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.85);
    animation: nav-cta-badge-pulse 2s ease-in-out infinite;
}

@keyframes nav-cta-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

:is(.home-2026, .site-2026, .register-2026) .navbar .nav-link.btn.btn-accent:hover,
:is(.home-2026, .site-2026, .register-2026) .navbar .nav-link.btn.btn-accent:focus,
:is(.home-2026, .site-2026, .register-2026) .navbar .nav-link.btn.btn-accent:active {
    color: #ffffff !important;
    background: var(--site-gradient-btn) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -8px rgba(79, 70, 229, 0.72);
}

@media (max-width: 1199px) {
    :is(.home-2026, .site-2026, .register-2026) .navbar-collapse.show .nav-link.btn.btn-accent {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0.35rem;
        padding: 0.7rem 1.15rem !important;
    }
}

:is(.home-2026, .site-2026, .register-2026) .hero-cta-section .btn .btn-title {
    padding: 12px 16px !important;
}

/* Homepage hero — Register Now CTA (Monoton / logo font) */
.home-2026 .section-banner .hero-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-inline: auto;
}

.home-2026 .section-banner .hero-cta-section .btn.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.925rem;
    width: min(100%, 18rem);
    min-width: min(100%, 18rem);
    margin-inline: auto;
    padding: 0.34rem 0.38rem 0.34rem 0.56rem !important;
    font-size: 0.9rem;
    gap: 0.52rem;
}

.home-2026 .section-banner .hero-cta-section .btn .btn-title {
    padding: 0.75rem 1.3rem !important;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-2026 .section-banner .hero-cta-section .btn .btn-title span {
    font-family: "Monoton", sans-serif !important;
    font-size: clamp(0.86rem, 1.8vw, 1.09rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: none;
}

.home-2026 .section-banner .hero-cta-section .btn .icon-circle {
    width: 2.25rem !important;
    height: 2.25rem !important;
    flex-shrink: 0;
}

:is(.home-2026, .site-2026, .register-2026) .login-card .btn-login,
:is(.home-2026, .site-2026, .register-2026) .login-card .btn-primary,
:is(.home-2026, .site-2026, .register-2026) .success-actions .btn-primary {
    padding: 0.45rem 0.85rem !important;
    font-size: calc(var(--font-size-base) * 0.65) !important;
}

:is(.home-2026, .site-2026, .register-2026) .btn-outline {
    padding: var(--ui-btn-shell) !important;
    font-size: calc(var(--font-size-base) * 0.65) !important;
}

:is(.home-2026, .site-2026, .register-2026) .btn-outline .btn-title {
    padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x) !important;
}

@media (max-width: 480px) {
    :is(.home-2026, .site-2026, .register-2026) .hero-cta-section .btn .btn-title {
        padding: 12px 16px !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .hero-cta-section .btn .icon-circle {
        width: 33px !important;
        height: 33px !important;
    }

    .home-2026 .section-banner .hero-cta-section .btn.btn-accent {
        min-height: 2.74rem;
        min-width: 0;
        width: 100%;
        max-width: none;
        margin-inline: auto;
        padding: 0.28rem 0.28rem 0.28rem 0.3rem !important;
    }

    .home-2026 .section-banner .hero-cta-section .btn .btn-title {
        padding: 0.6rem 0.4rem !important;
    }

    .home-2026 .section-banner .hero-cta-section .btn .btn-title span {
        font-size: clamp(0.79rem, 3.4vw, 0.94rem) !important;
        letter-spacing: 0.06em;
    }

    .home-2026 .section-banner .hero-cta-section .btn .icon-circle {
        width: 2.1rem !important;
        height: 2.1rem !important;
    }
}

/* ----- Generic card lift ----- */
.home-2026 .card {
    border-radius: var(--radius);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* ----- Pricing cards ----- */
.home-2026 .card-pricing {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 14px 40px -22px rgba(11, 11, 18, 0.35);
    overflow: hidden;
    position: relative;
}

.home-2026 .card-pricing::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--site-gradient-accent);
}

.home-2026 .card-pricing:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -26px rgba(79, 70, 229, 0.45);
    border-color: rgba(79, 70, 229, 0.3);
}

.home-2026 .card-pricing h4 {
    color: var(--foreground);
    font-weight: 800;
}

.home-2026 .card-pricing.pricing-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    border-color: rgba(79, 70, 229, 0.35);
}

.home-2026 .card-pricing.pricing-highlight::before {
    height: 6px;
    background: var(--site-gradient-accent);
}

.home-2026 .most-popular-badge {
    background: var(--site-gradient-orange);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(245, 158, 11, 0.7);
    border: none;
}

.home-2026 .core-benefits .benefit i,
.home-2026 .check-list li::marker {
    color: var(--brand-teal);
}

.home-2026 .core-benefits .benefit a,
.home-2026 .check-list li a {
    color: var(--muted-foreground);
}

.home-2026 .pricing-now-label--free {
    color: var(--brand-teal);
    font-weight: 800;
}

.home-2026 .pricing-now-label--paid {
    color: var(--brand);
    font-weight: 800;
}

/* ----- Pricing section (21st-inspired) ----- */
.home-2026 .ui-pricing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.home-2026 .ui-pricing-intro {
    text-align: center;
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.home-2026 .ui-pricing-heading {
    max-width: none;
    width: max-content;
    white-space: nowrap;
    text-align: center;
    margin-inline: auto;
}

.home-2026 .ui-pricing-lede {
    margin: 0;
    color: var(--muted-foreground);
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.65;
    padding-block: 0.1em;
    overflow: visible;
}

.home-2026 .ui-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
    max-width: 880px;
    align-items: stretch;
}

.home-2026 .ui-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    background: var(--card);
    border: 1px solid color-mix(in srgb, var(--border) 12%, transparent);
    border-radius: 20px;
    box-shadow: 0 14px 40px -24px rgba(79, 70, 229, 0.22);
    text-align: left;
    height: 100%;
}

.home-2026 .ui-price-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: var(--site-gradient-accent);
}

.home-2026 .ui-price-card--featured {
    border-color: rgba(79, 70, 229, 0.28);
    background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
    box-shadow: 0 20px 48px -22px rgba(79, 70, 229, 0.32);
}

.home-2026 .ui-price-card--featured::before {
    height: 5px;
    background: var(--site-gradient-accent);
}

.home-2026 .ui-price-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--site-gradient-orange);
    box-shadow: 0 6px 14px -6px rgba(245, 158, 11, 0.65);
}

.home-2026 .ui-price-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.home-2026 .ui-price-card__name {
    margin: 0;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 800;
    color: var(--foreground);
    line-height: 1.25;
}

.home-2026 .ui-price-card__tag {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.home-2026 .ui-price-card__amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.6rem;
    margin-top: 0.5rem;
}

.home-2026 .ui-price-card__old {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.home-2026 .ui-price-card__now {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    padding-block: 0.08em;
}

.home-2026 .ui-price-card__now--free {
    color: var(--brand-teal);
}

.home-2026 .ui-price-card__now--paid {
    color: var(--brand);
}

.home-2026 .ui-price-card__term {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-2026 .ui-price-card__cta {
    width: 100%;
    justify-content: center;
}

.home-2026 .ui-price-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid color-mix(in srgb, var(--border) 10%, transparent);
    padding-top: 1rem;
    margin-top: auto;
}

.home-2026 .ui-price-card__label {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand);
}

.home-2026 .ui-price-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.home-2026 .ui-price-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--muted-foreground);
}

.home-2026 .ui-price-card__list li i {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.55rem;
    color: #fff;
    background: var(--site-gradient-accent-135);
}

.home-2026 .ui-price-card--featured .ui-price-card__list li i {
    background: var(--site-gradient-accent-135);
}

.home-2026 .ui-pricing-note {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .home-2026 .ui-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .home-2026 .ui-price-card__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 0.25rem;
    }

    .home-2026 .ui-pricing-heading {
        white-space: normal;
        width: auto;
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    }
}

/* ----- Important dates section ----- */
.home-2026 .ui-dates-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.home-2026 .ui-dates-intro {
    text-align: center;
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.home-2026 .ui-dates-heading {
    max-width: none;
    text-align: center;
}

.home-2026 .ui-dates-lede {
    margin: 0;
    color: var(--muted-foreground);
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.65;
    padding-block: 0.1em;
    overflow: visible;
}

.home-2026 .ui-dates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
    width: 100%;
    max-width: 960px;
    align-items: stretch;
}

.home-2026 .ui-date-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
    padding: clamp(1.1rem, 2vw, 1.35rem);
    background: var(--card);
    border: 1px solid color-mix(in srgb, var(--border) 12%, transparent);
    border-radius: 20px;
    box-shadow: 0 14px 40px -24px rgba(79, 70, 229, 0.2);
    height: 100%;
    position: relative;
    overflow: visible;
}

.home-2026 .ui-date-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--site-gradient-accent);
}

.home-2026 .ui-date-card:nth-child(2)::before {
    background: var(--site-gradient-accent);
}

.home-2026 .ui-date-card:nth-child(3)::before {
    background: var(--site-gradient-orange);
}

.home-2026 .ui-date-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(255, 124, 23, 0.10));
    color: var(--brand);
    font-size: 1.15rem;
}

.home-2026 .ui-date-card__title {
    margin: 0.15rem 0 0;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 800;
    color: var(--foreground);
    line-height: 1.3;
}

.home-2026 .ui-date-card__date {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
    padding-block: 0.15em;
    display: inline-block;
    color: var(--brand, #667eea);
    overflow: visible;
}

.home-2026 .ui-date-card__num {
    display: inline;
    background-image: var(--site-gradient-accent-135);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.home-2026 .ui-date-card__ord {
    font-size: 0.55em;
    font-weight: 800;
    line-height: 1;
    vertical-align: super;
    position: relative;
    top: -0.35em;
    margin-left: 0.04em;
    margin-right: 0.12em;
    color: #ff7c17;
    -webkit-text-fill-color: #ff7c17;
    background: none;
}

.home-2026 .ui-date-card__to {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--muted-foreground, #64748b);
    -webkit-text-fill-color: var(--muted-foreground, #64748b);
    margin: 0 0.2em;
}

.home-2026 .ui-date-card__month {
    font-weight: 800;
    color: var(--brand, #667eea);
    -webkit-text-fill-color: var(--brand, #667eea);
}

.home-2026 .ui-date-card__desc {
    margin: 0;
    flex: 1;
    font-size: 0.86rem;
    line-height: 1.65;
    padding-block: 0.1em;
    color: var(--muted-foreground);
    overflow: visible;
}

.home-2026 .ui-date-card__cta {
    width: 100%;
    margin-top: 0.35rem;
}

.home-2026 .ui-dates-footer {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    max-width: 36rem;
    line-height: 1.6;
}

.home-2026 .ui-dates-footer a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.home-2026 .ui-dates-footer a:hover {
    color: var(--brand-teal);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .home-2026 .ui-dates-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ----- Service cards ----- */
.home-2026 .card-service {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 34px -22px rgba(11, 11, 18, 0.3);
}

.home-2026 .card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px -26px rgba(20, 184, 166, 0.4);
    border-color: rgba(20, 184, 166, 0.3);
}

.home-2026 .card-service .service-icon,
.home-2026 .chooseus-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(255, 124, 23, 0.10));
    border-radius: 18px;
    padding: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-2026 .card-service .service-icon i,
.home-2026 .chooseus-icon i {
    color: var(--brand) !important;
}

.home-2026 .card-service .service-title h4 {
    color: var(--foreground);
    font-weight: 700;
}

/* ----- Choose-us cards ----- */
.home-2026 .card-chooseus {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 34px -24px rgba(11, 11, 18, 0.3);
}

.home-2026 .card-chooseus:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -28px rgba(79, 70, 229, 0.4);
    border-color: rgba(79, 70, 229, 0.25);
}

.home-2026 .chooseus-title {
    color: var(--foreground);
    font-weight: 700;
}

.home-2026 .link-wrapper a {
    color: var(--brand);
    font-weight: 600;
}

.home-2026 .link-wrapper i,
.home-2026 .accent-color {
    color: var(--brand-amber);
}

.home-2026 .card-chooseus-cta {
    background: var(--section-gradient);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 18px 40px -18px rgba(79, 70, 229, 0.6);
}

.home-2026 .card-chooseus-cta h5 {
    color: #fff;
}

.home-2026 .card-chooseus-cta .link-wrapper a,
.home-2026 .card-chooseus-cta .link-wrapper i {
    color: #fff;
}

.home-2026 .hero-grade-badge {
    margin-bottom: 0;
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.42rem;
    line-height: 1;
    width: max-content;
    max-width: none;
}

.home-2026 .hero-grade-badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    line-height: 1;
    flex-shrink: 0;
}

.home-2026 .hero-grade-badge span {
    color: #fde68a;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    white-space: nowrap;
}

.home-2026 .section-banner .hero-grade-badge {
    display: inline-flex;
}

/* Hero banner — centered content */
.home-2026 .section-banner .hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-2026 .section-banner .guide-content {
    align-items: center;
    text-align: center;
}

/* Title: larger "AI Olympiad" with badge above "Olympiad" */
.home-2026 .hero-title-stack.monoton-regular {
    font-size: clamp(2.925rem, 6.75vw, 5.175rem) !important;
    letter-spacing: 0.06em;
}

.home-2026 .hero-title-stack {
    margin-bottom: 0.15rem;
    text-align: center;
    width: 100%;
}

.home-2026 .hero-title-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    line-height: 1.05;
}

.home-2026 .hero-title-aio {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 1.28em;
    letter-spacing: 0.02em;
    line-height: 1;
}

.home-2026 .hero-title-prefix,
.home-2026 .hero-title-o {
    margin-right: 0;
    font-size: 1em;
    line-height: 1;
}

.home-2026 .hero-title-olympiad-group {
    position: relative;
    display: inline-block;
    margin-left: 0;
    vertical-align: bottom;
    overflow: visible;
    font-size: 0.936em;
}

.home-2026 .hero-grade-badge--over-olympiad {
    position: absolute;
    right: 0;
    left: auto;
    transform: none;
    bottom: calc(100% + 0.12rem);
    margin: 0;
    width: max-content;
    max-width: none;
    flex-wrap: nowrap !important;
}

.home-2026 .hero-title-olympiad {
    display: block;
    letter-spacing: 0.04em;
}

.home-2026 .hero-title-lympiad {
    display: inline-block;
}

.home-2026 .hero-text-content h3.title-heading-main-banner {
    margin-top: 0;
    margin-bottom: 1rem;
}

.home-2026 .hero-lede {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
    font-weight: 600;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
    white-space: normal;
}

@media (min-width: 769px) {
    .home-2026 .hero-lede {
        width: max-content;
        max-width: 100%;
        white-space: nowrap;
    }
}

.home-2026 .hero-lede__highlight {
    display: inline;
    font-size: 1.45em;
    font-weight: 800;
    background-image: linear-gradient(
        90deg,
        #ff9933 0%,
        #ff9933 18%,
        #ffffff 36%,
        #ffffff 50%,
        #138808 68%,
        #138808 82%,
        #ff9933 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: heroTricolorFlow 4.5s ease-in-out infinite;
}

@keyframes heroTricolorFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (min-width: 576px) {
    .home-2026 .hero-title-row {
        flex-wrap: nowrap;
    }
}

/* ----- Countdown (hero, over video) ----- */
.home-2026 .hero-countdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.5);
}

.home-2026 .countdown-value {
    background: linear-gradient(135deg, #fff, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.home-2026 .countdown-label {
    color: rgba(255, 255, 255, 0.85);
}

/* ----- Newsletter ----- */
.home-2026 .newsletter-wrapper {
    background: var(--section-gradient);
    border-radius: 28px;
    box-shadow: 0 30px 70px -30px rgba(79, 70, 229, 0.6);
    overflow: hidden;
}

.home-2026 main .section .newsletter-wrapper .title-heading {
    background-image: linear-gradient(100deg, #ffffff, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.25;
    padding-block: 0.12em;
    overflow: visible;
}

.home-2026 .newsletter-wrapper p {
    color: rgba(255, 255, 255, 0.85);
}

/* "Powered By" band sits on indigo -> heading must be solid white, not gradient */
.home-2026 .section[style*="--secondary"] .title-heading {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

.home-2026 .newsletter-wrapper .input-container input,
.home-2026 .newsletter-layout .input-container input,
.home-2026 #newsletterForm input {
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.home-2026 .newsletter-wrapper .input-container input::placeholder,
.home-2026 .newsletter-layout .input-container input::placeholder,
.home-2026 #newsletterForm input::placeholder {
    color: #ffffff !important;
    opacity: 0.9;
}

.home-2026 .newsletter-wrapper .btn-accent {
    background: var(--site-gradient-orange);
}

.home-2026 .newsletter-wrapper .btn-accent:hover {
    background: var(--site-gradient-orange);
}

.home-2026 .newsletter-layout {
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) !important;
    gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.home-2026 .newsletter-layout .spacer {
    display: none;
}

.home-2026 .newsletter-layout > .d-flex.flex-column {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    align-items: center !important;
    text-align: center;
    gap: 1rem !important;
}

.home-2026 .newsletter-layout .title-heading {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
    line-height: 1.25 !important;
    padding-block: 0.12em;
    overflow: visible;
}

.home-2026 .newsletter-layout > .d-flex.flex-column > p,
.home-2026 .newsletter-layout > .d-flex.flex-column .gspace-2 p {
    margin: 0;
    max-width: 28rem;
    font-size: 0.9rem;
    line-height: 1.65;
    padding-block: 0.1em;
}

.home-2026 .newsletter-form,
.home-2026 #newsletterForm.newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    align-self: center !important;
}

.home-2026 #newsletterForm.newsletter-form button:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
}

.home-2026 .newsletter-form__row {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: auto;
    max-width: min(100%, 28rem);
    padding: 0.28rem 0.28rem 0.28rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-2026 .newsletter-form .input-container {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 19rem;
}

.home-2026 .newsletter-form input,
.home-2026 #newsletterForm.newsletter-form input {
    width: 100% !important;
    padding: 0.48rem 0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.home-2026 .newsletter-form input::placeholder,
.home-2026 #newsletterForm.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1 !important;
}

.home-2026 .newsletter-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.5rem 0.7rem 0.5rem 0.9rem;
    border: none;
    border-radius: 999px;
    background: var(--site-gradient-orange) !important;
    color: #ffffff !important;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 16px -8px rgba(245, 158, 11, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-2026 .newsletter-form__btn i {
    width: 1.4rem;
    height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.62rem;
    flex-shrink: 0;
}

.home-2026 .newsletter-form__btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -8px rgba(245, 158, 11, 0.75);
}

.home-2026 .newsletter-form__btn.is-loading,
.home-2026 .newsletter-form__btn:disabled {
    opacity: 0.82;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
    box-shadow: none;
}

/* Compact success / error banners on the dark newsletter card */
.home-2026 .newsletter-alert,
.home-2026 #newsletter-success.newsletter-alert,
.home-2026 #newsletter-error.newsletter-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: auto;
    max-width: min(100%, 28rem);
    margin: 0 auto;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    box-sizing: border-box;
    text-align: left;
}

.home-2026 .newsletter-alert.hidden,
.home-2026 #newsletter-success.hidden,
.home-2026 #newsletter-error.hidden {
    display: none !important;
}

.home-2026 .newsletter-alert p,
.home-2026 #newsletter-success.newsletter-alert p,
.home-2026 #newsletter-error.newsletter-alert p,
.home-2026 .newsletter-layout .newsletter-alert p {
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
}

.home-2026 .newsletter-alert__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 0.75rem;
    line-height: 1;
    color: #ffffff;
}

.home-2026 .newsletter-alert--success,
.home-2026 #newsletter-success.newsletter-alert--success {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.45);
    color: #0f172a !important;
}

.home-2026 .newsletter-alert--success .newsletter-alert__icon {
    background: linear-gradient(145deg, #34d399, #059669);
    box-shadow: 0 4px 12px -4px rgba(16, 185, 129, 0.7);
    color: #ffffff;
}

.home-2026 .newsletter-alert--error,
.home-2026 #newsletter-error.newsletter-alert--error {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.45);
    color: #0f172a !important;
}

.home-2026 .newsletter-alert--error .newsletter-alert__icon {
    background: linear-gradient(145deg, #f87171, #dc2626);
    box-shadow: 0 4px 12px -4px rgba(239, 68, 68, 0.7);
    color: #ffffff;
}

.home-2026 .newsletter-alert--error p,
.home-2026 #newsletter-error.newsletter-alert p {
    color: #991b1b !important;
}

.home-2026 .newsletter-alert--success p,
.home-2026 #newsletter-success.newsletter-alert p {
    color: #065f46 !important;
}

@keyframes newsletter-alert-in {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-2026 .newsletter-alert:not(.hidden) {
    animation: newsletter-alert-in 0.35s ease-out;
}

.home-2026 .newsletter-form__btn .btn-loader,
.btn.btn-accent .btn-loader,
.btn.is-loading .btn-loader {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: aio-btn-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.btn.btn-accent.is-loading,
.btn.btn-accent:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
}

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

.home-2026 .newsletter-form .error-text {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    margin: 0;
    font-size: 0.75rem;
    color: #fecaca;
    white-space: nowrap;
}

.home-2026 .newsletter-form .input-container {
    position: relative;
}

@media (max-width: 480px) {
    .home-2026 .newsletter-form__row {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        width: 100%;
        padding: 0.55rem;
        border-radius: 16px;
        gap: 0.5rem;
    }

    .home-2026 .newsletter-form .input-container {
        max-width: none;
        width: 100%;
    }

    .home-2026 .newsletter-form input {
        padding: 0.45rem 0.65rem !important;
        text-align: center;
    }

    .home-2026 .newsletter-form__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----- Powered-By panel (indigo section via --secondary) ----- */
.home-2026 .section.section-powered-by,
.home-2026 .section[style*="--secondary"],
.home-2026 .section[style*="secondary"] {
    background: var(--section-gradient) !important;
    border-radius: 0;
    margin-top: -2px;
    width: 100%;
    max-width: 100%;
}

.home-2026 .section[style*="secondary"] .card {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    border-radius: 16px;
}

/* ----- Service footer link ----- */
.home-2026 .service-link-footer a {
    color: var(--brand);
    font-weight: 700;
}

/* =========================================================================
   OVERRIDE FIXES — beat dark-theme base styles (higher specificity + !important)
   ========================================================================= */

/* ---- Service cards: force light, fix even-child black card ---- */
.home-2026 main .section .card-service,
.home-2026 main .col:nth-child(even) .card-service {
    background-image: none !important;
    background-color: var(--card) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 14px 40px -24px rgba(11, 11, 18, 0.28) !important;
}

/* Service icon: drop indigo block + dark tile, use soft tint with visible glyph */
.home-2026 .service-icon-wrapper {
    background: transparent !important;
    width: auto !important;
    min-height: 0 !important;
}

.home-2026 .service-icon {
    width: 72px !important;
    min-height: 72px !important;
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.14), rgba(255, 124, 23, 0.12)) !important;
    box-shadow: none !important;
    border-radius: 18px !important;
}

.home-2026 .service-icon i {
    color: var(--brand) !important;
}

/* ---- Choose-Us cards: kill blob shapes, force light ---- */
.home-2026 main .card-chooseus,
.home-2026 main .card-chooseus:nth-child(even) {
    background-image: none !important;
    background-color: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 38px -26px rgba(11, 11, 18, 0.3) !important;
}

.home-2026 .chooseus-icon-wrapper {
    min-height: auto !important;
}

.home-2026 .chooseus-icon-layout {
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

.home-2026 .card-chooseus .chooseus-icon,
.home-2026 .card-chooseus:nth-child(even) .chooseus-icon {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.14), rgba(255, 124, 23, 0.12)) !important;
    box-shadow: none !important;
    width: 84px !important;
    height: 84px !important;
    border-radius: 18px !important;
}

.home-2026 .chooseus-icon i {
    color: var(--brand) !important;
}

/* Remove the indigo "speech bubble" spacer shadows */
.home-2026 .chooseus-spacer.above,
.home-2026 .chooseus-spacer.below,
.home-2026 .chooseus-cta-spacer {
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
}

.home-2026 .chooseus-title {
    color: var(--foreground) !important;
}

.home-2026 .chooseus-content p {
    color: var(--muted-foreground) !important;
}

/* Choose-Us CTA card frame: clean it up */
.home-2026 .card-chooseus-cta-wrapper {
    background-color: transparent !important;
    padding: 0 !important;
}

.home-2026 .card-chooseus-cta {
    background-image: var(--section-gradient) !important;
    box-shadow: 0 18px 40px -18px rgba(79, 70, 229, 0.55) !important;
    border-radius: 20px !important;
}

/* ---- Newsletter: the visible dark box is .newsletter-layout ---- */
.home-2026 .newsletter-wrapper::before {
    opacity: 0 !important;
}

.home-2026 .newsletter-layout {
    background-image: var(--section-gradient) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.home-2026 .newsletter-layout p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.home-2026 .newsletter-wrapper .btn-accent {
    background: var(--site-gradient-orange) !important;
}

/* =========================================================================
   INTERIOR PAGE HEADERS (About, FAQ, Contact, Mentors, etc.)
   ========================================================================= */
:is(.site-2026, .register-2026) main > .section-banner {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin: 0;
}

:is(.home-2026, .site-2026, .register-2026) .section-banner .page-header-banner,
:is(.home-2026, .site-2026, .register-2026) .section-banner .banner-layout-wrapper {
    background-color: transparent !important;
    background-image: var(--section-gradient) !important;
    border: none !important;
    border-radius: 0 !important;
    width: 100%;
    max-width: none;
}

:is(.home-2026, .site-2026, .register-2026) .page-header-banner--compact {
    border-radius: 0 !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-banner .page-header-content h1,
:is(.home-2026, .site-2026, .register-2026) .section-banner .page-header-content p,
:is(.home-2026, .site-2026, .register-2026) .section-banner .page-header-content .title-heading-main-banner {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

/* =========================================================================
   FOOTER FIX (public pages; footer is dark-themed -> force light text)
   ========================================================================= */
:is(.home-2026, .site-2026, .register-2026) .section-footer .bg-footer {
    background-color: transparent !important;
    background-image: var(--section-gradient) !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer .bg-footer-wrapper::before,
:is(.home-2026, .site-2026, .register-2026) .section-footer .bg-footer::before {
    opacity: 0 !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer h4,
:is(.home-2026, .site-2026, .register-2026) .section-footer h5,
:is(.home-2026, .site-2026, .register-2026) .footer-logo-container h4 {
    color: #ffffff !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer p,
:is(.home-2026, .site-2026, .register-2026) .footer-list a,
:is(.home-2026, .site-2026, .register-2026) .contact-list li,
:is(.home-2026, .site-2026, .register-2026) .copyright,
:is(.home-2026, .site-2026, .register-2026) .legal-link,
:is(.home-2026, .site-2026, .register-2026) .footer-contact-item,
:is(.home-2026, .site-2026, .register-2026) .copyright a {
    color: rgba(255, 255, 255, 0.82) !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-list a:hover,
:is(.home-2026, .site-2026, .register-2026) .legal-link:hover,
:is(.home-2026, .site-2026, .register-2026) .copyright a:hover {
    color: var(--brand-amber) !important;
}

:is(.home-2026, .site-2026, .register-2026) .copyright-container {
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer .social-item-wrapper {
    background-color: rgba(255, 255, 255, 0.14) !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer .social-item {
    color: #ffffff !important;
}

/* ---- "Read More" / "View All FAQs" links: don't turn white on hover ---- */
:is(.home-2026, .site-2026, .register-2026) .link-wrapper:hover a,
:is(.home-2026, .site-2026, .register-2026) .link-wrapper:hover i {
    color: var(--brand) !important;
}

/* ---- Footer layout & alignment (all public pages) ---- */
:is(.home-2026, .site-2026, .register-2026) footer {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    
}

:is(.home-2026, .site-2026, .register-2026) .section-footer {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin: 0;
}

:is(.home-2026, .site-2026, .register-2026) .bg-footer-wrapper {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    border-radius: 0 !important;
}

:is(.home-2026, .site-2026, .register-2026) .bg-footer {
    width: 100%;
    max-width: none;
    padding: 2.75rem 0 0 !important;
    border-radius: 0 !important;
    gap: 0 !important;
}

:is(.home-2026, .site-2026, .register-2026) .section-footer .hero-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 767px) {
    :is(.home-2026, .site-2026, .register-2026) .section-footer .hero-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

:is(.home-2026, .site-2026, .register-2026) .footer-columns {
    align-items: flex-start !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-logo-container,
:is(.home-2026, .site-2026, .register-2026) .footer-quick-links,
:is(.home-2026, .site-2026, .register-2026) .footer-services-container,
:is(.home-2026, .site-2026, .register-2026) .footer-contact-container {
    gap: 0.85rem !important;
    align-items: flex-start !important;
    text-align: left !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-logo-container h4,
:is(.home-2026, .site-2026, .register-2026) .section-footer h5 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-logo-container p {
    margin: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    max-width: 22rem;
}

:is(.home-2026, .site-2026, .register-2026) .footer-list,
:is(.home-2026, .site-2026, .register-2026) .contact-list {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

:is(.home-2026, .site-2026, .register-2026) .footer-list li,
:is(.home-2026, .site-2026, .register-2026) .contact-list li {
    margin-bottom: 0.45rem !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-list a {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-contact-container .d-flex.flex-column {
    gap: 0.65rem !important;
    width: 100%;
}

:is(.home-2026, .site-2026, .register-2026) .social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.15rem;
}

:is(.home-2026, .site-2026, .register-2026) .footer-copyright {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 2rem !important;
    padding: 1.15rem 0 !important;
}

:is(.home-2026, .site-2026, .register-2026) .copyright,
:is(.home-2026, .site-2026, .register-2026) .legal-link {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
}

:is(.home-2026, .site-2026, .register-2026) .footer-content-spacer,
:is(.home-2026, .site-2026, .register-2026) .footer-spacer {
    display: none !important;
}

@media (max-width: 1199px) {
    :is(.home-2026, .site-2026, .register-2026) > header {
        z-index: 200;
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar {
        position: relative;
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar-collapse {
        z-index: 210;
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar-collapse.show {
        background: rgba(12, 12, 20, 0.97) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar-collapse.show .nav-link {
        color: rgba(255, 255, 255, 0.92) !important;
        text-align: center !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar-collapse.show .nav-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #fde68a !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    :is(.site-2026, .register-2026) .page-hero--under-header .page-header-banner--compact,
    :is(.site-2026, .register-2026) main > .section-banner .page-header-banner--compact {
        padding-top: calc(clamp(4.75rem, 11vh, 5.75rem) + 1rem) !important;
        padding-bottom: 2.25rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    :is(.site-2026, .register-2026) .page-header-banner--compact {
        padding: 2rem 1.25rem 2.25rem !important;
    }

    :is(.site-2026, .register-2026) .page-header-banner--compact .title-heading-main-banner {
        font-size: clamp(1.45rem, 6vw, 1.9rem) !important;
        white-space: normal !important;
    }

    :is(.site-2026, .register-2026) .page-header-banner--compact .page-header-about-aio.title-heading-main-banner {
        white-space: nowrap !important;
        font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
        gap: 0.3em;
    }

    :is(.site-2026, .register-2026) .page-header-banner--compact .page-header-content > p {
        font-size: 0.88rem !important;
        padding-inline: 0.25rem;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-columns > .col:has(.footer-quick-links),
    :is(.home-2026, .site-2026, .register-2026) .footer-columns > .col:has(.footer-services-container) {
        display: none !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-logo-container,
    :is(.home-2026, .site-2026, .register-2026) .footer-contact-container {
        align-items: flex-start !important;
        text-align: left !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-logo-container .logo-container-footer {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-list,
    :is(.home-2026, .site-2026, .register-2026) .contact-list {
        align-items: flex-start !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-list li,
    :is(.home-2026, .site-2026, .register-2026) .contact-list li {
        justify-content: flex-start !important;
        text-align: left;
    }

    :is(.home-2026, .site-2026, .register-2026) .social-container {
        justify-content: flex-start;
    }

    :is(.home-2026, .site-2026, .register-2026) .bg-footer {
        padding-top: 2.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-columns {
        row-gap: 1.75rem !important;
    }

    :is(.home-2026, .site-2026, .register-2026) .footer-copyright {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
        padding: 1rem 0 0.25rem !important;
    }

    .home-2026 main .section.section-powered-by {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-2026 main .section.section-powered-by > .hero-container {
        padding-left: var(--section-side-gap, 1.25rem);
        padding-right: var(--section-side-gap, 1.25rem);
    }

    .home-2026 .section-powered-by .col-lg-5 {
        text-align: center !important;
    }

    .home-2026 .section-powered-by .col-lg-5 .d-flex.flex-column {
        align-items: center !important;
    }

    .home-2026 .section-powered-by .col-lg-5 .d-flex.flex-column > .d-flex.flex-column {
        align-items: center !important;
    }

    .home-2026 .section-powered-by .col-lg-5 img {
        margin-inline: auto;
    }

    .home-2026 .section-powered-by .col-lg-7 .row {
        justify-content: center;
    }

    .home-2026 .section-powered-by .powered-by-heading,
    .home-2026 .section-powered-by h2.title-heading {
        white-space: normal !important;
        font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .home-2026 .ui-pricing-heading {
        white-space: normal !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-2026 main .section .title-heading {
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .home-2026 .card-chooseus {
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .home-2026 .chooseus-icon-wrapper {
        width: 100% !important;
        min-height: 0 !important;
    }

    .home-2026 .chooseus-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 1.25rem !important;
        box-sizing: border-box;
    }

    .home-2026 .chooseus-title,
    .home-2026 .chooseus-content p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .home-2026 main .section {
        max-width: 100%;
        overflow-x: clip;
    }

    .home-2026 main .section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }
}

/* ---- Hero: full-bleed video, navbar overlays (no black gap) ---- */
:is(.home-2026, .site-2026, .register-2026) > header,
:is(.home-2026, .site-2026, .register-2026) > header.site-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    width: 100%;
}

/* Mobile: sticky header — hide on scroll down, show on scroll up */
@media (max-width: 1199px) {
    :is(.home-2026, .site-2026, .register-2026) > header,
    :is(.home-2026, .site-2026, .register-2026) > header.site-header--transparent {
        position: fixed;
        transform: translate3d(0, 0, 0);
        transition: transform 0.28s ease, background 0.25s ease, box-shadow 0.25s ease;
        will-change: transform;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-hidden {
        transform: translate3d(0, -110%, 0);
        pointer-events: none;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-hidden .navbar-collapse.show {
        pointer-events: auto;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-scrolled .navbar,
    :is(.home-2026, .site-2026, .register-2026) > header.site-header--transparent.is-header-scrolled .navbar {
        background: rgba(8, 8, 16, 0.92) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.55);
        padding-top: 0.55rem !important;
        padding-bottom: 0.55rem !important;
    }

    :is(.home-2026, .site-2026, .register-2026) > header .site-logo__mark {
        transition: font-size 0.25s ease, gap 0.25s ease;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-scrolled .site-logo__mark {
        font-size: 0.92rem !important;
        gap: 0.08em;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-scrolled .site-logo__aio {
        font-size: 1.12em;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-scrolled .site-logo__lympiad {
        font-size: 0.82em;
    }

    :is(.home-2026, .site-2026, .register-2026) > header.is-header-scrolled .site-logo__i-dot {
        width: 0.2em;
        height: 0.2em;
        min-width: 4px;
        min-height: 4px;
    }

    @media (prefers-reduced-motion: reduce) {
        :is(.home-2026, .site-2026, .register-2026) > header,
        :is(.home-2026, .site-2026, .register-2026) > header.site-header--transparent {
            transition: none;
        }

        :is(.home-2026, .site-2026, .register-2026) > header .site-logo__mark {
            transition: none;
        }
    }
}

:is(.home-2026, .site-2026, .register-2026) > header .navbar,
.site-header--transparent .navbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%) !important;
}

:is(.site-2026, .register-2026) > header .user-name,
:is(.site-2026, .register-2026) > header .user-menu i.fa-chevron-down {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Interior heroes: gradient extends to top behind overlay header */
:is(.site-2026, .register-2026) main > .section-banner,
:is(.site-2026, .register-2026) .page-hero--under-header.section-banner {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin: 0;
}

:is(.site-2026, .register-2026) .page-hero--under-header .page-header-banner--compact,
:is(.site-2026, .register-2026) main > .section-banner .page-header-banner--compact {
    padding-top: calc(clamp(5rem, 12vh, 6.5rem) + 1.25rem) !important;
    padding-bottom: 2.6rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    border-radius: 0 !important;
}

:is(.site-2026, .register-2026) main > .page-hero--under-header.success-container,
:is(.site-2026, .register-2026) .success-container.page-hero--under-header {
    box-sizing: border-box;
    min-height: 100svh;
    padding-top: calc(clamp(5rem, 12vh, 6.5rem) + 2rem) !important;
}

.home-2026 main .section-banner,
.home-2026 .section-banner {
    padding: 0 !important;
    margin: 0;
}

.home-2026 .guide-banner-ground {
    display: none;
}

.home-2026 .guide-banner {
    min-height: 100svh;
    padding: 0 !important;
    border: none !important;
    border-radius: 0;
    background-color: #000;
}

/* Homepage hero overlay — frozen; do not apply site-gradient-banner here */
.home-2026 .guide-banner::before {
    background-color: transparent;
    background-image: linear-gradient(180deg, #0404047D 100%, #4f46e5 100%);
}

.home-2026 .guide-banner-video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home-2026 .section-banner .guide-content {
    padding-top: calc(clamp(5.5rem, 14vh, 7.5rem) - 20px);
}

@media (max-width: 768px) {
    .home-2026 .guide-banner {
        min-height: 100svh;
        min-height: 100dvh;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .home-2026 .section-banner,
    .home-2026 main .section-banner {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .home-2026 .section-banner .hero-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .home-2026 .section-banner .guide-content {
        position: absolute !important;
        inset: 0;
        width: 100% !important;
        max-width: none !important;
        justify-content: center !important;
        align-items: stretch !important;
        padding: 4.75rem 0.75rem 1rem !important;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        text-align: center;
    }

    .home-2026 .hero-text-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        padding-inline: 0 !important;
        box-sizing: border-box;
        align-items: center;
    }

    .home-2026 .hero-title-stack.monoton-regular {
        font-size: clamp(2rem, 9.18vw, 2.81rem) !important;
        letter-spacing: 0.04em;
        margin-bottom: 0.1rem;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .home-2026 .hero-title-row {
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-end;
        max-width: 100%;
    }

    .home-2026 .hero-title-olympiad-group {
        margin-left: 0.04em;
    }

    .home-2026 .hero-grade-badge {
        padding: 0.3rem 0.55rem;
        gap: 0.35rem;
    }

    .home-2026 .hero-grade-badge span {
        font-size: 0.68rem;
    }

    .home-2026 .hero-text-content h3.title-heading-main-banner {
        font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
        margin-top: 0;
        margin-bottom: 0.65rem;
        max-width: 100%;
        overflow-wrap: break-word;
        padding-inline: 0.15rem;
    }

    .home-2026 .hero-text-content p,
    .home-2026 .hero-lede {
        font-size: clamp(0.88rem, 3.8vw, 1.05rem) !important;
        line-height: 1.45 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto;
        white-space: normal !important;
        overflow-wrap: break-word;
        padding-inline: 0.15rem;
        box-sizing: border-box;
    }

    .home-2026 .hero-lede__highlight {
        font-size: 1.28em;
        white-space: normal;
    }

    .home-2026 .hero-cta-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        width: 100% !important;
        max-width: none !important;
        padding-inline: 0;
        box-sizing: border-box;
    }

    .home-2026 .hero-cta-section .btn {
        width: min(100%, 24rem) !important;
        max-width: 24rem !important;
        margin-inline: auto;
    }

    .home-2026 .section-banner .hero-cta-section .btn.btn-accent {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0.3rem 0.3rem 0.3rem 0.35rem !important;
    }

    .home-2026 .section-banner .hero-cta-section .btn .btn-title {
        padding: 0.65rem 0.55rem !important;
    }

    .home-2026 .hero-countdown {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 1rem 0 0;
        padding: 1rem 0.75rem;
        align-items: center;
        box-sizing: border-box;
        border-radius: 16px;
    }

    .home-2026 .hero-countdown .countdown-heading {
        align-items: center;
    }

    .home-2026 .hero-countdown .countdown-grid {
        width: 100%;
        justify-content: space-between;
        gap: 0.35rem;
    }

    .home-2026 .hero-countdown .countdown-segment {
        flex: 1 1 0;
        min-width: 0;
    }

    .home-2026 .hero-countdown .countdown-value {
        font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    }

    .home-2026 > header .navbar {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .home-2026 .logo-container {
        max-width: 70%;
    }
}

@media (max-width: 480px) {
    .home-2026 .section-banner .guide-content {
        padding: 4.25rem 0.5rem 0.75rem !important;
    }

    .home-2026 .hero-title-stack.monoton-regular {
        font-size: clamp(1.84rem, 8.64vw, 2.38rem) !important;
    }

    .home-2026 .hero-grade-badge--over-olympiad {
        bottom: calc(100% + 0.08rem);
    }

    .home-2026 > header .navbar {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* ----- Hero brand: AIO same size + blinking LED on I ----- */
.home-2026 .hero-brand-i {
    position: relative;
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    vertical-align: baseline;
}

.home-2026 .hero-brand-i-dot {
    position: absolute;
    left: 50%;
    top: -0.06em;
    transform: translate(-50%, -100%);
    width: 0.24em;
    height: 0.24em;
    min-width: 6px;
    min-height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
    animation: site-logo-i-blink 2s ease-in-out infinite;
    will-change: opacity, transform, box-shadow;
}

@keyframes hero-brand-i-blink {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -100%) scale(1);
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
    }
    50% {
        opacity: 0.35;
        transform: translate(-50%, -100%) scale(0.82);
        box-shadow: 0 0 4px rgba(239, 68, 68, 0.35);
    }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    .home-2026 .card,
    .home-2026 .btn-accent,
    .home-2026 .btn-accent .icon-circle {
        transition: none;
    }

    .home-2026 .hero-brand-i-dot {
        animation: none;
        opacity: 1;
    }

    :is(.home-2026, .site-2026, .register-2026) .navbar .nav-cta-badge::before {
        animation: none;
        opacity: 1;
    }
}
