/* Careers: the list of open roles (careers.html) and one page per role (careers/<role>.html).
   Laid out after the job pages at thinkingmachines.ai and typesafe.ai: a title, a column of
   facts beside the posting, then about us, about the role, what you'll do, what we look for
   and logistics. */
.careers { width: 100%; max-width: var(--column); display: flex; flex-direction: column; padding-top: 56px; }
.careers h1 { font: 500 34px/40px var(--sans); letter-spacing: -0.02em; text-align: center; padding-bottom: 28px; }
.careers > p { font-size: 17px; line-height: 28px; text-wrap: pretty; padding-bottom: 16px; }
.careers a.inline, .job a.inline { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dept { font: 500 19px/26px var(--sans); padding: 40px 0 14px; }
.dept span { font: 400 13px/26px var(--sans); color: var(--muted); padding-left: 4px; }
.roles { display: flex; flex-direction: column; gap: 10px; }
.role {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid #e3e3e6; border-radius: 10px;
  background: #fff; color: inherit; text-decoration: none; transition: border-color 150ms ease;
}
.role:hover { border-color: #cfd3ec; }
.role:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.role-title { font: 500 16px/22px var(--sans); }
.role-place { font: 14px/20px var(--sans); color: var(--muted); }
.careers .after { padding-top: 36px; }

.job { width: 100%; max-width: 900px; padding-top: 56px; }
.job-head { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-bottom: 64px; text-align: center; }
.job-head h1 { font: 500 34px/40px var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.job-all { font: 15px/22px var(--sans); color: inherit; text-decoration: none; }
.job-all:hover { color: var(--accent); }
.job-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.job-facts { display: flex; flex-direction: column; gap: 20px; margin: 0; padding-top: 4px; }
.job-facts dt { font: 14px/20px var(--sans); color: var(--muted); }
.job-facts dd { font: 14px/20px var(--sans); margin: 0; padding-top: 2px; }
.job-body { display: flex; flex-direction: column; gap: 14px; max-width: var(--column); }
.job-body h2 { font: 500 21px/28px var(--sans); letter-spacing: -0.01em; padding-top: 22px; }
.job-body h2:first-child { padding-top: 0; }
.job-body p, .job-body li { font-size: 17px; line-height: 28px; text-wrap: pretty; }
.job-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) {
  .job-head { padding-bottom: 36px; }
  .job-grid { grid-template-columns: 1fr; gap: 28px; }
  .job-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
