.support-hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Public product subpages. */
.public-subpage-section {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.public-subpage-section[id] {
    scroll-margin-top: 88px;
}

.public-subpage-section--vector::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 50% 0%, #0a2a49 0%, #03101e 30%, #000 68%);
    opacity: 1;
}

.product-overview-item {
    min-height: 330px;
}

.product-overview-link {
    transition: color 240ms ease, transform 240ms ease;
}

.product-overview-link:hover {
    color: #fff;
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .public-subpage-section--vector::before {
        opacity: 1;
    }

    .product-overview-item {
        min-height: 0;
    }
}

.support-hero-background {
    opacity: 1;
    filter: none !important;
    transform: none !important;
}


.support-hero-content {
    transform: translateY(clamp(-38px, -4.2vh, -18px));
}

.support-hero-subtitle {
    max-width: 980px;
    margin: 0.7rem auto 0;
    font-size: clamp(1.45rem, 2.8vw, 2.8rem);
    font-weight: 200;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: rgba(255, 255, 255, 0.84);
    text-wrap: balance;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.78);
}

.support-hero-cta {
    position: relative;
    z-index: 8;
}

.support-trial-link {
    position: relative;
    padding-bottom: 3px;
}

.support-trial-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.75;
}

.support-hero-copy {
    position: relative;
    z-index: 6;
}

.support-hero-title {
    display: block !important;
    max-width: none;
    margin-inline: auto;
    font-size: clamp(2.2rem, 3.45vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: -0.052em;
    white-space: nowrap;
    text-wrap: nowrap;
    color: #f8fbff;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.04),
        0 18px 48px rgba(0, 0, 0, 0.82),
        0 0 42px rgba(45, 132, 255, 0.12);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .support-hero-title {
        background: linear-gradient(103deg, #ffffff 7%, #ffffff 34%, #75d9ff 55%, #7f91ff 73%, #ffffff 96%);
        background-size: 100% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}


.support-text-link {
    position: relative;
    padding-bottom: 4px;
}

.support-text-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 320ms ease, opacity 320ms ease;
}

.support-text-link:hover::after {
    opacity: 0.9;
    transform: scaleX(1);
}

.support-channel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.support-channel-card {
    background: #000;
}

.support-channel-card--second {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 1024px) {
    .support-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-channel-card:first-child {
        padding-right: clamp(2rem, 4vw, 3rem);
    }

    .support-channel-card--second {
        position: relative;
        padding-left: clamp(2rem, 4vw, 3rem);
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }
}

.support-parallax-stage {
    position: relative;
    width: min(940px, 76vw);
    aspect-ratio: 1320 / 700;
    isolation: isolate;
}

.support-parallax-art {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}


.support-parallax-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
    will-change: transform;
    transition: transform 550ms cubic-bezier(0.2, 0.75, 0.25, 1);
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.30));
}

.support-parallax-layer-1 { background-image: url('/static/images/parallax/p1.webp'); opacity: 1; }
.support-parallax-layer-2 { background-image: url('/static/images/parallax/p2.webp'); opacity: 0.85; }
.support-parallax-layer-3 { background-image: url('/static/images/parallax/p3.webp'); opacity: 0.85; }
.support-parallax-layer-4 { background-image: url('/static/images/parallax/p4.webp'); opacity: 0.85; }
.support-parallax-layer-5 { background-image: url('/static/images/parallax/p5.webp'); opacity: 1; }
.support-parallax-layer-6 { background-image: url('/static/images/parallax/p6.webp'); opacity: 1; }

.support-scroll-cue {
    animation: support-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes support-scroll-pulse {
    0%, 100% { opacity: 0.32; transform: translate(-50%, 0); }
    50% { opacity: 0.85; transform: translate(-50%, 6px); }
}

.support-editorial-feature {
    isolation: isolate;
}

.support-editorial-feature::before {
    content: '';
    position: absolute;
    top: -22%;
    left: -12%;
    z-index: -1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 155, 255, 0.09) 0%, rgba(0, 155, 255, 0) 68%);
    filter: blur(20px);
    pointer-events: none;
}

