/*
 * Homepage palette one
 * YTL brand green for actions, industrial navy for information,
 * and cool neutrals for large surfaces.
 */
body.home #page-home {
  --home-navy: #0a2747;
  --home-navy-soft: #173b57;
  --home-steel: #315f78;
  --home-slate: #5f6d79;
  --home-muted: #7a8791;
  --home-surface: #f5f7f8;
  --home-surface-blue: #eef3f5;
  --home-line: #dce4e8;
  --home-green: #2faa43;
  --home-green-dark: #218b32;
  --home-green-soft: #eaf8ec;

  --navy: var(--home-navy);
  --navy-2: #071d35;
  --text: var(--home-navy);
  --body: var(--home-slate);
  --muted: var(--home-muted);
  --green: var(--home-green);
  --green-soft: var(--home-green-soft);
  --sky: var(--home-surface-blue);
  --soft: var(--home-surface);
  --line: var(--home-line);

  color: var(--home-slate);
  background: #fff;
}

/* Large surfaces stay neutral so green remains an accent, not a page tint. */
body.home #page-home .ytl-products {
  background: #f4f7f8;
}

body.home #page-home > .section.soft {
  background: var(--home-surface);
}

body.home #page-home > .section.white,
body.home #page-home .stat-row {
  background: #fff;
}

body.home #page-home .ytl-home-why-section {
  background: linear-gradient(135deg, #f5f7f8 0%, #eef3f5 100%);
}

/* Information hierarchy: navy headings, slate copy. */
body.home #page-home :is(h1, h2, h3, h4),
body.home #page-home .ytl-products__title,
body.home #page-home .ytl-product-card__title,
body.home #page-home .ytl-process-title,
body.home #page-home .ytl-home-why-copy h2,
body.home #page-home .ytl-home-about h2,
body.home #page-home .home-faq-head h2 {
  color: var(--home-navy);
}

body.home #page-home p,
body.home #page-home .ytl-product-card__description,
body.home #page-home .ytl-home-why-intro,
body.home #page-home .ytl-home-why-item p,
body.home #page-home .ytl-home-about p {
  color: var(--home-slate);
}

/* Brand accents and labels. */
body.home #page-home .green {
  color: var(--home-green);
}

body.home #page-home .kicker,
body.home #page-home .green-tag,
body.home #page-home .ytl-process-eyebrow {
  border-color: #c8e8cc;
  background: var(--home-green-soft);
  color: var(--home-green-dark);
}

/* Informational stat icons use steel blue; action-related icons stay green. */
body.home #page-home .stat .chip {
  border-color: #c9d8e0;
  background: #eaf1f4;
  color: var(--home-steel);
}

body.home #page-home :is(.ytl-home-why-item .chip, .ytl-process-icon) {
  border-color: #c8e8cc;
  background: var(--home-green-soft);
  color: var(--home-green-dark);
}

body.home #page-home .ytl-home-about-fact h3 {
  color: var(--home-green-dark);
}

/* Product portfolio: navy content with green navigation and hover feedback. */
body.home #page-home .ytl-products {
  --ytl-products-green: var(--home-green);
  --ytl-products-navy: var(--home-navy);
  --ytl-products-text: var(--home-slate);
  --ytl-products-line: var(--home-line);
}

body.home #page-home .ytl-products__all-link {
  border-color: #c8d6df;
  background: #fff;
  color: var(--home-navy);
  box-shadow: 0 5px 16px rgba(10, 39, 71, .04);
}

body.home #page-home .ytl-products__all-link:hover,
body.home #page-home .ytl-products__all-link:focus-visible {
  border-color: rgba(47, 170, 67, .55);
  background: var(--home-green-soft);
  color: var(--home-green-dark);
  box-shadow: 0 10px 24px rgba(33, 139, 50, .1);
}

body.home #page-home .ytl-product-card:hover {
  border-color: rgba(47, 170, 67, .48);
  box-shadow: 0 18px 40px rgba(10, 39, 71, .1);
}

body.home #page-home .ytl-products__all-link:focus-visible,
body.home #page-home .ytl-product-card:focus-visible {
  outline-color: rgba(47, 170, 67, .3);
}

