:root {
  --text-scale: 1;
}

body {
  font-size: calc(1rem * var(--text-scale));
}

.site-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.site-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.site-logo-light {
  width: 6rem;
  height: auto;
  max-width: 100%;
}

.site-logo-dark {
  width: 6rem;
  height: auto;
  max-width: 100%;
}

.footer-brand-tagline {
  margin-top: 0.5rem;
  padding-left: 0.2rem;
}

@media (min-width: 640px) {
  .site-logo-light {
    width: 6.5rem;
    height: auto;
    max-width: 100%;
  }

  .site-logo-dark {
    width: 6.5rem;
    height: auto;
    max-width: 100%;
  }
}

svg:not(.fill-current) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slide[aria-hidden="true"] {
  visibility: hidden;
}

.hero-progress {
  width: 0;
}

.solution-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  height: 8rem;
  width: 8rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  opacity: 0;
  transition: opacity 0.5s;
}

.solution-card:hover::after,
.solution-card:focus::after {
  opacity: 1;
}

.solution-card:hover > div > div,
.solution-card:focus > div > div {
  background: rgb(255 255 255 / 0.15);
  color: #fff;
}

.solution-card > div > div {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
  transition-duration: 0.15s;
}

.solution-card:focus {
  border-color: #087fb9;
  background: #087fb9;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.solution-card:focus p {
  color: rgb(255 255 255 / 0.85);
}

.solution-card:focus > .mt-8 svg {
  transform: translateX(0.25rem);
}

.js-card-grid a.group .mt-4 svg {
  transition: transform 0.15s;
}

.js-card-grid a.group:hover .mt-4 svg {
  transform: translateX(0.25rem);
}

section.bg-white .js-card-grid > a.group > div.absolute.inset-0 {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
  transition-duration: 0.5s;
}

section.bg-white .js-card-grid > a.group .mt-4 {
  transition: opacity 0.5s;
}

section.bg-vaisra-offwhite .js-card-grid a.group .absolute.inset-0 {
  transition: background-color 0.15s;
}

.insight-filters button {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
  transition-duration: 0.15s;
}

form button[type="submit"] {
  transition-property: transform, translate, scale, rotate;
  transition-duration: 0.15s;
}

.form-success {
  border-color: #b7e4c7;
  background: #edf9f1;
  color: #24643a;
}

main > section.py-16 .grid.gap-8.md\:grid-cols-2 > .group {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

main > section.py-16 .grid.gap-8.md\:grid-cols-2 > .group:hover {
  border-color: #b9dff0;
  box-shadow: 0 14px 32px rgb(7 29 51 / 0.1);
  transform: translateY(-3px);
}

main > section.py-16 .grid.gap-8.md\:grid-cols-2 > .group a svg,
main > section.py-16 .grid.gap-12 > .rounded-sm.bg-vaisra-blue a svg,
section.bg-white .js-card-grid > a.group .mt-4 svg,
main > section.py-16 .grid.gap-6 > a.group .mt-4 svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

main > section.py-16 .grid.gap-8.md\:grid-cols-2 > .group a:hover svg,
main > section.py-16 .grid.gap-12 > .rounded-sm.bg-vaisra-blue a:hover svg,
section.bg-white .js-card-grid > a.group:hover .mt-4 svg,
main > section.py-16 .grid.gap-6 > a.group:hover .mt-4 svg {
  transform: translateX(0.3rem);
}

section.bg-white .js-card-grid > a.group > img,
main > section.py-16 .grid.gap-6 > a.group img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

section.bg-white .js-card-grid > a.group:hover > img {
  transform: scale(1.1);
}

main > section.py-16 .grid.gap-6 > a.group {
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

main > section.py-16 .grid.gap-6 > a.group:hover {
  border-color: #b9dff0;
  box-shadow: 0 16px 36px rgb(7 29 51 / 0.1);
  transform: translateY(-3px);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #087fb9;
}

.careers-section {
  padding: 5.5rem 1.5rem 6.5rem;
  background: #f5f7f9;
}

.careers-board {
  width: min(100%, 66rem);
  margin: 0 auto;
}

.careers-intro {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.careers-eyebrow {
  margin-bottom: 0.75rem;
  color: #087fb9;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.careers-intro h2 {
  color: #071d33;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.careers-intro > p:last-child {
  max-width: 40rem;
  margin-top: 1rem;
  color: #647586;
  font-size: 1rem;
  line-height: 1.75;
}

.career-filters {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  border-bottom: 1px solid #dbe3e9;
  scrollbar-width: none;
}

.career-filters::-webkit-scrollbar {
  display: none;
}

.career-filters button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  padding: 0 0 0.95rem;
  color: #647586;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}

.career-filters button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #087fb9;
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.career-filters button:hover,
.career-filters button.is-active {
  color: #071d33;
}

.career-filters button.is-active::after {
  transform: scaleX(1);
}

.career-list {
  display: grid;
  gap: 1.25rem;
}

.career-card {
  border: 1px solid #e7edf1;
  border-radius: 0.5rem;
  padding: 1.75rem 2rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 29, 51, 0.045);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.career-card:hover {
  border-color: #c5e5f3;
  box-shadow: 0 18px 42px rgba(7, 29, 51, 0.075);
  transform: translateY(-3px);
}

.career-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.career-card h3 {
  color: #071d33;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.career-tags span {
  border: 1px solid #bdc9d2;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: #415466;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.career-apply {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 8.5rem;
  border: 1px solid #087fb9;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  color: #fff;
  background: #087fb9;
  box-shadow: 0 8px 20px rgba(8, 127, 185, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.career-apply svg,
.career-contact svg {
  width: 1rem;
  height: 1rem;
}

.career-apply:not(.is-disabled):hover {
  background: #066e9f;
  box-shadow: 0 12px 24px rgba(8, 127, 185, 0.25);
  transform: translateY(-2px);
}

.career-apply.is-disabled {
  border-color: #d8e0e6;
  color: #8795a2;
  background: #eef2f5;
  box-shadow: none;
  cursor: not-allowed;
}

.career-description {
  margin-top: 1.4rem;
  border-top: 1px solid #edf1f4;
  padding-top: 1.15rem;
  color: #647586;
  font-size: 0.9rem;
  line-height: 1.7;
}

.career-empty {
  border: 1px dashed #bcdce9;
  border-radius: 0.5rem;
  padding: 3.5rem 2rem;
  background: #fff;
  text-align: center;
  color: #647586;
}

.career-empty h3 {
  margin-bottom: 0.5rem;
  color: #071d33;
  font-size: 1.25rem;
  font-weight: 700;
}

.career-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid #dbe3e9;
  padding-top: 1.5rem;
  color: #647586;
  font-size: 0.9rem;
}

.career-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #087fb9;
  font-weight: 700;
}

.legal-copy {
  color: #152b3d;
}

.legal-copy p {
  color: #647586;
  line-height: 1.75;
}

.legal-copy h2 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #071d33;
}

.legal-copy a {
  color: #087fb9;
}

.search-result {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: background-color 0.15s;
}

.search-result:hover {
  background: #eaf6fc;
}

@media (max-width: 640px) {
  .careers-section {
    padding: 4rem 1.25rem 5rem;
  }

  .career-card {
    padding: 1.4rem;
  }

  .career-card-top,
  .career-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .career-apply {
    width: 100%;
  }
}