.support-editorial-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0.25rem;
    width: 76px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 155, 255, 0.85), rgba(0, 155, 255, 0));
    opacity: 0.8;
}

.support-editorial-feature-offset::before {
    top: auto;
    right: -8%;
    bottom: -18%;
    left: auto;
    background: radial-gradient(circle, rgba(78, 61, 255, 0.09) 0%, rgba(78, 61, 255, 0) 68%);
}

.support-workflow-steps {
    border-top: 1px solid rgba(131, 207, 255, 0.2);
}

.support-workflow-step {
    position: relative;
    display: grid;
    grid-template-columns: minmax(72px, 0.45fr) minmax(260px, 1.15fr) minmax(360px, 1.8fr);
    column-gap: clamp(2rem, 5vw, 5.75rem);
    padding-block: clamp(2.75rem, 6vw, 5.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.support-workflow-step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: clamp(44px, 7vw, 92px);
    height: 1px;
    background: #009bff;
}

.support-workflow-number {
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(2.1rem, 4vw, 4.25rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.08em;
    color: rgba(131, 207, 255, 0.26);
}

.support-workflow-heading,
.support-workflow-copy {
    display: flex;
    flex-direction: column;
}

.support-workflow-heading {
    gap: 1rem;
}

.support-workflow-copy {
    gap: 1.35rem;
}

.support-workflow-copy > p:first-child {
    color: rgba(255, 255, 255, 0.84);
}

.support-workflow-result {
    display: grid;
    grid-template-columns: minmax(88px, auto) 1fr;
    align-items: start;
    gap: 1.25rem;
    margin-top: 0.45rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(131, 207, 255, 0.18);
}

.support-workflow-result > span:first-child {
    color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 1023px) {
    .support-workflow-step {
        grid-template-columns: 72px 1fr;
        row-gap: 2rem;
    }

    .support-workflow-copy {
        grid-column: 2;
    }
}

@media (max-width: 639px) {
    .support-workflow-step {
        grid-template-columns: 1fr;
        row-gap: 1.4rem;
    }

    .support-workflow-copy {
        grid-column: 1;
    }

    .support-workflow-number {
        font-size: 2rem;
    }

    .support-workflow-result {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
}

.support-unlimited-line {
    background: transparent;
}

.support-price-column {
    position: relative;
    isolation: isolate;
    transition: transform 320ms ease;
}

.support-price-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.support-price-column:hover {
    transform: translateY(-4px);
}

.support-price-column-popular::before {
    width: 112px;
    background: linear-gradient(90deg, rgba(0, 155, 255, 1), rgba(0, 155, 255, 0));
}

.pricing-vat-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0;
}

.pricing-vat-panel--toggle {
    justify-content: flex-end;
    padding: 0;
}

.pricing-vat-panel__copy {
    max-width: 740px;
}

.pricing-vat-panel__title {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
}

.pricing-vat-panel__description {
    margin-top: 0.35rem;
    font-family: "Inter Tight", sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.56);
}

.pricing-vat-toggle {
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(131, 207, 255, 0.24);
    border-radius: 999px;
    background: rgba(0, 17, 32, 0.72);
}

.pricing-vat-toggle__button {
    min-width: 108px;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.58);
    text-transform: uppercase;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.pricing-vat-toggle__button:hover {
    color: #fff;
}

.pricing-vat-toggle__button.is-active {
    background: #f7fbff;
    color: #06101b;
    box-shadow: 0 6px 24px rgba(0, 155, 255, 0.16);
}

.pricing-vat-toggle__button:focus-visible {
    outline: 2px solid #83cfff;
    outline-offset: 2px;
}

.pricing-header + .pricing-plans-grid {
    margin-top: 1.5rem !important;
}

@media (min-width: 1280px) {
    .pricing-plans-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.pricing-plans-grid [data-opai-button-split-text] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: space-between;
}

.pricing-plans-grid [data-opai-button-split-text] > div:first-child {
    min-width: 0;
}

.pricing-list-icon {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: rgba(0, 155, 255, 0.13);
    color: #83cfff;
    box-shadow: 0 0 28px rgba(0, 155, 255, 0.09);
}

.pricing-list-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.pricing-trial-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.pricing-trial-highlight__main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.pricing-trial-highlight__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    border-radius: 0.7rem;
    background: rgba(0, 155, 255, 0.13);
    color: #83cfff;
    box-shadow: 0 0 32px rgba(0, 155, 255, 0.1);
}

