
.page-products:has(.lifecycle-selector) {
  background: var(--bg);
}

.lifecycle-hero,
.lifecycle-selector {
  width: var(--container);
  margin-inline: auto;
}

.lifecycle-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #071019;
  color: #fff;
  isolation: isolate;
}

.lifecycle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 8, 13, 0.64);
}

.lifecycle-hero figure,
.lifecycle-hero figure::after {
  position: absolute;
  inset: 0;
}

.lifecycle-hero figure {
  z-index: -2;
  margin: 0;
}

.lifecycle-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lifecycle-hero-copy {
  width: min(760px, calc(100% - 96px));
  padding: 52px 0 58px 48px;
}

.lifecycle-breadcrumbs {
  margin: 0 0 64px;
  border: 0;
  border-left: 4px solid #c4ff37;
  border-radius: 0;
  background: rgba(3, 8, 13, 0.68);
  color: rgba(255, 255, 255, 0.74);
}

.lifecycle-breadcrumbs a {
  color: #c4ff37;
}

.lifecycle-hero-kicker,
.lifecycle-selector-head > span,
.lifecycle-stage-heading > span,
.lifecycle-stage-heading p,
.lifecycle-result > span,
.lifecycle-proof-links > a > span,
.lifecycle-case-links > span {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lifecycle-hero-kicker {
  margin-bottom: 12px;
  color: #c4ff37;
}

.lifecycle-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 3.75rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.lifecycle-hero-copy > p {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  line-height: 1.55;
}

.lifecycle-selector {
  padding-block: 72px 96px;
}

.lifecycle-selector-head {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(320px, 1fr);
  align-items: end;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.lifecycle-selector-head h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.lifecycle-stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.lifecycle-stage-tab {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease, transform 240ms ease;
}

.lifecycle-stage-tab:nth-child(4n) {
  border-right: 0;
}

.lifecycle-stage-tab:nth-child(n + 5) {
  border-bottom: 0;
}

.lifecycle-stage-tab::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 240ms ease, transform 240ms ease;
}

.lifecycle-stage-tab > span {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.lifecycle-stage-tab > strong {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.lifecycle-stage-tab:hover,
.lifecycle-stage-tab:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.lifecycle-stage-tab:hover {
  transform: translateY(-2px);
}

.lifecycle-stage-tab.is-active {
  background: var(--surface-soft);
  color: var(--ink);
}

.lifecycle-stage-tab.is-active > span {
  color: var(--accent);
}

.lifecycle-stage-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.lifecycle-stage-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.lifecycle-stage-panels {
  border-bottom: 1px solid var(--line);
}

.lifecycle-stage-panel {
  background: var(--surface);
  color: var(--text);
}

.lifecycle-stage-panel.is-entering {
  animation: lifecycle-panel-enter 280ms ease both;
}

.lifecycle-stage-heading {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 28px;
  padding: 48px;
  border-bottom: 1px solid var(--line);
}

.lifecycle-stage-heading > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1rem;
}

.lifecycle-stage-heading p {
  margin: 0 0 8px;
}

.lifecycle-stage-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.lifecycle-stage-heading strong {
  max-width: 880px;
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
}

.lifecycle-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
}

.lifecycle-stage-main {
  padding: 4px 48px 48px;
}

.lifecycle-stage-main > section {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.lifecycle-stage-main h3,
.lifecycle-stage-facts h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.lifecycle-stage-main p,
.lifecycle-stage-facts p {
  margin: 0;
  line-height: 1.6;
}

.lifecycle-work-list,
.lifecycle-stage-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lifecycle-work-list {
  display: grid;
  gap: 14px;
}

.lifecycle-work-list li,
.lifecycle-stage-facts li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.lifecycle-work-list li::before,
.lifecycle-stage-facts li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.lifecycle-stage-main > .lifecycle-result {
  border-bottom: 0;
  align-items: start;
}

.lifecycle-result > span {
  color: var(--accent);
}

.lifecycle-result p {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 650;
}

.lifecycle-stage-facts {
  border-left: 1px solid var(--line);
  background: var(--surface-soft);
}

.lifecycle-stage-facts > section {
  padding: 30px 32px;
  border-bottom: 1px solid var(--line);
}

.lifecycle-stage-facts > section:last-child {
  border-bottom: 0;
}

.lifecycle-stage-facts h3 {
  margin-bottom: 18px;
}

.lifecycle-stage-facts ul {
  display: grid;
  gap: 11px;
}

.lifecycle-first-result p {
  color: var(--ink);
  font-weight: 600;
}

.lifecycle-stage-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.lifecycle-proof-links {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.2fr);
}

.lifecycle-service-link,
.lifecycle-case-links {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}

.lifecycle-service-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 7px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 220ms ease;
}

