.page-infrastructure .service-hero { padding-bottom: clamp(84px, 9vw, 124px); }
.page-infrastructure .service-hero__lead { max-width: 650px; }

.blueprint {
  padding-top: clamp(82px, 7vw, 112px);
  background-image: radial-gradient(ellipse 82% 72% at 78% 14%, rgba(42,30,76,.13), transparent 74%);
}
.blueprint .section-title { max-width: 680px; }
.infra-diagram { position: relative; margin-top: clamp(70px, 8vw, 112px); }
.infra-diagram--desktop {
  --connector: rgba(245, 242, 235, 0.7);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: auto 110px auto 110px auto;
  align-items: center;
}
.infra-diagram--desktop > .infra-node { grid-row: 3; text-align: center; justify-items: center; }
.infra-node { display: grid; gap: 7px; align-content: center; }
.infra-node strong { font: 400 clamp(25px, 2.4vw, 36px)/1.2 var(--font-display); letter-spacing: 0; }
.infra-node span { max-width: 160px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.infra-link { position: relative; grid-row: 3; height: 1px; margin: 0 16px; background: var(--connector); }
.infra-link::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--connector); border-right: 1px solid var(--connector); transform: translateY(-50%) rotate(45deg); }
.infra-node--domain { grid-column: 1; }
.infra-link--one { grid-column: 2; }
.infra-node--dns { grid-column: 3; }
.infra-link--two { grid-column: 4; }
.infra-node--hosting { grid-column: 5; }
.infra-link--three { grid-column: 6; }
.infra-node--site { grid-column: 7; }
.infra-diagram--desktop > .infra-node--ssl { grid-column: 5 / 8; grid-row: 1; }
.infra-branch { position: relative; grid-column: 5 / 8; align-self: stretch; margin: 14px calc(100% / 6); color: var(--connector); background: linear-gradient(currentColor, currentColor) center 30px / 100% 1px no-repeat; }
.infra-branch--ssl { grid-row: 2; background: linear-gradient(currentColor, currentColor) center top / 1px 31px no-repeat, linear-gradient(currentColor, currentColor) center 30px / 100% 1px no-repeat; }
.infra-branch--output { grid-row: 4; background: linear-gradient(currentColor, currentColor) right top / 1px 31px no-repeat, linear-gradient(currentColor, currentColor) center 30px / 100% 1px no-repeat; }
.infra-branch::before, .infra-branch::after { content: ""; position: absolute; top: 30px; bottom: 0; width: 9px; background: linear-gradient(currentColor, currentColor) center top / 1px calc(100% - 1px) no-repeat, linear-gradient(45deg, transparent 46%, currentColor 47% 56%, transparent 57%) left bottom / 50% 5px no-repeat, linear-gradient(-45deg, transparent 46%, currentColor 47% 56%, transparent 57%) right bottom / 50% 5px no-repeat; }
.infra-branch::before { left: -4px; }
.infra-branch::after { right: -4px; }
.infra-diagram--desktop > .infra-node--seo { grid-column: 5; grid-row: 5; }
.infra-diagram--desktop > .infra-node--analytics { grid-column: 7; grid-row: 5; }
.infra-diagram--mobile { display: none; }

.scope { border-top-color: var(--hairline); }
.scope__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(70px, 10vw, 160px); }
.scope .section-title { max-width: 490px; }
.scope-list section { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--hairline); }
.scope-list section:last-child { margin-bottom: 0; border-bottom: 0; }
.scope-list h3 { margin: 0; font: 600 21px/1.35 var(--font-body); }
.scope-list p { max-width: 58ch; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: var(--body-leading); }

.failure { padding-top: clamp(90px, 8vw, 124px); border-top: 0; background-image: linear-gradient(180deg, rgba(16,11,29,.16), transparent 42%); }
.failure .section-title { max-width: 760px; }
.failure-list { max-width: 800px; display: grid; gap: 0; padding: 0; margin: 44px 0 0; list-style: none; color: var(--muted-strong); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; }
.failure-list li { padding-block: 18px; border-bottom: 1px solid var(--hairline-soft); }

@media (min-width: 901px) and (max-width: 1100px) {
  .infra-node strong { font-size: 26px; }
  .infra-node span { font-size: 12px; }
  .infra-link { margin-inline: 12px; }
  .scope__layout { grid-template-columns: .85fr 1.15fr; gap: 64px; }
}

@media (max-width: 900px) {
  .page-infrastructure .service-hero { padding-bottom: 68px; }
  .page-infrastructure .service-hero h1 { max-width: 350px; overflow-wrap: break-word; }
  .blueprint { padding-bottom: 64px; }
  .blueprint .section-title { max-width: 340px; }
  .infra-diagram--desktop { display: none; }
  .infra-diagram--mobile { width: min(100%, 330px); min-height: 640px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 0; margin: 54px auto 0; }
  .infra-diagram--mobile > .infra-node { width: 100%; text-align: center; }
  .infra-diagram--mobile > i { width: 1px; height: 58px; position: relative; display: block; margin: 14px 0; background: rgba(245, 242, 235, 0.7); }
  .infra-diagram--mobile > i::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
  .infra-diagram--mobile .infra-node strong { font-size: 25px; }
  .infra-diagram--mobile .infra-node span { max-width: none; font-size: 13px; }
  .mobile-ssl { position: relative; grid-column: 1; grid-row: 6; justify-self: end; align-self: center; width: 118px; display: grid; gap: 5px; padding-left: 16px; border-left: 1px solid var(--hairline); }
  .infra-diagram--mobile > i:nth-of-type(3) { grid-column: 1; grid-row: 6; }
  .mobile-ssl strong { font: 400 22px/1.2 var(--font-display); }
  .mobile-ssl span { color: var(--muted); font-size: 11px; line-height: 1.35; }
  .mobile-outputs { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 48px; }
  .mobile-outputs::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 32px; border: 1px solid rgba(245, 242, 235, 0.7); border-bottom: 0; }
  .infra-diagram--mobile > i:last-of-type { height: 32px; margin-bottom: 0; }
  .infra-diagram--mobile > i:last-of-type::after { content: none; }
  .mobile-outputs .infra-node { position: relative; text-align: center; }
  .mobile-outputs .infra-node::before { content: ""; position: absolute; top: -20px; left: 50%; width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
  .mobile-outputs .infra-node strong { font-size: 22px; }
  .scope__layout { grid-template-columns: 1fr; gap: 32px; }
  .scope .section-title br { display: none; }
  .scope-list section { padding-bottom: 22px; margin-bottom: 22px; }
  .scope-list h3 { font-size: 20px; }
  .failure { padding-top: 40px; }
  .failure-list { gap: 0; margin-top: 34px; font-size: 16px; }
}

@media (max-width: 380px) { .mobile-ssl { width: 108px; } }
