/*
 * RahaJob "future" components: featured companies, empty-state art, the job page and the company profile.
 * Light sky palette only (--accent-color, --home-blue-deep, --main-color for text). Font weight up to 600.
 */

:root {
    --fx-sky: 66, 153, 225;
    --fx-deep: 29, 111, 176;
    --fx-ink: var(--main-color);
    --fx-muted: #667085;
    --fx-line: #e4edf6;
    --fx-soft: #f3f8fe;
    --fx-card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    --fx-hover-shadow: 0 4px 12px -6px rgba(16, 24, 40, 0.1);
    --fx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═════════════════════ Featured companies (home) ═════════════════════ */

.hfc_section {
    position: relative;
    padding: 6rem 0 4rem;
    margin-inline: var(--margin-inline-page);
}

.hfc_head {
    max-width: 46rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.hfc_head h2 {
    margin: 0 0 0.75rem;
    color: var(--fx-ink);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hfc_head_soft {
    background: linear-gradient(100deg, var(--accent-color) 0%, var(--home-blue-deep) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hfc_head p {
    margin: 0;
    color: var(--fx-muted);
    font-size: 1.02rem;
}

.hfc_carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.hfc_carousel.is_static {
    grid-template-columns: minmax(0, 1fr);
}

.hfc_carousel.is_static .hfc_nav {
    display: none;
}

.hfc_track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1.5rem) / 2);
    gap: 1.5rem;
    /* room for the lift, the tilt and the shadow, which the scroll box would clip */
    margin: -1rem -1rem 0;
    padding: 1.75rem 1rem 2.5rem;
    scroll-padding-inline: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    perspective: 1400px;
}

.hfc_track::-webkit-scrollbar {
    display: none;
}

.hfc_nav {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--fx-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--fx-card-shadow);
    color: var(--home-blue-deep);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s var(--fx-ease), opacity 0.2s ease, border-color 0.2s ease;
}

.hfc_nav:hover:not(:disabled) {
    border-color: rgba(var(--fx-sky), 0.45);
    background: var(--action-bg);
    transform: scale(1.06);
}

.hfc_nav:disabled {
    opacity: 0.35;
    cursor: default;
}

html:is([dir], :not([dir])) .hfc_nav svg {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
}

html[dir="rtl"] .hfc_nav svg {
    transform: scaleX(-1);
}

/* the card: a soft glass panel with a moving edge on hover */
.hfc_card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    padding: 1.75rem 1.9rem 1.5rem;
    border: 1px solid var(--fx-line);
    border-radius: 24px;
    background:
        radial-gradient(30rem 12rem at 100% 0%, rgba(var(--fx-sky), 0.08), transparent 70%),
        #fff;
    box-shadow: var(--fx-card-shadow);
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, rotate 0.5s var(--fx-ease);
}

html[dir="rtl"] .hfc_card {
    background:
        radial-gradient(30rem 12rem at 0% 0%, rgba(var(--fx-sky), 0.08), transparent 70%),
        #fff;
}

.hfc_card::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--fx-turn, 0deg), transparent 0 55%, rgba(var(--fx-sky), 0.85) 70%, rgba(var(--fx-deep), 0.5) 80%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hfc_card:hover {
    border-color: transparent;
    box-shadow: var(--fx-hover-shadow);
    transform: translateY(-4px);
}

.hfc_card:hover::before {
    opacity: 1;
    animation: fxTurn 4s linear infinite;
}

.hfc_card.is_tilting {
    transition-duration: 0.25s, 0.25s, 0.25s, 0.12s;
}

@property --fx-turn {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes fxTurn {
    to {
        --fx-turn: 360deg;
    }
}

/* the whole card opens the company; the jobs link sits above it */
.hfc_cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.hfc_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hfc_logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.25rem;
    height: 5.25rem;
    overflow: hidden;
    border: 1px solid var(--fx-line);
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    box-shadow: 0 0 0 6px rgba(var(--fx-sky), 0.07);
    color: var(--home-blue-deep);
    font-size: 1.8rem;
    font-weight: 600;
    transition: box-shadow 0.4s ease;
}

.hfc_card:hover .hfc_logo {
    box-shadow: 0 0 0 6px rgba(var(--fx-sky), 0.14), var(--fx-hover-shadow);
}

.hfc_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hfc_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #e8f3fd;
    color: #1d5f99;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

html:is([dir], :not([dir])) .hfc_badge svg {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
}

.hfc_name {
    margin: 0;
    color: var(--fx-ink);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hfc_rating {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: -0.5rem;
    color: var(--fx-ink);
    font-size: 0.92rem;
}

.hfc_rating b {
    font-weight: 600;
}

.hfc_rating small {
    color: var(--fx-muted);
    font-size: 0.88rem;
}

/* five stars filled up to the rating */
.hfc_stars {
    --pct: calc(var(--rating, 0) / 5 * 100%);
    display: inline-block;
    background: linear-gradient(90deg, #f2a93b var(--pct), #dbe5ef var(--pct));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

html[dir="rtl"] .hfc_stars {
    background: linear-gradient(270deg, #f2a93b var(--pct), #dbe5ef var(--pct));
    -webkit-background-clip: text;
    background-clip: text;
}

.hfc_stars::before {
    content: "★★★★★";
}

.hfc_tagline {
    margin: -0.5rem 0 0;
    color: var(--fx-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hfc_contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hfc_contact_photo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3.4rem;
    height: 3.4rem;
    overflow: hidden;
    border-radius: 50%;
    background: var(--action-bg);
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--fx-line);
    color: var(--fx-ink);
    font-weight: 600;
}

.hfc_contact_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hfc_contact_text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.hfc_contact_text small {
    color: var(--fx-muted);
    font-size: 0.86rem;
}

.hfc_contact_text strong {
    color: var(--fx-ink);
    font-size: 1.02rem;
    font-weight: 600;
}

.hfc_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hfc_chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--fx-soft);
    color: #344054;
    font-size: 0.9rem;
}

html:is([dir], :not([dir])) .hfc_chips svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.hfc_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--fx-line);
}

.hfc_jobs {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #1d5f99;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.hfc_jobs:hover {
    color: var(--home-blue-deep);
    text-decoration: underline;
}

/* a live dot: this company is hiring right now */
.hfc_pulse {
    position: relative;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent-color);
}

.hfc_pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-color);
    animation: fxPing 2s ease-out infinite;
}

@keyframes fxPing {
    from {
        opacity: 0.6;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(3);
    }
}

.hfc_go {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-inline-start: auto;
    color: var(--fx-ink);
    font-size: 0.9rem;
    font-weight: 500;
}

html:is([dir], :not([dir])) .hfc_go svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    transition: transform 0.3s var(--fx-ease);
}

html[dir="rtl"] .hfc_go svg {
    transform: scaleX(-1);
}

.hfc_card:hover .hfc_go svg {
    transform: translateX(4px);
}

html[dir="rtl"] .hfc_card:hover .hfc_go svg {
    transform: scaleX(-1) translateX(4px);
}

@media (max-width: 1199px) {
    .hfc_section {
        margin-inline: 2rem;
    }
}

@media (max-width: 991px) {
    .hfc_track {
        grid-auto-columns: 86%;
    }

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

    .hfc_nav {
        display: none;
    }
}

