/* Public DPO home: header and first hero only. */
.dpo-landing-page {
    --home-navy: #071d3a;
}

html {
    scroll-behavior: smooth;
}

.ikrz-home-header {
    position: fixed;
    top: 22px;
    left: 50%;
    width: min(1320px, calc(100% - 56px));
    z-index: 100;
    border: 1px solid rgba(231, 241, 255, 0.24);
    border-radius: 8px;
    background: rgba(7, 25, 52, 0.4);
    box-shadow: 0 18px 42px rgba(2, 12, 30, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateX(-50%);
    transition: width 280ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
    animation: ikrz-home-header-in 620ms 80ms both;
}

.ikrz-home-header__inner {
    width: min(1320px, 100%);
    min-height: 78px;
    margin: 0 auto;
    padding: 5px 18px 5px 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.ikrz-home-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 180px;
    height: 60px;
    gap: 0;
    color: #ffffff;
    text-decoration: none;
    min-width: 0;
}

.ikrz-home-brand__logo {
    position: absolute;
    inset: 0;
    width: 180px;
    height: 60px;
    display: block;
    object-fit: contain;
    transition: opacity 180ms ease;
}

.ikrz-home-brand__logo--light {
    opacity: 0;
}

.ikrz-home-nav {
    position: relative;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(230, 240, 255, 0.14);
    border-radius: 999px;
    background: rgba(3, 17, 39, 0.3);
}

.ikrz-home-nav__indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    pointer-events: none;
    transition: transform 240ms ease, width 240ms ease;
}

.ikrz-home-nav a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 999px;
    color: rgba(248, 251, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.ikrz-home-nav a:hover,
.ikrz-home-nav a:focus-visible,
.ikrz-home-nav a[aria-current="page"] {
    color: #ffffff;
}

.ikrz-home-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ikrz-home-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid rgba(233, 243, 255, 0.28);
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ikrz-home-action--login { background: rgba(255, 255, 255, 0.1); }

.ikrz-home-action--register {
    border-color: transparent;
    background: linear-gradient(112deg, #4d8cff, #3cc9bb);
    box-shadow: 0 10px 22px rgba(29, 128, 230, 0.25);
}

.ikrz-home-action:hover,
.ikrz-home-action:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.ikrz-home-action--login:hover,
.ikrz-home-action--login:focus-visible {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.18);
}

.ikrz-home-action--register:hover,
.ikrz-home-action--register:focus-visible {
    box-shadow: 0 14px 30px rgba(29, 128, 230, 0.38);
}

.ikrz-home-menu { display: none; position: relative; }

.ikrz-home-menu summary {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 243, 255, 0.28);
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
}

.ikrz-home-menu summary::-webkit-details-marker { display: none; }

.ikrz-home-menu__icon,
.ikrz-home-menu__icon::before,
.ikrz-home-menu__icon::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
}

.ikrz-home-menu__icon { position: relative; }
.ikrz-home-menu__icon::before,
.ikrz-home-menu__icon::after { content: ""; position: absolute; left: 0; }
.ikrz-home-menu__icon::before { top: -6px; }
.ikrz-home-menu__icon::after { top: 6px; }

.ikrz-home-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(300px, calc(100vw - 40px));
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(230, 240, 255, 0.22);
    border-radius: 8px;
    background: rgba(6, 23, 49, 0.94);
    box-shadow: 0 20px 42px rgba(2, 12, 30, 0.3);
    backdrop-filter: blur(18px);
}

.ikrz-home-menu__panel a {
    padding: 11px 12px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.ikrz-home-menu__panel a:hover,
.ikrz-home-menu__panel a:focus-visible { background: rgba(255, 255, 255, 0.12); }
.ikrz-home-menu__panel .ikrz-home-action--register { margin-top: 4px; text-align: center; }

.ikrz-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 148px 0 122px;
    background: var(--home-navy);
}

.ikrz-home-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -4%;
    background: url("/img/astgmu1.jpg?v=20260814-assets-1") 54% 52% / cover no-repeat;
    transform: scale(1.04);
    animation: ikrz-home-ken-burns 18s ease-out both;
}

