:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
}

.apply-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.apply-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  color: #71717a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apply-brand {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.apply-brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.apply-thank-you .apply-brand {
  margin-bottom: 34px;
}

.apply-thank-you .apply-success {
  margin-top: 28px;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.apply-summary {
  position: sticky;
  top: 40px;
  min-width: 0;
}

.apply-kicker {
  margin: 0 0 10px;
  color: #8b8b94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.apply-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.apply-preview-context {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #27272a;
  color: #71717a;
  font-size: 12px;
  line-height: 1.55;
}

.apply-facts {
  margin: 30px 0 0;
}

.apply-fact {
  padding: 17px 0;
  border-top: 1px solid #27272a;
}

.apply-fact:last-child {
  border-bottom: 1px solid #27272a;
}

.apply-fact dt {
  margin-bottom: 6px;
  color: #71717a;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.apply-fact dd {
  margin: 0;
  color: #f4f4f5;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
}

.apply-content {
  min-width: 0;
}

.apply-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
  border-bottom: 1px solid #27272a;
}

.apply-tabs a {
  position: relative;
  padding: 0 12px 13px;
  color: #71717a;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.apply-tabs a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.apply-tabs a:hover,
.apply-tabs a.active {
  color: #fff;
}

.apply-tabs a.active::after {
  background: #fff;
}

.role-overview {
  max-width: 690px;
}

.role-overview-section {
  margin-bottom: 34px;
}

.role-overview-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.role-overview-section h3 {
  margin: 22px 0 8px;
  color: #f4f4f5;
  font-size: 15px;
  line-height: 1.4;
}

.role-overview-section p,
.role-overview-section li,
.role-overview-empty {
  color: #c4c4ca;
  font-size: 15px;
  line-height: 1.7;
}

.role-overview-section p {
  margin: 0 0 12px;
}

.role-overview-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
}

.role-overview-section li {
  padding-left: 4px;
}

.role-overview-section li::marker {
  color: #71717a;
}

.role-overview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 690px;
  min-height: 52px;
  margin-top: 44px;
  padding: 13px 20px;
  border-radius: 10px;
  background: #fff;
  color: #080808;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.role-overview-cta:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.role-overview-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.apply-section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.apply-intro {
  max-width: 650px;
  margin: 12px 0 34px;
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding-top: 30px;
  border-top: 1px solid #27272a;
}

.apply-field { min-width: 0; }
.apply-field.full { grid-column: 1 / -1; }

.apply-field label,
.apply-legend {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.apply-field input:not([type=checkbox]):not([type=radio]),
.apply-field select,
.apply-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  background: #171717;
  color: #fff;
  font: inherit;
  outline: none;
}

.apply-field textarea {
  min-height: 118px;
  resize: vertical;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  border-color: #a1a1aa;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, .12);
}

.apply-field input[type=file] {
  padding: 22px;
  border-style: dashed;
  background: #0c0c0c;
}

.apply-field ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-field ul label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-weight: 500;
}

.apply-field input[type=checkbox],
.apply-field input[type=radio] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #fff;
}

.apply-help {
  display: block;
  margin-top: 7px;
  color: #8b8b94;
  font-size: 12px;
  line-height: 1.45;
}

.apply-field .errorlist,
.apply-errors,
.apply-error-summary {
  color: #fecaca;
  font-size: 12px;
}

.apply-field .errorlist,
.apply-errors {
  margin: 7px 0 0;
  padding-left: 18px;
}

.apply-error-summary {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid #7f1d1d;
  border-radius: 10px;
  background: #240808;
}

.apply-consent { grid-column: 1 / -1; }

.apply-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d4d4d8;
  font-weight: 500;
  line-height: 1.5;
}

.apply-consent a { color: #fff; }

.apply-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.apply-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #080808;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.apply-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.apply-preview {
  margin: -32px 0 28px;
  padding: 10px 12px;
  border: 1px solid #713f12;
  border-radius: 9px;
  background: #271707;
  color: #fde68a;
  font-size: 13px;
}

.apply-back {
  color: #a1a1aa;
  font-size: 13px;
}

.apply-success {
  max-width: 580px;
  padding: 24px;
  border: 1px solid #262626;
  border-radius: 16px;
  background: #090909;
}

.apply-success p {
  margin: 0;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
}

.careers-shell {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 96px;
}

.careers-topbar {
  margin-bottom: clamp(52px, 8vw, 84px);
}

.careers-topbar .apply-brand {
  width: max-content;
}

.careers-topbar .apply-brand img {
  width: 48px;
  height: 48px;
}

.careers-hero {
  max-width: 760px;
}

.careers-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.careers-hero > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: #a1a1aa;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.careers-openings {
  margin-top: clamp(56px, 7vw, 82px);
  scroll-margin-top: 28px;
}

.careers-section-head {
  padding-bottom: 24px;
  border-bottom: 1px solid #27272a;
}

.careers-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.careers-section-head h2 span {
  color: #71717a;
}

@media (min-width: 641px) {
  .careers-hero > .apply-kicker,
  .careers-section-head .apply-kicker {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: .1em;
  }
}

.careers-list {
  display: grid;
}

.career-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #27272a;
  color: inherit;
  text-decoration: none;
}

.career-card h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.career-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  color: #8b8b94;
  font-size: 13px;
  line-height: 1.5;
}

.career-card-meta span {
  position: relative;
}

.career-card-meta span + span::before {
  position: absolute;
  top: 0;
  left: -11px;
  color: #3f3f46;
  content: "·";
}

