/* The service directory reads as a single index with one immediate-help entry. */
.directory-page--simple .directory-hero h1 {
  max-width: 12ch;
  text-wrap: balance;
  line-height: 1.02;
}

.directory-page--simple .directory-paths {
  gap: 0;
}

.directory-page--simple .directory-path {
  min-height: 0;
  padding: clamp(17px, 2vw, 26px) 56px clamp(17px, 2vw, 26px) 20px;
  gap: 5px;
  border: 0;
  border-bottom: 1px solid #c4cab9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.directory-page--simple .directory-path--support {
  background: #21352b;
  color: #faf9f1;
  border-color: transparent;
  border-radius: 7px;
}

.directory-page--simple .directory-path > span {
  margin-block-end: 2px;
  color: #546449;
  font-size: .69rem;
  line-height: 1.4;
}

.directory-page--simple .directory-path--support > span {
  color: #ceef93;
}

.directory-page--simple .directory-path small {
  color: #505c4b;
  font-size: .875rem;
}

.directory-page--simple .directory-path--support small {
  color: #d6e2d4;
}

.directory-page--simple .directory-path > i {
  top: 50%;
  right: 20px;
  bottom: auto;
  transform: translateY(-50%);
}

.directory-page--simple .directory-service-link span {
  font-size: .875rem;
}

.directory-page--simple .directory-more > summary > small {
  color: #545f4e;
}

@media (min-width: 701px) and (max-width: 900px) {
  .directory-page--simple .directory-paths { gap: 10px; }
  .directory-page--simple .directory-path { padding: 18px 15px 48px; }
  .directory-page--simple .directory-path > i {
    top: auto;
    right: 14px;
    bottom: 14px;
    transform: none;
  }
}

/* Keep the established illustrations, their cropping and their information intact. */
.page-standard .product-art,
.page-marketing .mk-art,
.page-support .ti-art .ti-schematic {
  border-radius: 7px;
}

.page-support .ti-hero--hub .ti-schematic {
  background-color: #e1ede4;
  box-shadow: 0 10px 28px -19px #081a12;
}

.page-standard .product-hero-copy .product-lead,
.page-marketing .mk-hero-copy > p,
.page-editorial .ed-article-heading p {
  max-width: 55ch;
}

.page-editorial .ed-article-heading h1,
.page-editorial .ed-about-hero h1,
.page-editorial .ed-journal-title h1 {
  text-wrap: balance;
}

.page-editorial .ed-journal-card {
  position: relative;
}

.page-editorial .ed-journal-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-editorial .ed-journal-art,
.page-editorial .ed-journal-card > .text-link {
  position: relative;
  z-index: 1;
}

.page-editorial .ed-article-layout .ed-toc nav a {
  min-height: 44px;
  align-items: baseline;
}

.page-editorial .ed-article-layout .ed-toc nav a > span {
  font-variant-numeric: tabular-nums;
}

.page-editorial .ed-article-content > .service-section[id] {
  scroll-margin-block-start: 104px;
}

.page-editorial .ed-article-content > .service-section:target > .service-section__index {
  color: #294a31;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.premium-page .service-faq details[open] > summary {
  color: #293d2c;
  font-weight: 600;
}

.premium-page .service-faq details > p {
  max-inline-size: 68ch;
}

.premium-page .service-faq summary:focus-visible,
.page-editorial .ed-article-layout .ed-toc nav a:focus-visible {
  outline: 2px solid #456353;
  outline-offset: 2px;
}

/* A quiet step index alongside the support request, horizontal on small screens. */
.premium-page .ti-page .ti-form.ti-wizard {
  border-color: #bec7b9;
  border-radius: 10px;
  box-shadow: 0 14px 45px -38px #203525;
}

.ti-page .ti-wizard .ti-back {
  min-height: 44px;
  padding-inline: 13px;
  background: #f5f7ef;
  border: 1px solid #a9b5a1;
  border-radius: 6px;
}

.ti-page .ti-wizard .ti-back:disabled {
  color: #52604c;
  border-color: #c3cbbd;
  background: #ecefe6;
  opacity: 1;
}

.ti-page .ti-wizard .ti-optional > summary { min-height: 44px; }

@media (min-width: 861px) {
  .premium-page .ti-page .ti-form.ti-wizard {
    --index-width: clamp(164px, 15vw, 196px);
    display: grid;
    grid-template-columns: var(--index-width) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "head body" "steps body" "steps actions" "steps note";
    background: linear-gradient(to right, #25382c var(--index-width), #f9faf3 var(--index-width));
  }
  .ti-page .ti-wizard .ti-wizard-head {
    grid-area: head;
    display: grid;
    gap: 5px;
    padding: 26px 18px 21px;
    color: #f4f6ea;
  }
  .ti-page .ti-wizard .ti-wizard-count {
    color: #c2ceb9;
    letter-spacing: 0;
  }
  .ti-page .ti-wizard .ti-progress {
    grid-area: steps;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0;
    padding: 0 18px 24px;
    border-bottom: 0;
  }
  .ti-page .ti-wizard .ti-progress li {
    min-height: 45px;
    padding-block: 8px;
    gap: 8px;
    color: #c8d3c2;
    border-top: 1px solid #576757;
  }
  .ti-page .ti-wizard .ti-progress li > span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border: 1px solid #72846e;
    border-radius: 50%;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .ti-page .ti-wizard .ti-progress li[aria-current] { color: #f2facf; }
  .ti-page .ti-wizard .ti-progress li[aria-current] > span {
    background: #d8f68f;
    color: #23351c;
    border-color: transparent;
  }
  .ti-page .ti-wizard .ti-progress li[data-complete] { color: #e3ebd8; }
  .ti-page .ti-wizard .ti-progress li[data-complete] > span { font-size: 0; }
  .ti-page .ti-wizard .ti-wizard-body { grid-area: body; min-width: 0; padding-block-start: 25px; }
  .ti-page .ti-wizard .ti-wizard-bottom { grid-area: actions; min-width: 0; }
  .ti-page .ti-wizard .ti-local-line { grid-area: note; }
}

@media (max-width: 860px) {
  .ti-page .ti-wizard .ti-wizard-head { color: #28472f; }
  .ti-page .ti-wizard .ti-progress li[aria-current] { border-color: #294c35; }
}

@media (hover: hover) and (pointer: fine) {
  .directory-page--simple .directory-path:not(.directory-path--support):hover { background: #e8ecdf; }
  .directory-page--simple .directory-path--support:hover { background: #2b4334; }
}

@media (prefers-reduced-motion: no-preference) {
  .directory-page--simple .directory-path { transition: background-color 180ms ease-out; }
  .directory-page--simple .directory-path > i,
  .directory-page--simple .directory-service-link > i {
    transition: translate 220ms cubic-bezier(.2,.75,.2,1);
  }
  .directory-page--simple .directory-more > summary > i {
    transition: transform 220ms cubic-bezier(.2,.75,.2,1);
  }
  .page-standard .product-art img,
  .page-marketing .mk-art-inner,
  .page-support .ti-art,
  .page-editorial .ed-article-heading .ed-diagram {
    animation: interior-figure-arrive 650ms cubic-bezier(.2,.74,.2,1) both;
  }
  .ti-page .ti-wizard .ti-progress li > span {
    transition: color 160ms ease-out, background-color 160ms ease-out;
  }
  @keyframes interior-figure-arrive {
    from { translate: 0 9px; }
    to { translate: 0 0; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .directory-page--simple .directory-path:is(:hover, :focus-visible) > i,
  .directory-page--simple .directory-service-link:is(:hover, :focus-visible) > i {
    translate: 2px -2px;
  }
}
