@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  /* The page sets --brand from the careers branding setting; this is the fallback. */
  --brand: #1667b1;
  --brand-hover: color-mix(in srgb, var(--brand) 75%, black);
  --brand-tint: color-mix(in srgb, var(--brand) 8%, transparent);
  --brand-line: color-mix(in srgb, var(--brand) 25%, transparent);
  --ink: #222324;
  --heading: #141516;
  --muted: #5e6063;
  --muted-2: #74777b;
  --icon: #484a4d;
  --paper: #ffffff;
  --surface-subtle: #fcfcfd;
  --surface-muted: #f7f7f8;
  --rule: #d6d7d8;
  --card-border: #e4e7ec;
  --input-border: #c6cfd7;
  --divider: #edeeee;
  --track: #e4e7ec;
  --field: #ffffff;
  --info: #eff6ff;
  --success: #2b8a3e;
  --success-fill: #ebfbee;
  --warning: #b35c00;
  --error: #c4162e;
  --error-border: #e81f38;
  --error-fill: #fff5f5;
  --disabled-fill: #ebf5ff;
  --disabled-ink: #66b6ff;
  --focus: var(--brand);
  --shadow-button: 0 1.5px 4px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 2px rgba(235, 238, 240, 0.4);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-hover);
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.17;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(36px, 4.8vw, 58px);
  margin-bottom: 20px;
}
h2 {
  font-size: 30px;
  margin-bottom: 14px;
}
h3 {
  font-size: 19px;
}
p {
  margin-bottom: 16px;
}
button:disabled {
  cursor: not-allowed;
}
.button:disabled,
.button[aria-disabled="true"] {
  background: var(--disabled-fill);
  color: var(--disabled-ink);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
}
.button.secondary:disabled,
.button.secondary[aria-disabled="true"] {
  background: var(--paper);
  color: var(--muted-2);
  border-color: var(--rule);
}
button:disabled img {
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
h2[tabindex]:focus,
main[tabindex]:focus {
  outline: none;
}
main {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  padding: 44px 0 72px;
  min-height: 65vh;
}
body:has(.mobile-apply) {
  padding-bottom: 0;
}
.site-header-inner,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.brand-logo {
  width: 78px;
  height: 26px;
  object-fit: contain;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
}
.brand-divider {
  height: 18px;
  border-left: 1px solid var(--rule);
}
.brand-caption {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.header-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  text-decoration: none;
}
.header-links a:hover {
  color: var(--ink);
  background: var(--surface-muted);
}
.header-links svg {
  flex: none;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 24px;
  padding: 10px 16px;
  background: var(--paper);
  border-radius: 6px;
  transform: translateY(-160%);
  z-index: 20;
}
.skip-link:focus {
  transform: none;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.on-brand {
  filter: brightness(0) invert(1);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: var(--shadow-button);
  transition: background-color 0.15s;
}
.button:hover:not(:disabled, [aria-disabled="true"]) {
  background: var(--brand-hover);
  color: #fff;
  text-decoration: none;
}
.button.secondary {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--ink);
  box-shadow: none;
}
.button.secondary:hover:not(:disabled, [aria-disabled="true"]) {
  background: var(--surface-muted);
  color: var(--ink);
}
.button > svg,
.button > img {
  flex: none;
}
.back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 36px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.back-link:hover {
  color: var(--ink);
  text-decoration: underline;
}
.back-link .icon {
  width: 14px;
  height: 14px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--brand);
  margin-bottom: 16px;
}
.meta {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.meta span:not(:last-child) {
  padding-right: 20px;
  border-right: 1px solid var(--divider);
}
.careers-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 35px 0 74px;
}
.careers-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  max-width: 620px;
}
.hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 490px;
  color: var(--muted);
  margin-bottom: 28px;
}
.team-photo {
  margin: 0;
  align-self: center;
  max-width: 409px;
  justify-self: end;
}
.team-photo img {
  display: block;
  width: 409px;
  border-radius: 12px;
}
.team-photo figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-top: 1px solid var(--divider);
  padding-top: 36px;
}
.section-heading h2 {
  margin: 0;
  font-size: 34px;
}
.section-heading p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.roles-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.count {
  font-size: 14px;
  vertical-align: middle;
  padding: 5px 10px;
  background: var(--surface-muted);
  border-radius: 4px;
  letter-spacing: 0;
  font-weight: 600;
}
.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  margin: 28px 0 10px;
}
.filters label {
  font-size: 12px;
  margin: 0 0 7px;
}
.filters select {
  font-size: 14px;
}
.filter-reset {
  grid-column: 1/-1;
  font-size: 13px;
  min-height: 30px;
  justify-self: start;
}
.job-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--divider);
}
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--divider);
  padding: 26px 0;
  text-decoration: none;
  color: var(--ink);
}
.job-row:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}
.job-row h3 {
  margin-bottom: 10px;
}
.job-row .meta {
  margin-bottom: 0;
  font-size: 13px;
}
.job-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--brand);
  font-size: 13px;
  white-space: nowrap;
}
.empty-state {
  padding: 44px 0;
}
.empty-state p {
  color: var(--muted);
  max-width: 540px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 14px;
}
.pagination a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.role-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) 300px;
  gap: 88px;
  align-items: start;
}
.role-story {
  min-width: 0;
}
.role-story h1 {
  overflow-wrap: anywhere;
}
.role-story > .process-link {
  font-size: 14px;
}
.process-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.job-description {
  margin-top: 40px;
}
.rich-text {
  overflow-wrap: anywhere;
  line-height: 1.85;
  color: var(--ink);
}
.rich-text h1,
.rich-text h2 {
  font-size: 25px;
  margin: 36px 0 16px;
}
.rich-text h3,
.rich-text h4 {
  font-size: 19px;
  margin: 28px 0 12px;
}
.rich-text p {
  margin: 0 0 20px;
}
.rich-text ul,
.rich-text ol {
  padding-left: 23px;
  margin: 0 0 24px;
}
.rich-text li {
  padding-left: 7px;
  margin-bottom: 12px;
}
/* The editor wraps each list item's text in a paragraph. */
.rich-text li > p {
  margin: 0;
}
.rich-text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.apply-panel {
  position: sticky;
  top: 30px;
  border-top: 2px solid var(--heading);
  padding-top: 24px;
  margin-top: 8px;
}
.apply-panel h2 {
  font-size: 26px;
}
.apply-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.apply-panel .button {
  width: 100%;
  padding-inline: 12px;
}
.apply-reassurance {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  margin-top: 28px;
}
.apply-reassurance h3 {
  font-size: 14px;
  letter-spacing: 0;
}
.apply-reassurance p {
  font-size: 13px;
  color: var(--muted);
}
.apply-panel .process-link {
  font-size: 13px;
}
.mobile-apply {
  display: none;
}
.application-section {
  margin-top: 40px;
}
label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
  margin: 0 0 8px;
  line-height: 1.55;
}
.field {
  margin: 0 0 26px;
}
.field > .help:empty {
  display: none;
}
.field > .help:not(:empty) {
  margin: -2px 0 10px;
}
.help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.field label .help,
.choice-group legend .help {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 8px 13px;
  color: var(--ink);
  background: var(--field);
  font-size: 15px;
  line-height: 1.5;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-line);
}
input:disabled,
select:disabled,
textarea:disabled {
  background: var(--surface-muted);
  color: var(--muted-2);
  cursor: not-allowed;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}
