/* Gostliery Careers — Cloudflare Careers carbon copy */
.cr-body {
    margin: 0;
    background: #151414;
}

.cr-page-wrap {
    min-height: 100vh;
    background: #151414;
}

.cr-page {
    --cr-bg: #151414;
    --cr-bg-2: #191817;
    --cr-bg-3: #2a2927;
    --cr-fg: #f0e3de;
    --cr-fg-muted: rgba(240, 227, 222, 0.7);
    --cr-border: #f0e3de20;
    --cr-dots: #f0e3de20;
    --cr-accent: #ff5e1f;
    --cr-accent-2: #ff7038;
    --cr-shell: 1200px;
    --cr-decor-w: 1480px;
    --cr-pad-x: 32px;
    color: var(--cr-fg);
    background: var(--cr-bg);
    font-family: "Space Grotesk", "Google Sans Flex", system-ui, sans-serif;
    font-weight: 400;
}

.cr-page h1,
.cr-page h2,
.cr-page h3 {
    font-weight: 500;
    letter-spacing: -0.025em;
}

.cr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cr-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    isolation: isolate;
}

/* CF CornerLines + Dots page chrome — exact carbon (#background-lines) */
.cr-page-decor {
    display: none;
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cr-page-decor {
        display: block;
    }
}

/* 1200px solid mask — hides dots inside content column */
.cr-page-decor__mask {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 10;
    width: var(--cr-shell);
    height: 100%;
    transform: translateX(-50%);
    background: var(--cr-bg);
}

/* 1480px dots band + outer rails */
.cr-page-decor__band {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: var(--cr-decor-w);
    height: 100%;
    transform: translateX(-50%);
    color: var(--cr-dots);
}

.cr-dots {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: inherit;
}

/* CF vertical rails: linear-gradient 16 on / 16 off */
.cr-vline {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--cr-border) 50%, transparent 50%);
    background-size: 1px 32px;
    background-repeat: repeat-y;
}

.cr-vline--left { left: 0; }
.cr-vline--right { right: 0; }

.cr-page-decor__mask .cr-vline,
.cr-page-decor__band .cr-vline {
    z-index: 1;
}

.cr-corner-lines {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    color: var(--cr-border);
}

.cr-dash-line {
    display: block;
    position: absolute;
    left: 50%;
    width: 200dvw;
    max-width: none;
    height: 1px;
    transform: translateX(-50%);
    color: inherit;
    overflow: visible;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
}

.cr-dash-line--top { top: 0; }
.cr-dash-line--bottom { bottom: 0; }

.cr-dash-line line {
    stroke: currentColor;
}

.cr-sep {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: -0.5px;
    background: var(--cr-bg);
    overflow: hidden;
    color: var(--cr-border);
}

/* CF Pattern dividers are md:hidden — desktop uses CornerLines only */
@media (min-width: 768px) {
    .cr-sep {
        display: none;
    }
}

.cr-sep__band {
    position: relative;
    height: 80px;
    width: 100%;
    color: var(--cr-dots);
    overflow: hidden;
}

.cr-sep .cr-dash-line {
    opacity: 1;
}

.cr-hero,
.cr-section,
.cr-roles,
.cr-steps,
.cr-work,
.cr-life,
.cr-build,
.cr-panel-sec {
    position: relative;
    z-index: 1;
}

.cr-shell {
    width: min(100%, var(--cr-shell));
    margin: 0 auto;
    padding: 0 var(--cr-pad-x);
}

/* Flush to 1200 rails (CF max-w-[1200px] frames) */
.cr-shell--frame {
    width: min(calc(100% - 2 * var(--cr-pad-x)), var(--cr-shell));
    padding: 0;
}

.cr-section {
    padding: 64px 0 0;
    background: transparent;
}

.cr-panel-sec {
    padding-top: 28px;
    padding-bottom: 48px;
    background: transparent;
}

.cr-roles,
.cr-steps,
.cr-work,
.cr-life {
    background: transparent;
}

.cr-section__intro {
    max-width: 720px;
}

