@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/inter-tight-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/fonts/inter-tight-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/fonts/inter-tight-600.woff2') format('woff2');
}

.candidates-page {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
}

.candidates-page .candidates-shell {
    min-height: 100vh;
    overflow: visible;
    background: var(--bg-color);
    color: var(--text-color);
}

.candidates-page .container:not(:where(.footer *)) {
    max-width: 1152px;
}

.candidates-page .candidates-main > .container {
    max-width: 958px;
}

.candidates-page .header-desktop .frame .text-wrapper,
.candidates-page .header-desktop .tab,
.candidates-page .header-desktop .header-buttons .btn.secondary,
.candidates-page .header-desktop .header-buttons .btn.secondary .text-wrapper,
.candidates-page .header-desktop .header-buttons .btn.secondary svg,
.candidates-page .mobile-header .mobile-menu-button,
.candidates-page .mobile-header .mobile-menu-text {
    color: var(--text-color) !important;
}

.candidates-page .header-desktop .header-buttons .btn.secondary {
    background-color: var(--surface-primary) !important;
}

.candidates-page .header-desktop .header-buttons .btn.secondary:hover {
    background-color: var(--hover-light) !important;
}

.candidates-page .btn.secondary,
.candidates-page .btn.secondary:link,
.candidates-page .btn.secondary:visited {
    background-color: var(--surface-primary) !important;
    color: var(--text-color) !important;
}

.candidates-page .btn.secondary:hover {
    background-color: var(--hover-light) !important;
    color: var(--text-color) !important;
}

.candidates-page .header-desktop .header-buttons .btn-primary {
    color: #fff !important;
}

.candidates-page h1,
.candidates-page h2,
.candidates-page h3,
.candidates-page p:not(:where(.footer *, #proSubscriptionModal *)) {
    margin: 0;
}

.candidates-page .candidates-shell > .header-desktop,
.candidates-page .candidates-shell > .mobile-header {
    z-index: 40;
}

.candidates-hero {
    position: relative;
    height: 650px;
    margin-top: -60px;
    padding-top: 156px;
    overflow: visible;
    text-align: center;
}

.candidates-hero-art {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: min(1280px, 100vw);
    height: 815px;
    overflow: hidden;
    transform: translateX(-50%);
    pointer-events: none;
}

.candidates-hero-art::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, var(--bg-color) 78%);
    content: "";
}

.candidates-hero-stroke,
.candidates-hero-background {
    position: absolute;
    display: block;
    max-width: none;
    pointer-events: none;
}

.candidates-hero-stroke {
    top: 145px;
    left: 50%;
    width: min(958px, calc(100% - 32px));
    height: auto;
    transform: translateX(-50%);
    filter: brightness(0) saturate(100%) invert(48%) sepia(14%) saturate(720%) hue-rotate(103deg) brightness(92%) contrast(90%);
    opacity: .72;
}

html.dark-theme .candidates-hero-stroke {
    filter: brightness(0) saturate(100%) invert(57%) sepia(28%) saturate(680%) hue-rotate(103deg) brightness(92%) contrast(89%);
    opacity: .82;
}

.candidates-hero-background {
    top: 360px;
    left: 50%;
    width: min(1150px, 90vw);
    height: auto;
    transform: translateX(-50%);
    opacity: .28;
}

.candidates-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.candidates-award {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    color: var(--text-color);
    font-size: var(--fs-14);
    font-weight: var(--fw-medium);
    line-height: var(--lh-14);
    letter-spacing: var(--ls-14);
    text-decoration: none;
}

.candidates-award:hover,
.candidates-award:focus-visible {
    color: var(--text-color);
}

.candidates-award img {
    display: block;
    width: 30px;
    height: 40px;
}

.candidates-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.candidates-hero-copy h1 {
    color: var(--text-color);
    font-size: 64px;
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: -.64px;
    text-align: center;
}

.candidates-gradient-text,
.candidate-stat-card strong {
    background: linear-gradient(58deg, #49a182 2%, #1b3b30 91%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.candidates-gradient-text {
    background-image: linear-gradient(
        90deg,
        #16352b,
        #49a182,
        #a8ddc4,
        #49a182,
        #16352b,
        #49a182,
        #a8ddc4,
        #49a182,
        #16352b
    );
    background-size: 200% 100%;
    animation: candidates-hero-gradient 14s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@keyframes candidates-hero-gradient {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

.candidates-hero-copy p {
    max-width: 700px;
    color: var(--text-color);
    font-size: var(--fs-16);
    font-weight: var(--fw-regular);
    line-height: var(--lh-16);
    letter-spacing: var(--ls-16);
}

.candidates-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.candidate-button {
    gap: 8px;
}

.candidate-button img {
    display: block;
    width: 18px;
    height: 18px;
}

.candidates-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(958px, calc(100% - 32px));
    margin-top: 64px;
}

.candidate-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 184px;
    padding: 32px 18px;
    border-radius: 24px;
    background: var(--surface-primary);
    font-family: 'Inter Tight', var(--font-primary);
    text-align: center;
}

.candidate-stat-card strong {
    display: block;
    font-size: 48px;
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: -.48px;
}

.candidate-stat-card > span:last-child {
    margin-top: 12px;
    color: var(--text-color);
    font-size: var(--fs-16);
    font-weight: var(--fw-regular);
    line-height: var(--lh-16);
    letter-spacing: var(--ls-16);
}

.candidate-stat-card--sources {
    padding: 24px 18px;
    gap: 8px;
}

.candidate-stat-card--sources > span:last-child {
    width: auto;
    max-width: 100%;
    margin-top: 0;
    line-height: 1.25;
    white-space: nowrap;
}

.candidate-stat-card--sources .candidate-source-logos {
    height: 24px;
    gap: 0;
}

.candidate-stat-card--sources .candidate-source-logo {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 4px var(--surface-primary);
}

.candidate-source-logos {
    display: flex;
    align-items: center;
    gap: .869px;
    height: 48px;
}

.candidate-source-logo {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 36.505px;
    width: 36.505px;
    height: 36.505px;
    border-radius: 50%;
    box-shadow: 0 0 0 6.953px var(--surface-primary);
}

.candidate-source-logo:nth-child(1) { z-index: 1; }
.candidate-source-logo:nth-child(2) { z-index: 2; }
.candidate-source-logo:nth-child(3) { z-index: 3; }
.candidate-source-logo:nth-child(4) { z-index: 4; }

.candidate-source-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.candidate-source-plus {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36.505px;
    width: 36.505px;
    height: 36.505px;
    overflow: visible;
    border-radius: 50%;
    background: var(--surface-primary);
    box-shadow: 0 0 0 6.953px var(--surface-primary);
}

.candidate-source-plus > span {
    background: linear-gradient(82.7093deg, #49a182 2.0842%, #1b3b30 90.668%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 13.037px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.1304px;
    white-space: nowrap;
}

.candidates-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 120px;
}