.ikrz-home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 20, 46, 0.78) 0%, rgba(6, 29, 65, 0.62) 42%, rgba(4, 24, 54, 0.3) 72%, rgba(3, 18, 42, 0.28) 100%), linear-gradient(180deg, rgba(3, 18, 42, 0.18), rgba(3, 18, 42, 0.3));
    animation: ikrz-home-overlay-in 780ms ease both;
}

.ikrz-home-hero__inner { width: min(1320px, 92vw); margin: 0 auto; }
.ikrz-home-hero__content { max-width: 960px; }

.ikrz-home-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    max-width: 100%;
    padding: 8px 12px;
    overflow: hidden;
    border: 1px solid rgba(211, 230, 255, 0.3);
    border-radius: 999px;
    background: rgba(223, 237, 255, 0.12);
    color: #dceaff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
    animation: ikrz-home-badge-in 560ms 180ms both;
}

.ikrz-home-badge::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -56%;
    width: 34%;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: ikrz-home-shine 1.2s 950ms ease both;
}

.ikrz-home-title {
    max-width: 940px;
    margin: 24px 0 0;
    color: #ffffff;
    font-family: "Unbounded", "Segoe UI", sans-serif;
    font-size: clamp(46px, 4.35vw, 66px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.04;
    overflow-wrap: normal;
    text-wrap: balance;
    animation: ikrz-home-title-in 620ms 270ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ikrz-home-lead {
    max-width: 670px;
    margin: 22px 0 0;
    color: rgba(241, 247, 255, 0.86);
    font-size: clamp(17px, 1.55vw, 21px);
    font-weight: 500;
    line-height: 1.52;
    animation: ikrz-home-lead-in 620ms 610ms both;
}

.ikrz-home-cta {
    position: relative;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 14px 18px 14px 21px;
    overflow: hidden;
    border: 1px solid rgba(203, 230, 255, 0.44);
    min-width: 238px;
    justify-content: space-between;
    border-radius: 999px;
    background: linear-gradient(110deg, #1d42cf 0%, #2a73f2 52%, #7ab7ff 100%);
    background-size: 160% 100%;
    box-shadow: 0 16px 34px rgba(14, 89, 189, 0.38);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-position 250ms ease;
    animation: ikrz-home-cta-in 540ms 760ms both;
}

.ikrz-home-cta > * { position: relative; z-index: 1; }
.ikrz-home-cta__arrow { font-size: 22px; line-height: 0.8; transition: transform 180ms ease; }

.ikrz-home-cta:hover,
.ikrz-home-cta:focus-visible {
    color: #ffffff;
    background-position: 100% 0;
    box-shadow: 0 21px 40px rgba(14, 89, 189, 0.48);
    transform: translateY(-3px);
}

.ikrz-home-cta:hover .ikrz-home-cta__arrow,
.ikrz-home-cta:focus-visible .ikrz-home-cta__arrow { transform: translate(4px, -3px); }
.ikrz-home-cta:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(14, 89, 189, 0.36); }

.ikrz-home-cta__ripple {
    position: absolute;
    z-index: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    transform: translate(-50%, -50%) scale(0);
    animation: ikrz-home-ripple 540ms ease-out both;
    pointer-events: none;
}

#top,
#journey,
#programs,
#faq,
#contacts {
    scroll-margin-top: 118px;
}

.ikrz-home-header.is-past-hero {
    width: min(640px, calc(100% - 28px));
    border-color: rgba(62, 98, 140, 0.3);
    background: rgba(248, 252, 255, 0.88);
    box-shadow: 0 14px 32px rgba(15, 47, 87, 0.16);
}

.ikrz-home-header__inner,
.ikrz-home-brand,
.ikrz-home-actions {
    transition: min-height 240ms ease, padding 240ms ease, opacity 180ms ease, transform 220ms ease, width 220ms ease, margin 220ms ease, visibility 0s linear;
}

.ikrz-home-header.is-past-hero .ikrz-home-header__inner {
    min-height: 54px;
    padding: 6px;
    grid-template-columns: 0 minmax(0, 1fr) 0;
    gap: 0;
}

.ikrz-home-header.is-past-hero .ikrz-home-brand {
    width: 180px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition-delay: 0ms, 0ms, 0ms, 0ms, 0ms, 0ms, 220ms;
}

.ikrz-home-header.is-past-hero .ikrz-home-actions {
    width: auto;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition-delay: 0ms, 0ms, 0ms, 0ms, 0ms, 0ms, 220ms;
}

.ikrz-home-header.is-past-hero .ikrz-home-nav {
    border-color: rgba(50, 87, 131, 0.18);
    background: rgba(224, 237, 252, 0.75);
}

.ikrz-home-header.is-past-hero .ikrz-home-nav a {
    color: #365271;
}

.ikrz-home-header.is-past-hero .ikrz-home-nav a:hover,
.ikrz-home-header.is-past-hero .ikrz-home-nav a:focus-visible,
.ikrz-home-header.is-past-hero .ikrz-home-nav a[aria-current="page"] {
    color: #12385f;
}

.ikrz-home-header.is-past-hero .ikrz-home-nav__indicator {
    background: rgba(56, 123, 219, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

@media (min-width: 841px) {
    .ikrz-home-header__inner {
        position: relative;
        display: block;
    }

    .ikrz-home-brand,
    .ikrz-home-actions,
    .ikrz-home-nav {
        position: absolute;
        top: 50%;
    }

    .ikrz-home-brand {
        left: 22px;
        transform: translateY(-50%);
    }

    .ikrz-home-actions {
        right: 18px;
        transform: translateY(-50%);
    }

    .ikrz-home-nav {
        left: 50%;
        justify-self: auto;
        transform: translate(-50%, -50%);
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 841px) {
    .ikrz-home-header.is-past-hero:hover,
    .ikrz-home-header.is-past-hero:focus-within {
        width: min(1320px, calc(100% - 56px));
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-header__inner,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-header__inner {
        min-height: 78px;
        padding: 5px 18px 5px 22px;
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-brand,
    .ikrz-home-header.is-past-hero:hover .ikrz-home-actions,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-brand,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-actions {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%);
        transition-delay: 0ms;
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-brand__logo--dark,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-brand__logo--dark {
        opacity: 0;
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-brand__logo--light,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-brand__logo--light {
        opacity: 1;
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-action--login,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-action--login {
        border-color: rgba(35, 82, 133, 0.32);
        background: rgba(255, 255, 255, 0.9);
        color: #12385f;
        box-shadow: 0 5px 14px rgba(30, 77, 125, 0.1);
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-action--login:hover,
    .ikrz-home-header.is-past-hero:hover .ikrz-home-action--login:focus-visible,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-action--login:hover,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-action--login:focus-visible {
        border-color: rgba(56, 123, 219, 0.52);
        background: rgba(231, 242, 255, 0.96);
        color: #0d3158;
    }

    .ikrz-home-header.is-past-hero:hover .ikrz-home-action--register,
    .ikrz-home-header.is-past-hero:focus-within .ikrz-home-action--register {
        color: #ffffff;
        box-shadow: 0 12px 26px rgba(29, 128, 230, 0.32);
    }
}

@keyframes ikrz-home-header-in {
    from { opacity: 0; filter: blur(10px); transform: translate(-50%, -18px); }
    to { opacity: 1; filter: blur(0); transform: translate(-50%, 0); }
}
@keyframes ikrz-home-ken-burns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}
@keyframes ikrz-home-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ikrz-home-badge-in {
    from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(8px); }
    to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes ikrz-home-shine { to { left: 122%; } }
@keyframes ikrz-home-title-in { from { opacity: 0; filter: blur(6px); transform: translateY(18px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes ikrz-home-lead-in { from { opacity: 0; filter: blur(8px); transform: translateY(16px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes ikrz-home-cta-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ikrz-home-ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(22); } }
@keyframes ikrz-home-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
    .ikrz-home-header__inner { gap: 14px; }
    .ikrz-home-nav a { padding-inline: 10px; font-size: 13px; }
}

@media (max-width: 840px) {
    .ikrz-home-header { top: 12px; width: calc(100% - 28px); }
    .ikrz-home-header__inner { min-height: 58px; padding: 8px 10px 8px 13px; display: flex; justify-content: space-between; }
    .ikrz-home-nav, .ikrz-home-actions { display: none; }
    .ikrz-home-menu { display: block; }
    .ikrz-home-hero { min-height: 100svh; padding: 118px 0 74px; }
    .ikrz-home-header.is-past-hero { width: calc(100% - 28px); background: rgba(7, 25, 52, 0.76); }
    .ikrz-home-header.is-past-hero .ikrz-home-header__inner { min-height: 58px; padding: 8px 10px 8px 13px; display: flex; justify-content: space-between; }
    .ikrz-home-header.is-past-hero .ikrz-home-brand { width: 72px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}

@media (max-width: 560px) {
    .ikrz-home-header {
        top: max(10px, env(safe-area-inset-top));
        width: calc(100% - 24px);
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(2, 12, 30, 0.24);
    }

    .ikrz-home-header__inner {
        min-height: 56px;
        padding: 6px 8px 6px 12px;
    }

    .ikrz-home-brand,
    .ikrz-home-header.is-past-hero .ikrz-home-brand {
        width: 118px;
        height: 34px;
    }

    .ikrz-home-brand__logo {
        width: 118px;
        height: 34px;
    }

    .ikrz-home-menu summary {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.07);
    }

    .ikrz-home-menu__panel {
        top: calc(100% + 8px);
        width: min(320px, calc(100vw - 32px));
        padding: 9px;
        border-radius: 12px;
        background: rgba(6, 23, 49, 0.96);
    }

    .ikrz-home-menu[open] .ikrz-home-menu__panel {
        transform-origin: top right;
        animation: ikrz-home-menu-in 180ms ease both;
    }

    .ikrz-home-menu__panel a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }

    .ikrz-home-hero {
        min-height: 100svh;
        padding: 108px 0 calc(34px + env(safe-area-inset-bottom));
    }

    .ikrz-home-hero__inner {
        width: min(calc(100% - 32px), 430px);
        min-width: 0;
    }

    .ikrz-home-hero__content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ikrz-home-hero::before {
        background-position: 50% 50%;
    }

    .ikrz-home-hero::after {
        background: linear-gradient(90deg, rgba(4, 20, 46, 0.92) 0%, rgba(5, 24, 55, 0.72) 70%, rgba(4, 24, 54, 0.5) 100%), linear-gradient(180deg, rgba(3, 18, 42, 0.22), rgba(3, 18, 42, 0.76));
    }

    .ikrz-home-badge {
        max-width: 100%;
        padding: 7px 10px;
        font-size: clamp(9px, 2.55vw, 10px);
        line-height: 1.28;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ikrz-home-title {
        max-width: 100%;
        min-width: 0;
        margin-top: 18px;
        font-size: clamp(28px, 7.5vw, 32px);
        line-height: 1.08;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .ikrz-home-lead {
        max-width: 100%;
        min-width: 0;
        margin-top: 18px;
        font-size: clamp(15px, 4.1vw, 16px);
        line-height: 1.48;
        overflow-wrap: anywhere;
    }

    .ikrz-home-cta {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 54px;
        margin-top: 24px;
        padding: 14px 18px;
        justify-content: space-between;
    }
}

@media (max-width: 374px) {
    .ikrz-home-title {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ikrz-home-header, .ikrz-home-brand__logo, .ikrz-home-badge, .ikrz-home-title, .ikrz-home-lead, .ikrz-home-cta, .ikrz-home-hero::before, .ikrz-home-hero::after, .ikrz-home-badge::after, .ikrz-home-nav__indicator, .ikrz-home-action, .ikrz-home-cta__arrow, .ikrz-home-menu__panel {
        animation: none !important;
        transition: none !important;
    }
}