body.home #page-home .ytl-product-card__arrow {
  background: rgba(47, 170, 67, .1);
  color: var(--home-green-dark);
}

body.home #page-home .ytl-product-card__eyebrow {
  color: var(--home-green-dark);
}

body.home #page-home .ytl-product-card__link {
  color: var(--home-navy);
}

body.home #page-home .ytl-product-card:hover .ytl-product-card__link,
body.home #page-home .ytl-product-card:focus-visible .ytl-product-card__link {
  color: var(--home-green-dark);
}

body.home #page-home .ytl-product-card:hover .ytl-product-card__arrow {
  background: var(--home-green);
  color: #fff;
}

/* Cooperation process: green indicates progress and selected state. */
body.home #page-home .ytl-process-tabs,
body.home #page-home .ytl-process-board,
body.home #page-home .ytl-process-card {
  border-color: var(--home-line);
}

body.home #page-home .ytl-process-tab {
  color: var(--home-navy);
}

body.home #page-home .ytl-process-tab.is-active {
  background: var(--home-green);
  color: #fff;
  box-shadow: 0 7px 18px rgba(47, 170, 67, .18);
}

body.home #page-home .ytl-process-track {
  background: #dfe8e3;
}

body.home #page-home .ytl-process-track span {
  background: linear-gradient(90deg, var(--home-green-dark), #56c665);
}

body.home #page-home .ytl-process-node {
  border-color: rgba(47, 170, 67, .52);
  background: #fff;
  color: var(--home-green-dark);
  box-shadow: 0 7px 18px rgba(47, 170, 67, .12);
}

body.home #page-home .ytl-process-card small {
  color: var(--home-green-dark);
}

body.home #page-home .ytl-process-card:hover {
  border-color: rgba(47, 170, 67, .46);
  box-shadow: 0 18px 38px rgba(10, 39, 71, .1);
}

/* Supporting cards gain green only while active or hovered. */
body.home #page-home .ytl-home-why-item:hover,
body.home #page-home .grid-3 > .card:hover {
  border-color: rgba(47, 170, 67, .42);
  box-shadow: 0 18px 40px rgba(10, 39, 71, .09);
}

body.home #page-home .home-faq-item {
  border-color: var(--home-line) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.home #page-home .home-faq-item:hover,
body.home #page-home .home-faq-item.active {
  border-color: rgba(47, 170, 67, .46) !important;
  box-shadow: inset 3px 0 0 var(--home-green), 0 10px 24px rgba(10, 39, 71, .06);
}

body.home #page-home .home-faq-question svg {
  color: var(--home-green);
}

/* The interactive application map keeps the strongest brand accent. */
body.home #page-home .hotspot-dot {
  border-color: rgba(255, 255, 255, .92);
  background: var(--home-green);
  color: #fff;
  box-shadow: 0 0 0 7px rgba(47, 170, 67, .17), 0 8px 22px rgba(7, 29, 53, .22);
}

body.home #page-home .hotspot-tip em {
  color: var(--home-green);
}

body.home #page-home a:focus-visible,
body.home #page-home button:focus-visible {
  outline-color: rgba(47, 170, 67, .55);
}

/* Feedback pass: align the headline facts with the About YTL number style. */
body.home #page-home > .stat-row.wrap {
  gap: 0;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

body.home #page-home .stat {
  min-width: 0;
  justify-content: center;
  gap: 14px;
  padding: 3px clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--home-line);
  color: #77828d;
  font-size: 13px;
}

body.home #page-home .stat:first-child {
  border-left: 0;
}

body.home #page-home .stat .chip {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  background: transparent;
  color: var(--home-green);
}

body.home #page-home .stat .chip svg {
  width: 31px;
  height: 31px;
}

body.home #page-home .stat > span:last-child {
  min-width: 0;
  color: #77828d;
}

body.home #page-home .stat b {
  margin-bottom: 3px;
  color: var(--home-navy);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.2;
}

/* Open feature ledger replaces the four tinted card blocks. */
body.home #page-home .ytl-home-why-list {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(10, 39, 71, .14);
}

