.home-page {
  --primary-color: #216e66;
  --primary-color-rgb: 33, 110, 102;
  --secondary-color: #216e66;
  --terciary-color: #ec6d03;
  --bg-color: #f8fbff;
  --bg-color-2: #eef9f5;
  --bg-color-hero: #216e66;
  --bg-terciary-hover: #f0f0f0;
  --text-color: #424f6e;
  --text-secondary: #64748b;
  --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --enpt-button-outline-border: var(--secondary-color);
  --enpt-button-outline-text: var(--secondary-color);
  --enpt-button-outline-hover-bg: rgba(var(--primary-color-rgb), 0.08);
  --enpt-button-outline-hover-border: #1c645d;
  --enpt-button-outline-hover-text: #1c645d;
  --enpt-button-hero-bg: #fff;
  --enpt-button-hero-text: #216e66;
  --enpt-button-hero-hover-bg: var(--bg-terciary-hover);
  --enpt-button-hero-hover-text: #1c645d;
}

html.dark-mode .home-page {
  --primary-color: #57d4aa;
  --primary-color-rgb: 87, 212, 170;
  --secondary-color: #57d4aa;
  --terciary-color: #ec6d03;
  --bg-color: #353944;
  --bg-color-2: #3c414f;
  --bg-color-hero: #216e66;
  --bg-terciary-hover: #464b5a;
  --text-color: #fcfcfc;
  --text-secondary: #fbfbfb;
  --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --enpt-button-outline-border: #57d4aa;
  --enpt-button-outline-text: #57d4aa;
  --enpt-button-outline-hover-bg: rgba(87, 212, 170, 0.14);
  --enpt-button-outline-hover-border: #78e0bf;
  --enpt-button-outline-hover-text: #78e0bf;
  --enpt-button-hero-bg: #fff;
  --enpt-button-hero-text: #216e66;
  --enpt-button-hero-hover-bg: #eef9f5;
  --enpt-button-hero-hover-text: #1c645d;
}

.home-page {
  background: var(--bg-color);
  color: var(--text-color);
}

.home-page-container {
  width: min(80rem, calc(100% - 48px));
  margin: 0 auto;
}

.home-hero {
  background-color: var(--bg-color-hero);
  color: #fff;
  overflow: hidden;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: end;
}

.home-hero__content {
  padding-bottom: 5rem;
}

.home-hero__title {
  margin: 0 0 50px;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  padding-top: 5rem;
}

.home-hero__text,
.home-hero__hook {
  max-width: 62ch;
  color: #fff;
}

.home-hero__text {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
}

.home-hero__hook {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.4;
  max-width: 60%;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: column;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 0.25rem 2rem;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, gap 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-cta svg {
  transition: transform 0.2s ease;
}

.home-cta:hover,
.home-cta:visited {
  text-decoration: none;
}

.home-cta:hover svg,
.home-cta:focus-visible svg {
  transform: translateX(3px);
}

.home-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.home-cta--primary,
.home-cta--primary:visited {
  background-color: var(--enpt-button-hero-bg);
  color: var(--enpt-button-hero-text);
  width: fit-content;
}

.home-cta--primary:hover {
  background-color: var(--enpt-button-hero-hover-bg);
  color: var(--enpt-button-hero-hover-text);
  gap: 25px;
}

.home-cta--secondary,
.home-cta--secondary:visited {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  width: fit-content;
}

.home-cta--secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  gap: 25px;
}

.home-cta--light,
.home-cta--light:visited {
  background-color: var(--enpt-button-hero-bg);
  color: var(--enpt-button-hero-text);
  align-self: flex-start;
}

.home-cta--light:hover {
  background-color: var(--enpt-button-hero-hover-bg);
  color: var(--enpt-button-hero-hover-text);
  gap: 25px;
}

.home-hero__visual {
  position: relative;
  min-height: 25rem;
  align-self: stretch;
}

.home-hero__visual img {
  display: block;
  width: min(140%, 46rem);
  max-width: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  position: absolute;
  right: 0;
  bottom: 0;
}

.home-steps,
.home-about,
.home-pro {
  padding: 5rem 0;
}

.home-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background: #bbe7df;
  border-radius: 10px;
}

.home-step__icon img {
  width: 50px;
  height: 50px;
}

.home-section-heading {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.home-section-heading__eyebrow,
.home-pro__eyebrow {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-color);
}

.home-section-heading h2 {
  margin: 0 0 1rem;
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 800;
}

.home-section-heading__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.home-steps__timeline {
  position: relative;
}

