:root {
  --blue: #146fb1;
  --blue-dark: #184f8d;
  --cyan: #38aee2;
  --ink: #172033;
  --muted: #5d6676;
  --line: #d8e2ea;
  --surface: #ffffff;
  --soft: #f3f8fb;
  --accent: #d71920;
  --button-bg: #087f8c;
  --button-hover: #066a75;
  --button-shadow: rgba(8, 127, 140, 0.22);
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  background:
    linear-gradient(180deg, rgba(20, 111, 177, 0.08), rgba(255, 255, 255, 0) 420px),
    #fff;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

main {
  flex: 1 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(216, 226, 234, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  width: min(1120px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  padding: 18px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: min(250px, 58vw);
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.text-link {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  color: #fff;
  background: var(--button-bg);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--button-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  background: var(--button-hover);
  box-shadow: 0 13px 30px var(--button-shadow);
  transform: translateY(-1px);
}

.hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 420px);
  gap: 44px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.15rem, 3.25vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: #374151;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact {
  min-height: 122px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.07);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.fact span {
  display: block;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.32;
  overflow-wrap: break-word;
}

.content-wrap {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.section:first-child {
  padding-top: 0;
}

.section:last-child {
  border-bottom: 0;
}

.copy p {
  max-width: 820px;
  margin-bottom: 16px;
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 32px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(215, 25, 32, 0.08);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.benefit {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.benefit h3 {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 1.02rem;
  line-height: 1.3;
}

.benefit p {
  margin: 0;
  color: #465161;
  font-size: 0.96rem;
  line-height: 1.45;
}

.aside {
  position: sticky;
  top: 172px;
  display: grid;
  gap: 16px;
  align-self: start;
}

.apply-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.apply-box h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.apply-box p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.apply-box .button {
  width: 100%;
}

.contact-panel {
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
}

.contact-panel p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-panel a {
  color: #fff;
  font-weight: 800;
}

.page-main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

.page-main.narrow {
  width: min(860px, calc(100% - 36px));
}

.job-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.job-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.07);
}

.job-card h2 {
  margin-bottom: 2px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.job-card p {
  margin-bottom: 0;
  color: #465161;
}

.job-card .facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.job-card .fact {
  min-height: 0;
  padding: 14px;
}

.job-card .fact span {
  font-size: 0.95rem;
}

.legal-content h1 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legal-content h1:first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin-top: 26px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #374151;
}

.legal-content address {
  font-style: normal;
}

.legal-content a {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7fafc;
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner img {
  width: 178px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links {
  display: inline-flex;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero,
  .content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .aside {
    position: static;
    grid-row: 1;
  }

  .job-card .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    width: min(100% - 28px, 1120px);
    min-height: 0;
    padding: 28px 0 30px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .brand img {
    width: min(250px, 78vw);
  }

  .nav-actions {
    display: none;
  }

  .hero,
  .content,
  .footer-inner,
  .page-main,
  .page-main.narrow {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 26px;
    padding-bottom: 30px;
  }

  .facts,
  .benefits,
  .job-card .facts {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 34px 0 48px;
  }

  .aside {
    grid-row: auto;
    margin-top: 10px;
  }

  .section {
    padding: 28px 0;
  }

  .page-main {
    padding: 34px 0 52px;
  }

  .footer-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
