/* ============================================================
   Atlas careers page — page-specific styles.
   Loaded by templates/careers.html only.

   Externalized from the inline <style> block on 2026-05-04.
   Selectors and rules are unchanged from the original; markup
   still references the same class names, so visual output is
   identical pre-externalization.

   Subsequent migration passes (logged in docs/TODO.md) move
   legacy classes here to the shared .f-* / .fm-* foundation
   in components.css / marketing.css and delete duplicates.
   ============================================================ */
:root {
            --accent: var(--accent-primary);
            --accent-hover: var(--accent-primary-hover);
            --bg: #ffffff;
            --bg-tint: #f4f6f9;
            --bg-soft: #fafafa;
            --bg-hover: #ebecef;
            --border-light: #eef0f3;
            --border: #e5e7eb;
            --border-strong: #d4d4d8;
            --border-dark: #71717a;
            --border-graphic: 5px solid;
            --text: #111827;
            --text-2: #525866;
            --text-muted: #9ca3af;
        }
        /* ---------- Values grid ---------- */
        .values-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.85rem;
        }
        @media (min-width: 720px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
        .value-card {
            border: 1px solid var(--border-strong);
            background: transparent;
            border-radius: 22px;
            padding: 1.85rem 1.75rem;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.10), 0 2px 6px -3px rgba(15, 23, 42, 0.04);
        }
        .value-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.10);
            border: 1px solid rgba(0, 0, 0, 0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            margin-bottom: 0.35rem;
        }
        .value-card-icon svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            stroke-width: 1.8;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .value-card h3 {
            font-family: "Mona Sans", Inter, sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            letter-spacing: -0.015em;
            margin: 0;
        }
        .value-card p {
            font-size: 0.95rem;
            color: var(--text-2);
            line-height: 1.55;
            margin: 0;
        }

        /* ---------- Empty positions card ---------- */
        .roles-empty {
            border: 1px solid var(--border-strong);
            background: #ffffff;
            border-radius: 22px;
            padding: 3rem 2rem;
            text-align: center;
            box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.10), 0 2px 6px -3px rgba(15, 23, 42, 0.04);
        }
        .roles-empty h3 {
            font-family: "Mona Sans", Inter, sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--text);
            letter-spacing: -0.015em;
            margin: 0;
        }
        .roles-empty p {
            margin: 0.6rem auto 1.4rem;
            max-width: 480px;
            font-size: 0.98rem;
            color: var(--text-2);
            line-height: 1.55;
        }
        .roles-empty a.role-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-family: "Mona Sans", Inter, sans-serif;
            font-size: 0.92rem;
            font-weight: 500;
            color: var(--text-muted);
            text-decoration: underline;
            text-decoration-color: currentColor;
            transition: color 0.18s;
        }
        .roles-empty a.role-link:hover { color: var(--text-2); }
        .roles-empty a.role-link svg {
            width: 14px; height: 14px;
            stroke: currentColor;
            stroke-width: 2.4;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* ---------- End CTA ---------- */
        .end-cta {
            border: 1px solid var(--border-strong);
            background: #ffffff;
            border-radius: 22px;
            padding: 2.4rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.4rem;
            text-align: center;
            box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.10), 0 2px 6px -3px rgba(15, 23, 42, 0.04);
        }
        @media (min-width: 720px) {
            .end-cta {
                flex-direction: row;
                justify-content: space-between;
                text-align: left;
                padding: 3rem 3rem;
            }
        }
        .end-cta-text { max-width: 520px; }
        .end-cta-text h2 {
            font-family: "Mona Sans", Inter, sans-serif;
            font-size: clamp(1.55rem, 3vw, 2rem);
            font-weight: 600;
            color: var(--text);
            letter-spacing: -0.02em;
            margin: 0;
        }
        .end-cta-text p {
            margin-top: 0.6rem;
            font-size: 0.98rem;
            color: var(--text-2);
            line-height: 1.55;
        }
        .end-cta a.btn-hero-black {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            background: linear-gradient(180deg, #1a1a1a 0%, #050505 100%);
            color: #ffffff;
            font-family: "Mona Sans", Inter, sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            padding: 0.85rem 1.6rem;
            border-radius: 0.85rem;
            white-space: nowrap;
            transition: background 0.2s;
        }
        .end-cta a.btn-hero-black:hover { background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%); }
