/* ══════════════════════════════════════════════════════════════
   Careers pages — shared styles
   Used by careers.html and every job page under jobs/
   ══════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background: #000d16;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(192, 192, 192, 0.25);
    color: #ffffff;
}

/* ── Container ── */
.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Silver gradient text ── */
.silver-gradient {
    background: linear-gradient(135deg,
            #707070 0%,
            #a8a8a8 20%,
            #d4d4d4 35%,
            #ffffff 50%,
            #d4d4d4 65%,
            #a8a8a8 80%,
            #707070 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Header ── */
header {
    padding: 20px 0;
    border-bottom: 0.5px solid rgba(192, 192, 192, 0.1);
    position: sticky;
    top: 0;
    background: rgba(0, 13, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: #909090;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-link:hover {
    color: #e0e0e0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1) brightness(0.85) contrast(1.1);
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg,
            #707070 0%,
            #a8a8a8 20%,
            #d4d4d4 35%,
            #ffffff 50%,
            #d4d4d4 65%,
            #a8a8a8 80%,
            #707070 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero ── */
.hero {
    padding: 88px 0 32px;
}

.hero h1 {
    font-size: 3.1rem;
    font-weight: 600;
    line-height: 1.12;
    color: #f5f5f5;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.hero-pitch p {
    font-size: 1rem;
    color: #b4bcc2;
    margin-bottom: 30px;
}

/* ── Section shared ── */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 20px;
}

section {
    padding: 48px 0;
}

section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 36px 0 14px;
    letter-spacing: 0.01em;
}

p {
    color: #b4bcc2;
    font-size: 1rem;
    margin-bottom: 16px;
}

p strong {
    color: #e8e8e8;
    font-weight: 600;
}

/* ── Why join us cards ── */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(192, 192, 192, 0.1);
    border-radius: 12px;
    padding: 22px 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(192, 192, 192, 0.25);
    transform: translateY(-2px);
}

.benefit-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.benefit-card p {
    font-size: 0.92rem;
    color: #9aa4ab;
    margin: 0;
    line-height: 1.6;
}

/* ── Tags ── */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a0a8ae;
    background: rgba(192, 192, 192, 0.06);
    border: 0.5px solid rgba(192, 192, 192, 0.14);
    border-radius: 999px;
    padding: 5px 14px;
}

/* ── Open roles list (careers.html) ── */
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.role-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(18, 26, 36, 0.55);
    border: 0.5px solid rgba(192, 192, 192, 0.14);
    border-radius: 16px;
    padding: 26px 32px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.role-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(192, 192, 192, 0.3) 50%,
            transparent 100%);
}

.role-row:hover {
    border-color: rgba(192, 192, 192, 0.3);
    background: rgba(24, 33, 44, 0.65);
    transform: translateY(-2px);
}

.role-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.role-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.role-row:hover .role-arrow {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

.roles-footnote {
    margin-top: 28px;
    font-size: 0.95rem;
    color: #8a949b;
    text-align: center;
}

.roles-footnote a {
    color: #d8dde1;
    text-decoration: none;
    border-bottom: 1px solid rgba(192, 192, 192, 0.35);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.roles-footnote a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* ── Job detail page (jobs/*.html) ── */
.job-hero {
    padding: 64px 0 8px;
}

.job-hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #f5f5f5;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.job-hero .job-tags {
    margin-bottom: 28px;
}

.job-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Requirement lists ── */
.req-list {
    list-style: none;
    margin: 0 0 8px;
}

.req-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    color: #b4bcc2;
    font-size: 0.98rem;
    line-height: 1.65;
}

.req-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 1px;
    background: rgba(192, 192, 192, 0.55);
}

.req-list strong {
    color: #e8e8e8;
    font-weight: 600;
}

.optional-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a949b;
    background: rgba(192, 192, 192, 0.07);
    border: 0.5px solid rgba(192, 192, 192, 0.14);
    border-radius: 999px;
    padding: 1px 8px;
    margin-right: 6px;
    vertical-align: 1px;
}

/* ── Apply CTA ── */
.apply-block {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 0.5px solid rgba(192, 192, 192, 0.1);
    text-align: center;
}

.apply-block h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.apply-block p {
    max-width: 560px;
    margin: 0 auto 24px;
}

.apply-block a.inline-mail {
    color: #d8dde1;
    text-decoration: none;
    border-bottom: 1px solid rgba(192, 192, 192, 0.35);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.apply-block a.inline-mail:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 15px 36px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.primary-btn:active {
    transform: translateY(0);
}

/* ── Footer ── */
footer {
    padding: 32px 0;
    margin-top: 24px;
    border-top: 0.5px solid rgba(192, 192, 192, 0.1);
    text-align: center;
}

footer .footer-logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

footer .copyright {
    font-size: 12px;
    color: #606060;
}

footer a {
    color: #909090;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #d0d0d0;
}

/* ── Responsive ── */
@media (max-width: 560px) {
    .hero {
        padding: 56px 0 16px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

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

    .role-row {
        padding: 20px;
    }

    .role-title {
        font-size: 1.1rem;
    }

    .role-arrow {
        width: 34px;
        height: 34px;
    }

    .job-hero h1 {
        font-size: 1.7rem;
    }
}
