:root {
  --stx-navy: #07111f;
  --stx-text: #101828;
  --stx-muted: #667085;
  --stx-green: #0fa37f;
  --stx-green-dark: #087a61;
  --stx-mint: #eafbf5;
  --stx-bg: #f3f6fa;
  --stx-border: #dde5ee;
  --stx-card: #ffffff;
  --stx-danger: #dc2626;
  --stx-shadow: 0 22px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stx-bg);
  color: var(--stx-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--stx-green-dark); }
button, input, select, textarea { font: inherit; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--stx-navy);
  color: #fff;
}

.stx-shell { min-height: 100vh; display: flex; flex-direction: column; }
.stx-main { flex: 1; outline: none; }
.stx-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.stx-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 229, 238, .92);
}
.stx-header-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.stx-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--stx-navy);
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.04em;
}
.stx-brand .stx-mark { color: var(--stx-green-dark); }
.stx-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.stx-nav a,
.stx-link-button {
  color: #344054;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.stx-link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 2px;
}
.stx-login { position: relative; }
.stx-login-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  display: none;
  padding: 10px;
  border: 1px solid var(--stx-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--stx-shadow);
}
.stx-login-menu.open { display: grid; gap: 4px; }
.stx-login-menu a {
  padding: 11px 12px;
  border-radius: 12px;
}
.stx-login-menu a:hover { background: #f8fafc; }
.stx-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stx-border);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.stx-menu-button span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--stx-navy);
  border-radius: 99px;
}