textarea {
  min-height: 104px;
  padding-block: 10px;
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: none;
  padding: 0;
  margin: 2px 8px 0 0;
  accent-color: var(--brand);
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  box-shadow: none;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
input[type="file"] {
  font-size: 13px;
  line-height: 1.6;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
  min-height: 40px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  margin-right: 12px;
  cursor: pointer;
}
.upload-field {
  padding: 20px;
  border: 1px dashed var(--input-border);
  border-radius: 8px;
  background: var(--surface-subtle);
}
.upload-field .help {
  margin: 12px 0 0;
}
.upload-field [data-upload-status] {
  font-weight: 500;
  color: var(--muted);
}
.upload-field progress {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  accent-color: var(--brand);
}
.upload-field [data-upload-retry] {
  margin-top: 14px;
  font-size: 13px;
}
.video-upload-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.choice-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.choice-group legend {
  font-weight: 500;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.55;
  padding: 0;
  margin-bottom: 8px;
}
.choice {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-weight: 400;
  margin: 4px 0;
}
.error {
  font-size: 13px;
  font-weight: 500;
  color: var(--error);
  line-height: 1.5;
  margin-top: 6px;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error-border);
}
input[aria-invalid="true"]:focus-visible,
select[aria-invalid="true"]:focus-visible,
textarea[aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error-border) 20%, transparent);
}
#application-error:not([hidden]) {
  background: var(--error-fill);
  border: 1px solid var(--error-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px 0;
}
.notice {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--info);
  color: var(--ink);
  font-size: 13px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.answer-review {
  margin-bottom: 32px;
}
.review-edit {
  background: transparent;
  border: 0;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  padding: 10px;
  min-height: 44px;
}
.review-missing {
  color: var(--error) !important;
}
#consent-copy {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
label[for="application-consent"] {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  gap: 2px;
}
label[for="application-consent"] input {
  margin-top: 2px;
}
.process-content {
  border-top: 1px solid var(--divider);
  margin-top: 48px;
  padding-top: 32px;
}
.process-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.process-heading h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.process-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.process-role {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 30px;
}
.process-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.process-steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 54px;
  margin: 0 0 0 17px;
  border-left: 1px solid var(--rule);
  min-height: 72px;
}
.process-steps > li:last-child {
  border: 0;
  padding-bottom: 0;
  min-height: 0;
}
.process-steps > li::before {
  content: counter(step) / "";
  position: absolute;
  left: -18px;
  top: 0;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
  font-weight: 550;
}
.process-steps h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  margin: 6px 0 5px;
}
.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.process-empty {
  color: var(--muted);
  font-size: 15px;
}
.process-empty h3 {
  font-size: 19px;
}
.icon-button {
  border: 0;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  display: grid;
  place-items: center;
  flex: none;
}
.process-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 40px;
  width: min(520px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
}
.process-dialog::backdrop {
  background: rgba(20, 21, 22, 0.5);
}
.process-dialog .process-content {
  border: 0;
  padding: 0;
  margin: 0;
}
.process-return {
  margin-top: 30px;
  border-top: 1px solid var(--divider);
  padding-top: 24px;
}
.process-return > .button {
  width: 100%;
}
.process-return > .help {
  text-align: center;
  margin: 12px 0 0;
  font-size: 12px;
}
body:has(.process-dialog[open]) {
  overflow: hidden;
}
.message-page {
  max-width: 620px;
  margin: 48px auto 64px;
}
.message-page h1 {
  font-size: clamp(38px, 5vw, 52px);
}
.lead {
  font-size: 19px;
  color: var(--muted);
}
.message-page > .button {
  margin-top: 4px;
}
@media (max-width: 800px) {
  .careers-hero {
    gap: 34px;
  }
  .role-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .apply-panel {
    position: static;
    max-width: 660px;
  }
  .role-story {
    max-width: 680px;
  }
  .apply-panel .button {
    max-width: 380px;
  }
  .mobile-apply {
    position: fixed;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--divider);
    background: var(--paper);
    z-index: 2;
  }
  .mobile-apply > div {
    min-width: 0;
  }
  .mobile-apply strong {
    display: block;
    max-width: 50vw;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .mobile-apply span {
    font-size: 11px;
    color: var(--muted);
  }
  body:has(.mobile-apply) {
    padding-bottom: 84px;
  }
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filters > .button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .filter-reset {
    grid-column: auto;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .section-heading > p {
    margin: 0;
  }
}
@media (max-width: 540px) {
  main,
  .site-footer {
    width: calc(100% - 44px);
  }
  main {
    padding: 26px 0 44px;
  }
  .careers-hero {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 24px 0 48px;
    align-items: start;
  }
  .careers-hero h1 {
    font-size: 39px;
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  .hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .careers-hero .button {
    width: 100%;
  }
  .team-photo {
    max-width: 100%;
    width: 100%;
    align-self: center;
  }
  .team-photo img {
    width: 100%;
    max-width: 409px;
  }
  .section-heading {
    padding-top: 28px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
  }
  .filters > div:first-child {
    grid-column: 1/-1;
  }
  .filters > .button {
    grid-column: auto;
    justify-self: stretch;
  }
  .filters select {
    font-size: 14px;
  }
  .filter-reset {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .job-row {
    gap: 12px;
    padding: 24px 0;
  }
  .job-row h3 {
    font-size: 17px;
    line-height: 1.4;
  }
  .job-row .meta {
    font-size: 12px;
    gap: 6px 12px;
  }
  .job-row .meta span {
    padding-right: 12px;
  }
  .job-link {
    font-size: 0;
    gap: 0;
  }
  .job-link img {
    width: 22px;
    height: 22px;
  }
  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    font-size: 12px;
  }
  .site-footer nav {
    gap: 22px;
  }
  .back-link {
    margin-bottom: 22px;
    font-size: 13px;
  }
  .role-story h1 {
    font-size: 36px;
  }
  .role-story .meta {
    font-size: 13px;
  }
  .rich-text {
    font-size: 15px;
    line-height: 1.85;
  }
  .rich-text h2 {
    font-size: 24px;
  }
  .apply-panel h2 {
    font-size: 25px;
  }
  .field {
    margin-bottom: 24px;
  }
  .upload-field {
    padding: 16px;
  }

  .process-dialog {
    inset: auto 0 0;
    margin: 0;
    width: 100%;
    height: auto;
    max-height: 92dvh;
    padding: 28px 22px 24px;
    border-radius: 18px 18px 0 0;
  }
  .process-heading h2 {
    font-size: 30px;
  }
  .process-role {
    font-size: 17px;
  }
  .process-steps > li {
    padding-left: 34px;
    font-size: 14px;
  }
  .process-steps h3 {
    font-size: 16px;
  }
  .process-content {
    margin-top: 36px;
  }
  .message-page {
    margin: 32px auto 36px;
  }
  .message-page h1 {
    font-size: 38px;
  }
  .message-page .lead {
    font-size: 17px;
  }
  .message-page > .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .site-header-inner {
    width: calc(100% - 32px);
    height: 56px;
    gap: 8px;
  }
  .brand-lockup {
    gap: 10px;
  }
  .brand-logo {
    width: 72px;
    height: 24px;
  }
  .brand-divider {
    height: 16px;
  }
  .header-links {
    gap: 4px;
  }
  .header-links a {
    padding: 0 8px;
  }
  .desktop-link {
    display: none !important;
  }
  .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
  input,
  select,
  textarea {
    min-height: 44px;
    /* 16px keeps iOS Safari from zooming into a focused field. */
    font-size: 16px;
  }
}

/* ---------------------------------------------------------------------------
   Candidate flow pages (apply, task, GD booking, link denials).
   `body.flow-page` comes from careers/flow_base.html; the React pieces in
   ui/src/careers/FlowLayout.tsx render the classes below, and the Django
   loading placeholders render the same markup so nothing jumps on mount.
   Split layout from 1024px; phone rules at 640px and below.
   --------------------------------------------------------------------------- */
.flow-page {
  font-size: 14px;
  line-height: 1.55;
}
.flow-page .site-header-inner,
.flow-page main {
  width: min(956px, calc(100% - 32px));
}
.flow-page main {
  padding: 32px 0 64px;
  min-height: 0;
}
.flow-page h1 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.flow-page h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.flow-page h3 {
  font-size: 16px;
  line-height: 1.35;
}
.flow-page .back-link {
  min-height: 32px;
  margin: 0;
  align-self: flex-start;
}

/* Layout. */
.flow {
  width: 100%;
}
.flow-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.flow-main,
.flow-centered,
.flow-message {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.flow-main > :where(h1, h2, h3, p, ul, ol, dl, fieldset, form, .field),
.flow-centered > :where(h1, h2, h3, p, ul, ol, dl, fieldset, form, .field),
.flow-message > :where(h1, h2, h3, p, ul, ol, dl, fieldset, form, .field) {
  margin: 0;
}
.flow-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.flow-centered {
  max-width: 680px;
  margin-inline: auto;
  padding-top: 32px;
  gap: 28px;
}
.flow-message {
  max-width: 520px;
  margin-inline: auto;
  padding-top: 64px;
  gap: 18px;
}
@media (min-width: 1024px) {
  .flow-split {
    grid-template-columns: minmax(0, 580px) 320px;
    justify-content: space-between;
    column-gap: 56px;
  }
  .flow-aside {
    padding: 20px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: var(--shadow-card);
  }
}
@media (max-width: 1023px) {
  .flow-aside--wide-only {
    display: none;
  }
}

/* Page heading: <div class="flow-heading"><h1>…</h1><p class="flow-lead">…</p></div>. */
.flow-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow-heading > * {
  margin: 0;
}
.flow-page .flow-heading h1 {
  margin: 0;
}
.flow-lead {
  font-size: 16px;
  color: var(--muted);
}
.flow-divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--divider);
}
.flow-status {
  color: var(--muted);
}

/* Role card: logo tile, title, "Bengaluru · Hybrid · View →". */
.role-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--surface-subtle);
}
.role-card-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--brand);
  font-size: 20px;
  font-weight: 600;
}
.role-card-logo img {
  width: 39px;
  height: 13px;
  object-fit: contain;
}
.role-card-body {
  min-width: 0;
}
.role-card-title,
.role-card-meta {
  margin: 0;
}
.role-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
  overflow-wrap: anywhere;
}
.role-card-meta {
  font-size: 13px;
  color: var(--muted);
}
.role-card-link {
  font-weight: 500;
  text-decoration: none;
}
.role-card-link:hover {
  text-decoration: underline;
}

