/* HR IcyPay promos page (/promos) and the promo banner on the HRIS page */

.promo-page {
  color: #07143f;
  background: #fff;
}

.promo-page h1,
.promo-page h2,
.promo-page h3 {
  font-family: inherit;
  text-transform: none;
}

/* Hero */

.promo-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(8, 124, 251, 0.35), transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(0, 213, 255, 0.18), transparent 36%),
    #030b23;
  color: #fff;
  isolation: isolate;
}

.promo-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(#62c8ff 1px, transparent 1px),
    linear-gradient(90deg, #62c8ff 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.promo-hero-inner {
  width: min(100% - 44px, 1120px);
  margin: 0 auto;
  padding: 30px 0 84px;
}

.promo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
  color: #9cb5d2;
  font-size: 12px;
}

.promo-breadcrumb span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.promo-breadcrumb a {
  color: #8edcff;
}

.promo-eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(94, 207, 255, 0.4);
  border-radius: 999px;
  color: #76dcff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.promo-hero-description {
  max-width: 680px;
  margin: 22px 0 0;
  color: #bdd7ee;
  font-size: 18px;
  line-height: 1.6;
}

.promo-deadline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(81, 237, 191, 0.12);
  color: #51edbf;
  font-size: 16px;
  font-weight: 700;
}

.promo-deadline .mdi {
  font-size: 20px;
}

.promo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 40px 0 0;
}

.promo-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(144, 221, 255, 0.22);
  border-radius: 16px;
  background: rgba(12, 38, 88, 0.72);
}

.promo-stats dt {
  color: #9cb5d2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.promo-stats dd {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Buttons shared across the page */

.promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid #087df4;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: 180ms ease;
}

.promo-action .mdi {
  font-size: 20px;
}

.promo-action-primary {
  background: #087df4;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 125, 244, 0.28);
}

.promo-action-primary:hover {
  border-color: #07143f;
  background: #07143f;
  color: #fff;
}

.promo-action-secondary {
  border-color: rgba(144, 221, 255, 0.5);
  background: transparent;
  color: #fff;
}

.promo-action-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: #07143f;
}

.promo-action-light {
  border-color: #fff;
  background: #fff;
  color: #07143f;
}

.promo-action-light:hover {
  border-color: #07143f;
  background: #07143f;
  color: #fff;
}

/* Sections */

.promo-section {
  scroll-margin-top: 88px;
  padding: 80px 0;
}

.promo-section-inner {
  width: min(100% - 44px, 1180px);
  margin: 0 auto;
}

.promo-savings,
.promo-faq {
  background: #f5f9ff;
}

/* Offers */

.promo-offer-grid {
  display: grid;
  gap: 32px;
}

.promo-offer-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 32px;
  border: 1px solid #dce7f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(19, 55, 104, 0.09);
}

.promo-offer-video {
  overflow: hidden;
  border: 6px solid #07143f;
  border-radius: 30px;
  background: #030b23;
  aspect-ratio: 9 / 16;
  box-shadow: 0 22px 44px rgba(3, 11, 35, 0.3);
}

.promo-offer-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-offer-tag {
  margin: 0 0 10px;
  color: #087df4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-offer-content h3 {
  margin: 0;
  color: #07143f;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.promo-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
}

.promo-offer-price strong {
  color: #087df4;
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.promo-offer-price s {
  color: #60708a;
  font-size: 24px;
  font-weight: 700;
}

.promo-offer-unit {
  margin: 8px 0 0;
  color: #263451;
  font-size: 16px;
  font-weight: 600;
}

.promo-offer-highlights {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.promo-offer-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3a4a66;
  font-size: 15px;
  line-height: 1.55;
}

.promo-offer-highlights .mdi {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #12b886;
  font-size: 20px;
  line-height: 1.2;
}

.promo-offer-terms {
  margin: 18px 0 0;
  color: #60708a;
  font-size: 13px;
  line-height: 1.6;
}

/* Savings */

.promo-savings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.promo-savings-card {
  margin: 0;
  padding: 28px;
  border: 1px solid #dce7f5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 55, 104, 0.07);
}

.promo-savings-card figcaption {
  margin-bottom: 16px;
  color: #07143f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.promo-table-scroll {
  overflow-x: auto;
}

.promo-savings-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.promo-savings-card th,
.promo-savings-card td {
  padding: 12px 10px;
  border-bottom: 1px solid #e6eef8;
  text-align: right;
  white-space: nowrap;
}

.promo-savings-card th:first-child {
  padding-left: 0;
  text-align: left;
  white-space: normal;
}

.promo-savings-card thead th {
  color: #60708a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.promo-savings-card tbody th {
  color: #263451;
  font-weight: 600;
}

.promo-savings-card .promo-regular {
  color: #60708a;
  text-decoration: line-through;
}

.promo-savings-card .promo-value {
  color: #087df4;
  font-weight: 700;
}

.promo-savings-card tfoot th,
.promo-savings-card tfoot td {
  border-bottom: 0;
  font-size: 16px;
  font-weight: 800;
}

.promo-savings-card tfoot th {
  color: #07143f;
}

.promo-savings-card > p {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(18, 184, 134, 0.1);
  color: #0b7a5a;
  font-size: 14px;
  font-weight: 600;
}

/* Platform and steps */

.promo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.promo-feature {
  padding: 26px;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  background: #fff;
}

.promo-feature > .mdi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #087df4;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(8, 125, 244, 0.22);
}

