/* Devsinc / Workable careers board */
html, body {
    margin: 0;
    background: #ffffff;
}

.careers-shell {
    min-height: 100vh;
    background: #ffffff;
}

.careers {
    --ink: #333e49;
    --muted: #6e6f72;
    --line: #d8d7d7;
    --teal: #00756a;
    --teal-hover: #00665b;
    --brand: #1a2744;
    --brand-hover: #121c33;
    --font: "Open Sans", "Segoe UI", sans-serif;
    --display: "Montserrat", "Open Sans", sans-serif;
    min-height: 100vh;
    padding: 56px 24px 72px;
    background: #ffffff;
    font-family: var(--font);
    color: var(--ink);
    animation: none;
    box-sizing: border-box;
}

.careers *,
.careers *::before,
.careers *::after {
    box-sizing: border-box;
}

.careers-aura,
.careers-bg {
    display: none !important;
}

.careers-wrap {
    width: min(720px, 100%);
    margin: 0 auto;
}

.careers-hero {
    text-align: center;
    margin-bottom: 56px;
}

.careers-brand {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 28px;
}

.careers-brand img:first-child {
    width: 48px;
    height: 48px;
    display: block;
}

.careers-brand img:last-child {
    height: 28px;
    display: block;
}

.careers-hero h1 {
    margin: 0 0 16px;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}

.careers-hero p {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.careers-openings h2 {
    margin: 0 0 28px;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-align: center;
}

.careers-filters {
    margin-bottom: 8px;
}

.careers-search {
    position: relative;
    display: block;
    margin-bottom: 12px;
}

.careers-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    transform: translateY(-50%);
    color: #9b9a9a;
    pointer-events: none;
    flex-shrink: 0;
}

.careers-search input {
    width: 100%;
    height: 44px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px 10px 40px;
    font: inherit;
    font-size: 14px;
    color: #383940;
}

.careers-search input::placeholder {
    color: #6e6f72;
}

.careers-search input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0, 117, 106, 0.15);
}

.careers-filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.careers-select {
    position: relative;
    display: block;
    min-width: 0;
}

.careers-select select {
    width: 100%;
    height: 44px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    padding: 0 34px 0 12px;
    font: inherit;
    font-size: 14px;
    color: #383940;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.careers-select::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6e6f72;
    border-bottom: 1.5px solid #6e6f72;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.careers-select select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0, 117, 106, 0.15);
}

.careers-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.careers-chip {
    border: 0;
    background: #ecebe8;
    color: var(--ink);
    border-radius: 999px;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.careers-chip:hover {
    background: #e2e0dc;
}

.careers-clear {
    border: 0;
    background: none;
    color: var(--teal);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
}

.careers-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.careers-list li {
    border-bottom: 1px solid var(--line);
}

.careers-list li:first-child .careers-job {
    padding-top: 8px;
}

.careers-job {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    color: inherit;
}

.careers-job:hover h3 {
    color: var(--teal);
}

.careers-job-main {
    flex: 1;
    min-width: 0;
}

.careers-job h3 {
    margin: 0 0 8px;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.careers-job-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 14px;
    color: var(--muted);
}

.careers-dot {
    margin: 0 8px;
    opacity: 0.55;
}

.careers-job-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 2px;
}

.careers-job-place {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.careers-job-loc {
    font-size: 14px;
    color: var(--muted);
}

.careers-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
}