.stx-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--stx-border);
  border-radius: 15px;
  background: #fff;
  color: var(--stx-green-dark);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.stx-btn-primary {
  border-color: var(--stx-green);
  background: var(--stx-green);
  color: #fff;
}
.stx-btn-dark {
  border-color: var(--stx-navy);
  background: var(--stx-navy);
  color: #fff;
}
.stx-btn-soft {
  background: #ecfdf5;
  border-color: #b7eadb;
}
.stx-btn-danger {
  color: #fff;
  background: var(--stx-danger);
  border-color: var(--stx-danger);
}
.stx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.stx-hero {
  padding: 78px 0 42px;
}
.stx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 34px;
  align-items: center;
}
.stx-hero-card,
.stx-card,
.stx-panel,
.stx-form-card {
  border: 1px solid var(--stx-border);
  background: var(--stx-card);
  border-radius: 28px;
  box-shadow: var(--stx-shadow);
}
.stx-hero-card { padding: clamp(28px, 5vw, 54px); }
.stx-card, .stx-panel { padding: 24px; }
.stx-form-card { padding: clamp(24px, 4vw, 36px); }
.stx-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(15, 163, 127, .26);
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--stx-green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.stx-kicker.dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #c9f7e8; }
.stx-hero h1,
.stx-page-hero h1 {
  margin: 18px 0 16px;
  max-width: 860px;
  color: var(--stx-text);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.stx-page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.stx-lede {
  max-width: 780px;
  color: #475467;
  font-size: 18px;
}
.stx-section {
  padding: 42px 0;
}
.stx-section-head {
  max-width: 800px;
  margin-bottom: 22px;
}
.stx-section h2 {
  margin: 0 0 12px;
  color: var(--stx-text);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.stx-section h3,
.stx-card h3,
.stx-panel h3 {
  margin: 0 0 8px;
  color: var(--stx-text);
  font-size: 18px;
  line-height: 1.25;
}
.stx-section p,
.stx-card p,
.stx-panel p,
.stx-section li {
  color: #526174;
  font-size: 16px;
}
.stx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stx-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stx-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stx-card {
  display: grid;
  gap: 10px;
  align-content: start;
}
.stx-card-status {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stx-card-status.live {
  background: #ecfdf5;
  color: var(--stx-green-dark);
}
.stx-dark-section {
  margin: 44px 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 34px;
  background: radial-gradient(circle at 80% 20%, rgba(15,163,127,.28), transparent 34%), var(--stx-navy);
  color: #fff;
}
.stx-dark-section h2,
.stx-dark-section h3 { color: #fff; }
.stx-dark-section p,
.stx-dark-section li { color: #cbd5e1; }

.stx-preview {
  display: grid;
  gap: 16px;
}
.stx-profile-preview {
  overflow: hidden;
  border: 1px solid rgba(15, 163, 127, .22);
  border-radius: 30px;
  background: linear-gradient(145deg, #0b1728, #0f2432);
  color: #fff;
  box-shadow: 0 28px 80px rgba(7, 17, 31, .28);
}
.stx-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stx-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--stx-green), #6fcf4e);
  color: var(--stx-navy);
  font-weight: 950;
}
.stx-preview-name { color: #fff; font-size: 22px; font-weight: 950; }
.stx-preview-meta { color: #aebed0; font-size: 13px; font-weight: 800; }
.stx-score { text-align: right; }
.stx-score strong { display: block; color: #facc15; font-size: 38px; line-height: 1; }
.stx-score span { color: #aebed0; font-size: 12px; font-weight: 800; }
.stx-preview-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.stx-metric-row {
  display: grid;
  grid-template-columns: 110px 1fr 42px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 850;
  color: #d7e3ee;
}
.stx-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}
.stx-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--stx-green);
}
.stx-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 20px;
}
.stx-preview-cards div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.stx-preview-cards b { display: block; color: #fff; font-size: 18px; }
.stx-preview-cards span { color: #aebed0; font-size: 11px; font-weight: 850; text-transform: uppercase; }

.stx-page-hero {
  padding: 58px 0 20px;
}
.stx-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}
.stx-career-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
}
.stx-link-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  color: var(--stx-green-dark);
  font-weight: 950;
  text-decoration: none;
}
.stx-link-back::before {
  content: "<";
  margin-right: 8px;
}
.stx-prose {
  display: grid;
  gap: 16px;
}
.stx-prose h1 {
  margin: 6px 0 4px;
  color: var(--stx-text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.stx-content-block {
  padding-top: 18px;
  border-top: 1px solid var(--stx-border);
}
.stx-content-block h2 {
  font-size: 22px;
  letter-spacing: -.02em;
}
.stx-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}
.stx-info-grid div {
  padding: 16px;
  border: 1px solid var(--stx-border);
  border-radius: 18px;
  background: #f8fafc;
}
.stx-info-grid span {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stx-info-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--stx-text);
}
.stx-application-card {
  position: sticky;
  top: 96px;
  border-top: 6px solid var(--stx-green);
}
.stx-application-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.stx-application-facts span {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--stx-border);
  border-radius: 16px;
  background: #f8fafc;
  color: #526174;
  font-size: 13px;
  font-weight: 800;
}
.stx-application-facts b {
  color: #667085;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stx-blog-detail {
  max-width: 860px;
  margin: 0 auto;
}
.stx-prose ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.stx-prose li {
  padding: 14px 16px;
  border: 1px solid var(--stx-border);
  border-radius: 16px;
  background: #f8fafc;
}
.stx-person {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}
.stx-leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stx-person-card {
  min-height: 100%;
  grid-template-rows: auto auto auto auto 1fr auto;
}
.stx-person-card h3 {
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -.025em;
}
.stx-person-card .stx-btn {
  justify-self: start;
  margin-top: 8px;
}
.stx-person-title {
  margin: -4px 0 0;
  color: var(--stx-green-dark) !important;
  font-weight: 900;
}
.stx-person-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ecfdf5;
  color: var(--stx-green-dark);
  font-weight: 950;
}
.stx-person-avatar.large {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  font-size: 22px;
}
.stx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stx-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475467;
  font-size: 12px;
  font-weight: 900;
}
.stx-tag.green {
  background: #ecfdf5;
  color: var(--stx-green-dark);
}

.stx-modal-open {
  overflow: hidden;
}
.stx-modal-host {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
}
.stx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, .58);
  backdrop-filter: blur(8px);
}
.stx-modal {
  position: relative;
  width: min(680px, 100%);
  max-height: min(720px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(221, 229, 238, .92);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(7, 17, 31, .35);
}
.stx-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--stx-border);
  border-radius: 999px;
  background: #fff;
  color: var(--stx-text);
  font-weight: 900;
  cursor: pointer;
}
.stx-modal-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding-right: 70px;
}
.stx-modal h2 {
  margin: 8px 0 2px;
  color: var(--stx-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.stx-modal-copy {
  margin: 24px 0 18px;
  color: #475467;
  font-size: 17px;
}

.stx-form {
  display: grid;
  gap: 14px;
}
.stx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stx-label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stx-input,
.stx-select,
.stx-textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d6dee9;
  border-radius: 14px;
  background: #fff;
  color: var(--stx-text);
  font-weight: 750;
}
.stx-textarea {
  min-height: 150px;
  resize: vertical;
}
.stx-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #475467;
  font-size: 14px;
}
.stx-check input { width: 20px; height: 20px; margin-top: 2px; }
.stx-help {
  margin: -6px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}