body.home #page-home .ytl-home-why-item {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  padding: 18px 2px;
  border: 0;
  border-bottom: 1px solid rgba(10, 39, 71, .14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: padding-left .2s ease, border-color .2s ease;
}

body.home #page-home .ytl-home-why-item:hover {
  padding-left: 8px;
  border-color: rgba(47, 170, 67, .46);
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.home #page-home .ytl-home-why-item .chip {
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--home-green);
}

body.home #page-home .ytl-home-why-item .chip svg {
  width: 31px;
  height: 31px;
}

body.home #page-home .ytl-home-why-item h3 {
  margin-top: 0;
  margin-bottom: 5px;
  transition: color .2s ease;
}

body.home #page-home .ytl-home-why-item:hover h3 {
  color: var(--home-green-dark);
}

/* Keep the certifications and knowledge sections free of decorative wave overlays. */
body.home #page-home :is(.ytl-home-certifications-section, .ytl-home-knowledge-section)::before,
body.home #page-home :is(.ytl-home-certifications-section, .ytl-home-knowledge-section)::after {
  content: none;
  display: none;
}

body.home #page-home .home-faq-item {
  cursor: pointer;
}

body.home #page-home .home-faq-question {
  position: relative;
  z-index: 1;
}

body.home #page-home .home-faq-question svg {
  pointer-events: none;
}

@media (max-width: 900px) {
  body.home #page-home > .stat-row.wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  body.home #page-home .stat {
    justify-content: flex-start;
    padding: 16px;
    border-left: 0;
    border-bottom: 1px solid var(--home-line);
  }

  body.home #page-home .stat:nth-child(even) {
    border-left: 1px solid var(--home-line);
  }

  body.home #page-home .stat:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

}

@media (max-width: 560px) {
  body.home #page-home > .stat-row.wrap {
    grid-template-columns: 1fr !important;
  }

  body.home #page-home .stat,
  body.home #page-home .stat:nth-child(even) {
    border-left: 0;
  }
}

/* Homepage Hero: the configured Banner image is the full background. */
body.home #page-home .ytl-home-project-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  min-height: 680px;
  display: flex;
  align-items: stretch;
  background-color: #071f35;
  cursor: grab;
  touch-action: pan-y;
}

body.home #page-home .ytl-home-project-hero.is-dragging {
  cursor: grabbing;
}

body.home #page-home .ytl-home-project-hero__slides,
body.home #page-home .ytl-home-project-hero__slide {
  position: absolute;
  inset: 0;
}

body.home #page-home .ytl-home-project-hero__slides {
  z-index: 0;
  overflow: hidden;
  background: #e8eef1;
}

body.home #page-home .ytl-home-project-hero__slide {
  opacity: 0;
  background-color: #e8eef1;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: scale(1.018);
  transition: opacity .75s ease, transform 5.4s ease;
}

body.home #page-home .ytl-home-project-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

body.home #page-home .ytl-home-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  pointer-events: none;
}

body.home #page-home .ytl-home-project-hero__slide--scene {
  background-image: var(--ytl-home-banner-image);
  background-position: center;
  background-size: cover;
}

body.home #page-home .ytl-home-project-hero__slide--product {
  background-image: var(--ytl-home-banner-image);
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
}

body.home #page-home .ytl-home-project-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 44px), 1540px);
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

body.home #page-home .ytl-home-project-hero__copy-stage {
  display: grid;
  width: min(100%, 680px);
}

body.home #page-home .ytl-home-project-hero__copy {
  grid-area: 1 / 1;
  width: 100%;
  padding: 76px 0 82px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease, visibility 0s linear .42s;
}

body.home #page-home .ytl-home-project-hero__copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: .16s, .16s, 0s;
}

body.home #page-home .ytl-home-project-hero__eyebrow {
  display: none;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(143, 224, 120, .42);
  border-radius: 5px;
  background: rgba(18, 93, 42, .82);
  color: #e2f7df;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.home #page-home .ytl-home-project-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(43px, 4.25vw, 64px);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.04;
}

