:root {
  --ink: #102033;
  --muted: #5d6b7d;
  --navy: #104179;
  --blue: #0d6e8a;
  --gold: #c9952b;
  --paper: #f4f7fb;
  --card: #ffffff;
  --line: #dde7f2;
  --shadow: 0 24px 70px rgba(16, 65, 121, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Avenir Next, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(13, 110, 138, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 5%, rgba(201, 149, 43, 0.14), transparent 22rem),
    linear-gradient(180deg, #eef4fb 0%, #ffffff 52%, #f5f8fc 100%);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(244, 247, 251, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 231, 242, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(16, 65, 121, 0.2);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.site-footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(54px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  color: var(--navy);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--ink);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(16, 65, 121, 0.14);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.source-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 22px;
  border: 10px solid #102033;
  border-radius: 42px;
  background: #edf3fa;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-bar {
  width: 84px;
  height: 8px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #102033;
  opacity: 0.22;
}

.job-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 35px rgba(16, 65, 121, 0.1);
}

.job-card span,
.badge {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.job-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

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

.highlight {
  background: linear-gradient(145deg, #ffffff, #e8f2ff);
  border: 1px solid rgba(13, 110, 138, 0.16);
}

.section {
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.panel,
.support-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 48px rgba(16, 65, 121, 0.08);
}

.feature-card {
  padding: 26px;
}

.feature-card p,
.panel p,
.support-card p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.panel,
.support-card {
  padding: clamp(24px, 4vw, 42px);
}

.privacy-section {
  background: rgba(255, 255, 255, 0.42);
}

.support-card {
  max-width: 920px;
  margin: 30px auto 80px;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-frame {
    transform: none;
  }
}

.legal-page {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px) 90px;
}

.legal-hero {
  max-width: 980px;
  margin-bottom: 26px;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.legal-card {
  max-width: 980px;
  margin: 18px 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(16, 65, 121, 0.08);
}

.legal-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.legal-card a {
  color: var(--navy);
  font-weight: 800;
}

.legal-card li {
  margin-bottom: 8px;
  color: var(--muted);
}

.jobs-page,
.job-detail-page {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px) 90px;
}

.jobs-hero {
  max-width: 1080px;
  margin-bottom: 34px;
}

.jobs-hero h1,
.detail-card h1 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 30px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 48px rgba(16, 65, 121, 0.08);
}

.search-panel label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.results-head h2 {
  margin-bottom: 0;
}

.results-head p,
.error-note {
  color: var(--muted);
}

.job-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(16, 65, 121, 0.08);
}

.result-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.result-card h3 a,
.back-link {
  color: var(--navy);
  text-decoration: none;
}

.result-card h3 a:hover,
.back-link:hover {
  color: var(--blue);
}

.result-meta {
  margin-bottom: 0;
  color: var(--muted);
}

.result-tags,
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.result-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(13, 110, 138, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: #eef6ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.button.compact {
  min-height: 42px;
  padding: 10px 15px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 900;
}

.detail-card {
  max-width: 1080px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.detail-card .button {
  margin: 24px 0 14px;
}

.detail-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.detail-section p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .search-panel,
  .result-card {
    grid-template-columns: 1fr;
  }

  .results-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