/* Step bar: label row over one segment per step (--steps). */
.step-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-bar-label {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.step-bar-label strong {
  font-weight: 600;
  color: var(--ink);
}
.step-bar-track {
  display: grid;
  grid-template-columns: repeat(var(--steps, 1), minmax(0, 1fr));
  gap: 4px;
}
.step-bar-segment {
  height: 4px;
  border-radius: 2px;
  background: var(--track);
}
.step-bar-segment.is-filled {
  background: var(--brand);
}

/* Side card sections inside .flow-aside. */
.side-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.side-card > * {
  margin: 0;
}
.side-card--divided {
  padding-top: 18px;
  border-top: 1px solid var(--divider);
}
.flow-page .side-card-title,
.side-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--heading);
}
.side-card p {
  font-size: 13px;
  color: var(--muted);
}

/* Info panel: icon + text. Tones: info (blue fill), neutral (bordered), plain. */
.info-panel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}
.info-panel--info {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--info);
}
.info-panel--info .info-panel-icon {
  color: var(--brand);
}
.info-panel--neutral {
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--surface-subtle);
}
.info-panel--plain {
  color: var(--muted);
}
.info-panel > svg {
  flex: none;
  margin-top: 2px;
}
.info-panel-body {
  min-width: 0;
}
.info-panel-body > * {
  margin: 0;
}