.promo-feature h3 {
  margin: 18px 0 8px;
  color: #07143f;
  font-size: 18px;
  font-weight: 700;
}

.promo-feature p {
  margin: 0;
  color: #60708a;
  font-size: 14px;
  line-height: 1.6;
}

.promo-steps {
  margin-top: 80px;
}

.promo-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: promo-step;
}

.promo-steps li {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 16px;
  background: #07143f;
  color: #fff;
  counter-increment: promo-step;
}

.promo-steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #51edbf;
  color: #03251c;
  font-size: 18px;
  font-weight: 800;
  content: counter(promo-step);
}

.promo-steps h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.promo-steps p {
  margin: 0;
  color: #bdd7ee;
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */

.promo-faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.promo-faq details {
  border: 1px solid #dce7f5;
  border-radius: 14px;
  background: #fff;
}

.promo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 22px;
  color: #07143f;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.promo-faq summary::-webkit-details-marker {
  display: none;
}

.promo-faq summary .mdi {
  flex: 0 0 auto;
  color: #087df4;
  font-size: 22px;
  transition: transform 180ms ease;
}

.promo-faq details[open] summary .mdi {
  transform: rotate(180deg);
}

.promo-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: #52627b;
  font-size: 15px;
  line-height: 1.65;
}

/* Closing CTA */

.promo-cta {
  padding: 64px 0;
  background: #087df4;
  color: #fff;
}

.promo-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 44px, 1180px);
  margin: 0 auto;
}

.promo-cta h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.promo-cta-inner p {
  margin: 12px 0 0;
  color: #e6f2ff;
  font-size: 16px;
}

.promo-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.promo-cta-actions a:not(.promo-action) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.promo-cta-actions a:not(.promo-action):hover {
  color: #d9ecff;
}

/* Ended state */

.promo-ended {
  width: min(100% - 44px, 720px);
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

.promo-ended h1 {
  margin: 0 0 12px;
  color: #07143f;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
}

.promo-ended p {
  margin: 0 0 28px;
  color: #60708a;
  font-size: 17px;
}

/* Banner on the HRIS page */

.promo-banner {
  background: #030b23;
  color: #fff;
}

.promo-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  width: min(100% - 44px, 1480px);
  margin: 0 auto;
  padding: 12px 0;
  text-align: center;
}

.promo-banner-inner > .mdi {
  color: #51edbf;
  font-size: 20px;
}

.promo-banner p {
  margin: 0;
  color: #d9ecff;
  font-size: 14px;
}

.promo-banner a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #51edbf;
  font-size: 14px;
  font-weight: 700;
}

.promo-banner a:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 991px) {
  .promo-offer-card {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 30px;
  }

  .promo-savings-grid,
  .promo-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-savings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .promo-hero-inner,
  .promo-section-inner,
  .promo-cta-inner {
    width: min(100% - 32px, 560px);
  }

  .promo-hero-inner {
    padding-bottom: 64px;
  }

  .promo-breadcrumb {
    margin-bottom: 36px;
  }

  .promo-hero-description {
    font-size: 16px;
  }

  .promo-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promo-stats > div {
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 18px;
  }

  .promo-actions .promo-action,
  .promo-offer-content .promo-action {
    width: 100%;
  }

  .promo-section {
    padding: 60px 0;
  }

  .promo-offer-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 20px;
  }

  .promo-offer-video {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .promo-savings-card {
    padding: 20px;
  }

  .promo-feature-grid,
  .promo-steps ol {
    grid-template-columns: 1fr;
  }

  .promo-steps {
    margin-top: 60px;
  }
}