@media (max-width: 575px) {
    .hfc_section {
        margin-inline: 1rem;
        padding-top: 4rem;
    }

    .hfc_card {
        padding: 1.35rem 1.25rem 1.2rem;
    }

    .hfc_logo {
        width: 4.25rem;
        height: 4.25rem;
    }

    .hfc_name {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hfc_card:hover::before,
    .hfc_pulse::after {
        animation: none;
    }
}

/* ═════════════════════ Empty states: drawings in the RahaJob palette ═════════════════════ */

.empty_art {
    --ea-floor: rgba(var(--fx-deep), 0.08);
    --ea-paper: #ffffff;
    --ea-stroke: #d6e4f2;
    --ea-line: #e3ecf6;
    --ea-soft: #d8ebfb;
    --ea-brand: var(--accent-color);
    --ea-brand2: var(--home-blue-deep);
    --ea-accent: #8cc8f3;
    --ea-on-brand: #ffffff;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.empty_art .ea_floor { fill: var(--ea-floor); }
.empty_art .ea_paper { fill: var(--ea-paper); }
.empty_art .ea_line { fill: var(--ea-line); }
.empty_art .ea_soft { fill: var(--ea-soft); }
.empty_art .ea_brand { fill: var(--ea-brand); }
.empty_art .ea_brand2 { fill: var(--ea-brand2); }
.empty_art .ea_accent { fill: var(--ea-accent); }
.empty_art .ea_on_brand { fill: var(--ea-on-brand); }
.empty_art .ea_stroke { stroke: var(--ea-stroke); }
.empty_art .ea_stroke_soft { stroke: var(--ea-soft); }
.empty_art .ea_stroke_brand { stroke: var(--ea-brand); }
.empty_art .ea_stroke_brand2 { stroke: var(--ea-brand2); }
.empty_art .ea_stroke_on_brand { stroke: var(--ea-on-brand); }

/* everything floats a little, out of step, so the picture feels alive */
.empty_art .ea_float {
    animation: eaFloat 5s ease-in-out infinite;
}

.empty_art .ea_float_2 {
    animation-duration: 6.5s;
    animation-delay: -2s;
}

.empty_art .ea_spark {
    transform-box: fill-box;
    transform-origin: center;
    animation: eaTwinkle 3.2s ease-in-out infinite;
}

.empty_art .ea_spark_2 {
    animation-delay: -1.4s;
}

.empty_art .ea_swing {
    transform-box: fill-box;
    transform-origin: 50% 0%;
    animation: eaSwing 4s ease-in-out infinite;
}

.empty_art .ea_pulse {
    stroke-dasharray: 160;
    animation: eaDraw 3.5s ease-in-out infinite;
}

.empty_art .ea_ring {
    stroke-dasharray: 82;
    animation: eaDraw 4s ease-in-out infinite;
}

.empty_art .ea_grow {
    transform-box: fill-box;
    transform-origin: 0 50%;
    animation: eaGrow 4s ease-in-out infinite;
}

html[dir="rtl"] .empty_art .ea_grow {
    transform-origin: 100% 50%;
}

.empty_art .ea_lift {
    animation: eaLift 2.4s ease-in-out infinite;
}

@keyframes eaFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -4px; }
}

@keyframes eaTwinkle {
    0%, 100% { opacity: 1; scale: 1; }
    50% { opacity: 0.35; scale: 0.7; }
}

@keyframes eaSwing {
    0%, 100% { rotate: 0deg; }
    20% { rotate: 7deg; }
    40% { rotate: -5deg; }
    60% { rotate: 2deg; }
    80% { rotate: 0deg; }
}

@keyframes eaDraw {
    0% { stroke-dashoffset: 160; }
    45%, 80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -160; }
}

@keyframes eaGrow {
    0%, 15% { scale: 0.35 1; }
    60%, 100% { scale: 1 1; }
}

@keyframes eaLift {
    0%, 100% { translate: 0 1px; }
    50% { translate: 0 -2px; }
}

.empty_art_wrap {
    width: 9.5rem;
    margin: 0 auto 1rem;
}

.empty_art_wrap.is_large {
    width: 12rem;
    margin-bottom: 1.5rem;
}

.empty_screen_art {
    width: 10.5rem;
    margin-bottom: 0.5rem;
}

/* the empty panels themselves: a soft sky glow instead of a dashed box */
.empty_screen,
.search_empty_state,
.empty_state_card {
    border: 1px solid var(--fx-line);
    border-radius: 22px;
    background:
        radial-gradient(28rem 14rem at 50% 0%, rgba(var(--fx-sky), 0.09), transparent 70%),
        #fff;
}

.empty_state_card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.empty_screen_cta {
    background: var(--action-bg);
    color: var(--action-ink);
    box-shadow: none;
}

.empty_screen_cta:hover {
    background: var(--action-bg-hover);
    color: var(--action-ink);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .empty_art * {
        animation: none !important;
    }
}

/* ═════════════════════ Job page ═════════════════════ */

.jdf {
    background: #fff;
}

/* reading progress */
.jdf_progress {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1100;
    height: 3px;
    pointer-events: none;
}

.jdf_progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--home-blue-deep));
    transform: scaleX(0);
    transform-origin: left center;
}

html[dir="rtl"] .jdf_progress i {
    background: linear-gradient(270deg, var(--accent-color), var(--home-blue-deep));
    transform-origin: right center;
}

/* the bar that follows once the panel scrolls away */
.jdf_sticky {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1050;
    padding: 0.6rem var(--margin-inline);
    border-bottom: 1px solid var(--fx-line);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: var(--fx-card-shadow);
    transform: translateY(-110%);
    transition: transform 0.45s var(--fx-ease);
}

.jdf_sticky.is_shown {
    transform: none;
}

.jdf_sticky_inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.jdf_sticky_logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    overflow: hidden;
    border: 1px solid var(--fx-line);
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    color: var(--home-blue-deep);
    font-weight: 600;
}

.jdf_sticky_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html:is([dir], :not([dir])) .jdf_sticky_logo svg {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.jdf_sticky_text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-inline-end: auto;
}

.jdf_sticky_text strong {
    overflow: hidden;
    color: var(--fx-ink);
    font-size: 0.98rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdf_sticky_text small {
    color: var(--fx-muted);
    font-size: 0.82rem;
}

/* hero */
.jdf_hero {
    position: relative;
    overflow: hidden;
    padding-block: 8rem 3rem;
    border-bottom: 1px solid var(--fx-line);
    background:
        radial-gradient(52rem 26rem at 85% -10%, rgba(var(--fx-sky), 0.3), transparent 65%),
        radial-gradient(40rem 22rem at 5% 30%, rgba(var(--fx-deep), 0.12), transparent 65%),
        linear-gradient(180deg, #eef6fe 0%, #f8fbff 100%);
}

.jdf_hero_bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.jdf_orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: fxDrift 16s ease-in-out infinite;
}

.jdf_orb_1 {
    top: -8rem;
    inset-inline-end: 10%;
    width: 26rem;
    height: 26rem;
    background: radial-gradient(circle, rgba(var(--fx-sky), 0.35), transparent 70%);
}

.jdf_orb_2 {
    bottom: -10rem;
    inset-inline-start: 20%;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(var(--fx-deep), 0.16), transparent 70%);
    animation-duration: 20s;
    animation-direction: reverse;
}


@keyframes fxDrift {
    0%, 100% { translate: 0 0; }
    50% { translate: 2.5rem 1.5rem; }
}

.jdf_hero_inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
    align-items: start;
    margin-inline: var(--margin-inline);
}

.jdf_company {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #33475f;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: box-shadow 0.25s ease;
}

html[dir="rtl"] .jdf_company {
    padding: 0.35rem 0.35rem 0.35rem 0.9rem;
}

a.jdf_company:hover {
    color: var(--fx-ink);
    box-shadow: var(--fx-hover-shadow);
}

.jdf_company_logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    color: var(--home-blue-deep);
    font-weight: 600;
}

.jdf_company_logo.is_large {
    width: 3.6rem;
    height: 3.6rem;
    border: 3px solid #fff;
    border-radius: 18px;
    box-shadow: var(--fx-card-shadow);
    font-size: 1.3rem;
}

.jdf_company_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html:is([dir], :not([dir])) .jdf_company_logo svg {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.jdf_company_rating {
    color: #b7791f;
    font-size: 0.85rem;
    font-weight: 600;
}

.jdf_title {
    margin: 1.1rem 0 0.9rem;
    color: var(--fx-ink);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.jdf_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.jdf_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #475467;
    font-size: 0.84rem;
}

html:is([dir], :not([dir])) .jdf_badge svg {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.jdf_badge.is_new {
    background: #e3f1fd;
    color: #1d5f99;
    font-weight: 600;
}

.jdf_badge.is_soon {
    background: #fff4e3;
    color: #9a5b0e;
}

.jdf_live {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-color);
}

.jdf_live::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-color);
    animation: fxPing 2s ease-out infinite;
}