.career-card-meta strong {
  color: #a1a1aa;
  font-weight: 650;
}

.career-card-action {
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .18s ease;
}

.career-card:hover .career-card-action,
.career-card:focus-visible .career-card-action {
  transform: translateX(4px);
}

.career-card:focus-visible {
  border-radius: 6px;
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.careers-empty {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid #27272a;
  border-radius: 16px;
  background: #090909;
}

.careers-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.careers-empty p {
  margin: 0;
  color: #8b8b94;
  line-height: 1.6;
}

.careers-investment {
  margin-top: clamp(76px, 10vw, 120px);
}

.careers-investment-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.careers-investment-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.careers-investment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
}

.careers-investment-card {
  min-height: 430px;
  padding: 30px;
  border: 1px solid #27272a;
  border-radius: 16px;
  background: #0b0b0d;
}

.careers-investment-card-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding-bottom: 22px;
  border-bottom: 1px solid #3f3f46;
}

.careers-investment-icon {
  display: grid;
  width: 64px;
  height: 64px;
  overflow: hidden;
  place-items: center;
}

.careers-investment-icon img {
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
  filter: grayscale(1) contrast(4);
  mix-blend-mode: screen;
}

.careers-investment-card h3 {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.careers-investment-card > p {
  margin: 22px 0 0;
  color: #b4b4bc;
  font-size: 15px;
  line-height: 1.62;
}

.careers-investment-card > p + p {
  margin-top: 16px;
}

.careers-investment-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #b4b4bc;
  font-size: 15px;
  line-height: 1.62;
}

.careers-investment-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(100%, 310px);
  min-height: 50px;
  margin: 34px auto 0;
  padding: 12px 22px;
  border-radius: 10px;
  background: #fff;
  color: #080808;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background .18s ease, transform .18s ease;
}

.careers-investment-cta:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.careers-investment-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.careers-investment-cta:active {
  background: #d4d4d8;
  transform: scale(.975);
}

.careers-values {
  margin-top: clamp(88px, 12vw, 148px);
  padding-top: clamp(52px, 7vw, 76px);
  border-top: 1px solid #27272a;
}

.careers-values-head {
  max-width: 720px;
  margin-bottom: clamp(42px, 6vw, 64px);
}

.careers-values-head h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.05em;
}

.careers-values-head > p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: #8b8b94;
  font-size: 16px;
  line-height: 1.65;
}

.careers-values-list {
  border-top: 1px solid #27272a;
}

.careers-value {
  display: grid;
  grid-template-columns: 54px minmax(190px, .62fr) minmax(0, 1.38fr);
  gap: 28px;
  padding: 42px 0;
  border-bottom: 1px solid #27272a;
}

.careers-value-number {
  margin: 5px 0 0;
  color: #52525b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.careers-value h3 {
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.careers-value > p:not(.careers-value-number) {
  grid-column: 3;
  margin: 0;
  color: #b4b4bc;
  font-size: 16px;
  line-height: 1.72;
}

.careers-value > p:not(.careers-value-number) + p {
  margin-top: -10px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .careers-investment-cta {
    transition: none;
  }
}

@media (max-width: 820px) {
  .apply-shell {
    width: min(100% - 36px, 700px);
    padding-top: 30px;
  }

  .apply-topbar { margin-bottom: 38px; }

  .apply-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .apply-summary { position: static; }

  .role-overview { max-width: none; }

  .apply-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 640px) {
  .apply-shell {
    width: min(100% - 28px, 760px);
    padding: 24px 0 52px;
  }

  .apply-topbar { margin-bottom: 32px; }

  .apply-topbar span { display: none; }

  .apply-tabs {
    position: sticky;
    z-index: 20;
    top: 0;
    margin-right: -14px;
    margin-left: -14px;
    padding: 14px 14px 0;
    background: rgba(0, 0, 0, .94);
    backdrop-filter: blur(12px);
  }

  .apply-facts { grid-template-columns: 1fr; }

  .apply-form {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .apply-field.full,
  .apply-error-summary,
  .apply-consent,
  .apply-actions {
    grid-column: auto;
  }

  .careers-shell {
    width: min(100% - 28px, 760px);
    padding: 24px 0 64px;
  }

  .careers-topbar {
    margin-bottom: 42px;
  }

  .careers-hero h1 {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .careers-hero > p:last-child {
    margin-top: 22px;
    font-size: 16px;
  }

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

  .careers-investment {
    margin-top: 68px;
  }

  .careers-values {
    margin-top: 76px;
    padding-top: 48px;
  }

  .careers-value {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px 18px;
    padding: 34px 0;
  }

  .careers-value h3 {
    font-size: 28px;
  }

  .careers-value > p:not(.careers-value-number) {
    grid-column: 2;
    font-size: 15px;
  }

  .careers-value > p:not(.careers-value-number) + p {
    margin-top: -4px;
  }

  .careers-investment-head {
    margin-bottom: 26px;
  }

  .careers-investment-head h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .careers-investment-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .careers-investment-card {
    min-height: 0;
    padding: 24px;
  }

  .careers-investment-card-head {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    min-height: 64px;
  }

  .careers-investment-icon {
    width: 52px;
    height: 52px;
  }

  .careers-investment-icon img {
    width: 52px;
    height: 52px;
  }

  .role-overview-cta {
    min-height: 48px;
    margin-top: 34px;
  }

  .career-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 0;
  }

  .career-card-meta {
    display: grid;
    gap: 7px;
  }

  .career-card-meta span + span::before {
    content: none;
  }

  .career-card-action {
    justify-self: start;
  }
}