body.home #page-home .ytl-home-project-hero h1 > span {
  display: block;
}

body.home #page-home .ytl-home-project-hero h1 em {
  color: #8fe078;
  font-style: normal;
}

body.home #page-home .ytl-home-project-hero__description {
  max-width: 635px;
  margin: 24px 0 0;
  color: #f2f7f9;
  font-size: 17px;
  line-height: 1.72;
}

body.home #page-home .ytl-home-project-hero__actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
}

body.home #page-home .ytl-home-project-hero__actions .btn {
  min-width: 0;
  height: 50px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: 0;
}

body.home #page-home .ytl-home-project-hero__primary {
  gap: 14px;
}

body.home #page-home .ytl-home-project-hero__primary > span {
  font-size: 18px;
  line-height: 1;
}

body.home #page-home .ytl-home-project-hero__secondary {
  border-color: rgba(222, 236, 244, .56);
  background: rgba(7, 35, 61, .78);
  color: #fff;
  backdrop-filter: none;
}

body.home #page-home .ytl-home-project-hero__controls {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(16px, 3vw, 54px);
  left: clamp(16px, 3vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

body.home #page-home .ytl-home-project-hero__arrow {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: rgba(4, 23, 41, .14);
  color: #fff;
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  opacity: .92;
  box-shadow: 0 5px 18px rgba(3, 24, 45, .12);
  backdrop-filter: blur(3px);
  transition: opacity .22s ease, color .2s ease, border-color .2s ease, background-color .2s ease, transform .22s ease;
}

body.home #page-home .ytl-home-project-hero__arrow span {
  display: none;
}

body.home #page-home .ytl-home-project-hero__arrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateX(2px) rotate(-45deg);
}

body.home #page-home .ytl-home-project-hero__arrow[data-banner-next]::before {
  transform: translateX(-2px) rotate(135deg);
}

body.home #page-home .ytl-home-project-hero__arrow:hover,
body.home #page-home .ytl-home-project-hero__arrow:focus-visible {
  border-color: #fff;
  background: rgba(4, 23, 41, .34);
  color: #fff;
  transform: scale(1.05);
  outline: none;
}

body.home #page-home .ytl-home-project-hero__arrow:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 5px 18px rgba(3, 24, 45, .16);
}

@media (hover: hover) and (pointer: fine) {
  body.home #page-home .ytl-home-project-hero__arrow {
    opacity: 0;
    pointer-events: none;
    transform: scale(.92);
  }

  body.home #page-home .ytl-home-project-hero:hover .ytl-home-project-hero__arrow,
  body.home #page-home .ytl-home-project-hero:focus-within .ytl-home-project-hero__arrow {
    opacity: .92;
    pointer-events: auto;
    transform: scale(1);
  }

  body.home #page-home .ytl-home-project-hero:hover .ytl-home-project-hero__arrow:hover,
  body.home #page-home .ytl-home-project-hero:focus-within .ytl-home-project-hero__arrow:focus-visible {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Referenced application-solution card section. */
body.home #page-home .ytl-home-applications {
  padding: 82px 0 88px;
  border-bottom: 1px solid var(--home-line);
  background: #fff;
  scroll-margin-top: 88px;
}

body.home #page-home .ytl-home-applications__inner {
  width: min(calc(100% - 44px), 1400px);
  margin: 0 auto;
}

body.home #page-home .ytl-home-applications__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

body.home #page-home .ytl-home-applications__eyebrow {
  margin: 0 0 10px;
  color: var(--home-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.home #page-home .ytl-home-applications__heading h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: 36px;
  font-weight: 760;
  letter-spacing: -.025em;
  line-height: 1.12;
}

body.home #page-home .ytl-home-applications__all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  color: var(--home-green-dark);
  font-size: 13px;
  font-weight: 800;
}

body.home #page-home .ytl-home-applications__all span {
  transition: transform .2s ease;
}

body.home #page-home .ytl-home-applications__all:hover span,
body.home #page-home .ytl-home-applications__all:focus-visible span {
  transform: translateX(3px);
}

