/* Shared semantic classes: reduces Tailwind verbosity across pages. */

html:focus-within {
  scroll-behavior: smooth;
}

*:focus-visible {
  box-shadow: 0 0 0 6px #fff;
  outline: 3px solid #0f172a;
  outline-offset: 4px;
}

.skip-link {
  background-color: #0f172a;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 700;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-150%);
  transition: transform .2s;
  z-index: 100;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Buttons */
.btn-primary {
  background-color: #1d4ed8;
  border: 1px solid transparent;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  color: #fff;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  padding: 1rem 2rem;
  text-align: center;
  transition: background-color .3s, color .3s;
}

.btn-primary:hover {
  background-color: #e2e8f0;
  color: #1d4ed8;
}

.btn-secondary {
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  color: #1d4ed8;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  padding: 1rem 2rem;
  text-align: center;
  transition: background-color .3s, color .3s;
}

.btn-secondary:hover {
  background-color: #1d4ed8;
  color: #fff;
}

/* FAQ */
.faq-heading {
  font-family: lexend, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.faq-item {
  width: 100%;
}

.faq-item > * + * {
  margin-top: 0.25rem;
}

.faq-item p {
  font-size: 1rem;
}

@media (min-width: 640px) {
  .faq-item > * + * {
    margin-top: 1rem;
  }

  .faq-item p {
    font-size: 0.875rem;
  }
}

/* Header and nav */
.byline {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .byline {
    font-size: 1rem;
  }
}

.desktop-nav {
  align-items: center;
  display: none;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.logo {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.menu-overlay {
  backdrop-filter: blur(4px);
  background-color: rgb(226 232 240 / .5);
  inset: 0;
  position: fixed;
}

.mobile-menu-panel {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  left: 1rem;
  padding: 1rem;
  position: absolute;
  right: 1rem;
  top: 3.5rem;
}

.nav-link {
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  transition: background-color .3s;
}

.nav-link:hover {
  background-color: #f1f5f9;
}

.nav-link-mobile {
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: left;
  transition: background-color .3s;
}

.nav-link-mobile:hover {
  background-color: #f1f5f9;
}

.site-header {
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (min-width: 768px) {
  .site-header {
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Icons */
.icon-check {
  aspect-ratio: 1;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1rem;
}

.icon-lg {
  aspect-ratio: 1;
  width: 2.25rem;
}

.icon-sm {
  fill: currentColor;
  height: 1.25rem;
  width: 1.25rem;
}

.icon-wrap {
  background-color: #2563eb;
  border-radius: 0.5rem;
  transition: background-color .3s;
  width: fit-content;
}

/* Layout */
.section-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* Staffing ops landing page */
.staffing-page {
  background-color: #fff;
}

.staffing-page section + section {
  border-top: 1px solid #e2e8f0;
}

.staffing-hero {
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(4.75rem, 9vw, 6.5rem);
}

.staffing-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.staffing-section-compact {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.staffing-section-muted {
  background-color: #f8fafc;
}

.staffing-section-dark {
  background-color: #0f172a;
  color: #fff;
}

.staffing-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 46rem;
  text-align: center;
}

.staffing-content > * + * {
  margin-top: 1.25rem;
}

.staffing-hero .staffing-content > * + * {
  margin-top: 1.5rem;
}

.staffing-eyebrow {
  color: #2563eb;
  font-family: lexend, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
}

.staffing-section-dark .staffing-eyebrow {
  color: #cbd5e1;
}

.staffing-title {
  color: #0f172a;
  font-family: lexend, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
}

.staffing-hero-title {
  font-size: clamp(2.45rem, 7vw, 3.75rem);
  line-height: 1.08;
}

.staffing-title-accent {
  color: #2563eb;
}

.staffing-section-dark .staffing-title {
  color: #fff;
}

.staffing-copy {
  color: #475569;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  line-height: 1.7;
}

.staffing-section-dark .staffing-copy {
  color: #cbd5e1;
}

.staffing-cta-row {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.staffing-points {
  display: grid;
  gap: 1rem 3rem;
  margin: 2.25rem auto 0;
  max-width: 54rem;
}

.staffing-points .feature-item {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.staffing-contact {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 60rem;
}

.staffing-contact-copy {
  text-align: left;
}

.staffing-contact-copy > * + * {
  margin-top: 1.25rem;
}

.staffing-contact-copy .staffing-cta-row {
  justify-content: flex-start;
}

.staffing-contact-photo {
  border-radius: 3.5rem;
  justify-self: center;
  max-width: min(100%, 17rem);
}

.staffing-video {
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  max-width: 52rem;
}

.staffing-video-frame {
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .12), 0 8px 10px -6px rgb(0 0 0 / .12);
  margin-top: 1.75rem;
  overflow: hidden;
  width: 100%;
}

.staffing-video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.staffing-transcript {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1.25rem;
}

.staffing-transcript summary {
  border-radius: 0.375rem;
  color: #2563eb;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.staffing-transcript div {
  border-left: 3px solid #bfdbfe;
  margin-top: 1rem;
  padding-left: 1rem;
}

.staffing-transcript p + p {
  margin-top: 0.75rem;
}

.staffing-footer {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .staffing-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staffing-contact {
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr);
  }
}

@media (max-width: 639px) {
  .staffing-hero {
    padding-bottom: 4rem;
    padding-top: 4.25rem;
  }

  .staffing-section {
    padding-bottom: 3.75rem;
    padding-top: 3.75rem;
  }

  .staffing-section-compact {
    padding-bottom: 3.25rem;
    padding-top: 3.25rem;
  }

  .staffing-copy {
    font-size: 1.0625rem;
  }

  .staffing-contact-copy {
    text-align: center;
  }

  .staffing-contact-copy .staffing-cta-row {
    justify-content: center;
  }

  .staffing-contact-photo {
    border-radius: 2.5rem;
    max-width: min(72vw, 13.5rem);
  }

  .staffing-video {
    margin-top: 3.25rem;
  }
}

/* Partners */
.partner-logo {
  align-items: center;
  display: inline-flex;
  height: 3.5rem;
  justify-content: center;
  transition: opacity .3s;
}

.partner-logo:hover {
  opacity: 0.8;
}

@media (min-width: 640px) {
  .partner-logo {
    height: 4rem;
  }
}

/* Pricing */
.feature-item {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  transition: color .3s;
}

.group:hover .feature-item {
  color: #fff;
}

/* Privacy policy */
.policy-h2 {
  color: #0f172a;
  font-family: lexend, sans-serif;
  font-size: 1.5rem;
}

.policy-h3 {
  color: #0f172a;
  font-family: lexend, sans-serif;
  font-size: 1.25rem;
}

.policy-ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.policy-ul li + li {
  margin-top: 0.5rem;
}

.prose-link {
  color: #2563eb;
  text-decoration: underline;
}

.prose-link:hover {
  color: #1d4ed8;
}

/* Services */
.service-heading {
  font-family: lexend, sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.service-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.service-text {
  color: #475569;
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .service-text {
    font-size: 0.875rem;
  }
}

.service-desc {
  color: #fff;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  line-height: 1.625;
  margin-bottom: 1.25rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .service-desc {
    font-size: 1.25rem;
  }
}

/* Testimonials */
.testimonial-author {
  color: #64748b;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .testimonial-author {
    font-size: 0.875rem;
  }
}

.testimonial-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
}

.testimonial-col {
  display: inline-block;
  padding-top: 1rem;
  width: 100%;
}

.testimonial-footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.testimonial-photo {
  aspect-ratio: 1;
  border-radius: 9999px;
  width: 3.5rem;
}

.testimonial-quote {
  color: #f1f5f9;
  fill: currentColor;
  left: 1.5rem;
  position: absolute;
  top: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  line-height: 1.625;
  position: relative;
}
