:root {
  --ink: #14213d;
  --muted: #5d667a;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9dfeb;
  --blue: #1769aa;
  --blue-dark: #0f4f82;
  --coral: #e7664c;
  --green: #2f8f7b;
  --gold: #f0b84d;
  --shadow: 0 18px 55px rgba(20, 33, 61, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(217, 223, 235, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 3px;
  background: #eef3f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.language-toggle span {
  display: grid;
  min-width: 34px;
  min-height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language-toggle[aria-pressed="false"] span:first-child,
.language-toggle[aria-pressed="true"] span:last-child {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(20, 33, 61, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.button.small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 14px;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.9) 0%, rgba(20, 33, 61, 0.67) 38%, rgba(20, 33, 61, 0.13) 72%),
    linear-gradient(0deg, rgba(20, 33, 61, 0.42), rgba(20, 33, 61, 0.05) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow,
.section-label,
.role-tag {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 12px 0 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-facts div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts span,
.pay-table span,
.site-footer span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-facts strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.25;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) 0 0;
}

.intro-grid,
.split,
.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.split h2,
.apply h2 {
  margin: 8px 0 0;
  font-size: clamp(31px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-copy,
.section-heading p,
.split p,
.apply-copy p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.role-grid,
.post-grid,
.check-grid {
  display: grid;
  gap: 16px;
}

.role-grid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.role-card,
.post-grid article,
.mock-form,
.pay-table,
.check-grid div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.06);
}

.role-card {
  padding: 26px;
}

.role-card.featured {
  border-color: rgba(231, 102, 76, 0.5);
  box-shadow: 0 18px 50px rgba(231, 102, 76, 0.15);
}

.role-card h3,
.post-grid h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.role-card p,
.post-grid p,
.faq p {
  color: var(--muted);
}

.role-card ul,
.post-grid ul {
  padding-left: 20px;
  margin: 18px 0 0;
}

.role-card li,
.post-grid li {
  margin: 8px 0;
}

.split {
  align-items: center;
}

.pay-table {
  overflow: hidden;
}

.pay-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.pay-table div:last-child {
  border-bottom: 0;
}

.pay-table strong {
  white-space: nowrap;
}

.check-grid {
  grid-template-columns: repeat(3, 1fr);
}

.check-grid div {
  padding: 22px;
  border-left: 5px solid var(--green);
}

.check-grid strong {
  display: block;
  margin-bottom: 5px;
}

.application-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.application-fields span {
  padding: 8px 11px;
  background: #e8f1f4;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.mock-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.mock-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.mock-form input,
.mock-form select,
.mock-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mock-form textarea {
  min-height: 108px;
  resize: vertical;
}

.post-grid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.post-grid article {
  padding: 24px;
}

.faq {
  padding-bottom: 90px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 12px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 4vw, 48px);
  background: var(--ink);
  color: #fff;
}

.site-footer strong {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 690px;
    align-items: flex-end;
    padding-bottom: 86px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 33, 61, 0.94) 0%, rgba(20, 33, 61, 0.78) 44%, rgba(20, 33, 61, 0.05) 100%),
      linear-gradient(90deg, rgba(20, 33, 61, 0.32), rgba(20, 33, 61, 0));
  }

  .hero-content {
    margin: 0 auto;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 36px);
  }

  .quick-facts div:nth-child(2) {
    border-right: 0;
  }

  .quick-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .split,
  .apply,
  .section-heading,
  .role-grid,
  .post-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .header-actions {
    margin-left: auto;
  }

  .button.small {
    display: none;
  }

  .hero {
    min-height: 710px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .quick-facts div,
  .quick-facts div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 28px, 1120px);
  }

  .intro h2,
  .section-heading h2,
  .split h2,
  .apply h2 {
    font-size: 32px;
  }

  .pay-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pay-table strong {
    white-space: normal;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
