/* Concept C careers hub and role page.
   Live header, footer, Inter, and brand tokens stay in site.css / workspace.css.
   This file only paints the openings column. */

body:has(> main.careers) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:has(> main.careers) > main.careers {
  flex: 1 0 auto;
}

.careers {
  width: min(1040px, calc(100% - 64px));
  margin: 70px auto 0;
  padding: 0 0 120px;
  color: var(--ink);
}

.careers h1,
.careers h2,
.careers h3 {
  text-wrap: wrap;
}

.careers.role {
  margin-top: 45px;
}

.careers .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #5d5b54;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.careers .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--sun, #f5c451);
  flex: 0 0 auto;
}

.careers .company-intro h2 {
  margin: 28px 0 0;
  color: var(--brand-navy, #0a1530);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.careers .company-intro p,
.careers .job-copy p,
.careers .job-copy li {
  color: #37352f;
  font-size: 16.5px;
  line-height: 1.65;
}

.careers .company-intro p {
  max-width: 740px;
  margin: 16px 0 0;
}

.careers.listing > h1 {
  margin: 64px 0 0;
  color: var(--brand-navy, #0a1530);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.careers .openings {
  margin-top: 40px;
}

.careers .list-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline, #e5e3df);
}

.careers .list-top h2 {
  margin: 0;
  color: var(--brand-navy, #0a1530);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.careers .count,
.careers .future,
.careers .meta,
.careers .employment {
  color: #5d5b54;
}

.careers .count {
  font-size: 15px;
  line-height: 1.4;
}

.careers a.job-row,
.careers a.job-row:hover,
.careers a.job-row:focus,
.careers a.job-row:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--hairline, #e5e3df);
  color: inherit;
  text-decoration: none;
}

.careers a.job-row:hover {
  background: transparent;
}

.careers a.job-row h3 {
  margin: 0;
  color: var(--brand-navy, #0a1530);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.careers a.job-row .meta,
.careers a.job-row .employment,
.careers .role-heading .meta,
.careers .role-heading .employment {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.45;
}

.careers a.job-row .employment {
  margin-top: 6px;
}

.careers .arrow {
  color: var(--brand-navy, #0a1530);
  font-size: 26px;
  line-height: 1;
}

.careers .future {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.careers a.back,
.careers a.back:hover,
.careers a.back:focus,
.careers a.back:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d5b54;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
}

.careers a.back:hover {
  color: var(--brand-navy, #0a1530);
}

.careers .role-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 40px;
  margin-top: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline, #e5e3df);
}

.careers .role-heading {
  min-width: 0;
  flex: 1 1 auto;
}

.careers .role-heading h1 {
  margin: 0;
  max-width: 760px;
  color: var(--brand-navy, #0a1530);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.careers .role-heading .meta {
  margin-top: 22px;
}

.careers a.apply,
.careers a.apply:hover,
.careers a.apply:focus,
.careers a.apply:focus-visible,
.careers a.apply:visited,
.careers a.apply:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 48px;
  margin-top: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #f5c451;
  color: #0a1530;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.careers a.apply:hover {
  background: #e6b43a;
  color: #0a1530;
}

.careers a.apply:focus-visible {
  outline: 2px solid #0a1530;
  outline-offset: 3px;
}

.careers .job-copy {
  margin-top: 8px;
}

.careers .job-copy section {
  margin-top: 40px;
}

.careers .job-copy h2 {
  margin: 0;
  color: var(--brand-navy, #0a1530);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.careers .job-copy h2 + p,
.careers .job-copy h2 + ul {
  margin-top: 14px;
}

.careers .job-copy p {
  margin: 0;
}

.careers .job-copy p + p,
.careers .job-copy ul + p {
  margin-top: 16px;
}

.careers .job-copy p + ul {
  margin-top: 12px;
}

.careers .job-copy ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.careers .job-copy li {
  margin: 8px 0;
  padding-left: 0.2em;
}

.careers .job-copy li::marker {
  color: #5d5b54;
}

.careers .job-copy a.apply {
  margin-top: 22px;
}

/* Keep the heading below the sticky header when Apply Now jumps here.
   The section is the scroll target, so it does not take its own focus ring. */
.careers #apply {
  scroll-margin-top: 80px;
}

.careers #apply:focus,
.careers #apply:focus-visible {
  outline: none;
}

/* The apply form sits on the white role page, so it uses the same field
   styles as the walkthrough form and the yellow careers button. */
.careers form.apply-form {
  max-width: 640px;
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--hairline, #e5e3df);
  border-radius: 12px;
  box-shadow: rgba(15, 15, 15, 0.08) 0 4px 12px;
  padding: 28px;
}

.careers form.apply-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.careers form.apply-form .check label {
  margin: 0;
  color: #37352f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.careers form.apply-form .check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: #0a1530;
  border: 0;
  border-radius: 4px;
  background: #fff;
  appearance: auto;
  -webkit-appearance: auto;
}

.careers form.apply-form input[type="file"] {
  width: 100%;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid var(--hairline-strong, #c8c4be);
  border-radius: 8px;
  font: 15px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.careers form.apply-form .file-note {
  margin: 8px 0 0;
  color: #5d5b54;
  font-size: 13.5px;
  line-height: 1.45;
}

.careers form.apply-form button.btn,
.careers form.apply-form button.btn:hover,
.careers form.apply-form button.btn:focus,
.careers form.apply-form button.btn:active,
.careers form.apply-form button.btn:disabled {
  background: #f5c451;
  color: #0a1530;
  border: 1px solid #f5c451;
  border-radius: 999px;
}

.careers form.apply-form button.btn:hover,
.careers form.apply-form button.btn:focus {
  background: #e6b43a;
  border-color: #e6b43a;
  color: #0a1530;
}

.careers form.apply-form button.btn:disabled {
  cursor: progress;
  opacity: 1;
}

.careers form.apply-form .fine a {
  color: #0a1530;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.careers form.apply-form .fine a:hover {
  color: #1a2a52;
}

@media (max-width: 860px) {
  .careers {
    width: calc(100% - 40px);
  }

  .careers.listing > h1 {
    font-size: 36px;
  }

  .careers .role-heading h1 {
    font-size: 32px;
  }
}

@media (max-width: 720px) {
  .careers {
    margin-top: 36px;
    padding-bottom: 72px;
  }

  .careers.role {
    margin-top: 28px;
  }

  .careers .role-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 28px;
  }

  .careers .role-heading h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .careers {
    width: calc(100% - 40px);
  }

  .careers.listing > h1 {
    margin-top: 48px;
    font-size: 32px;
  }

  .careers a.job-row,
  .careers a.job-row:hover,
  .careers a.job-row:focus,
  .careers a.job-row:visited {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .careers .arrow {
    margin-top: 4px;
  }
}