.careers-more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.careers-more button {
    border: 1px solid var(--teal);
    background: var(--teal);
    color: #fff;
    border-radius: 8px;
    padding: 11px 23px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.careers-more button:hover {
    background: var(--teal-hover);
    border-color: var(--teal-hover);
}

.careers-back {
    display: flex;
    justify-content: center;
    margin: 32px 0 0;
}

.careers-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(26, 39, 68, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.careers-back-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.careers-back-btn:hover {
    border-color: var(--brand);
    background: #f7f8fa;
    color: var(--brand-hover);
    box-shadow: 0 2px 8px rgba(26, 39, 68, 0.08);
}

.careers-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 48px;
    padding: 28px 16px 8px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.careers-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.careers-footer a {
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.careers-footer a:hover {
    color: var(--teal);
}

.careers-footer-brand {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #8a9098;
    letter-spacing: 0.04em;
}

.careers-footer-brand strong {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.careers-footer .tm {
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 1px;
    vertical-align: super;
    line-height: 0;
    color: #8a9098;
}

/* Job detail / apply — keep Workable tone */
.careers-detail {
    text-align: left;
}

.careers-detail .careers-brand,
.careers-detail .wa-brand,
.wa .wa-brand {
    display: flex;
    width: fit-content;
    margin: 0 auto 28px;
}

.careers .wd-head {
    margin-bottom: 28px;
}

.careers .wd-head h1 {
    font-family: var(--display);
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.careers .wd-meta,
.careers .wd-loc {
    color: var(--muted);
}

.careers .wd-card,
.careers .careers-card,
.careers .careers-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
}

.careers .wd-tabs {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.careers .wd-tabs .on {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.careers .careers-apply,
.careers .cq-btn {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.careers .careers-apply:hover,
.careers .cq-btn:hover {
    background: var(--brand-hover) !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 720px) {
    .careers {
        padding: 36px 16px 56px;
    }

    .careers-filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .careers-job {
        flex-direction: column;
        gap: 12px;
    }

    .careers-job-side {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .careers-filter-row {
        grid-template-columns: 1fr;
    }

    .careers-hero h1,
    .careers-openings h2 {
        font-size: 26px;
    }
}

/* —— Workable-style application form —— */
.careers.wa {
    padding: 48px 20px 72px;
    background: #ffffff;
}

.wa-wrap {
    width: min(680px, 100%);
    margin: 0 auto;
}

.wa-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
}

.wa-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 32px;
}

.wa-logo img:first-child {
    width: 56px;
    height: 56px;
    display: block;
}

.wa-logo img:last-child {
    height: 30px;
    display: block;
}

.wa-header h1 {
    margin: 0 0 12px;
    max-width: 100%;
    font-family: var(--display);
    font-size: clamp(1.5rem, 3.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.25;
    text-align: center;
}

.wa-meta {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.wa-loc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.wa-loc svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.wa-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin: 28px 0 24px;
    border-bottom: 1px solid var(--line);
}

.wa-tabs a,
.wa-tabs span {
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.wa-tabs a:hover { color: var(--ink); }
.wa-tabs .on {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.wa-tabs .is-off { opacity: 0.45; cursor: default; }

/* legacy aliases */
.wa-brand,
.wa-head { text-align: center; }
.wa-brand {
    display: flex;
    width: fit-content;
    margin: 0 auto 28px;
}

.wa-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.wa-autofill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #faf9f7;
}

.wa-autofill-copy {
    flex: 1;
    min-width: 220px;
}

.wa-autofill-copy h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
}

.wa-autofill-copy h2 svg {
    width: 14px;
    height: 14px;
    color: var(--teal);
}

.wa-autofill-copy p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.wa-autofill-ok {
    color: var(--teal) !important;
    font-weight: 600;
    margin-top: 8px !important;
}

.wa-import {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--teal);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
}

.wa-import svg {
    width: 14px;
    height: 14px;
}

.wa-import input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.wa-import:hover { background: var(--teal-hover); }
.wa-import.is-busy {
    opacity: 0.75;
    pointer-events: none;
}
.wa-import input:disabled {
    cursor: wait;
}

.wa-required {
    margin: 0;
    padding: 14px 22px 0;
    font-size: 13px;
    color: var(--muted);
}

.wa-required span { color: #c0392b; }

.wa-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 8px 22px 24px;
}

.wa-section {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.wa-section:last-of-type {
    border-bottom: 0;
}

.wa-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wa-section-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.wa-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.wa-clear svg {
    width: 14px;
    height: 14px;
}

.wa-clear:hover { color: var(--ink); }

.wa-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 14px;
}

.wa-grid-2 > .wa-field {
    margin-bottom: 0;
    min-width: 0;
}

.wa-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.wa-field[hidden],
.wa-optional [hidden],
[hidden] {
    display: none !important;
}

.wa-field:last-child { margin-bottom: 0; }

.wa-field label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.wa-field label span { color: #c0392b; }
.wa-field label em,
.wa-optional em {
    font-style: normal;
    font-weight: 500;
    color: var(--muted);
}

.wa-field input,
.wa-field select,
.wa-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink);
}

.wa-field input {
    height: 42px;
    -webkit-appearance: none;
    appearance: none;
}

.wa-field select {
    height: 42px;
}

.wa-field textarea {
    resize: vertical;
    min-height: 96px;
    height: auto;
}

.wa-field input:focus,
.wa-field select:focus,
.wa-field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(0, 117, 106, 0.12);
}

.wa-field small {
    font-size: 12px;
    color: var(--muted);
}

.wa-phone {
    display: flex;
    align-items: stretch;
    height: 42px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.wa-phone-code {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 12px;
    background: #f6f4f0;
    border-right: 1px solid #cfcfcf;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.wa-phone input {
    flex: 1;
    min-width: 0;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wa-optional {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.wa-optional:last-of-type { border-bottom: 0; }

.wa-optional-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.wa-add {
    border: 1px solid #cfcfcf;
    background: #fff;
    color: var(--teal);
    border-radius: 6px;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.wa-add[hidden] {
    display: none !important;
}

.wa-add:hover {
    border-color: var(--teal);
    background: #f3faf8;
}

.wa-drop {
    position: relative;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 28px 16px;
    border: 1.5px dashed var(--teal);
    border-radius: 8px;
    background: #f7fbfa;
    text-align: center;
    cursor: pointer;
}

.wa-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.wa-drop svg {
    width: 28px;
    height: 28px;
    color: var(--teal);
}

.wa-drop strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.wa-drop em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}
.wa-drop.is-invalid {
    border-color: #b42318;
    background: #fef2f2;
}
.wa-drop.is-invalid svg { color: #b42318; }

.wa-error {
    margin: 8px 0 14px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fef2f2;
    color: #b42318;
    font-size: 14px;
}

.wa-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.wa-submit:hover { background: var(--brand-hover); color: #fff; }
.wa-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.wa-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 22px;
}

.wa-company {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
}

.wa-overview {
    padding: 0;
    overflow: hidden;
}

.wd-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.wd-fact {
    background: #faf9f7;
    padding: 16px 14px;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.wd-fact span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.wd-fact strong {
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
    line-height: 1.35;
    word-break: break-word;
}

.wd-section {
    margin: 0;
    padding: 28px 26px 8px;
}

.wd-section:last-of-type {
    padding-bottom: 8px;
}

.wd-section h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.wd-prose {
    margin: 0;
    color: #374151;
    white-space: pre-wrap;
    line-height: 1.72;
    font-size: 0.98rem;
}

.wd-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.wd-skill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3faf8;
    border: 1px solid #cce8e2;
    color: var(--teal);
    font-size: 12px;
    font-weight: 650;
}

.wd-cta {
    padding: 22px 26px 28px;
}

.wd-cta .wa-submit {
    margin-top: 0;
}

.wd-cta-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.careers-closed {
    display: block;
    margin: 0;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 600;
    text-align: center;
}

.wa-status {
    text-align: center;
}

.wa-status h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.wa-status p {
    margin: 0 0 18px;
    color: var(--muted);
}

.wa-footer {
    margin-top: 48px;
}

@media (max-width: 640px) {
    .wa-grid-2 { grid-template-columns: 1fr; }
    .wa-autofill { flex-direction: column; align-items: stretch; }
    .wa-import { justify-content: center; width: 100%; }
    .wa-form,
    .wa-autofill,
    .wa-required { padding-left: 16px; padding-right: 16px; }
    .wd-facts { grid-template-columns: 1fr 1fr; }
    .wd-section { padding-left: 18px; padding-right: 18px; }
    .wd-cta { padding-left: 18px; padding-right: 18px; }
}
