/*
 * IntellixHR public website master rules.
 * Loaded after the base and page styles so shared typography remains consistent.
 */
:root {
  --website-ink: #17324a;
  --website-muted: #607080;
  --website-primary: #038d4a;
  --website-h1-size: 2.5rem;
  --website-h2-size: 2rem;
  --website-h3-size: 1.1rem;
  --website-body-size: 1rem;
  --website-small-size: .82rem;
}

.index-page main {
  color: var(--website-ink);
  font-size: var(--website-body-size);
}

.index-page main h1,
.index-page main h2,
.index-page main h3,
.index-page main h4,
.index-page main h5,
.index-page main h6 {
  color: var(--website-ink);
  letter-spacing: -.025em;
}

.index-page main h1 {
  font-size: var(--website-h1-size);
  font-weight: 700;
  line-height: 1.2;
}

.index-page main h2,
.index-page main .display-4,
.index-page main .display-5,
.index-page main .display-6 {
  font-size: var(--website-h2-size);
  font-weight: 600;
  line-height: 1.2;
}

.index-page main h3 {
  font-size: var(--website-h3-size);
  line-height: 1.35;
}

.index-page main p,
.index-page main li,
.index-page main label,
.index-page main input,
.index-page main select,
.index-page main textarea {
  font-size: var(--website-body-size);
}

.index-page main p {
  line-height: 1.75;
}

.index-page main .lead,
.commercial-page__hero-copy {
  font-size: var(--website-body-size);
  font-weight: 400;
}

.index-page main .small,
.index-page main small {
  font-size: var(--website-small-size);
}

.index-page main .btn {
  border-radius: .8rem;
  font-size: var(--website-body-size);
  font-weight: 500;
  padding: .85rem 1.75rem;
}

/* Preserve compact text where it communicates UI structure rather than page copy. */
.index-page main .commercial-page__eyebrow,
.index-page main .commercial-page__hero-tag,
.index-page main [class$="__step"],
.index-page main [class$="__note"] {
  font-size: .78rem;
}

.page-title {
  padding-top: 151px;
  padding-bottom: 29px;
  background-color: #d1e6dd;
}

@media (min-width: 1200px) {
  .navmenu > ul {
    gap: 2px;
  }

  .navmenu > ul > li > a {
    padding-inline: 10px;
  }

  .navmenu .platform-menu {
    width: 285px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  :root {
    --website-h1-size: 2.15rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --website-h1-size: 2rem;
    --website-h2-size: 1.7rem;
  }
}

/* Shared compact demo CTA */
.demo-cta {
  padding: 4rem 0;
  color: #fff;
  background: #f3f8f5;
}

.commercial-page section.demo-cta,
.home-redesign > section.demo-cta {
  padding: 4rem 0 !important;
}

.demo-cta__shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 3rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 8% 5%, rgba(75, 225, 148, .2), transparent 28%),
    linear-gradient(135deg, #075b3d, #038d4a);
  box-shadow: 0 24px 60px rgba(3, 89, 48, .18);
}

.demo-cta__phone {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.demo-cta__phone:hover {
  color: #fff;
}

.demo-cta__phone-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  color: #075b3d;
  background: #fff;
}

.demo-cta__phone > span:last-child {
  display: flex;
  flex-direction: column;
}

.demo-cta__phone small {
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
}

.demo-cta__phone strong {
  font-size: 1.05rem;
}

.demo-cta__eyebrow {
  display: block;
  margin-bottom: .65rem;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.index-page main .demo-cta h2 {
  margin-bottom: .65rem;
  color: #fff;
}

.index-page main .demo-cta p {
  margin-bottom: .65rem;
  color: rgba(255, 255, 255, .8);
}

.demo-cta__reassurance {
  color: rgba(255, 255, 255, .62);
}

.demo-cta__form-wrap {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.demo-cta__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.demo-cta__form .form-control {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: .7rem;
  background: #fff;
  box-shadow: none;
}

.demo-cta__submit {
  grid-column: 1 / -1;
  min-height: 48px;
  color: #075b3d;
  font-weight: 700;
}

.index-page main .demo-cta__form-note {
  margin: .75rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .72rem;
  text-align: center;
}

.demo-cta__form-note i {
  margin-right: .3rem;
}

@media (max-width: 991.98px) {
  .demo-cta__shell {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .demo-cta {
    padding: 3rem 0;
  }
  .demo-cta__shell {
    padding: 1.35rem;
  }
  .demo-cta__form-wrap {
    padding: 1rem;
  }
  .demo-cta__form {
    grid-template-columns: 1fr;
  }
}
.commercial-page__management h2,
.agency-solution__processing h2 {
    color: rgba(255, 255, 255, .5) !important;
}
