:root {
  --blue: #168ed7;
  --blue-dark: #0b5f9e;
  --ink: #111317;
  --muted: #667084;
  --line: #dce3ec;
  --panel: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 31, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 236, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  color: #283342;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-dark);
  background: #edf6fc;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  color: var(--white);
  background: #0a0c10;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.72) 48%, rgba(22, 142, 215, 0.24)),
    url("assets/logo.png") right -80px center / min(58vw, 680px) no-repeat,
    linear-gradient(135deg, #121922, #0a0c10 52%, #123f62);
}

.hero-bg::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(0deg, rgba(10, 12, 16, 0.94), transparent);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 105px) 0 clamp(70px, 9vw, 120px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d8e3ee;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(22, 142, 215, 0.32);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-mark {
  justify-self: end;
  width: min(340px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats article {
  padding: 28px clamp(18px, 4vw, 42px);
  background: var(--white);
}

.stats strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 700;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 84px);
}

.section-copy p,
.route-copy p,
.apply p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 198px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.route-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: linear-gradient(135deg, #10161f, #123f62);
}

.route-copy p {
  color: #d9e6f2;
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.route-list span {
  color: #a9bfd3;
  font-weight: 700;
}

.route-list strong {
  font-size: 1.25rem;
}

.apply {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.apply-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

label {
  display: grid;
  gap: 7px;
  color: #2d3948;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 142, 215, 0.18);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  color: #dce8f2;
  text-align: center;
  background: #0a0c10;
}

.site-footer img {
  width: 36px;
  height: 36px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-content,
  .split,
  .route-panel,
  .apply {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    justify-self: start;
    width: min(245px, 68vw);
    padding: 16px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 180px;
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .site-header {
    min-height: 68px;
  }

  .site-nav {
    top: 67px;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 68px);
  }

  h1 {
    font-size: clamp(2.75rem, 17vw, 4.1rem);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .route-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