.cr-section__intro--center {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cr-section-title {
    margin: 0 0 12px;
    color: var(--cr-fg);
    font-size: clamp(1.2rem, 2vw, 1.2rem);
    line-height: 1.2;
    font-weight: 400;
}

.cr-display-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    color: var(--cr-fg);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.cr-display-title--center {
    text-align: center;
    margin-bottom: 8px;
}

.cr-display-lead {
    margin: 16px 0 0;
    max-width: 52rem;
    color: var(--cr-fg-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.cr-copy-link {
    position: relative;
    display: none;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(240, 227, 222, 0.4);
    cursor: pointer;
}

.cr-display-title:hover .cr-copy-link,
.cr-copy-link:focus-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cr-copy-link::before {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 13.5a1 1 0 0 1 0-1.4l3-3a1 1 0 1 1 1.4 1.4l-3 3a1 1 0 0 1-1.4 0Zm-3.2 1.8a3.5 3.5 0 0 1 0-5l2.1-2.1a1 1 0 1 1 1.4 1.4L8.7 11.7a1.5 1.5 0 0 0 0 2.1l2.1 2.1a1 1 0 0 1-1.4 1.4l-2.1-2Zm8.4-8.4a1 1 0 0 1 1.4 0l2.1 2.1a3.5 3.5 0 0 1 0 5l-2.1 2.1a1 1 0 1 1-1.4-1.4l2.1-2.1a1.5 1.5 0 0 0 0-2.1l-2.1-2.1a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 13.5a1 1 0 0 1 0-1.4l3-3a1 1 0 1 1 1.4 1.4l-3 3a1 1 0 0 1-1.4 0Zm-3.2 1.8a3.5 3.5 0 0 1 0-5l2.1-2.1a1 1 0 1 1 1.4 1.4L8.7 11.7a1.5 1.5 0 0 0 0 2.1l2.1 2.1a1 1 0 0 1-1.4 1.4l-2.1-2Zm8.4-8.4a1 1 0 0 1 1.4 0l2.1 2.1a3.5 3.5 0 0 1 0 5l-2.1 2.1a1 1 0 1 1-1.4-1.4l2.1-2.1a1.5 1.5 0 0 0 0-2.1l-2.1-2.1a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cr-copy-link:hover {
    color: var(--cr-fg);
}

.cr-copy-link.is-copied {
    color: var(--cr-accent);
}

.cr-section-lead {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.cr-icon {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.cr-corners {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    user-select: none;
}

.cr-corners__c {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--cr-border);
    border-radius: 3px;
    background: var(--cr-bg-2);
    box-sizing: border-box;
}

.cr-corners__c--tl { left: -7px; top: -7px; }
.cr-corners__c--tr { right: -7px; top: -7px; }
.cr-corners__c--bl { left: -7px; bottom: -7px; }
.cr-corners__c--br { right: -7px; bottom: -7px; }

.cr-panel {
    position: relative;
    border: 1px solid var(--cr-border);
    background: var(--cr-bg);
}

.cr-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .cr-panel__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cr-panel__cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    border-bottom: 1px solid var(--cr-border);
    background: var(--cr-bg);
    transition: background 0.16s ease;
}

.cr-panel__cell:hover {
    background: var(--cr-bg-2);
}

@media (min-width: 1024px) {
    .cr-panel__cell {
        padding: 32px;
        border-bottom: 0;
        border-right: 1px solid var(--cr-border);
    }
    .cr-panel__cell:nth-child(3n) {
        border-right: 0;
    }
    .cr-panel__cell:nth-child(n+4) {
        border-top: 1px solid var(--cr-border);
    }
}

.cr-panel__icon {
    display: inline-flex;
    color: var(--cr-fg);
    margin-bottom: 4px;
}

.cr-panel__title {
    margin: 8px 0 4px;
    color: var(--cr-fg);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.cr-panel__body {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    transition: opacity 0.16s ease, transform 0.16s ease, background 0.16s ease, color 0.16s ease;
    white-space: nowrap;
}

.cr-btn:hover {
    opacity: 0.95;
}

.cr-btn:active {
    transform: translateY(1px);
}

.cr-btn--accent {
    background: var(--cr-accent);
    border-color: var(--cr-accent);
    color: #fffbf5;
}

.cr-btn--accent:hover {
    color: #fffbf5;
}

.cr-btn--ghost {
    background: transparent;
    border-color: var(--cr-border);
    color: var(--cr-fg);
}

.cr-btn--ghost:hover {
    color: var(--cr-fg);
    background: rgba(240, 227, 222, 0.04);
}

.cr-btn--light {
    background: #fffbf5;
    border-color: #fffbf5;
    color: #151414;
}

.cr-btn--light:hover {
    color: #151414;
}

/* Hero — CF layers: CornerLines + Dots(mask-b) + globe + values */
.cr-hero {
    position: relative;
    z-index: 10;
    background: var(--cr-bg);
    overflow: visible;
}

.cr-hero__frame {
    position: relative;
}

.cr-hero__stage {
    position: relative;
    overflow: hidden;
}

/* Hero Dots with mask-b-from-0 (fade out at bottom) */
.cr-hero__stage > .cr-dots,
.cr-dots--mask-b {
    z-index: 0;
    color: var(--cr-dots);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.cr-hero__copy {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 64px var(--cr-pad-x) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cr-hero__copy {
        padding-top: 96px;
    }
}

.cr-hero__title {
    margin: 0;
    max-width: 18ch;
    color: var(--cr-fg);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 500;
    text-wrap: balance;
}

.cr-hero__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--cr-fg-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 400;
    text-wrap: balance;
}

.cr-hero__globe {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 320px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cr-hero__globe {
        height: 420px;
    }
}

.cr-globe {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: -50px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.97);
    transform-origin: center;
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
    .cr-globe {
        height: 700px;
        margin-top: 0;
    }
}

.cr-globe.is-ready {
    opacity: 1;
    transform: scale(1);
}

.cr-globe__canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}

.cr-globe__fallback {
    position: absolute;
    inset: 0;
    margin: auto;
    max-height: min(560px, 80vh);
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.cr-globe__caps {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.cr-globe__marker {
    position: absolute;
    width: 28px;
    height: 28px;
    margin: 0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #ff500a;
    color: #fffbf5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(255, 80, 10, 0.35);
    z-index: 3;
}

.cr-globe__marker-ring {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(255, 80, 10, 0.45);
    animation: cr-marker-pulse 2.4s ease-out infinite;
}

.cr-globe__marker-icon {
    width: 14px;
    height: 14px;
    position: relative;
    z-index: 1;
}

@keyframes cr-marker-pulse {
    0% { transform: scale(0.85); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.cr-globe__cap {
    position: absolute;
    width: 240px;
    padding: 12px;
    border: 1px dashed #ff5e1f;
    background: rgba(21, 20, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ff5e1f;
    opacity: 0;
    transform: translate(-280px, -60px) scale(0);
    transform-origin: right top;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    z-index: 4;
    box-sizing: border-box;
}

.cr-globe__cap.is-visible.is-on {
    opacity: 1;
    transform: translate(var(--cr-cap-x, -280px), var(--cr-cap-y, -60px)) scale(1);
}

.cr-globe__cap[data-side="right"] {
    transform-origin: left top;
}

.cr-globe__cap-inner {
    position: relative;
    z-index: 1;
}

.cr-globe__cap-value {
    margin: 0 0 4px;
    color: #ff5e1f;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cr-globe__cap-text {
    margin: 0;
    color: rgba(255, 94, 31, 0.85);
    font-size: 0.8125rem;
    line-height: 1.35;
}

.cr-globe__cap-corner {
    position: absolute;
    pointer-events: none;
    background: #ff5e1f;
}

.cr-globe__cap-corner--tl-h { left: -1.5px; top: -1.5px; width: 16px; height: 2px; }
.cr-globe__cap-corner--tl-v { left: -1.5px; top: -1.5px; width: 2px; height: 16px; }
.cr-globe__cap-corner--tr-h { right: -1.5px; top: -1.5px; width: 16px; height: 2px; }
.cr-globe__cap-corner--tr-v { right: -1.5px; top: -1.5px; width: 2px; height: 16px; }
.cr-globe__cap-corner--bl-h { left: -1.5px; bottom: -1.5px; width: 16px; height: 2px; }
.cr-globe__cap-corner--bl-v { left: -1.5px; bottom: -1.5px; width: 2px; height: 16px; }
.cr-globe__cap-corner--br-h { right: -1.5px; bottom: -1.5px; width: 16px; height: 2px; }
.cr-globe__cap-corner--br-v { right: -1.5px; bottom: -1.5px; width: 2px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
    .cr-globe__marker-ring { animation: none; }
}

/* Values — CF grid: CornerLines top + border-x + corner squares + column dividers */
.cr-values-wrap {
    position: relative;
    width: 100%;
}

.cr-values {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: min(calc(100% - 2 * var(--cr-pad-x)), var(--cr-shell));
    margin: 0 auto;
    border-left: 1px solid var(--cr-border);
    border-right: 1px solid var(--cr-border);
    background: transparent;
}

@media (min-width: 768px) {
    .cr-values {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cr-values__item {
    padding: 24px;
    background: var(--cr-bg);
    border-top: 1px solid var(--cr-border);
}

.cr-values__item:first-of-type {
    border-top: 0;
}

@media (min-width: 768px) {
    .cr-values__item {
        padding: 32px;
        border-top: 0;
        border-left: 1px solid var(--cr-border);
    }

    .cr-values__item:first-of-type {
        border-left: 0;
    }
}

.cr-values__title {
    margin: 0 0 8px;
    padding-top: 8px;
    color: var(--cr-fg);
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 400;
}

.cr-values__body {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Pattern dividers replaced by .cr-sep (CF CornerLines 16,16 + Dots) */

/* Roles — CF exact carbon: corners + pad + dashed 8,8 + header/cols/list/footer */
.cr-roles {
    --cr-fg-secondary: #9a9390;
    scroll-margin-top: 96px;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .cr-roles {
        padding-top: 80px;
    }
}

.cr-box {
    position: relative;
}

.cr-box .cr-corners {
    display: none;
}

@media (min-width: 768px) {
    .cr-box .cr-corners {
        display: block;
    }
}

.cr-box__pad {
    position: relative;
    overflow: hidden;
    padding: 4px;
    border: 1px solid var(--cr-border);
    background: var(--cr-bg-2);
}

@media (min-width: 640px) {
    .cr-box__pad {
        padding: 8px;
    }
}

.cr-box__inner {
    position: relative;
    background: var(--cr-bg);
    border-radius: 8px;
    overflow: hidden;
}

.cr-dash-rect {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    color: var(--cr-border);
}

.cr-roles__article {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 8px;
}

.cr-roles__header {
    padding: 16px;
    border-bottom: 1px solid var(--cr-border);
}

@media (min-width: 768px) {
    .cr-roles__header {
        padding: 20px 24px;
    }
}

.cr-roles__title {
    margin: 0;
    color: var(--cr-fg);
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.cr-roles__cols {
    display: none;
    grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 1fr) 9rem;
    gap: 32px;
    padding: 12px 32px;
    border-bottom: 1px solid var(--cr-border);
    background: var(--cr-bg-2);
    color: var(--cr-fg-secondary);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .cr-roles__cols {
        display: grid;
    }
}

.cr-roles__cols-date {
    text-align: right;
}

.cr-roles__scroll {
    min-height: 360px;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .cr-roles__scroll {
        padding: 0 16px;
    }
}

.cr-roles__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-roles__list > li {
    border-bottom: 1px solid var(--cr-border);
}

.cr-roles__list > li:last-child {
    border-bottom: 0;
}

.cr-roles__list [hidden] {
    display: none !important;
}

.cr-roles__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease;
}

.cr-roles__row:hover,
.cr-roles__row:focus-visible {
    background: rgba(25, 24, 23, 0.7);
    outline: none;
}

.cr-roles__row:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 94, 31, 0.35);
}

.cr-roles__role h3 {
    margin: 0;
    color: var(--cr-fg);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.025em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s ease;
}

.cr-roles__row:hover .cr-roles__role h3,
.cr-roles__row:focus-visible .cr-roles__role h3 {
    color: var(--cr-accent);
}

.cr-roles__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--cr-fg-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.cr-roles__row:hover .cr-roles__meta,
.cr-roles__row:focus-visible .cr-roles__meta {
    color: var(--cr-fg);
}

.cr-roles__meta-team,
.cr-roles__meta-loc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-roles__dot {
    flex-shrink: 0;
    opacity: 0.7;
}

.cr-roles__date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 768px) {
    .cr-roles__row {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 1fr) 9rem;
        align-items: center;
        gap: 32px;
        padding: 16px;
    }

    .cr-roles__date {
        justify-content: flex-end;
    }
}

.cr-roles__date-clip {
    position: relative;
    width: 100%;
    height: 32px;
    overflow: hidden;
}

.cr-roles__date-swap {
    position: absolute;
    inset-inline: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateY(-32px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cr-roles__row:hover .cr-roles__date-swap,
.cr-roles__row:focus-visible .cr-roles__date-swap {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .cr-roles__date-swap {
        transition: none;
    }
}

.cr-roles__date-arrow,
.cr-roles__date-swap > small {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 32px;
    color: var(--cr-fg-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
}

.cr-roles__date-arrow {
    color: var(--cr-fg);
}

.cr-roles__empty {
    margin: 16px 0;
    color: var(--cr-fg-secondary);
    text-align: center;
}

.cr-roles__footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    border-top: 1px solid var(--cr-border);
    background: rgba(25, 24, 23, 0.3);
}

@media (min-width: 768px) {
    .cr-roles__footer {
        padding: 16px 24px;
    }
}

.cr-roles__see-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid var(--cr-border);
    border-radius: 999px;
    background: transparent;
    color: var(--cr-fg);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.cr-roles__see-all:hover {
    opacity: 0.95;
}

.cr-roles__see-all:active {
    transform: translateY(1px);
}

/* Hiring steps */
.cr-steps {
    padding-bottom: 64px;
}

.cr-steps__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cr-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: min(100%, 720px);
}

.cr-steps__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.cr-steps__item.is-in {
    opacity: 1;
    transform: none;
}

.cr-steps__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cr-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--cr-border);
    background: var(--cr-bg-2);
    color: var(--cr-fg);
    font-size: 0.875rem;
    font-weight: 500;
}

.cr-steps__line {
    flex: 1;
    width: 1px;
    min-height: 28px;
    margin: 8px 0;
    background: linear-gradient(to bottom, var(--cr-border), transparent);
}

.cr-steps__copy {
    padding-bottom: 28px;
}

.cr-steps__item.is-last .cr-steps__copy {
    padding-bottom: 0;
}

.cr-steps__copy h3 {
    margin: 4px 0 8px;
    color: var(--cr-fg);
    font-size: 1.2rem;
    font-weight: 400;
}

.cr-steps__copy p {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.975rem;
    line-height: 1.55;
}

/* How we work */
.cr-work {
    padding-top: 24px;
    padding-bottom: 48px;
}

.cr-work__outer {
    max-width: 1080px;
    margin: 0 auto;
    padding: 4px;
    border: 1px dashed var(--cr-border);
    border-radius: 12px;
    background: var(--cr-bg-2);
}

.cr-work__grid {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--cr-border);
    border-radius: 8px;
    background: var(--cr-bg);
}

@media (min-width: 768px) {
    .cr-work__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cr-work__card {
    padding: 16px 24px;
    border-bottom: 1px solid var(--cr-border);
    background: var(--cr-bg);
}

@media (min-width: 768px) {
    .cr-work__card {
        border-bottom: 0;
        border-right: 1px solid var(--cr-border);
        padding: 24px;
    }
    .cr-work__card:last-child {
        border-right: 0;
    }
}

.cr-work__head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.cr-work__icon {
    display: inline-flex;
    color: var(--cr-fg);
    flex: none;
}

.cr-work__icon .cr-icon {
    width: 20px;
    height: 20px;
}

.cr-work__card h3 {
    margin: 0;
    color: var(--cr-fg);
    font-size: 1rem;
    font-weight: 600;
}

.cr-work__card p {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Life frame */
.cr-life {
    padding-bottom: 48px;
}

.cr-frame {
    position: relative;
    border: 1px solid var(--cr-border);
}

.cr-life__grid {
    display: grid;
}

@media (min-width: 960px) {
    .cr-life__grid {
        grid-template-columns: 1fr 1fr;
        direction: rtl;
    }
    .cr-life__media,
    .cr-life__copy {
        direction: ltr;
    }
}

.cr-life__media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cr-bg-2);
    border-bottom: 1px solid var(--cr-border);
}

@media (min-width: 960px) {
    .cr-life__media {
        border-bottom: 0;
    }
}

.cr-life__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cr-life__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 32px;
}

@media (min-width: 960px) {
    .cr-life__copy {
        padding: 48px;
        border-right: 1px solid var(--cr-border);
    }
}

.cr-life__title {
    margin: 0;
    color: var(--cr-fg);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.cr-life__body {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.cr-life__body strong {
    color: var(--cr-fg);
    font-weight: 500;
}

/* Partner Program benefits */
.cr-partner-benefits {
    padding: 48px 0 24px;
}

.cr-partner-benefits__title {
    margin: 0 0 24px;
    color: var(--cr-fg);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.025em;
}

.cr-partner-benefits__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .cr-partner-benefits__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cr-partner-benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--cr-border);
    border-radius: 16px;
    background: var(--cr-bg-2);
}

.cr-partner-benefits__icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--cr-fg);
}

.cr-partner-benefits__text {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

/* How it works + apply form */
.cr-how {
    padding: 24px 0 48px;
}

.cr-how__frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--cr-border);
    border-radius: 24px;
    background: var(--cr-bg-2);
}

