:root {
  color-scheme: light;
  --background: #fff;
  --text: #111;
  --text-2: #444;
  --text-3: #777;
  --focus: #111;
}

body.careers {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
}

.careers-page,
.careers-footer {
  width: min(100%, 640px);
  margin: 0 auto;
  padding-inline: 24px;
  overflow-wrap: break-word;
}

.careers-page {
  padding-block: 48px;
  color: var(--text-2);
}

.careers-page h1 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.careers-page .careers-home {
  margin: 0 0 24px;
  color: inherit;
  font: inherit;
}

.careers-page section {
  margin-top: 24px;
}

.careers-page h2 {
  margin: 0 0 12px;
  color: var(--text-3);
  font-size: inherit;
  font-weight: 400;
}

.careers-page p,
.careers-page ul,
.careers-page ol {
  margin: 0 0 12px;
}

.careers-page section > :last-child {
  margin-bottom: 0;
}

.careers-page ul,
.careers-page ol {
  padding-left: 24px;
}

.careers-page strong {
  color: var(--text);
  font-weight: 500;
}

.careers a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.careers a:hover {
  color: var(--text);
}

.careers a:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 4px;
}

.careers-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-3);
}

.careers-page .careers-roles {
  padding: 0;
  list-style: none;
}

.careers-roles li {
  padding-block: 10px;
  border-top: 1px solid #e5e5e5;
}

.careers-roles li:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.careers-roles a,
.role-details {
  display: block;
}

.careers-roles a {
  color: var(--text);
  text-decoration: none;
}

.careers-roles a:hover > :first-child {
  text-decoration: underline;
}

.role-details {
  color: var(--text-3);
  font-size: 12px;
}

.careers-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 32px;
  color: var(--text-3);
  font-size: 11px;
}

.careers-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 560px) {
  .careers-page {
    padding-top: 24px;
  }
}