/* Green checks. */
.check-icon {
  flex: none;
  color: var(--success);
}
.success-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--success-fill);
  color: var(--success);
}
.success-mark svg {
  width: 60px;
  height: 60px;
}

/* Action bar: divider + inline row on desktop, sticky bottom bar on phones. */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.action-bar-note {
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}
.action-bar-note > * {
  margin: 0;
}
.action-bar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

/* Choice chips: <label class="chip"><input type="radio|checkbox">Label</label>.
   The input is visually hidden; the selected chip shows a green check. */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.chip::before {
  content: "";
  display: none;
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%232b8a3e'/%3E%3Cpath d='m7.5 12.5 3 3 6-6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.chip:hover {
  background: var(--surface-muted);
}
.chip:has(input:checked) {
  padding-left: 8px;
  border-color: var(--brand);
  background: var(--brand-tint);
}
.chip:has(input:checked)::before {
  display: block;
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.chip:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}
.chip[data-invalid="true"],
.chip-group[data-invalid="true"] .chip {
  border-color: var(--error-border);
}
/* Booking time pill: a start time in tabular numbers. */
.chip--slot {
  justify-content: center;
  min-width: 96px;
  gap: 6px;
  padding: 0 14px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.chip--slot:has(input:checked) {
  padding-left: 10px;
  font-weight: 600;
}
.chip--slot::before {
  width: 14px;
  height: 14px;
}

/* Choice rows: full-width rows that keep the native radio/checkbox visible. */
.choice-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.choice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.choice-row input[type="radio"],
.choice-row input[type="checkbox"] {
  margin: 0;
}
.choice-row:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-tint);
  font-weight: 500;
}
.choice-row:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Link denial pages (link_inactive, link_invalid). */
.flow-message-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--icon);
}
.flow-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--surface-subtle);
}
.flow-contact > * {
  margin: 0;
}
.flow-contact-label {
  font-size: 12px;
  color: var(--muted);
}
.flow-contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.flow-message > .button {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .flow-page main {
    padding: 20px 0 32px;
  }
  .flow-page h1 {
    font-size: 26px;
    line-height: 1.25;
  }
  .flow-heading {
    gap: 6px;
  }
  .flow-main {
    gap: 22px;
  }
  .flow-lead {
    font-size: 15px;
  }
  .flow-centered {
    padding-top: 8px;
    gap: 20px;
  }
  .flow-message {
    padding-top: 28px;
    gap: 16px;
  }
  .role-card-logo {
    width: 48px;
    height: 48px;
  }
  .role-card-logo img {
    width: 36px;
    height: 12px;
  }
  .role-card-title {
    font-size: 16px;
  }
  .step-bar--strip {
    margin: -20px -16px 0;
    padding: 12px 16px;
    border-bottom: 1px solid var(--divider);
  }
  .success-mark {
    width: 72px;
    height: 72px;
  }
  .success-mark svg {
    width: 48px;
    height: 48px;
  }
  .action-bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-inline: -16px;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
  }
  .action-bar-note {
    text-align: center;
  }
  .action-bar-actions {
    flex-wrap: nowrap;
    margin-left: 0;
  }
  .action-bar-actions > .button:not(.secondary) {
    flex: 1 1 auto;
  }
  .chip {
    min-height: 40px;
    padding: 0 14px;
  }
  .chip:has(input:checked) {
    padding-left: 10px;
  }
}