.stx-message {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 850;
}
.stx-message.show { display: block; }
.stx-message.ok {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: var(--stx-green-dark);
}
.stx-message.err {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: var(--stx-danger);
}
.stx-warning {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
}
.stx-warning strong {
  color: #7c2d12;
}
.stx-mini-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--stx-border);
}
.stx-newsletter-card,
.stx-admin-centre-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--stx-border);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--stx-shadow);
}
.stx-newsletter-form {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr) auto;
  align-items: end;
}
.stx-newsletter-form .stx-check,
.stx-newsletter-form .stx-message {
  grid-column: 2 / span 2;
}

.stx-job-list,
.stx-post-list {
  display: grid;
  gap: 14px;
}
.stx-job-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--stx-border);
  border-radius: 22px;
  background: #fff;
}
.stx-job-card h3 { font-size: 22px; }
.stx-empty {
  padding: 28px;
  border: 1px dashed #cdd7e3;
  border-radius: 22px;
  background: rgba(255,255,255,.75);
  color: #667085;
  text-align: center;
  font-weight: 800;
}

.stx-footer {
  margin-top: 48px;
  padding: 38px 0;
  border-top: 1px solid var(--stx-border);
  background: #fff;
}
.stx-footer-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 28px;
}
.stx-footer p { color: #667085; }
.stx-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.stx-footer-links strong {
  display: block;
  margin-bottom: 10px;
  color: var(--stx-text);
}
.stx-footer-links a {
  display: block;
  margin: 8px 0;
  color: #526174;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.stx-accordion {
  display: grid;
  gap: 10px;
}
.stx-accordion details {
  padding: 16px 18px;
  border: 1px solid var(--stx-border);
  border-radius: 18px;
  background: #fff;
}
.stx-accordion summary {
  cursor: pointer;
  color: var(--stx-text);
  font-weight: 900;
}

@media (max-width: 860px) {
  .stx-header-inner { min-height: 64px; }
  .stx-menu-button { display: inline-flex; }
  .stx-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    max-height: calc(100vh - 64px);
    overflow: auto;
    padding: 16px;
    border-bottom: 1px solid var(--stx-border);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
  }
  body.stx-menu-open .stx-nav {
    display: grid;
    gap: 4px;
  }
  .stx-nav a,
  .stx-link-button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 4px;
  }
  .stx-login-menu {
    position: static;
    display: none;
    margin-top: 4px;
    box-shadow: none;
  }
  .stx-login-menu.open { display: grid; }
  .stx-hero { padding: 34px 0 22px; }
  .stx-hero-grid,
  .stx-page-grid,
  .stx-career-detail-grid,
  .stx-grid,
  .stx-grid.two,
  .stx-grid.four,
  .stx-leadership-grid,
  .stx-newsletter-form,
  .stx-application-facts,
  .stx-form-row,
  .stx-footer-grid,
  .stx-footer-links {
    grid-template-columns: 1fr;
  }
  .stx-hero h1,
  .stx-page-hero h1 {
    font-size: 39px;
  }
  .stx-hero-card,
  .stx-card,
  .stx-panel,
  .stx-form-card {
    border-radius: 22px;
  }
  .stx-card,
  .stx-panel {
    padding: 18px;
  }
  .stx-lede,
  .stx-section p,
  .stx-card p,
  .stx-panel p,
  .stx-section li {
    font-size: 14px;
  }
  .stx-actions { display: grid; grid-template-columns: 1fr; }
  .stx-btn { width: 100%; min-height: 44px; }
  .stx-application-card { position: static; }
  .stx-info-grid { grid-template-columns: 1fr; }
  .stx-section { padding: 28px 0; }
  .stx-dark-section { border-radius: 24px; margin: 28px 0; }
  .stx-newsletter-form .stx-check,
  .stx-newsletter-form .stx-message {
    grid-column: auto;
  }
  .stx-modal-host {
    align-items: end;
    padding: 0;
  }
  .stx-modal {
    width: 100%;
    max-height: calc(100vh - 28px);
    border-radius: 28px 28px 0 0;
    padding: 24px 18px 28px;
  }
  .stx-modal-head {
    grid-template-columns: 58px 1fr;
    padding-right: 0;
  }
  .stx-modal-close {
    position: static;
    justify-self: end;
    margin-bottom: 12px;
  }
  .stx-person-avatar.large {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 18px;
  }
  .stx-preview-cards { grid-template-columns: 1fr; }
  .stx-metric-row { grid-template-columns: 90px 1fr 34px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