/* the facts as glass tiles */
.jdf_facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jdf_fact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--fx-card-shadow);
}

.jdf_fact.is_salary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 240, 252, 0.9));
    border-color: rgba(var(--fx-sky), 0.25);
}

.jdf_fact_icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.55rem;
    border-radius: 12px;
    background: #e8f3fd;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .jdf_fact_icon svg {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
}

.jdf_fact_label {
    color: var(--fx-muted);
    font-size: 0.78rem;
}

.jdf_fact_value {
    overflow: hidden;
    color: var(--fx-ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-overflow: ellipsis;
}

/* the action panel */
.jdf_panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: var(--fx-card-shadow);
}

.jdf_match {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.jdf_match_ring {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 4.6rem;
    height: 4.6rem;
}

.jdf_match.is_empty .jdf_match_ring {
    border: 2px dashed rgba(var(--fx-sky), 0.45);
    border-radius: 50%;
    background: #f3f9ff;
}

.jdf_match_ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    rotate: -90deg;
}

.jdf_match_ring circle {
    fill: none;
    stroke-width: 6;
}

.jdf_ring_bg {
    stroke: #e4effa;
}

.jdf_ring_val {
    stroke: var(--accent-color);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: fxRingFill 1.6s var(--fx-ease) 0.4s forwards;
}

@keyframes fxRingFill {
    to {
        stroke-dashoffset: calc(100 - var(--match, 0));
    }
}

.jdf_match_ring b {
    color: var(--fx-ink);
    font-size: 1.25rem;
    font-weight: 600;
}

.jdf_match_ring b small {
    font-size: 0.7rem;
}

.jdf_match.is_empty .jdf_match_ring b {
    color: var(--home-blue-deep);
}

.jdf_match_text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jdf_match_text strong {
    color: var(--fx-ink);
    font-size: 1rem;
    font-weight: 600;
}

.jdf_match_text small {
    color: var(--fx-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.jdf_reasons {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: -0.25rem 0 0;
    padding: 0.85rem;
    border-radius: 16px;
    background: #f3f9ff;
    list-style: none;
}

.jdf_reasons li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #344054;
    font-size: 0.86rem;
    line-height: 1.5;
}

html:is([dir], :not([dir])) .jdf_reasons svg {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin: 0.15rem 0 0;
    color: var(--accent-color);
}

.jdf_actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.jdf_primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.2rem;
    padding: 0 1.4rem;
    border-radius: 16px;
    background: var(--action-bg);
    color: var(--action-ink);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--fx-card-shadow);
    transition: background 0.2s ease, box-shadow 0.2s ease, translate 0.45s var(--fx-ease);
}

.jdf_primary:hover {
    background: var(--action-bg-hover);
    color: var(--action-ink);
    box-shadow: var(--fx-hover-shadow);
}

.jdf_primary.is_small {
    min-height: 2.5rem;
    padding: 0 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: none;
}

html:is([dir], :not([dir])) .jdf_primary svg {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

html[dir="rtl"] .jdf_primary svg {
    transform: scaleX(-1);
}

.jdf_btn_row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0.55rem;
}

.jdf_ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    border: 1px solid var(--fx-line);
    border-radius: 14px;
    background: #fff;
    color: var(--fx-ink);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.jdf_ghost:hover {
    border-color: rgba(var(--fx-sky), 0.4);
    background: #f5faff;
}

.jdf_ghost.is_saved {
    border-color: rgba(var(--fx-sky), 0.45);
    background: #e8f3fd;
    color: #1d5f99;
}

html:is([dir], :not([dir])) .jdf_ghost svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.jdf_applied,
.jdf_blocked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3rem;
    border-radius: 16px;
    font-weight: 600;
}

.jdf_applied {
    background: #e7f6ee;
    color: #1f7a4d;
}

.jdf_blocked {
    background: #f2f4f7;
    color: #475467;
}

html:is([dir], :not([dir])) :is(.jdf_applied, .jdf_blocked, .jdf_note) svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.jdf_note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--fx-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.jdf_note.is_ok {
    color: #1f7a4d;
}

.jdf_steps {
    padding-top: 1rem;
    border-top: 1px dashed var(--fx-line);
}

.jdf_steps_title {
    margin: 0 0 0.65rem;
    color: var(--fx-muted);
    font-size: 0.8rem;
}

.jdf_steps ol {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* a line linking the steps */
.jdf_steps ol::before {
    content: "";
    position: absolute;
    top: 0.9rem;
    bottom: 0.9rem;
    inset-inline-start: 0.9rem;
    width: 2px;
    background: linear-gradient(var(--accent-color), rgba(var(--fx-sky), 0.15));
}

.jdf_steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--fx-ink);
    font-size: 0.88rem;
}

.jdf_steps li small {
    margin-inline-start: auto;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--fx-muted);
    font-size: 0.72rem;
}

.jdf_step_icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e8f3fd;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .jdf_step_icon svg {
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
}

/* body */
.jdf_body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
    align-items: start;
    margin-inline: var(--margin-inline);
    padding-block: 2.5rem 5rem;
}

