/* Empever public home — / */
.ep-home-hero {
    background: linear-gradient(155deg, var(--bg-gradient-start) 0%, #0a3d5c 42%, var(--bg-gradient-end) 100%);
    color: #fff;
    padding: 4.5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ep-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(21, 130, 189, 0.25), transparent 70%);
    pointer-events: none;
}

.ep-home-hero .container {
    position: relative;
    z-index: 1;
}

.ep-home-hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.ep-home-hero h1 {
    font-size: clamp(2rem, 5vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 1rem;
    color: #fff;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.ep-home-hero__lede {
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.ep-home-hero__proof {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #bfdbfe;
    line-height: 1.5;
}

.ep-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.ep-home-hero__actions .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.ep-home-hero__actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero workspace sign-in — employer / candidate entry (not admin) */
.ep-home-signin {
    max-width: 34rem;
    margin: 0 auto 2.25rem;
    padding: 1.35rem 1.25rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.ep-home-signin__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(147, 197, 253, 0.95);
    margin-bottom: 0.85rem;
}

.ep-home-signin__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ep-home-signin__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: left;
    text-decoration: none;
    color: #fff;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ep-home-signin__card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.ep-home-signin__card--employer:hover {
    border-color: rgba(96, 165, 250, 0.65);
}

.ep-home-signin__card--candidate:hover {
    border-color: rgba(52, 211, 153, 0.65);
}

.ep-home-signin__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.ep-home-signin__card--employer .ep-home-signin__icon {
    background: rgba(37, 99, 235, 0.35);
}

.ep-home-signin__card--candidate .ep-home-signin__icon {
    background: rgba(16, 185, 129, 0.35);
}

.ep-home-signin__title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ep-home-signin__desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

.ep-home-signin__arrow {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.ep-home-signin__card:hover .ep-home-signin__arrow {
    color: #fff;
}

@media (max-width: 520px) {
    .ep-home-signin__grid {
        grid-template-columns: 1fr;
    }
}

.footer-bottom--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    text-align: left;
}

.footer-admin-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none;
    margin-left: auto;
    letter-spacing: 0.02em;
}

.footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.ep-home-flow {
    padding: 3.5rem 0;
    background: var(--bg-white);
}

.ep-home-flow h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    scroll-margin-top: 6rem;
}

.ep-home-flow__intro {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.ep-home-flow__block + .ep-home-flow__block {
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border-color);
}

.ep-home-flow__block--candidate h2 {
    scroll-margin-top: 6rem;
}

#apps,
#sign-in {
    scroll-margin-top: 6rem;
}

.ep-home-flow__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 56rem;
    margin: 0 auto;
}

.ep-home-flow__step {
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.ep-home-flow__step strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.ep-home-apps {
    padding: 0 0 4rem;
    background: rgba(255, 255, 255, 0.92);
}

.ep-home-apps .sd-platform-grid {
    margin-top: 0;
}

.ep-home-apps .sd-platform-card__feature {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.ep-home-apps .sd-platform-card__feature li {
    margin: 0.2rem 0;
}

.ep-home-cta {
    text-align: center;
    padding: 2.5rem 1.5rem 3.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.ep-home-cta h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ep-home-cta p {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.empever-demo-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    margin-left: 0.75rem;
}

body.empever-client-locked .empever-switch-client,
body.empever-client-locked #empever-switch-client,
body.empever-client-locked [data-ep-open-client-picker] {
    display: none !important;
}

.header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.header__row .nav {
    flex: 1;
    justify-content: center;
}

@media (max-width: 768px) {
    .header__row .nav {
        display: none;
    }
}

/* Investment opportunity — /invest/ */
.ep-invest-hero {
    background: linear-gradient(160deg, #0c2844 0%, #1a4a6e 50%, #071826 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.ep-invest-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #fff;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.ep-invest-hero__lede {
    max-width: 38rem;
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.ep-invest-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.ep-invest-section--alt {
    background: var(--bg-light);
}

.ep-invest-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ep-invest-section p,
.ep-invest-section li {
    color: var(--text-medium);
    line-height: 1.7;
}

.ep-invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.ep-invest-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.ep-invest-section--alt .ep-invest-card {
    background: var(--bg-white);
}

.ep-invest-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ep-invest-form-wrap {
    max-width: 36rem;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-lg);
}

.ep-invest-field {
    margin-bottom: 1.1rem;
}

.ep-invest-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.ep-invest-field input,
.ep-invest-field select,
.ep-invest-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
}

.ep-invest-field textarea {
    min-height: 7rem;
    resize: vertical;
}

.ep-invest-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.ep-invest-success.is-visible {
    display: block;
}

.ep-invest-success h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.ep-invest-disclaimer {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 1.25rem;
    line-height: 1.55;
}
