.service-main {
  padding-top: 54px;
}

.service-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.service-breadcrumbs a {
  color: var(--indigo-main);
}

.service-breadcrumbs span[aria-hidden="true"] {
  color: rgba(67, 80, 124, 0.48);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 58px;
  min-height: 610px;
  padding: 24px 0 88px;
}

.service-hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.service-hero-copy .lead {
  max-width: 690px;
  margin-top: 28px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.service-scope span {
  position: relative;
  padding-left: 15px;
}

.service-scope span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(110, 231, 245, 0.16);
  content: "";
}

.service-blueprint {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(118, 145, 255, 0.2);
  border-radius: var(--radius-xl);
  color: white;
  background:
    linear-gradient(rgba(110, 231, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 245, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 20%, rgba(90, 110, 234, 0.48), transparent 34%),
    #11183e;
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: var(--shadow-strong);
}

.service-blueprint::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(110, 231, 245, 0.16);
  border-radius: 50%;
  content: "";
}

.blueprint-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(220, 228, 255, 0.16);
  color: var(--indigo-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.blueprint-heading span:last-child {
  color: var(--cyan);
}

.integration-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 38px 1.15fr 38px 1fr;
  align-items: center;
  gap: 6px;
  min-height: 280px;
}

.flow-stack {
  display: grid;
  gap: 10px;
}

.flow-node {
  padding: 13px 12px;
  border: 1px solid rgba(220, 228, 255, 0.18);
  border-radius: 12px;
  color: var(--indigo-soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.flow-node-main {
  padding: 27px 16px;
  border-color: rgba(110, 231, 245, 0.62);
  color: white;
  background: linear-gradient(145deg, rgba(90, 110, 234, 0.4), rgba(110, 231, 245, 0.12));
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.flow-connector {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(110, 231, 245, 0.22), var(--cyan));
}

.flow-connector::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
  content: "";
}

.flow-connector-return {
  transform: rotate(180deg);
}

.blueprint-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 228, 255, 0.16);
}

.blueprint-foot span {
  padding: 7px 10px;
  border: 1px solid rgba(110, 231, 245, 0.22);
  border-radius: 999px;
  color: var(--indigo-soft);
  background: rgba(110, 231, 245, 0.06);
  font-size: 0.69rem;
  font-weight: 700;
}

.extension-map {
  position: relative;
  z-index: 1;
  min-height: 315px;
}