.jdf_toc {
    position: sticky;
    top: 4.5rem;
    z-index: 5;
    display: inline-flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem;
    border: 1px solid var(--fx-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.jdf_toc a {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    color: var(--fx-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.jdf_toc a:hover {
    color: var(--fx-ink);
}

.jdf_toc a.is_active {
    background: var(--action-bg);
    color: var(--action-ink);
}

.jdf_section {
    scroll-margin-top: 7rem;
    margin-bottom: 1.25rem;
    padding: 1.75rem 1.9rem;
    border: 1px solid var(--fx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.jdf_section_title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.1rem;
    color: var(--fx-ink);
    font-size: 1.2rem;
    font-weight: 600;
}

.jdf_section_icon {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 12px;
    background: #e8f3fd;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .jdf_section_icon svg {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.jdf_text {
    color: #3d4b5c;
    font-size: 1rem;
    line-height: 1.95;
}

.jdf_text p {
    margin: 0 0 0.85rem;
}

.jdf_text p:last-child {
    margin-bottom: 0;
}

.jdf_text ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
}

.jdf_text li {
    position: relative;
    padding-inline-start: 1.9rem;
}

/* bullets: a sky dot for the role, a tick for requirements, a heart-tint for what is offered */
.jdf_text li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    inset-inline-start: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px #e8f3fd;
}

.jdf_section.is_reqs li::before {
    top: 0.45em;
    inset-inline-start: 0.1rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 6px;
    background: #e8f3fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6fb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
    box-shadow: none;
}

.jdf_section.is_offer {
    background:
        radial-gradient(26rem 12rem at 100% 0%, rgba(var(--fx-sky), 0.08), transparent 70%),
        #fff;
}

/* side */
.jdf_side {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jdf_card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid var(--fx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.jdf_card_title {
    margin: 0 0 0.9rem;
    color: var(--fx-ink);
    font-size: 1rem;
    font-weight: 600;
}

.jdf_company_card {
    padding-top: 0;
    transition: rotate 0.5s var(--fx-ease), box-shadow 0.25s ease;
}

.jdf_company_card.is_tilting {
    transition-duration: 0.12s, 0.25s;
}

.jdf_company_card.cj_card {
    padding-top: 1.35rem;
}

.jdf_company_card_cover {
    height: 4.2rem;
    margin: 0 -1.35rem -1.8rem;
    background:
        radial-gradient(14rem 6rem at 80% 0%, rgba(var(--fx-sky), 0.45), transparent 70%),
        linear-gradient(135deg, #e3f0fc, #f5faff);
}

.jdf_company_card_head {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
}

.jdf_company_card_head strong {
    display: block;
    color: var(--fx-ink);
    font-size: 1.02rem;
    font-weight: 600;
}

.jdf_company_card_head small {
    color: var(--fx-muted);
    font-size: 0.82rem;
}

.jdf_rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.jdf_rating .hfc_stars {
    font-size: 0.85rem;
}

.jdf_company_tagline {
    margin: 0.9rem 0 0;
    color: #475467;
    font-size: 0.9rem;
    line-height: 1.6;
}

.jdf_company_facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.jdf_company_facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--fx-soft);
    color: #344054;
    font-size: 0.8rem;
}

html:is([dir], :not([dir])) .jdf_company_facts svg {
    width: 0.9rem;
    height: 0.9rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.jdf_link {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: #1d5f99;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

html:is([dir], :not([dir])) .jdf_link svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    transition: transform 0.3s var(--fx-ease);
}

html[dir="rtl"] .jdf_link svg {
    transform: scaleX(-1);
}

.jdf_link:hover svg {
    transform: translateX(3px);
}

html[dir="rtl"] .jdf_link:hover svg {
    transform: scaleX(-1) translateX(3px);
}

.jdf_similar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jdf_similar a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-inline: -0.6rem;
    padding: 0.6rem;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}

.jdf_similar a:hover {
    background: #f3f9ff;
}

.jdf_similar_logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    overflow: hidden;
    border: 1px solid var(--fx-line);
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    color: var(--home-blue-deep);
    font-weight: 600;
}

.jdf_similar_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html:is([dir], :not([dir])) .jdf_similar_logo svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.jdf_similar_text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jdf_similar_text strong {
    overflow: hidden;
    color: var(--fx-ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdf_similar_text small {
    overflow: hidden;
    color: var(--fx-muted);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdf_similar_when {
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: #98a2b3;
    font-size: 0.74rem;
}

@media (min-width: 992px) {
    .jdf .jd_hero_actions {
        display: none;
    }
}

@media (max-width: 1199px) {
    .jdf_hero_inner,
    .jdf_body {
        grid-template-columns: minmax(0, 1fr) 20rem;
        margin-inline: 2rem;
    }

    .jdf_sticky {
        padding-inline: 2rem;
    }
}

@media (max-width: 991px) {
    .jdf_hero {
        padding-block: 6.5rem 2rem;
    }

    .jdf_hero_inner,
    .jdf_body {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        margin-inline: 1.25rem;
    }

    .jdf_body {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom));
    }

    .jdf_panel .jdf_actions {
        display: none;
    }

    .jdf_side {
        position: static;
    }

    .jdf_sticky {
        display: none;
    }

    .jdf_toc {
        top: 4rem;
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .jdf_toc a {
        flex: 0 0 auto;
    }

    .jdf_section {
        padding: 1.35rem 1.25rem;
    }
}

@media (max-width: 575px) {
    .jdf_facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (prefers-reduced-motion: reduce) {
    .jdf_orb,
    .jdf_live::after {
        animation: none;
    }

    .jdf_ring_val {
        animation: none;
        stroke-dashoffset: calc(100 - var(--match, 0));
    }
}

/* ═════════════════════ Company profile ═════════════════════ */

.prx {
    background:
        radial-gradient(60rem 30rem at 50% 18rem, rgba(var(--fx-sky), 0.06), transparent 70%),
        #f7f9fc;
}

.prx_hero {
    position: relative;
    padding-bottom: 1.5rem;
}

/* a living sky: three soft lights drifting over a faint grid */
.prx_cover {
    position: relative;
    height: 19rem;
    overflow: hidden;
    background: linear-gradient(160deg, #dcecfb 0%, #eef6fe 55%, #f7f9fc 100%);
    /* melts into the page instead of ending on a line */
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.prx_aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.85;
    animation: fxDrift 18s ease-in-out infinite;
}

.prx_aurora_1 {
    top: -10rem;
    inset-inline-start: -6rem;
    width: 34rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(var(--fx-sky), 0.55), transparent 70%);
}

.prx_aurora_2 {
    top: -6rem;
    inset-inline-end: 8%;
    width: 28rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(var(--fx-deep), 0.3), transparent 70%);
    animation-duration: 22s;
    animation-direction: reverse;
}

.prx_aurora_3 {
    bottom: -12rem;
    left: 35%;
    width: 30rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(140, 200, 243, 0.55), transparent 70%);
    animation-duration: 26s;
}


.prx_hero_inner {
    position: relative;
    margin: -7rem var(--margin-inline) 0;
}

.prx_identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.75rem;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: var(--fx-card-shadow);
}

.prx_logo {
    position: relative;
    width: 8.5rem;
    height: 8.5rem;
    margin-top: -4.5rem;
    padding: 5px;
    border-radius: 30px;
    background: conic-gradient(from var(--fx-turn, 0deg), rgba(var(--fx-sky), 0.9), rgba(255, 255, 255, 0.9), rgba(var(--fx-deep), 0.7), rgba(255, 255, 255, 0.9), rgba(var(--fx-sky), 0.9));
    box-shadow: var(--fx-card-shadow);
    animation: fxTurn 8s linear infinite;
}

.prx_logo img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background: #fff;
    object-fit: cover;
}

.prx_logo.is_placeholder img {
    padding: 1.4rem;
    object-fit: contain;
}

.prx_flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.prx_flag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #e8f3fd;
    color: #1d5f99;
    font-size: 0.78rem;
    font-weight: 600;
}

.prx_flag.is_verified {
    background: #e7f6ee;
    color: #1f7a4d;
}

html:is([dir], :not([dir])) .prx_flag svg {
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
}

.prx_name {
    margin: 0;
    color: var(--fx-ink);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.prx_tagline {
    margin: 0.45rem 0 0;
    color: #475467;
    font-size: 1.02rem;
    line-height: 1.6;
}

.prx_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.prx_chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--fx-soft);
    color: #344054;
    font-size: 0.85rem;
}

html:is([dir], :not([dir])) .prx_chips svg {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.prx_actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.prx_actions .jdf_primary {
    border: 0;
    cursor: pointer;
}

.prx_icon_btn {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--fx-line);
    border-radius: 16px;
    background: #fff;
    color: var(--fx-ink);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--fx-ease);
}

.prx_icon_btn:hover {
    border-color: rgba(var(--fx-sky), 0.45);
    background: #f3f9ff;
    color: var(--home-blue-deep);
    transform: translateY(-2px);
}

html:is([dir], :not([dir])) .prx_icon_btn svg {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
}

/* the numbers */
.prx_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.prx_stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.8rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border: 1px solid var(--fx-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.prx_stat_icon {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f3fd, #d8ebfb);
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .prx_stat_icon svg {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
}

.prx_stat strong {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--fx-ink);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.prx_stat .hfc_stars {
    position: absolute;
    margin-top: 0;
    font-size: 0.8rem;
}

.prx_stat:has(.hfc_stars) {
    position: relative;
}

.prx_stat:has(.hfc_stars) .hfc_stars {
    top: 1.1rem;
    inset-inline-end: 1.1rem;
}

.prx_stat small {
    color: var(--fx-muted);
    font-size: 0.82rem;
}

/* side card */
.prx .prv_left {
    width: 290px;
}

.prx_card {
    padding: 1.35rem;
    border: 1px solid var(--fx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
    transition: rotate 0.5s var(--fx-ease);
}

.prx_card.is_tilting {
    transition-duration: 0.12s;
}

.prx_card_title {
    margin: 0 0 0.9rem;
    color: var(--fx-ink);
    font-size: 1rem;
    font-weight: 600;
}

.prx_facts {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prx_facts li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--fx-line);
    font-size: 0.88rem;
}

.prx_facts li:last-child {
    border-bottom: 0;
}

.prx_facts li > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--fx-muted);
    white-space: nowrap;
}