@media (min-width: 960px) {
    .cr-how__frame {
        grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
        gap: 40px;
        padding: 8px 8px 8px 40px;
    }
}

.cr-how__gradient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cr-how__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.cr-how__blob--a {
    width: 280px;
    height: 280px;
    left: -40px;
    bottom: -80px;
    background: rgba(255, 94, 31, 0.45);
}

.cr-how__blob--b {
    width: 220px;
    height: 220px;
    right: 10%;
    top: -60px;
    background: rgba(255, 112, 56, 0.28);
}

.cr-how__left,
.cr-how__right {
    position: relative;
    z-index: 1;
}

.cr-how__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 16px;
}

@media (min-width: 960px) {
    .cr-how__left {
        padding: 40px 0;
    }
}

.cr-how__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    color: #151414;
}

.cr-how__title {
    margin: 0;
    color: var(--cr-fg);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.025em;
}

.cr-how__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cr-how__steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
}

.cr-how__steps li.is-active {
    color: var(--cr-fg);
}

.cr-how__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--cr-border);
    color: var(--cr-fg-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.cr-how__steps li.is-active .cr-how__step-num {
    border-color: var(--cr-accent);
    background: var(--cr-accent);
    color: #fff;
}

.cr-how__highlights {
    list-style: none;
    margin: 8px 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 8px;
    background: rgba(16, 16, 17, 0.5);
    color: #f8f9fa;
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.cr-how__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #f8f9fa;
}

.cr-how__check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #7ce5a2;
}