.pricing-trial-highlight__technology {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #83cfff;
    text-transform: uppercase;
}

@media (max-width: 639px) {
    .pricing-trial-highlight {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .pricing-trial-highlight__technology {
        padding-left: 3.1rem;
    }
}

.pricing-vat-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: 1080px;
    margin-inline: auto;
    padding: 0.25rem 0;
}

.pricing-vat-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.66rem;
    font-weight: 600;
    color: rgba(131, 207, 255, 0.52);
}

.pricing-vat-notice p {
    margin: 0;
    font-family: "Inter Tight", sans-serif;
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.38);
}

.pricing-vat-notice p strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.pricing-vat-notice p span {
    margin-inline: 0.4rem;
    color: rgba(131, 207, 255, 0.4);
}

@media (max-width: 767px) {
    .pricing-vat-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-vat-toggle {
        align-self: flex-end;
    }

    .pricing-vat-toggle__button {
        min-width: 98px;
    }

}

.support-faq-item summary::-webkit-details-marker {
    display: none;
}

.support-faq-icon::before,
.support-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 300ms ease, opacity 300ms ease;
}

.support-faq-icon::before {
    transform: translate(-50%, -50%);
}

.support-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.support-faq-item[open] .support-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.support-closing-cta {
    position: relative;
    isolation: isolate;
}


@media (max-width: 767px) {
    .support-hero-title {
        white-space: normal;
        text-wrap: balance;
    }
}