html:is([dir], :not([dir])) .prx_facts svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.prx_facts strong,
.prx_facts a {
    overflow: hidden;
    color: var(--fx-ink);
    font-weight: 500;
    text-align: end;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prx_facts a {
    color: #1d5f99;
    text-decoration: none;
}

.prx_facts a:hover {
    text-decoration: underline;
}

.prx_share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.75rem;
    margin-top: 1rem;
    border: 1px solid var(--fx-line);
    border-radius: 14px;
    background: #fff;
    color: var(--fx-ink);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.prx_share:hover {
    border-color: rgba(var(--fx-sky), 0.4);
    background: #f5faff;
}

html:is([dir], :not([dir])) .prx_share svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

/* tabs: one glass bar with a soft sky pill on the active tab */
.prx .prv_tabs {
    padding: 0.35rem;
    border-color: var(--fx-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.prx .prv_tab {
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.prx .prv_tab.active {
    background: var(--action-bg);
    color: var(--action-ink);
    box-shadow: none;
}

/* job cards, reviews and panels in the same card language as the rest of the site */
.prx .prv_job_card,
.prx .prv_review_card {
    border: 1px solid var(--fx-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.prx .prv_job_card {
    padding: 1.3rem 1.4rem;
}

.prx .prv_job_card:hover {
    border-color: rgba(var(--fx-sky), 0.45);
    box-shadow: var(--fx-hover-shadow);
    transform: translateY(-3px);
}

.prx .prv_job_card_avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    border-color: var(--fx-line);
}

@media (max-width: 1199px) {
    .prx_hero_inner {
        margin-inline: 2rem;
    }

    .prx_identity {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .prx_actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .prx_cover {
        height: 14rem;
    }

    .prx_hero_inner {
        margin: -5rem 1rem 0;
    }

    .prx_identity {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .prx_logo {
        width: 6.5rem;
        height: 6.5rem;
        margin-top: -3.75rem;
        border-radius: 24px;
    }

    .prx_logo img {
        border-radius: 20px;
    }

    .prx_actions {
        width: 100%;
    }

    .prx_actions .jdf_primary {
        flex: 1;
    }

    .prx_stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prx .prv_left {
        width: 100%;
    }

    .prx_card {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .prx .prv_left {
        padding-inline: 1rem;
    }

    .jdf_fact {
        padding: 0.8rem 0.85rem;
    }

    .jdf_fact_icon {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.35rem;
        border-radius: 10px;
    }

    .jdf_fact_value {
        font-size: 0.88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prx_aurora,
    .prx_logo {
        animation: none;
    }
}

/* several badges sit together at the top of a featured card */
.hfc_badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    max-width: 65%;
}

/* the phone job sheet waits below the screen; its shadow must not bleed into the page while closed */
.prv_job_sheet:not(.is_open) {
    box-shadow: none;
    visibility: hidden;
    transition: transform 0.36s cubic-bezier(0.34, 1.05, 0.64, 1), visibility 0s linear 0.36s;
}

/* ═════════════════════ The RJ mark in 3D ═════════════════════ */

.rj3d {
    --rj-size: 6rem;
    position: relative;
    display: inline-block;
    width: var(--rj-size);
    aspect-ratio: 224 / 126;
    perspective: 700px;
}

.rj3d_turn {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: rjTurn 9s ease-in-out infinite;
}

.rj3d_turn > span {
    position: absolute;
    inset: 0;
    -webkit-mask: url("../img/rj_mark/letters.png") center / contain no-repeat;
    mask: url("../img/rj_mark/letters.png") center / contain no-repeat;
}

/* ten thin layers behind the face give the letters their thickness */
.rj3d_turn > .rj3d_depth {
    background: color-mix(in srgb, #0c1a2e calc(100% - var(--z) * 5%), #3d6a9c);
    transform: translateZ(calc((var(--z) - 11) * 1.3px));
}

.rj3d_face {
    background: linear-gradient(135deg, #22416a 0%, #0c1a2e 38%, #2c5687 55%, #0c1a2e 78%, #1a3557 100%);
    transform: translateZ(0.5px);
}

/* a light runs across the face now and then */
.rj3d_shine {
    background: linear-gradient(115deg, transparent 35%, rgba(140, 200, 243, 0.85) 47%, rgba(255, 255, 255, 0.9) 50%, rgba(140, 200, 243, 0.85) 53%, transparent 65%);
    background-size: 300% 100%;
    mix-blend-mode: screen;
    transform: translateZ(1px);
    animation: rjShine 6s ease-in-out infinite;
}

/* the blue dot floats a little in front of the letters */
.rj3d_turn > .rj3d_dot {
    -webkit-mask: url("../img/rj_mark/dot.png") center / contain no-repeat;
    mask: url("../img/rj_mark/dot.png") center / contain no-repeat;
    background: radial-gradient(circle at 92% 82%, #bfe3fb 0%, var(--accent-color) 3%, #1d6fb0 6%);
    transform: translateZ(4px);
    animation: rjDotGlow 3s ease-in-out infinite;
}

@keyframes rjTurn {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(-26deg) rotateX(6deg); }
    75% { transform: rotateY(26deg) rotateX(-4deg); }
}

@keyframes rjShine {
    0%, 30% { background-position: 100% 0; }
    70%, 100% { background-position: 0% 0; }
}

@keyframes rjDotGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
}

/* the mark above the hero title, with a soft halo of light behind it */
.hero_mark3d {
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero_mark3d .rj3d {
    --rj-size: 5.5rem;
}

.hero_mark3d_halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(var(--fx-sky), 0.12) 0deg 6deg, transparent 6deg 18deg),
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(var(--fx-sky), 0.16) 45%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
    mask-image: radial-gradient(circle, #000 25%, transparent 70%);
    translate: -50% -50%;
    animation: rjHalo 60s linear infinite;
}

@keyframes rjHalo {
    to { rotate: 360deg; }
}

/* while the entry plays, the hero waits (its own entrance starts once the mark has landed) */
html.rj_intro_running .hero_content,
html.rj_intro_running .hero_content * {
    animation-play-state: paused !important;
}

html.rj_intro_running .hero_mark3d {
    visibility: hidden;
}

/* ═════════════════════ Entry animation ═════════════════════ */

.rj_intro {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.rj_intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40rem 30rem at 50% 50%, #ffffff 0%, #eef6fe 55%, #dcecfb 100%);
    transition: opacity 0.65s ease;
}

.rj_intro.is_flying::before {
    opacity: 0;
}

.rj_intro.is_gone {
    opacity: 0;
}

.rj_intro_mark {
    position: relative;
    perspective: 900px;
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}

.rj_intro_mark .rj3d {
    --rj-size: 15rem;
    opacity: 0;
}

/* the mark builds: it comes out of the blur turning to face you, then the dot drops into place */
.rj_intro.is_playing .rj_intro_mark .rj3d {
    animation: rjBuild 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.rj_intro .rj3d_turn {
    animation: none;
}

.rj_intro .rj3d_turn > .rj3d_dot {
    opacity: 0;
}

.rj_intro.is_playing .rj3d_turn > .rj3d_dot {
    animation: rjDotDrop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s both;
}

.rj_intro .rj3d_shine {
    animation: rjShine 1.2s ease-in-out 0.9s 1 both;
}

@keyframes rjBuild {
    0% { opacity: 0; transform: scale(0.55) rotateY(-160deg); filter: blur(18px); }
    40% { opacity: 1; filter: blur(6px); }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes rjDotDrop {
    0% { opacity: 0; transform: translateZ(4px) translateY(-140%); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateZ(4px); }
}

/* ═════════════════════ Welcome modal ═════════════════════ */

html.wlc_open,
html.wlc_open body {
    overflow: hidden;
}

.wlc {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.wlc[hidden] {
    display: none;
}

.wlc_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 26, 46, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.wlc.is_open .wlc_backdrop {
    opacity: 1;
}

.wlc_dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(34rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.25rem 1.75rem 1.75rem;
    border: 1px solid var(--fx-line);
    border-radius: 28px;
    background:
        radial-gradient(30rem 14rem at 50% 0%, rgba(var(--fx-sky), 0.1), transparent 70%),
        #fff;
    box-shadow: var(--fx-card-shadow);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.35s ease, transform 0.45s var(--fx-ease);
}

.wlc.is_open .wlc_dialog {
    opacity: 1;
    transform: none;
}

.wlc_top {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
}

.wlc_back,
.wlc_close {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--fx-line);
    border-radius: 50%;
    background: #fff;
    color: var(--fx-ink);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wlc_back {
    grid-column: 1;
}

.wlc_close {
    grid-column: 3;
}

.wlc_back:hover,
.wlc_close:hover {
    border-color: rgba(var(--fx-sky), 0.45);
    background: #f3f9ff;
}

html:is([dir], :not([dir])) :is(.wlc_back, .wlc_close) svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

html[dir="rtl"] .wlc_back svg {
    transform: scaleX(-1);
}

/* progress: a line with one dot per question */
.wlc_progress {
    position: relative;
    grid-column: 2;
    height: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wlc.is_flow .wlc_progress {
    opacity: 1;
}

.wlc_progress_line {
    position: absolute;
    top: 50%;
    inset-inline: 0.375rem;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: var(--fx-line);
}

.wlc_progress_line i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-color), var(--home-blue-deep));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s var(--fx-ease);
}

html[dir="rtl"] .wlc_progress_line i {
    background: linear-gradient(270deg, var(--accent-color), var(--home-blue-deep));
    transform-origin: right center;
}

.wlc_progress_dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.wlc_progress_dots i {
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid var(--fx-line);
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.3s ease, background 0.3s ease, scale 0.4s var(--fx-ease);
}

.wlc_progress_dots i.is_done {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.wlc_progress_dots i.is_now {
    border-color: var(--accent-color);
    scale: 1.35;
}

.wlc_form {
    display: flex;
    flex-direction: column;
}

.wlc_trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* each screen slides in from the side it comes from */
.wlc_step {
    --wlc-from: 28px;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    opacity: 0;
    transform: translateX(var(--wlc-from));
    filter: blur(6px);
    transition: opacity 0.35s ease, transform 0.5s var(--fx-ease), filter 0.35s ease;
}

.wlc_step[data-dir="back"] {
    --wlc-from: -28px;
}

html[dir="rtl"] .wlc_step {
    --wlc-from: -28px;
}

html[dir="rtl"] .wlc_step[data-dir="back"] {
    --wlc-from: 28px;
}

.wlc_step.is_in {
    opacity: 1;
    transform: none;
    filter: none;
}

.wlc_step[hidden] {
    display: none;
}

.wlc_step[data-step="type"],
.wlc_done {
    align-items: center;
    text-align: center;
}

.wlc_mark {
    display: grid;
    place-items: center;
    margin: 0.25rem 0 1rem;
}

.wlc_mark .rj3d {
    --rj-size: 4.75rem;
}

.wlc_mark.is_working .rj3d_turn {
    animation: rjSpin 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes rjSpin {
    to { transform: rotateY(360deg); }
}

.wlc.is_created .wlc_mark.is_working .rj3d_turn {
    animation: none;
}

.wlc_eyebrow {
    margin-bottom: 0.4rem;
    color: #1d5f99;
    font-size: 0.9rem;
    font-weight: 500;
}

.wlc_eyebrow b {
    font-weight: 600;
}

.wlc_title {
    margin: 0;
    color: var(--fx-ink);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.wlc_sub {
    margin: 0.55rem 0 0;
    color: var(--fx-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* company or job seeker */
.wlc_choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    margin-top: 1.5rem;
}

.wlc_choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.1rem 0.9rem 1.2rem;
    border: 1.5px solid var(--fx-line);
    border-radius: 22px;
    background: #fff;
    color: var(--fx-ink);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s var(--fx-ease);
}

.wlc_choice:hover,
.wlc_choice:focus-visible {
    border-color: rgba(var(--fx-sky), 0.6);
    background: #f5faff;
    transform: translateY(-3px);
    outline: none;
}

.wlc_choice_art {
    width: 7.5rem;
    margin-bottom: 0.35rem;
}

.wlc_choice strong {
    font-size: 1.02rem;
    font-weight: 600;
}

.wlc_choice small {
    color: var(--fx-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.wlc_signin {
    margin: 1.25rem 0 0;
    color: var(--fx-muted);
    font-size: 0.88rem;
}

.wlc_signin a {
    color: #1d5f99;
    font-weight: 600;
}

/* one big field per screen */
.wlc_field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.wlc .wlc_input.form-control {
    min-height: 3.4rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 1.1rem;
}

.wlc .wlc_pw .wlc_input.form-control {
    padding-right: 3.4rem;
}

.wlc .wlc_input.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(var(--fx-sky), 0.14) !important;
}

.wlc .wlc_input.is_invalid {
    border-color: #e5484d;
}

.wlc_error {
    min-height: 1.1rem;
    color: #d92d20;
    font-size: 0.84rem;
}

.wlc_pw {
    position: relative;
}

.wlc_eye {
    position: absolute;
    top: 50%;
    right: 0.6rem; /* the password is typed left to right, so the eye sits at its end in every language */
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--fx-muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.wlc_eye.is_on,
.wlc_eye:hover {
    background: #f3f9ff;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .wlc_eye svg {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
}

.wlc_strength {
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--fx-line);
}

.wlc_strength i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f2a93b;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--fx-ease), background 0.3s ease;
}

html[dir="rtl"] .wlc_strength i {
    transform-origin: right center;
}

.wlc_strength i[data-level="2"] {
    background: var(--accent-color);
}

.wlc_strength i[data-level="3"] {
    background: #1f9d63;
}

.wlc_hint {
    color: var(--fx-muted);
    font-size: 0.82rem;
}

.wlc_terms {
    margin: 1rem 0 0;
    color: #98a2b3;
    font-size: 0.78rem;
    line-height: 1.6;
}

/* how little is left */
.wlc_plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.wlc_plan::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    inset-inline-start: 1.1rem;
    width: 2px;
    background: linear-gradient(var(--accent-color), rgba(var(--fx-sky), 0.15));
}

.wlc_plan li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--fx-ink);
    font-size: 0.98rem;
    opacity: 0;
    transform: translateY(8px);
}

.wlc_step.is_in .wlc_plan li {
    animation: rjPlanIn 0.5s var(--fx-ease) both;
}

.wlc_step.is_in .wlc_plan li:nth-child(2) { animation-delay: 0.08s; }
.wlc_step.is_in .wlc_plan li:nth-child(3) { animation-delay: 0.16s; }
.wlc_step.is_in .wlc_plan li:nth-child(4) { animation-delay: 0.24s; }

@keyframes rjPlanIn {
    to { opacity: 1; transform: none; }
}

.wlc[data-type="employer"] .wlc_plan li[data-for="job_seeker"],
.wlc[data-type="job_seeker"] .wlc_plan li[data-for="employer"] {
    display: none;
}

.wlc_plan_icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #e8f3fd;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .wlc_plan_icon svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.wlc_form_error {
    margin: 1rem 0 0;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: #fef3f2;
    color: #b42318;
    font-size: 0.88rem;
}

.wlc_form_error[hidden],
.wlc_actions[hidden] {
    display: none;
}

.wlc_actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wlc_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 9rem;
    min-height: 3.1rem;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 16px;
    background: var(--action-bg);
    color: var(--action-ink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.wlc_next:hover {
    background: var(--action-bg-hover);
}

.wlc_next.is_busy {
    opacity: 0.7;
    cursor: progress;
}

html:is([dir], :not([dir])) .wlc_next svg {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

html[dir="rtl"] .wlc_next svg {
    transform: scaleX(-1);
}

.wlc_enter {
    color: #98a2b3;
    font-size: 0.8rem;
}

/* phones: the modal rises from the bottom */
@media (max-width: 575px) {
    .wlc {
        align-items: end;
        padding: 0;
    }

    .wlc_dialog {
        width: 100%;
        max-height: 92vh;
        padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
        border-radius: 26px 26px 0 0;
        transform: translateY(40px);
    }

    .wlc_choices {
        grid-template-columns: 1fr;
    }

    .wlc_choice {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: start;
        column-gap: 0.85rem;
    }

    .wlc_choice_art {
        width: 4.5rem;
        margin: 0;
    }

    .wlc_enter {
        display: none;
    }

    .wlc_next {
        flex: 1;
    }

    .rj_intro_mark .rj3d {
        --rj-size: 10rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rj3d_turn,
    .rj3d_shine,
    .rj3d_turn > .rj3d_dot,
    .hero_mark3d_halo {
        animation: none;
    }

    .wlc_step,
    .wlc_dialog {
        transition: opacity 0.2s ease;
        transform: none;
        filter: none;
    }
}

/* ═════════════════════ Store buttons ═════════════════════ */

.store_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.store_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--fx-line);
    background: #fff;
    color: var(--fx-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.3s var(--fx-ease);
}

.store_btn:hover {
    border-color: rgba(var(--fx-sky), 0.5);
    background: #f5faff;
    color: var(--fx-ink);
    transform: translateY(-2px);
}

html:is([dir], :not([dir])) .store_btn svg {
    flex: 0 0 auto;
    margin: 0;
}

/* large: two lines, like the official badges but in our colours */
.store_btns.is_lg .store_btn {
    min-height: 3.5rem;
    padding: 0 1.25rem 0 1rem;
    border-radius: 16px;
}

html[dir="rtl"] .store_btns.is_lg .store_btn {
    padding: 0 1rem 0 1.25rem;
}

html:is([dir], :not([dir])) .store_btns.is_lg svg {
    width: 1.7rem;
    height: 1.7rem;
}

.store_btns.is_lg .store_btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store_btns.is_lg small {
    color: var(--fx-muted);
    font-size: 0.72rem;
}

.store_btns.is_lg strong {
    font-size: 1.05rem;
    font-weight: 600;
}

/* small: one quiet line */
.store_btns.is_sm .store_btn {
    min-height: 2.1rem;
    padding: 0 0.85rem;
    border-color: rgba(var(--fx-sky), 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 500;
}

html:is([dir], :not([dir])) .store_btns.is_sm svg {
    width: 1rem;
    height: 1rem;
}

/* ═════════════════════ Hero: the app links under the categories ═════════════════════ */

.hero_apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.4rem;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

.hero_apps_label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--fx-muted);
    font-size: 0.82rem;
}

html:is([dir], :not([dir])) .hero_apps_label svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    color: var(--home-blue-deep);
}

/* ═════════════════════ App page ═════════════════════ */

.apx {
    overflow: hidden;
    background: #fff;
}

.apx_hero {
    position: relative;
    padding: 8.5rem 0 5rem;
    background: linear-gradient(180deg, #eef6fe 0%, #f8fbff 70%, #fff 100%);
}

.apx_hero_bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.apx_glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: fxDrift 18s ease-in-out infinite;
}

.apx_glow_1 {
    top: -6rem;
    inset-inline-end: 6%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(var(--fx-sky), 0.32), transparent 70%);
}

.apx_glow_2 {
    bottom: -8rem;
    inset-inline-start: 10%;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(var(--fx-deep), 0.12), transparent 70%);
    animation-direction: reverse;
}

.apx_hero_inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3rem;
    margin-inline: var(--margin-inline);
}

.apx_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.9rem 0.3rem 0.4rem;
    border: 1px solid rgba(var(--fx-sky), 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #1d5f99;
    font-size: 0.85rem;
    font-weight: 500;
}

html[dir="rtl"] .apx_eyebrow {
    padding: 0.3rem 0.4rem 0.3rem 0.9rem;
}

.apx_eyebrow_mark .rj3d {
    --rj-size: 2.1rem;
    vertical-align: middle;
}

.apx_title {
    margin: 1.1rem 0 0.9rem;
    color: var(--fx-ink);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.apx_title_soft {
    background: linear-gradient(100deg, var(--accent-color) 0%, var(--home-blue-deep) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.apx_sub {
    max-width: 32rem;
    margin: 0 0 1.75rem;
    color: #475467;
    font-size: 1.05rem;
    line-height: 1.8;
}

.apx_link {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1.75rem;
}

.apx_link_label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--fx-muted);
    font-size: 0.84rem;
}

html:is([dir], :not([dir])) .apx_link_label svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
    color: var(--home-blue-deep);
}

.apx_link_box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    padding: 0.3rem 0.3rem 0.3rem 0.85rem;
    border: 1px dashed rgba(var(--fx-sky), 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
}

html[dir="rtl"] .apx_link_box {
    padding: 0.3rem 0.85rem 0.3rem 0.3rem;
}

.apx_link_box code {
    color: #1d5f99;
    font-size: 0.88rem;
    background: none;
}

.apx_copy_btn {
    min-height: 2.1rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 10px;
    background: var(--action-bg);
    color: var(--action-ink);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.apx_copy_btn.is_done {
    background: #e7f6ee;
    color: #1f7a4d;
}

/* the phone: a light device, slowly turning, with the app's real home screen */
.apx_device {
    position: relative;
    display: grid;
    justify-items: center;
    perspective: 1400px;
}

.apx_phone {
    position: relative;
    width: 18rem;
    aspect-ratio: 9 / 19;
    padding: 0.6rem;
    border: 1px solid #d6e4f2;
    border-radius: 3rem;
    background: linear-gradient(145deg, #f7fbff, #e3eef9);
    box-shadow: var(--fx-card-shadow), inset 0 0 0 1px #fff;
    transform: rotateY(-14deg) rotateX(4deg);
    transform-style: preserve-3d;
    animation: apxSway 10s ease-in-out infinite;
    transition: rotate 0.6s var(--fx-ease);
}

html[dir="rtl"] .apx_phone {
    transform: rotateY(14deg) rotateX(4deg);
    animation-name: apxSwayRtl;
}

.apx_phone.is_tilting {
    transition-duration: 0.15s;
}

@keyframes apxSway {
    0%, 100% { transform: rotateY(-14deg) rotateX(4deg) translateY(0); }
    50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-8px); }
}

@keyframes apxSwayRtl {
    0%, 100% { transform: rotateY(14deg) rotateX(4deg) translateY(0); }
    50% { transform: rotateY(6deg) rotateX(2deg) translateY(-8px); }
}

.apx_phone_btn {
    position: absolute;
    inset-inline-end: -3px;
    width: 3px;
    border-radius: 2px;
    background: #cddcec;
}

.apx_phone_btn.is_1 {
    top: 22%;
    height: 3.2rem;
}

.apx_phone_btn.is_2 {
    top: 33%;
    height: 2.2rem;
}

.apx_screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: 100%;
    overflow: hidden;
    padding: 0.7rem 0.95rem 4.2rem;
    border-radius: 2.45rem;
    background:
        radial-gradient(18rem 10rem at 50% -10%, rgba(var(--fx-sky), 0.18), transparent 70%),
        #fbfdff;
}

.apx_status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--fx-ink);
    font-size: 0.72rem;
    font-weight: 600;
}

.apx_island {
    width: 5.2rem;
    height: 1.35rem;
    border-radius: 1rem;
    background: #0c1a2e;
}

.apx_status_icons {
    display: inline-flex;
    gap: 2px;
}

.apx_status_icons i {
    width: 4px;
    height: 8px;
    border-radius: 1px;
    background: var(--fx-ink);
}

.apx_status_icons i:nth-child(1) { height: 5px; align-self: end; }
.apx_status_icons i:nth-child(2) { height: 7px; align-self: end; }

.apx_app_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.3rem;
}

.apx_app_logo .rj3d {
    --rj-size: 2.6rem;
}

.apx_app_bell {
    position: relative;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--fx-line);
    border-radius: 50%;
    background: #fff;
    color: var(--fx-ink);
}