body.home #page-home .ytl-home-applications__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home #page-home .ytl-home-application-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce7ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 39, 71, .035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.home #page-home .ytl-home-application-card:hover {
  border-color: rgba(47, 170, 67, .42);
  box-shadow: 0 18px 42px rgba(10, 39, 71, .1);
  transform: translateY(-3px);
}

body.home #page-home .ytl-home-application-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
}

body.home #page-home .ytl-home-application-card__media {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: linear-gradient(145deg, #dcebf6, #eff6fa);
}

body.home #page-home .ytl-home-application-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(7, 39, 71, .08));
  pointer-events: none;
}

body.home #page-home .ytl-home-application-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

body.home #page-home .ytl-home-application-card:hover .ytl-home-application-card__media img {
  transform: scale(1.035);
}

body.home #page-home .ytl-home-application-card__media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--home-green-dark);
}

body.home #page-home .ytl-home-application-card__media-fallback svg {
  width: 54px;
  height: 54px;
}

body.home #page-home .ytl-home-application-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
}

body.home #page-home .ytl-home-application-card__title {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

body.home #page-home .ytl-home-application-card__title > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--home-green-dark);
}

body.home #page-home .ytl-home-application-card__title svg {
  width: 25px;
  height: 25px;
}

body.home #page-home .ytl-home-application-card__title h3 {
  margin: 0;
  color: var(--home-navy);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.28;
}

body.home #page-home .ytl-home-application-card__audience {
  margin: 14px 0 0;
  padding: 9px 11px;
  border: 1px solid #cfe6c9;
  border-radius: 5px;
  background: #eff8ed;
  color: #37733d;
  font-size: 12px;
  line-height: 1.45;
}

body.home #page-home .ytl-home-application-card__audience strong {
  color: var(--home-green-dark);
}

body.home #page-home .ytl-home-application-card__description {
  margin: 15px 0 0;
  color: #607488;
  font-size: 13px;
  line-height: 1.6;
}

body.home #page-home .ytl-home-application-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--home-green-dark);
  font-size: 13px;
  font-weight: 800;
}

body.home #page-home .ytl-home-application-card__link > span {
  transition: transform .2s ease;
}

body.home #page-home .ytl-home-application-card:hover .ytl-home-application-card__link > span {
  transform: translateX(3px);
}

body.home #page-home .ytl-home-applications__more {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dce7ee;
  border-radius: 11px;
  background: #f1f6fb;
}

body.home #page-home .ytl-home-applications__more-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #526b82;
  font-size: 12px;
  font-weight: 700;
}

body.home #page-home .ytl-home-applications__more-label strong {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--home-navy);
  color: #fff;
  text-align: center;
}

body.home #page-home .ytl-home-applications__more-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

body.home #page-home .ytl-home-applications__more-grid a {
  min-width: 0;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 8px;
  border: 1px solid #dfe8ef;
  border-radius: 8px;
  background: #fff;
  color: var(--home-navy);
  text-align: center;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

body.home #page-home .ytl-home-applications__more-grid a:hover,
body.home #page-home .ytl-home-applications__more-grid a:focus-visible {
  border-color: rgba(47, 170, 67, .46);
  color: var(--home-green-dark);
  outline: 0;
  transform: translateY(-2px);
}

body.home #page-home .ytl-home-applications__more-grid a > span {
  color: var(--home-green-dark);
}

body.home #page-home .ytl-home-applications__more-grid svg {
  width: 27px;
  height: 27px;
}

body.home #page-home .ytl-home-applications__more-grid strong {
  min-width: 0;
  font-size: 12px;
  font-weight: 740;
  line-height: 1.3;
}