@media (max-width: 1023px) {
    .support-parallax-stage {
        width: min(940px, 94vw);
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .support-hero {
        min-height: 100svh;
    }

    .support-hero-background {
        object-position: center;
    }

    .support-hero-title {
        font-size: clamp(2.15rem, 10vw, 3.35rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .support-parallax-stage {
        width: 126vw;
        max-width: none;
        margin-top: 1.2rem;
    }

    .support-parallax-layer {
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.26));
    }

    .support-editorial-feature-offset {
        transform: none;
    }
}

@media (max-width: 430px) {
    .support-parallax-stage {
        width: 138vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-parallax-layer,
    .support-scroll-cue,
    .support-price-column,
    .support-text-link::after,
    .support-hero-title {
        transition: none;
        animation: none;
    }
}

/* Authentication uses the same dark blue surfaces and controls as the client zone. */
.auth-layout {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    color: #e8f1ff;
    background: #020811;
}

.auth-back-link {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    color: #c8d8ec;
    background: #0d1a2b;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.auth-back-link:hover {
    color: #fff;
    background: #14253a;
    transform: translateY(-1px);
}

.auth-main {
    display: flex;
    flex: 1 0 auto;
    min-height: 0;
}

.auth-page {
    position: relative;
    width: 100%;
    min-height: 100svh;
    padding: 64px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #020811;
}

.auth-login-shell {
    width: min(100%, 520px);
    margin: 0 auto;
    display: grid;
    justify-items: center;
    gap: 24px;
}

.auth-page-logo {
    width: 220px;
    height: 44px;
    display: block;
}

.auth-page-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-back-link--below {
    min-width: 150px;
}

.auth-panel {
    position: relative;
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
    border: 0;
    border-radius: 22px;
    background: #071423;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.auth-panel__heading {
    margin-bottom: 30px;
    display: grid;
    gap: 10px;
}

.auth-panel__heading h1 {
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 2.55rem);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.auth-panel__heading p { margin: 0; }

.auth-form,
.auth-fields {
    display: grid;
}

.auth-form { gap: 22px; }
.auth-fields { gap: 18px; }
.auth-field { display: grid; gap: 8px; }

.auth-label {
    color: #dbe7f7;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
}

.auth-input {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 0;
    border-radius: 11px;
    outline: none;
    color: #f5f8ff;
    background: #17263b;
    caret-color: #8eb7ff;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
    box-shadow: none;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.auth-input::placeholder { color: #71849e; }
.auth-input:hover { background: #1a2b42; }

.auth-input:focus {
    background: #1b2d45;
    box-shadow: 0 0 0 2px rgba(79, 140, 255, 0.48);
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f5f8ff;
    -webkit-box-shadow: 0 0 0 1000px #17263b inset;
    transition: background-color 9999s ease-out;
}

.auth-input.input-validation-error {
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.72);
}

.auth-remember {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.auth-remember__box {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 5px;
    background: #17263b;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.auth-remember input:focus-visible + .auth-remember__box {
    box-shadow: 0 0 0 2px rgba(79, 140, 255, 0.5);
}

.auth-remember input:checked + .auth-remember__box { background: #3478f6; }

.auth-remember input:checked + .auth-remember__box::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.auth-submit {
    width: 100%;
    min-height: 52px;
    padding: 7px 8px 7px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #3478f6;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 91, 203, 0.22);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.auth-submit:hover {
    background: #3d82ff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(31, 91, 203, 0.3);
}

.auth-submit__arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(4, 25, 63, 0.3);
    font-size: 1.1rem;
}

.auth-external { margin-top: 26px; }
.auth-external--first { margin-top: 0; }

.auth-separator {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.auth-separator span { height: 1px; background: rgba(99, 130, 167, 0.18); }
.auth-separator strong { color: #6f829c; font-family: 'Inter Tight', sans-serif; font-size: 0.75rem; font-weight: 400; }

.auth-provider {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 11px;
    color: #dbe8f8;
    background: #0d1b2d;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.auth-provider:hover { color: #fff; background: #14253a; }

.auth-legal-copy {
    margin-top: 20px;
    color: #6f829c;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem;
    line-height: 1.65;
    text-align: center;
}

.auth-legal-copy a {
    color: #91b8ff;
    text-decoration: underline;
    text-decoration-color: rgba(145, 184, 255, 0.42);
    text-underline-offset: 3px;
    transition: color 180ms ease;
}

.auth-legal-copy a:hover { color: #fff; }

.auth-register-link {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 130, 167, 0.16);
    color: #70839d;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: center;
}

.auth-register-link a { margin-left: 3px; color: #8cb5ff; font-weight: 500; }

.auth-field-validation,
.auth-validation-summary {
    display: block;
    margin-top: 0.35rem;
    color: rgb(252 165 165);
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.auth-field-validation:empty,
.auth-validation-summary.validation-summary-valid {
    display: none;
}

.auth-validation-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-layout > footer { flex: 0 0 auto; }

@media (max-height: 820px) and (min-width: 768px) {
    .auth-page { padding: 44px 0; align-items: flex-start; }
}

@media (max-width: 767px) {
    .auth-back-link { min-height: 40px; padding: 0 12px; font-size: 0.8125rem; }
    .auth-page { padding: 40px 0; align-items: flex-start; }
    .auth-page-logo { width: 190px; height: 40px; }
}

@media (max-width: 639px) {
    .auth-panel { border-radius: 18px; }
    .auth-panel__heading { margin-bottom: 25px; }
}


/* Public footer language menu and legal pages. */
.es-language > summary::-webkit-details-marker {
    display: none;
}

.es-language[open] > summary svg {
    transform: rotate(180deg);
}

.legal-document-frame iframe {
    border: 0;
}


/* Hero uses the same structure and responsive rhythm as the Eurion landing page. */
.eurion-hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
}

@supports (height: 100dvh) {
    .eurion-hero {
        height: 100dvh;
        min-height: 0;
    }
}

.hero-main-title {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.eurion-hero .hero-editorial-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    margin-top: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: clamp(0.88rem, 1.15vw, 1.02rem);
    line-height: 1.58;
    letter-spacing: 0;
}

.presentation-page-lead {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    line-height: 1.65;
    letter-spacing: 0;
}

.hero-ai-complement {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 760px;
    margin: 0;
    font-size: clamp(0.78rem, 1.1vw, 0.95rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.045em;
    color: #a8dcff;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-ai-complement span {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #1e9bff;
    box-shadow: 0 0 18px rgba(30, 155, 255, 0.9);
}

.hero-subtitle {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    font-weight: 300;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.76);
    text-align: left;
    text-wrap: pretty;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.hero-typed-wrap {
    width: 100%;
    height: 4.2rem;
    max-width: min(36rem, calc(100vw - 2rem));
    overflow: hidden;
}

.typed {
    display: inline !important;
    max-width: 100%;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.16;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    color: #1e84fc;
    background: linear-gradient(108deg, #1e84fc 0%, #4ca2ff 40%, #9fd3ff 74%, #eef8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.82)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.95));
}

span.typed-cursor {
    display: inline !important;
    line-height: inherit;
    color: #ffffff80;
    font-weight: 800;
    margin-left: 2px;
    vertical-align: baseline;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Keep the supplied Euro Reviews artwork untouched. */
.hero-bg-image {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    mask: none !important;
    -webkit-mask: none !important;
    object-position: right top !important;
}

@media (min-width: 640px) {
    .hero-typed-wrap {
        height: 6.2rem;
    }

    .typed {
        font-size: 2rem;
        line-height: 1.14;
    }
}

@media (min-width: 1024px) {
    .hero-typed-wrap {
        height: 7.2rem;
    }

    .typed {
        font-size: 2.75rem;
        line-height: 1.12;
    }
}

@media (min-width: 1280px) {
    .hero-typed-wrap {
        max-width: 850px;
        height: 6.15rem;
    }

    .typed {
        font-size: 2.55rem;
        line-height: 1.15;
    }
}

@media (min-width: 1536px) {
    .hero-typed-wrap {
        height: 6.7rem;
    }

    .typed {
        font-size: 2.85rem;
    }
}

@media (min-width: 768px) and (max-height: 820px) {
    .eurion-hero {
        padding-top: 6.75rem !important;
        padding-bottom: 2rem !important;
    }

    .eurion-hero .hero-content-offset {
        padding-top: 0 !important;
    }

    .eurion-hero .hero-content-stack {
        gap: 0.65rem;
    }

    .eurion-hero .hero-main-title {
        font-size: clamp(2.8rem, 5vw, 3.4rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .eurion-hero .hero-ai-complement {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .eurion-hero .hero-subtitle {
        max-width: 680px;
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .eurion-hero .hero-typed-wrap {
        height: 3rem;
    }

    .eurion-hero .typed {
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .eurion-hero .hero-cta-wrap {
        margin-top: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    .eurion-hero {
        height: auto;
        min-height: 0;
    }

    .hero-tools-row {
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .hero-tool-copy {
        display: none !important;
    }

    .hero-main-title,
    .hero-ai-complement,
    .hero-subtitle,
    .hero-typed-wrap {
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
        box-sizing: border-box;
        padding-right: 5.25rem;
        max-width: 100% !important;
    }

    .hero-typed-wrap {
        height: 3.9rem;
    }

    .typed {
        font-size: 1.35rem;
        line-height: 1.14;
    }

}

@media (max-width: 420px) {
    .hero-main-title,
    .hero-ai-complement,
    .hero-subtitle,
    .hero-typed-wrap {
        padding-right: 4.5rem;
    }
}

@media (max-width: 375px) {
    .hero-main-title,
    .hero-ai-complement,
    .hero-subtitle,
    .hero-typed-wrap {
        padding-right: 3.75rem;
    }

    .typed {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-typed-wrap .typed-cursor {
        animation: none;
    }
}