.cr-how__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
    border: 1px solid var(--cr-border);
    border-radius: 16px;
    background: rgba(21, 20, 20, 0.92);
}

@media (min-width: 640px) {
    .cr-how__form {
        padding: 40px 24px;
    }
}

.cr-how__form-title {
    margin: 0;
    color: var(--cr-fg);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.cr-how__flash {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
}

.cr-how__flash--ok {
    background: rgba(62, 207, 142, 0.12);
    color: #3ecf8e;
}

.cr-how__flash--err {
    background: rgba(255, 94, 31, 0.12);
    color: var(--cr-accent-2);
}

.cr-how__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .cr-how__form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.cr-how__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--cr-fg);
    font-size: 0.875rem;
    font-weight: 500;
}

.cr-how__field input,
.cr-how__field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--cr-border);
    border-radius: 10px;
    background: var(--cr-bg-2);
    color: var(--cr-fg);
    font: inherit;
    font-weight: 400;
    font-size: 0.9375rem;
}

.cr-how__field textarea {
    min-height: 120px;
    resize: vertical;
}

.cr-how__field input:focus,
.cr-how__field textarea:focus {
    outline: none;
    border-color: rgba(255, 94, 31, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 94, 31, 0.2);
}

.cr-how__hint {
    color: var(--cr-fg-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

.cr-how__required-note {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.8125rem;
}

.cr-how__submit {
    align-self: flex-start;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    cursor: pointer;
}

.cr-how__legal {
    margin: 0;
    color: var(--cr-fg-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.cr-how__legal a {
    color: var(--cr-fg);
}

/* Build CTA */
.cr-build {
    position: relative;
    z-index: 10;
    padding: 8px;
    background: var(--cr-bg);
}

.cr-build__frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cr-border);
    background:
        radial-gradient(1200px 400px at 20% 0%, rgba(255, 94, 31, 0.18), transparent 55%),
        radial-gradient(900px 360px at 90% 100%, rgba(255, 112, 56, 0.12), transparent 50%),
        var(--cr-bg-2);
    padding: 64px 24px 48px;
    text-align: center;
}

.cr-build__title {
    margin: 0 0 16px;
    color: var(--cr-fg);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.cr-build__lead {
    margin: 0 auto 28px;
    max-width: 40rem;
    color: var(--cr-fg-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.cr-build__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.cr-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cr-marquee__track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: cr-marquee 50s linear infinite;
}

.cr-marquee__item {
    flex: none;
    color: var(--cr-fg-muted);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.cr-marquee__item::before {
    content: "✦";
    margin-right: 48px;
    color: var(--cr-accent);
    opacity: 0.8;
}

@keyframes cr-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .cr-globe {
        transition: none;
        transform: none;
    }
    .cr-marquee__track {
        animation: none;
    }
    .cr-steps__item {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .cr-page {
        --cr-pad-x: 20px;
    }
    .cr-section {
        padding-top: 48px;
    }
}
