﻿:root {
  --bg-dark: #010a1f;
  --bg-light: #eef1f5;
  --text: #161f31;
  --muted: #73839b;
  --blue: #24b0ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--bg-dark);
}

.container { width: min(1180px, 92%); margin: 0 auto; }

.topbar {
  background: #fff;
  height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e7ebf0;
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo-link { text-decoration: none; }
.logo {
  font-size: 56px;
  line-height: 0.8;
  font-weight: 700;
  color: #0d2344;
  letter-spacing: -1px;
}

.logo span {
  display: block;
  font-size: 9px;
  color: #58677d;
  letter-spacing: 0.7px;
  font-weight: 400;
  text-transform: lowercase;
}

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  text-decoration: none;
  color: #1a2334;
  font-size: 12px;
  font-weight: 500;
}

.dark { background: var(--bg-dark); }
.light { background: var(--bg-light); }

.hero { padding: 42px 0 62px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.chip {
  display: inline-block;
  margin: 0 0 24px;
  border-radius: 999px;
  border: 1px solid #1c4c88;
  color: #79b7ff;
  background: #0b1e3d;
  font-size: 10px;
  padding: 6px 12px;
  letter-spacing: 1px;
}

.hero-copy h1 {
  margin: 0;
  color: #f4f8fe;
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: -1.5px;
}

.hero-copy h1 span { color: var(--blue); }

.hero-copy p {
  margin: 20px 0 26px;
  max-width: 500px;
  color: #90a0b8;
  font-size: 14px;
  line-height: 1.7;
}

.btn {
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 500;
}

.btn-solid {
  background: linear-gradient(90deg, #1fb4ff, #209dff);
  color: #fff;
}

.hero-image {
  height: 360px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.section { padding: 90px 0; }

.eyebrow {
  margin: 0 0 14px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: #0ea5ff;
  font-weight: 600;
}

h2 {
  margin: 0;
  text-align: center;
  font-size: 52px;
  line-height: 1.16;
  letter-spacing: -1px;
}

.sub {
  margin: 14px auto 42px;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #f1f4f8;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 20px 16px;
}

.card.small h3,
.card.perk h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.card p {
  margin: 0;
  color: #667791;
  font-size: 11px;
  line-height: 1.55;
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.culture-image {
  border-radius: 12px;
  border: 0;
  min-height: 430px;
  background: transparent;
  overflow: hidden;
}

.culture-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.culture-card {
  border: 1px solid #1f3250;
  border-radius: 12px;
  background: #0e1d36;
  padding: 26px 22px;
}

.eyebrow.left,
.white.left { text-align: left; }

.white { color: #f4f8fe; }

.culture-card h2 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.culture-card h2 span { color: var(--blue); }

.culture-card p {
  margin: 0 0 16px;
  color: #8fa1bb;
  font-size: 12px;
  line-height: 1.7;
}

.culture-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.culture-card li {
  color: #b6c4d8;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.culture-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24b0ff;
}

.roles .tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  border: 1px solid #d5deea;
  background: #f5f7fb;
  color: #697a95;
  border-radius: 999px;
  font-family: inherit;
  font-size: 10px;
  padding: 7px 12px;
}

.tab.active {
  background: #20aefb;
  border-color: #20aefb;
  color: #fff;
}

.jobs-grid {
  width: min(780px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.job {
  background: #f4f6fa;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  padding: 12px 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job:hover,
.job:focus-visible {
  border-color: #9fb3d1;
  box-shadow: 0 8px 18px rgba(16, 35, 66, 0.1);
  outline: none;
}

.job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.job h4 {
  margin: 0;
  font-size: 12px;
}

.job-head span {
  color: #6e809d;
  font-size: 12px;
}

.job p {
  margin: 8px 0 10px;
  font-size: 10px;
  color: #6d7f9a;
  line-height: 1.5;
}

.job small {
  color: #7e8ea7;
  font-size: 9px;
}

.perk-grid { width: min(980px, 100%); margin: 0 auto; }

.cta-box {
  border: 1px solid #1b3151;
  border-radius: 14px;
  padding: 62px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 100%, rgba(44, 183, 255, 0.2) 0, transparent 38%),
    radial-gradient(circle at 80% 100%, rgba(41, 154, 255, 0.24) 0, transparent 37%),
    linear-gradient(135deg, #13375a 0%, #111f3f 44%, #0c132d 100%);
}

.cta-box p {
  margin: 16px auto 24px;
  max-width: 720px;
  color: #95a6bf;
  font-size: 13px;
  line-height: 1.7;
}

.footer { padding: 44px 0 22px; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer p {
  margin: 12px 0 0;
  color: #64738b;
  font-size: 11px;
  line-height: 1.6;
}

.footer .small { color: #8997ac; }

.footer h5 { margin: 0 0 12px; font-size: 12px; }

.footer a {
  display: block;
  font-size: 11px;
  color: #64738b;
  margin-bottom: 8px;
  text-decoration: none;
}

.policy-row {
  margin-top: 20px;
  display: flex;
  gap: 28px;
}

.policy-row a {
  margin: 0;
  color: #97a2b5;
}

.apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 24, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1400;
}

.apply-modal.is-open {
  display: flex;
}

.apply-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #eff2f7;
  border-radius: 20px;
  padding: 30px 34px 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.apply-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #061127;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.apply-modal-heading {
  margin: 0;
  text-align: center;
  color: #2e63db;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.apply-role-title {
  margin: 8px 0 0;
  text-align: center;
  color: #2e63db;
  font-size: 14px;
  font-weight: 600;
}

.apply-form {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-field.full {
  grid-column: 1 / -1;
}

.apply-field label {
  margin: 0;
  color: #1e2738;
  font-size: 13px;
  font-weight: 600;
}

.apply-field input {
  width: 100%;
  border: 1px solid #d1d7e1;
  border-radius: 12px;
  background: #f3f5f7;
  color: #283a54;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  padding: 11px 12px;
}

#appResume {
  display: none;
}

.resume-dropzone {
  border: 1px solid #d1d7e1;
  border-radius: 12px;
  background: #f3f5f7;
  padding: 18px 14px;
  text-align: center;
}

.resume-dropzone p {
  margin: 0;
  color: #0f1729;
  font-size: 18px;
}

.resume-dropzone span {
  display: block;
  margin: 6px 0;
  color: #0f1729;
  font-size: 14px;
  font-weight: 600;
}

.resume-browse {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #2e63db;
  border-radius: 999px;
  color: #2e63db;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.apply-submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  border: 0;
  background: linear-gradient(90deg, #2f66db, #2f66db);
  color: #fff;
}

.apply-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  text-align: center;
  color: #6f7f99;
  font-size: 11px;
}

.apply-note::before {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: -2px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b98ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 5-3.5 8.5-7 9-3.5-.5-7-4-7-9V6l7-3z'/%3E%3C/svg%3E");
}

.apply-success {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 12px 8px 8px;
}

.apply-success-message {
  margin: 0;
  color: #2e63db;
  font-size: 28px;
  line-height: 1.6;
}

.apply-form[hidden],
.apply-note[hidden],
#applicationModalHeading[hidden],
#applicationModalTitle[hidden],
.apply-success[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid,
  .culture-grid,
  .grid.four,
  .jobs-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  h2,
  .culture-card h2 { font-size: 38px; }

  .hero-image { height: 300px; }

  .policy-row { flex-wrap: wrap; gap: 14px; }

  .apply-modal-card {
    padding: 24px 18px 18px;
  }

  .apply-modal-heading {
    font-size: 24px;
  }

  .apply-form {
    grid-template-columns: 1fr;
  }

  .apply-success-message {
    font-size: 20px;
  }
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  margin-left: -10px;
}