@media (max-width: 1080px) {
  body.home #page-home .ytl-home-project-hero {
    min-height: 640px;
  }

  body.home #page-home .ytl-home-project-hero__slide--product {
    background-position: center;
    background-size: cover;
  }

  body.home #page-home .ytl-home-project-hero__copy {
    width: 100%;
  }

  body.home #page-home .ytl-home-project-hero__copy-stage {
    width: min(100%, 620px);
  }

  body.home #page-home .ytl-home-applications__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home #page-home .ytl-home-applications__more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.home #page-home .ytl-home-project-hero {
    height: auto;
    min-height: max(680px, calc(100svh - 64px));
  }

  body.home #page-home .ytl-home-project-hero::before {
    background: none;
  }

  body.home #page-home .ytl-home-project-hero__slide--scene {
    background-position: 66% center;
  }

  body.home #page-home .ytl-home-project-hero__slide--product {
    background-image: var(--ytl-home-banner-image);
    background-position: center;
    background-size: cover;
  }

  body.home #page-home .ytl-home-project-hero__inner {
    width: calc(100% - 28px);
    padding: 28px 0;
  }

  body.home #page-home .ytl-home-project-hero__copy {
    width: 100%;
    padding: 40px 24px 72px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.home #page-home .ytl-home-project-hero__copy-stage {
    width: 100%;
  }

  body.home #page-home .ytl-home-project-hero h1 {
    font-size: clamp(34px, 9.6vw, 46px);
    line-height: 1.08;
  }

  body.home #page-home .ytl-home-project-hero__description {
    font-size: 15px;
    line-height: 1.65;
  }

  body.home #page-home .ytl-home-project-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.home #page-home .ytl-home-project-hero__actions .btn {
    width: 100%;
  }

  body.home #page-home .ytl-home-project-hero__controls {
    right: 10px;
    left: 10px;
  }

  body.home #page-home .ytl-home-project-hero__arrow {
    width: 42px;
    height: 42px;
  }

  body.home #page-home .ytl-home-applications {
    padding: 58px 0 62px;
  }

  body.home #page-home .ytl-home-applications__inner {
    width: calc(100% - 28px);
  }

  body.home #page-home .ytl-home-applications__heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  body.home #page-home .ytl-home-applications__heading h2 {
    font-size: 29px;
  }

  body.home #page-home .ytl-home-applications__grid {
    grid-template-columns: 1fr;
  }

  body.home #page-home .ytl-home-application-card__media {
    height: 180px;
  }

  body.home #page-home .ytl-home-applications__more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home #page-home .ytl-home-project-hero__slide {
    transform: none;
    transition: none;
  }

  body.home #page-home .ytl-home-project-hero__copy {
    transform: none;
    transition: none;
  }
}

/* Keep every homepage CTA in one visual system; informational tags stay softer. */
body.home #page-home :is(.btn, .btn.secondary, .ytl-process-button) {
  min-height: 44px;
  padding: 0 22px;
  gap: 10px;
  border: 1px solid var(--home-green);
  border-radius: 7px;
  background: var(--home-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 9px 22px rgba(47, 170, 67, .16);
}

body.home #page-home :is(.btn, .btn.secondary, .ytl-process-button):hover,
body.home #page-home :is(.btn, .btn.secondary, .ytl-process-button):focus-visible {
  border-color: var(--home-green-dark);
  background: var(--home-green-dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(33, 139, 50, .24);
}

body.home #page-home .ytl-home-project-hero__actions .btn {
  height: 44px;
}

body.home .site-header .quote-btn {
  border-radius: 7px;
}

body.home #page-home .tags {
  align-items: center;
  gap: 10px;
}

body.home #page-home .tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #c8e8cc;
  border-radius: 7px;
  background: var(--home-green-soft);
  color: var(--home-green-dark);
  line-height: 1.2;
}

/* Use one brand green for every functional icon on the homepage. */
body.home #page-home :is(
  .stat .chip,
  .ytl-home-application-card__media-fallback,
  .ytl-home-application-card__title > span,
  .ytl-home-applications__more-grid a > span,
  .ytl-product-card__icon,
  .ytl-product-card__arrow,
  .ytl-process-icon,
  .ytl-home-why-item .chip,
  .home-faq-question svg
) {
  color: var(--home-green);
}

body.home #page-home .ytl-product-card:hover .ytl-product-card__arrow,
body.home #page-home .ytl-product-card:focus-visible .ytl-product-card__arrow {
  background: rgba(47, 170, 67, .1);
  color: var(--home-green);
}

body.home .cta .benefit .circle {
  color: var(--home-green, #2faa43);
}
