@font-face {
  font-family: "Jadey Product";
  src: url("../fonts/jadey-dm-sans/DM-Sans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

.home-operating-intro,
.home-software {
  --software-ink: #1e1f2b;
  --software-muted: var(--ink-400);
  --software-rule: #f1f1f2;
  --software-active: #f7f7f7;
  color: var(--software-ink);
  background: var(--bg-canvas);
  scroll-margin-top: calc(var(--jd-page-header-height, 100px) + 24px);
}

.home-operating-intro {
  padding: clamp(88px, 10vw, 160px) var(--page-padding) clamp(80px, 9vw, 144px);
  text-align: center;
}

.home-operating-intro__eyebrow {
  margin: 0 0 36px;
  color: var(--software-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-operating-intro__eyebrow:empty { display: none; }

.home-operating-intro h2 {
  max-width: 1440px;
  margin: 0 auto;
  font-family: var(--headline);
  font-size: clamp(32px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-operating-intro__note {
  max-width: 600px;
  margin: 32px auto 0;
  color: var(--software-muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-operating-intro__note p {
  margin: 0;
}
.home-operating-intro__note:empty { display: none; }
.home-operating-intro > .section-actions { justify-content: center; margin-top: clamp(32px, 3vw, 48px); gap: 16px 24px; }
.home-operating-intro > .section-actions > .button-link {
  min-height: 48px;
  max-width: 100%;
  padding: 10px 0;
  gap: 20px;
  border-bottom-color: var(--orange-500);
  font-size: 16px;
  text-align: left;
}
.home-operating-intro > .section-actions > .button-link::after {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--orange-500);
}
.home-operating-intro > .section-actions > .button-link:is(:hover, :focus-visible) { border-top-color: transparent; transform: none; }
.home-operating-intro > .section-actions > .button-link:is(:hover, :focus-visible)::after { transform: translate(4px, -1px); }
.home-operating-intro > .section-actions > .button-link:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) {
  .home-operating-intro > .section-actions > .button-link,
  .home-operating-intro > .section-actions > .button-link::after { transition: none; }
  .home-operating-intro > .section-actions > .button-link:is(:hover, :focus-visible)::after { transform: translateY(-1px); }
}

/* Desktop arrangement follows the reference: description and large title. */
.home-software {
  width: min(1440px, calc(100% - 2 * var(--page-padding)));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 7vw, 112px);
}

.home-software > h2 {
  margin: 0 0 clamp(40px, 4vw, 72px);
  font-family: var(--headline);
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-software > h2 strong {
  color: var(--orange-500);
  font-weight: inherit;
}

.home-software__item {
  --software-column-gap: clamp(24px, 4vw, 56px);
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--software-rule);
  scroll-margin-top: calc(var(--jd-page-header-height, 100px) + 24px);
  display: grid;
  grid-template-columns: minmax(0, 18%) minmax(0, 1fr);
  column-gap: var(--software-column-gap);
  align-items: center;
  min-height: clamp(250px, 17.1vw, 328px);
  padding: calc((12px + clamp(64px, 6.46vw, 124px)) / 2) 0;
  color: inherit;
  text-decoration: none;
}

.home-software__item:last-child {
  border-bottom: 1px solid var(--software-rule);
}

.home-software__item::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(100vw - 20px);
  transform: translateX(-50%);
  background: var(--software-active);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.home-software__item:focus-visible::before {
  opacity: 1;
}

.home-software__item:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 6px;
}

.home-software__title {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0 0 4px 1.62em;
  color: #171c25;
  font-family: "Jadey Product", var(--headline);
  /* Fit the longest complete word-and-symbol mark in the available column. */
  font-size: min(clamp(96px, 9.375vw, 180px), calc((82cqw - var(--software-column-gap)) / 9.5));
  font-weight: 700;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: left;
}

/* Match the supplied SVG baseline; reserve both marks even while hidden. */
.home-software__mark {
  display: inline-block;
  width: 1.5em;
  height: 1.333333em;
  margin-right: 0.12em;
  vertical-align: -0.322917em;
  pointer-events: none;
}

.home-software__mark:not(.home-software__mark--suffix) {
  position: absolute;
  top: 0.02em;
  left: 0;
  margin-right: 0;
}

.home-software__mark--suffix {
  width: 0.878333em;
  margin-right: 0;
  margin-left: 0.22em;
}

.home-software__mark .jd-mark {
  display: block;
  width: 100%;
  height: 100%;
}

.home-software__description {
  grid-column: 1;
  grid-row: 1;
  max-width: 320px;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.35;
  text-align: left;
}

@media (hover: hover) {
  .home-software__item:hover::before {
    opacity: 1;
  }
}

@media (max-width: 899px) {
  .home-software__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 20px;
    padding: 34px 0;
    min-height: 240px;
  }

  .home-software__title {
    grid-column: 1;
    grid-row: 1;
    font-size: min(clamp(64px, 11.7vw, 104px), 10.5cqw);
  }

  .home-software__description {
    grid-column: 1;
    grid-row: 2;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.3;
  }

}

@media (max-width: 640px) {
  .home-operating-intro {
    padding-block: 72px;
    padding-inline: 16px;
  }

  .home-operating-intro__eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
  }

  .home-operating-intro h2 {
    font-size: clamp(24px, 4.7vw, 32px);
    line-height: 1.14;
  }

  .home-operating-intro__note {
    font-size: 14px;
  }

  .home-software > h2 {
    font-size: 26px;
    margin-bottom: 36px;
  }

  .home-software__item {
    min-height: 190px;
    padding-block: 28px;
    gap: 20px 0;
  }

  .home-software__title {
    font-size: min(clamp(46px, 13vw, 80px), 10.5cqw);
  }

  .home-software__description {
    font-size: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-software__item::before {
    transition: none;
  }
}

/* The current homepage introduces page destinations rather than product logos. */
.home-software--overview .home-software__item {
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr) auto;
  gap: clamp(24px, 4vw, 56px);
  min-height: clamp(200px, 15vw, 260px);
  padding-block: clamp(40px, 5vw, 72px);
}

.home-software--overview .home-software__title {
  padding: 0;
  font-size: min(clamp(52px, 6.1vw, 104px), 7cqw);
  line-height: 1.12;
  letter-spacing: -0.04em;
  white-space: normal;
  text-wrap: balance;
}

.home-software--overview .home-software__description {
  max-width: 360px;
}

.home-software__arrow {
  grid-column: 3;
  grid-row: 1;
  font-size: 32px;
  line-height: 1;
  transition: transform 160ms ease;
}

.home-software--overview .home-software__item:is(:hover, :focus-visible) .home-software__arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 899px) {
  .home-software--overview .home-software__item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding-block: 36px;
  }

  .home-software--overview .home-software__title {
    font-size: clamp(32px, 7.6vw, 68px);
  }

  .home-software--overview .home-software__description {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .home-software__arrow {
    grid-column: 2;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-software__arrow {
    transition: none;
  }
}

/* Page destinations without supporting copy use the whole row for the title. */
.home-software--overview .home-software__item[data-title-only] {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  min-height: clamp(132px, 12vw, 200px);
  padding-block: clamp(32px, 4vw, 56px);
}
.home-software--overview [data-title-only] .home-software__title {
  grid-column: 1;
}
.home-software--overview [data-title-only] .home-software__arrow {
  grid-column: 2;
}