.home-steps__rail {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 32px;
  width: 6px;
  border-radius: 999px;
  background: var(--terciary-color);
}

.home-steps__items {
  display: grid;
  gap: 5rem;
}

.home-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 250px;
}

.home-step--reverse .home-step__text {
  order: 2;
}

.home-step__text {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 20px;
  min-width: 0;
}

.home-step__flex {
  min-width: 0;
}

.home-step--reverse .home-step__visual {
  order: 1;
}

.home-step__marker {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
}

.home-step__marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terciary-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px solid var(--bg-color);
}

.home-step__title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.home-step__title-row h3,
.home-about__card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-color);
}

.home-step__text p,
.home-about__card p,
.home-pro__content p {
  color: var(--text-secondary);
}

.home-step__text p {
  margin-bottom: 18px;
  max-width: none;
}

.home-step__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  min-height: 48px;
  padding: 0.25rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--enpt-button-outline-border);
  background-color: transparent;
  color: var(--enpt-button-outline-text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, gap 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-step__link svg {
  transition: transform 0.2s ease;
}

.home-step__link:hover,
.home-step__link:focus-visible,
.home-step__link:visited {
  color: var(--enpt-button-outline-text);
  text-decoration: none;
}

.home-step__link:hover,
.home-step__link:focus-visible {
  background-color: var(--enpt-button-outline-hover-bg);
  color: var(--enpt-button-outline-hover-text);
  border-color: var(--enpt-button-outline-hover-border);
  gap: 25px;
}

.home-step__link:hover svg,
.home-step__link:focus-visible svg {
  transform: translateX(3px);
}

.home-step__visual img {
  display: block;
  width: 88%;
  max-width: none;
  margin: 0 auto;
}

.home-about {
  background: var(--bg-color-2);
}

.home-about__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-about__card {
  padding: 28px 22px;
  text-align: center;
}

.home-about__icon {
  margin-bottom: 18px;
}

.home-about__card h3 {
  margin-bottom: 12px;
}

.home-about__card p {
  margin-bottom: 0;
}

.home-pro__card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  border-radius: 24px;
  background: var(--bg-color-hero);
  color: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

html[data-theme="econrj-dark"] .home-pro__card {
  box-shadow: none;
}

.home-pro__content {
  padding: 45px;
}

.home-pro__content h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.home-pro__content p {
  margin-bottom: 24px;
  color: #fff;
}

.home-pro__visual {
  display: block;
  height: 100%;
  position: relative;
}

.home-pro__visual img {
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
}

@media (max-width: 1080px) {
  .home-hero__inner,
  .home-pro__card {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    min-height: 0;
  }

  .home-hero__visual img,
  .home-pro__visual img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 42rem);
    max-width: 100%;
    margin: 0 auto;
  }

  .home-hero__content {
    padding-bottom: 0;
  }

  .home-about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-steps,
  .home-about,
  .home-pro {
    padding: 3rem 0;
  }

  .home-steps__rail {
    left: 19px;
  }

  .home-step,
  .home-step--reverse {
    grid-template-columns: 42px 1fr;
    gap: 20px;
  }

  .home-step__text,
  .home-step__visual,
  .home-step--reverse .home-step__text,
  .home-step--reverse .home-step__visual {
    order: initial;
  }

  .home-step__text,
  .home-step__visual {
    grid-column: 2;
  }

  .home-step__text {
    align-items: flex-start;
  }

  .home-step__marker span {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .home-page-container {
    width: min(100% - 28px, 80rem);
  }

  .home-step__text {
    flex-direction: column;
    gap: 16px;
  }

  .home-hero__inner {
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .home-hero__title {
    font-size: 2rem;
    padding-top: 3rem;
    margin-bottom: 1.5rem;
  }

  .home-hero__hook {
    max-width: 100%;
  }

  .home-hero__visual img {
    width: 100%;
  }

  .home-cta,
  .home-step__link {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 0.75rem 1rem;
    gap: 10px;
    border-radius: 28px;
    line-height: 1.25;
    white-space: normal;
    justify-content: center;
  }

  .home-cta:hover,
  .home-cta:focus-visible,
  .home-step__link:hover,
  .home-step__link:focus-visible {
    gap: 10px;
  }

  .home-step__link svg {
    flex: 0 0 16px;
  }

  .home-step__title-row {
    align-items: flex-start;
  }

  .home-pro__content {
    padding: 15px;
  }

  .home-about__grid {
    grid-template-columns: 1fr;
  }

  .home-pro__card {
    padding: 22px;
  }

  .home-pro__visual img {
    position: relative;
  }
}