.lifecycle-service-link > span {
  grid-column: 1 / -1;
}

.lifecycle-service-link b,
.lifecycle-case-links b {
  color: var(--accent);
  transition: transform 220ms ease;
}

.lifecycle-service-link:hover,
.lifecycle-service-link:focus-visible,
.lifecycle-case-links a:hover,
.lifecycle-case-links a:focus-visible {
  background: var(--surface-soft);
}

.lifecycle-service-link:hover b,
.lifecycle-service-link:focus-visible b,
.lifecycle-case-links a:hover b,
.lifecycle-case-links a:focus-visible b {
  transform: translateX(5px);
}

.lifecycle-case-links {
  display: grid;
  align-content: center;
  gap: 8px;
}

.lifecycle-case-links > span {
  margin-bottom: 2px;
}

.lifecycle-case-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 7px 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 220ms ease;
}

.lifecycle-request-button {
  min-width: 240px;
  margin: 28px 32px;
  align-self: center;
}

@keyframes lifecycle-panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .lifecycle-hero {
    min-height: 460px;
  }

  .lifecycle-hero-copy {
    width: min(720px, calc(100% - 64px));
    padding: 40px 0 44px 32px;
  }

  .lifecycle-breadcrumbs {
    margin-bottom: 48px;
  }

  .lifecycle-hero h1 {
    font-size: 3rem;
  }

  .lifecycle-stage-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lifecycle-stage-tab:nth-child(2n) {
    border-right: 0;
  }

  .lifecycle-stage-tab:nth-child(n + 5) {
    border-bottom: 1px solid var(--line);
  }

  .lifecycle-stage-tab:nth-child(n + 7) {
    border-bottom: 0;
  }

  .lifecycle-stage-layout {
    grid-template-columns: 1fr;
  }

  .lifecycle-stage-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lifecycle-stage-facts > section {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .lifecycle-stage-facts > section:last-child {
    border-right: 0;
  }

  .lifecycle-stage-footer,
  .lifecycle-proof-links {
    grid-template-columns: 1fr;
  }

  .lifecycle-service-link,
  .lifecycle-case-links {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lifecycle-request-button {
    width: calc(100% - 64px);
  }
}

@media (max-width: 640px) {
  .lifecycle-hero,
  .lifecycle-selector {
    width: 100%;
  }

  .lifecycle-hero {
    min-height: 440px;
  }

  .lifecycle-hero-copy {
    width: auto;
    padding: 24px 20px 32px;
  }

  .lifecycle-breadcrumbs {
    margin-bottom: 36px;
    padding: 10px 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .lifecycle-hero h1 {
    font-size: 2.35rem;
  }

  .lifecycle-hero-copy > p {
    font-size: 1rem;
  }

  .lifecycle-selector {
    padding: 48px 20px 64px;
  }

  .lifecycle-selector-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lifecycle-selector-head h2 {
    font-size: 2rem;
  }

  .lifecycle-stage-tab {
    min-height: 98px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5px;
    padding: 16px 14px;
  }

  .lifecycle-stage-tab::after {
    left: 14px;
    right: 14px;
  }

  .lifecycle-stage-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 22px;
  }

  .lifecycle-stage-heading > span {
    width: 44px;
    height: 44px;
  }

  .lifecycle-stage-heading h2 {
    font-size: 2rem;
  }

  .lifecycle-stage-main {
    padding: 0 22px 12px;
  }

  .lifecycle-stage-main > section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 25px;
  }

  .lifecycle-result p {
    font-size: 1.125rem;
  }

  .lifecycle-stage-facts {
    grid-template-columns: 1fr;
  }

  .lifecycle-stage-facts > section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lifecycle-stage-facts > section:last-child {
    border-bottom: 0;
  }

  .lifecycle-service-link,
  .lifecycle-case-links {
    padding: 24px 22px;
  }

  .lifecycle-request-button {
    width: calc(100% - 44px);
    min-width: 0;
    margin: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lifecycle-stage-tab,
  .lifecycle-stage-tab::after,
  .lifecycle-service-link b,
  .lifecycle-case-links b {
    transition: none;
  }

  .lifecycle-stage-panel.is-entering {
    animation: none;
  }
}
