/* Homepage presentation only. Load after the existing page styles. */
.home-page .outline-button {
  isolation: isolate;
}

.home-page .outline-button > span:first-child {
  min-width: 0;
}

.home-page .outline-button > span:last-child {
  flex-shrink: 0;
}

/* This illustration describes the invitation; only its CTA is an action. */
.home-page .home-discovery-front {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 8px;
  font-size: 14px;
}

.home-page .site-footer { font-size: 12px; line-height: 1.7; }
.home-page .international-selector > label { font-size: 13px; line-height: 1.5; }

/* Keep a floating shortcut from masking the action the visitor is reading. */
.home-page .circle-support[data-open="false"][data-home-obscured="true"] .circle-support-launcher {
  visibility: hidden;
  pointer-events: none;
}

/* The approved introduction retains its dimensions and playback behavior. */
.home-page .scene-structure .content-right {
  width: min(680px, 48%);
  padding-top: 140px;
  padding-bottom: 128px;
}

.home-page .scene-structure h2 {
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 1.08;
}

.home-page .scene-structure .scene-description {
  max-width: 530px;
  margin-top: 25px;
  margin-bottom: 23px;
}

.home-page .challenge-hint {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #c4d3ef;
}

.home-page .scene-structure .service-list {
  gap: 25px 30px;
  margin-top: 30px;
}

.home-page .scene-structure .service-list li > span {
  font-size: 15px;
  line-height: 1.65;
  color: #d1dbee;
}

.home-page .challenge-link {
  min-height: 44px;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  line-height: 1.45;
}

/* The diagram carries the visual hub; the portfolio below supplies its detail. */
.home-page .ecosystem-intro h2 {
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.06;
}

.home-page .ecosystem-fronts {
  gap: 32px;
  margin-top: 32px;
}

.home-page .ecosystem-fronts > li {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(166, 194, 246, .4);
  background: transparent;
}

.home-page .ecosystem-fronts > li > strong {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.home-page .ecosystem-fronts > li > span {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #c9d5eb;
}

.home-page .ecosystem-fronts .outline-button.home-service-link {
  display: inline-flex;
  align-self: flex-start;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 48px;
  margin-top: 18px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #c5d9ff;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .025em;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(172, 202, 255, .45);
  overflow: visible;
}

.home-page .ecosystem-fronts .home-service-link::before {
  display: none;
}

.home-page .ecosystem-fronts .home-service-link:focus-visible {
  outline-offset: 5px;
  color: #fff;
  text-decoration-color: #d5e4ff;
}

.home-page .international-panel .international-contact,
.home-page .scene-delivery .outline-button {
  min-height: 60px;
  padding: 17px 20px;
  gap: 20px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.home-page .scene-delivery h2 {
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.06;
}

.home-page .scene-delivery .service-list li > span {
  font-size: 15px;
  line-height: 1.65;
  color: #d1dbee;
}

.home-page .scene-delivery .service-coverage {
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
}

/* Primary invitation and complementary routes keep distinct visual weight. */
.home-page .home-action-primary {
  min-height: 60px;
  padding: 18px 23px;
  gap: 22px;
  border: 1px solid #8baeff;
  border-radius: 5px;
  background: #154ae0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 28px rgba(21, 74, 224, .2);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-page .outline-button.home-action-primary::before {
  background: #123bb3;
}

.home-page .home-action-primary:focus-visible {
  outline: 3px solid #d7e5ff;
  outline-offset: 5px;
}

.home-page .home-action-secondary {
  min-height: 60px;
  padding: 17px 20px;
  gap: 20px;
  border-color: rgba(180, 205, 252, .5);
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  color: #dbe7ff;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.home-page .home-action-secondary:hover {
  color: #06112f;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .home-action-primary:hover {
    color: #fff;
    background: #123bb3;
    border-color: #b3caff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 34px rgba(21, 74, 224, .28);
  }

  .home-page .ecosystem-fronts .home-service-link:hover {
    color: #fff;
    background: transparent;
    text-decoration-color: #d5e4ff;
  }
}

@media (max-width: 1100px) {
  .home-page .header-disciplines {
    display: none;
  }

  .home-page .site-header {
    gap: 24px;
  }

  .home-page .scene-structure .content-right {
    width: min(680px, 56%);
    margin-left: auto;
    margin-right: var(--edge);
    padding-top: 128px;
  }

  .home-page .scene-structure h2 {
    max-width: 680px;
  }

  .home-page .ecosystem-fronts {
    gap: 25px;
  }
}

@media (max-width: 760px) {
  .home-page .scene-structure .content-right {
    width: calc(100% - var(--edge) * 2);
    margin-left: var(--edge);
    padding-top: 108px;
    padding-bottom: 108px;
  }

  .home-page .scene-structure h2,
  .home-page .ecosystem-intro h2,
  .home-page .scene-delivery h2 {
    font-size: clamp(34px, 8.4vw, 49px);
    line-height: 1.1;
  }

  .home-page .scene-structure .service-list {
    gap: 24px 18px;
  }

  .home-page .challenge-link {
    align-items: flex-start;
    font-size: 14px;
    gap: 10px;
  }

  .home-page .scene-structure .service-list li > span,
  .home-page .scene-delivery .service-list li > span {
    font-size: 14px;
    line-height: 1.65;
  }

  .home-page .ecosystem-fronts {
    gap: 25px;
  }

  .home-page .ecosystem-fronts > li {
    padding: 21px 0 0;
  }

  .home-page .ecosystem-fronts .outline-button.home-service-link {
    align-self: flex-start;
    font-size: 14px;
    margin-top: 14px;
  }

  .home-page .scene-delivery .service-coverage {
    align-items: stretch;
    gap: 14px;
  }

  .home-page .scene-delivery .outline-button,
  .home-page .international-panel .international-contact {
    min-width: 0;
    width: 100%;
    padding: 16px 18px;
    gap: 16px;
    font-size: 14px;
  }
}

/* Closed launcher only: keep the existing label, opening and footer collision rule. */
@media (max-width: 600px) {
  .home-page .circle-support[data-open="false"] {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom), var(--circle-support-footer-offset, 0px));
    width: auto;
    max-width: calc(100vw - 32px);
  }

  .home-page .circle-support[data-open="false"] .circle-support-launcher {
    min-height: 48px;
    padding: 11px 15px;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .01em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  }

  .home-page .circle-support[data-open="false"] .circle-support-mark {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .home-page .scene-structure .service-list {
    grid-template-columns: 1fr;
  }

  .home-page .challenge-link {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-action-primary,
  .home-page .home-action-secondary,
  .home-page .home-service-link {
    transition: none;
  }
}