html:is([dir], :not([dir])) .apx_app_bell svg {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
}

.apx_app_bell i {
    position: absolute;
    top: 0.35rem;
    inset-inline-end: 0.4rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent-color);
    animation: rjDotGlow 2s ease-in-out infinite;
}

.apx_app_hello {
    margin: 0;
    color: var(--fx-ink);
    font-size: 1rem;
    font-weight: 600;
}

.apx_app_search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--fx-line);
    border-radius: 12px;
    background: #fff;
    color: #98a2b3;
    font-size: 0.74rem;
}

html:is([dir], :not([dir])) .apx_app_search svg {
    width: 0.9rem;
    height: 0.9rem;
    margin: 0;
}

.apx_app_chips {
    display: flex;
    gap: 0.35rem;
}

.apx_app_chips span {
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--fx-line);
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 0.66rem;
    white-space: nowrap;
}

.apx_app_chips span.is_on {
    border-color: transparent;
    background: var(--action-bg);
    color: var(--action-ink);
    font-weight: 600;
}

.apx_app_label {
    margin: 0.2rem 0 0;
    color: var(--fx-muted);
    font-size: 0.7rem;
}

.apx_app_jobs {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.apx_app_job {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem;
    border: 1px solid var(--fx-line);
    border-radius: 14px;
    background: #fff;
    animation: apxJobIn 0.7s var(--fx-ease) both;
    animation-delay: calc(0.6s + var(--i, 0) * 0.15s);
}

@keyframes apxJobIn {
    from { opacity: 0; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
}

.apx_app_job_logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    overflow: hidden;
    border-radius: 9px;
    background: linear-gradient(135deg, #f3f9ff 0%, #e2f0fc 100%);
    color: var(--home-blue-deep);
    font-size: 0.72rem;
    font-weight: 600;
}

.apx_app_job_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html:is([dir], :not([dir])) .apx_app_job_logo svg {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
}

.apx_app_job_text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.apx_app_job_text strong {
    overflow: hidden;
    color: var(--fx-ink);
    font-size: 0.72rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apx_app_job_text small {
    overflow: hidden;
    color: var(--fx-muted);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:is([dir], :not([dir])) .apx_app_job > svg {
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
    color: #98a2b3;
}

.apx_app_empty {
    width: 7rem;
    margin: 1rem auto 0;
}

.apx_tabs {
    position: absolute;
    inset-inline: 0.6rem;
    bottom: 0.6rem;
    display: flex;
    justify-content: space-around;
    padding: 0.6rem 0.4rem;
    border: 1px solid var(--fx-line);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.92);
    color: #98a2b3;
}

.apx_tabs span {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2rem;
    border-radius: 12px;
}

.apx_tabs span.is_on {
    background: var(--action-bg);
    color: var(--action-ink);
}

html:is([dir], :not([dir])) .apx_tabs svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.apx_floor {
    width: 14rem;
    height: 1.2rem;
    margin-top: 1.2rem;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(var(--fx-deep), 0.12), transparent);
}

/* features */
.apx_features {
    padding: 4.5rem 0 3rem;
    margin-inline: var(--margin-inline);
}

.apx_head {
    max-width: 40rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.apx_head h2 {
    margin: 0 0 0.6rem;
    color: var(--fx-ink);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 600;
}

.apx_head p {
    margin: 0;
    color: var(--fx-muted);
    font-size: 1rem;
}

.apx_feature_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.apx_feature {
    padding: 1.4rem;
    border: 1px solid var(--fx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fx-card-shadow);
}

.apx_feature_icon {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #e8f3fd;
    color: var(--home-blue-deep);
}

html:is([dir], :not([dir])) .apx_feature_icon svg {
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
}

.apx_feature h3 {
    margin: 0 0 0.4rem;
    color: var(--fx-ink);
    font-size: 1.02rem;
    font-weight: 600;
}

.apx_feature p {
    margin: 0;
    color: var(--fx-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* get it */
.apx_cta {
    padding: 2rem 0 6rem;
    margin-inline: var(--margin-inline);
}

.apx_cta_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 3rem 1.5rem;
    border: 1px solid var(--fx-line);
    border-radius: 28px;
    background:
        radial-gradient(30rem 14rem at 50% 0%, rgba(var(--fx-sky), 0.16), transparent 70%),
        #f8fbff;
    text-align: center;
}

.apx_cta_mark .rj3d {
    --rj-size: 4rem;
}

.apx_cta h2 {
    margin: 0.4rem 0 0;
    color: var(--fx-ink);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
}

.apx_cta p {
    max-width: 30rem;
    margin: 0 0 0.9rem;
    color: var(--fx-muted);
}

.apx_cta .store_btns {
    justify-content: center;
}

@media (max-width: 1199px) {
    .apx_hero_inner,
    .apx_features,
    .apx_cta {
        margin-inline: 2rem;
    }

    .apx_feature_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .apx_hero {
        padding-top: 6.5rem;
    }

    .apx_hero_inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        margin-inline: 1.25rem;
    }

    .apx_phone {
        width: 15.5rem;
    }

    .apx_features,
    .apx_cta {
        margin-inline: 1.25rem;
    }
}

@media (max-width: 575px) {
    .apx_feature_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .store_btns.is_lg .store_btn {
        flex: 1;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apx_phone,
    .apx_glow,
    .apx_app_job,
    .apx_app_bell i {
        animation: none;
    }
}

/* the app card on the home page sits in the page's own width */
.home_app_cta .apx_cta {
    padding: 3rem 0 1rem;
    margin-inline: var(--margin-inline-page);
}

@media (max-width: 1199px) {
    .home_app_cta .apx_cta {
        margin-inline: 2rem;
    }
}

@media (max-width: 991px) {
    .home_app_cta .apx_cta {
        margin-inline: 1.25rem;
    }
}

/* ═════════════════════ Greeting after sign-in ═════════════════════ */

.rj_hello {
    z-index: 3100;
    transition: opacity 0.6s ease, transform 0.7s var(--fx-ease);
}

.rj_hello.is_gone {
    opacity: 0;
    transform: scale(1.04);
}

.rj_hello_stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding: 1rem;
    text-align: center;
}

.rj_hello .rj_intro_mark .rj3d {
    --rj-size: 9rem;
}

.rj_hello_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

/* the words come in after the dot has landed, one line after another */
.rj_hello_text > * {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
}

.rj_hello.is_playing .rj_hello_text > * {
    animation: rjHelloLine 0.8s var(--fx-ease) both;
}

.rj_hello.is_playing .rj_hello_greet { animation-delay: 1.35s; }
.rj_hello.is_playing .rj_hello_name { animation-delay: 1.55s; }
.rj_hello.is_playing .rj_hello_company { animation-delay: 1.75s; }

@keyframes rjHelloLine {
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.rj_hello_greet {
    color: var(--fx-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

.rj_hello_name {
    background: linear-gradient(100deg, var(--fx-ink) 0%, var(--home-blue-deep) 55%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.rj_hello_company {
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(var(--fx-sky), 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #1d5f99;
    font-size: 0.85rem;
}

/* a thin line under the name fills while the page gets ready */
.rj_hello_stack::after {
    content: "";
    width: 7rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--home-blue-deep)) left / 0% 100% no-repeat, var(--fx-line);
    opacity: 0;
}

html[dir="rtl"] .rj_hello_stack::after {
    background-position: right;
}

.rj_hello.is_playing .rj_hello_stack::after {
    animation: rjHelloBar 1.3s ease 1.8s both;
}

@keyframes rjHelloBar {
    from { opacity: 1; background-size: 0% 100%, auto; }
    to { opacity: 1; background-size: 100% 100%, auto; }
}

@media (max-width: 575px) {
    .rj_hello .rj_intro_mark .rj3d {
        --rj-size: 7rem;
    }
}