.extension-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(110, 231, 245, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: radial-gradient(circle, rgba(90, 110, 234, 0.62), rgba(36, 51, 138, 0.82));
  box-shadow: 0 0 0 18px rgba(110, 231, 245, 0.045), 0 0 0 42px rgba(90, 110, 234, 0.04);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.extension-route {
  position: absolute;
  width: 126px;
  padding: 12px;
  border: 1px solid rgba(220, 228, 255, 0.2);
  border-radius: 12px;
  color: var(--indigo-soft);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.extension-route::after {
  position: absolute;
  height: 1px;
  background: rgba(110, 231, 245, 0.58);
  content: "";
}

.extension-route-studio {
  top: 18px;
  left: 8px;
}

.extension-route-studio::after {
  top: 56px;
  left: 104px;
  width: 62px;
  transform: rotate(38deg);
}

.extension-route-btp {
  top: 18px;
  right: 8px;
}

.extension-route-btp::after {
  top: 56px;
  right: 104px;
  width: 62px;
  transform: rotate(-38deg);
}

.extension-route-cloud {
  right: 50%;
  bottom: 9px;
  transform: translateX(50%);
}

.extension-route-cloud::after {
  right: 50%;
  bottom: 100%;
  width: 62px;
  transform: rotate(90deg);
  transform-origin: right center;
}

.service-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-proof-item {
  min-height: 112px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.service-proof-item:last-child {
  border-right: 0;
}

.service-proof-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--indigo-main);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.service-proof-item span {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.service-content-section {
  padding: 92px 0;
}

.service-content-section + .service-content-section {
  border-top: 1px solid var(--line);
}

.service-section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 64px;
  margin-bottom: 48px;
}

.service-section-heading h2 {
  margin: 0;
}

.service-section-heading p {
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.service-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  border-top: 1px solid var(--line-strong);
}

.service-module {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}

.service-module h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.service-module p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 58px;
}

.method-intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.method-intro h2 {
  margin-top: 0;
}

.method-intro p {
  color: var(--text-soft);
  line-height: 1.75;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-list li {
  position: relative;
  padding: 0 0 34px 62px;
  counter-increment: method;
}

.method-list li:not(:last-child)::after {
  position: absolute;
  top: 36px;
  bottom: 7px;
  left: 19px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.method-list li::before {
  position: absolute;
  top: -5px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--indigo-main);
  background: var(--surface-strong);
  content: counter(method);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.method-list h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.method-list p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.case-ledger {
  overflow: hidden;
  border: 1px solid rgba(118, 145, 255, 0.2);
  border-radius: var(--radius-xl);
  color: white;
  background: #11183e;
  box-shadow: var(--shadow-strong);
}

.case-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  padding: 34px;
  border-bottom: 1px solid rgba(220, 228, 255, 0.13);
}

.case-row:last-child {
  border-bottom: 0;
}

.case-row h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 1.05rem;
}

.case-row p {
  margin: 0;
  color: var(--indigo-soft);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 8px;
  color: var(--indigo-main);
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 820px;
  margin: -4px 0 26px;
  color: var(--text-soft);
  line-height: 1.72;
}

.related-service {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.related-service h3,
.related-service p {
  margin: 0;
}

.related-service p {
  margin-top: 6px;
  color: var(--text-soft);
}

.service-final-cta {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 40px;
  margin: 36px 0 86px;
  padding: 44px;
  border-radius: var(--radius-xl);
  color: white;
  background: linear-gradient(135deg, var(--indigo-deep), var(--indigo-main));
  box-shadow: var(--shadow-strong);
}

.service-final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: white;
}

.service-final-cta p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--indigo-soft);
  line-height: 1.65;
}

.service-final-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 210px;
}

.service-final-cta .button-primary {
  color: var(--indigo-deep);
  background: var(--cyan);
  box-shadow: none;
}

.service-final-cta .button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--indigo-main);
  font-weight: 800;
}

@media (max-width: 980px) {
  .service-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-blueprint {
    min-height: 410px;
  }

  .service-proof-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-proof-item:nth-child(2) {
    border-right: 0;
  }

  .service-proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-section-heading,
  .method-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .method-intro {
    position: static;
  }

  .service-final-cta {
    grid-template-columns: 1fr;
  }

  .service-final-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .service-main {
    padding-top: 36px;
  }

  .service-hero {
    gap: 38px;
    padding-bottom: 64px;
  }

  .service-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .service-blueprint {
    min-height: 470px;
    padding: 22px;
  }

  .integration-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .flow-connector {
    width: 1px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(110, 231, 245, 0.22), var(--cyan));
  }

  .flow-connector::after {
    top: auto;
    right: -3px;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .flow-connector-return {
    transform: rotate(180deg);
  }

  .extension-map {
    min-height: 350px;
  }

  .extension-core {
    width: 126px;
    height: 126px;
    font-size: 0.88rem;
  }

  .extension-route {
    width: 108px;
    font-size: 0.65rem;
  }

  .extension-route-studio::after,
  .extension-route-btp::after {
    width: 42px;
  }

  .service-proof-bar,
  .service-module-grid {
    grid-template-columns: 1fr;
  }

  .service-proof-item,
  .service-proof-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-proof-item:last-child {
    border-bottom: 0;
  }

  .service-content-section {
    padding: 70px 0;
  }

  .case-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 22px;
  }

  .related-service {
    grid-template-columns: 1fr;
  }

  .service-final-cta {
    margin-bottom: 64px;
    padding: 30px 22px;
  }

  .service-final-actions {
    flex-direction: column;
  }
}
