:root {
  color: #15181c;
  background: #f5f6f7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-background: #f5f6f7;
  --surface: #ffffff;
  --text-strong: #15181c;
  --text-muted: #626870;
  --hairline: #dfe3e7;
  --primary: #075dae;
  --primary-shade: #054a8b;
  --navy: #002a60;
  --space-5: 20px;
  --content-width: 680px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  text-wrap: pretty;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--page-background);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--text-strong);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-shade);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.file-field:focus-within {
  outline: 3px solid rgba(7, 93, 174, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.band-inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}

.top-band {
  padding: 65px 0 0;
  color: #ffffff;
  background: var(--navy);
}

.top-band-inner {
  width: calc(100% - (var(--space-5) * 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.top-logo,
.top-logo-link {
  width: 296px;
  max-width: 100%;
}

.top-logo-link {
  display: inline-flex;
  align-self: center;
}

.top-logo img,
.top-logo-link img {
  display: block;
  width: 100%;
  height: auto;
}

.band-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.band-eyebrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.band-title h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  font-weight: 300;
  letter-spacing: -0.011em;
  line-height: 1.1;
  text-wrap: balance;
}

.landing-title {
  max-width: 29ch;
}

.careers-title {
  max-width: 40ch;
}

.top-nav {
  margin: 28px auto 0;
  width: calc(100% - (var(--space-5) * 2));
  max-width: var(--content-width);
  min-height: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-nav a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.58;
  text-transform: uppercase;
  transition: opacity 180ms var(--ease), color 180ms var(--ease);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  opacity: 0.82;
}

.top-nav a[aria-current='page'] {
  opacity: 1;
}

.middle-band {
  flex: 1 0 auto;
  padding: 65px var(--space-5);
  background: var(--page-background);
}

.landing-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.home-content {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.home-introduction {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-heading {
  margin: -15px 0 0;
  color: #002554;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.home-deck {
  max-width: 52ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.home-facts div {
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid var(--hairline);
}

.home-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-facts div:last-child {
  padding-right: 0;
}

.home-facts dt {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-facts dd {
  margin: 7px 0 0;
  color: var(--text-strong);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.home-directory {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.home-directory-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 28px;
  padding: 19px 0;
  color: inherit;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  transition: opacity 180ms var(--ease);
  -webkit-tap-highlight-color: rgba(7, 93, 174, 0.08);
  touch-action: manipulation;
}

.home-directory-link:visited {
  color: inherit;
}

.home-directory-link:hover,
.home-directory-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.home-directory-link:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: 5px;
}

.home-directory-link:active {
  opacity: 0.9;
}

.home-directory-name {
  color: #002554;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: color 180ms var(--ease);
}

.home-directory-copy {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  transition: color 180ms var(--ease);
}

.home-directory-arrow {
  color: var(--primary);
  font-size: 1rem;
  transition: transform 180ms var(--ease);
}

.home-directory-link:hover .home-directory-name,
.home-directory-link:focus-visible .home-directory-name {
  color: var(--primary);
}

.home-directory-link:hover .home-directory-copy,
.home-directory-link:focus-visible .home-directory-copy {
  color: var(--text-strong);
}

.home-directory-link:hover .home-directory-arrow,
.home-directory-link:focus-visible .home-directory-arrow {
  transform: translateX(4px);
}

.home-directory-link:active .home-directory-name {
  color: var(--primary-shade);
}

.home-directory-link:active .home-directory-arrow {
  transform: translateX(2px);
}

.home-directory-link span {
  min-width: 0;
}

.anchor-section {
  scroll-margin-top: 24px;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.row-label {
  margin: 0;
  flex: 0 0 132px;
  padding-top: 4px;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.row-content {
  min-width: 0;
  flex: 1 1 300px;
}

.content-row--ruled .row-label {
  padding-top: 27px;
}

.content-row--ruled .row-content {
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 3px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-grid li {
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
}

.how-copy {
  max-width: 58ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-copy p,
.careers-summary span,
.muted-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
}

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
  transition: gap 180ms var(--ease), color 180ms var(--ease);
}

.arrow-link span {
  font-size: 0.875rem;
}

.arrow-link:hover,
.arrow-link:focus-visible {
  gap: 11px;
  color: var(--primary-shade);
}

.careers-row-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.careers-summary {
  max-width: 46ch;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.careers-summary strong {
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
}

.page-heading {
  margin: -15px 0 0;
  color: #002554;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.page-heading-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-intro {
  max-width: 58ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.role-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.role-copy strong,
.row-value,
.success-block strong {
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
}

.career-detail-list {
  margin: 0;
  border-top: 1px solid var(--hairline);
}

.career-detail-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}

.career-detail-list div:last-child {
  border-bottom: 0;
}

.career-detail-list dt {
  color: var(--text-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.career-detail-list dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.application-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.application-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.field {
  display: block;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 13px;
  color: var(--text-strong);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.55;
}

textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 2px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--primary-shade);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.privacy-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #13784a;
  font-size: 0.8125rem;
}

.form-status[data-state='error'] {
  color: #b42318;
}

.success-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.success-block span {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.file-field {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
}

.file-field > span:first-child {
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.file-field > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkbox-field {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-strong);
  font-size: 0.9375rem;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}

.footer-band {
  padding: 65px var(--space-5) 45px;
  color: #ffffff;
  background: var(--navy);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-columns {
  display: flex;
  gap: 10px;
}

.footer-brand,
.footer-column {
  min-width: 0;
  padding-inline: 5px;
}

.footer-brand {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand img {
  display: block;
  width: 100%;
  max-width: 148px;
  height: auto;
}

.footer-brand p {
  max-width: 26ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  overflow-wrap: anywhere;
}

.footer-column h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  transition: color 180ms var(--ease);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
}

.footer-column .footer-note {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.bot-field {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 360px) {
  .top-nav {
    width: 100%;
  }

  .top-nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 600px) {
  .home-facts {
    grid-template-columns: 1fr;
  }

  .home-facts div,
  .home-facts div:first-child,
  .home-facts div:last-child {
    padding: 16px 0;
    border-left: 0;
  }

  .home-facts div + div {
    border-top: 1px solid var(--hairline);
  }

  .home-directory-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
  }

  .home-directory-copy {
    grid-column: 1 / -1;
  }

  .home-directory-arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-columns {
    flex-wrap: wrap;
    gap: 28px 10px;
  }

  .footer-brand {
    flex: 0 0 100%;
    padding-inline: 0;
  }

  .footer-brand p {
    max-width: 32ch;
  }

  .footer-column {
    flex: 1 1 95px;
  }
}
