/* Service overview and category pages: restrained information-first refinement. */
.sp-hub,
.sp-xcx {
  --service-ink: #111827;
  --service-text: #334155;
  --service-muted: #64748b;
  --service-line: #dfe5ec;
  --service-soft: #f5f7fa;
  --service-blue: #0969da;
  --service-blue-soft: #edf5ff;
  background: var(--service-soft);
}

/* The closed mobile drawer sits just outside the viewport in phone.css.
   Keep that implementation detail from creating a horizontal page scroll. */
body:has(.sp-hub),
body:has(.sp-xcx) {
  overflow-x: hidden;
}

/* Service hub */
.sp-hub__cap {
  padding: 52px 0 48px;
  text-align: left;
  border-bottom-color: var(--service-line);
}
.sp-hub__cap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
  text-align: left;
}
.sp-hub__cap-title {
  font-size: 28px;
  line-height: 1.32;
  letter-spacing: 0;
}
.sp-hub__cap-title::after,
.sp-hub__pkgs-title::after,
.sp-hub__trust > h2::after,
.sp-hub__why-title::after {
  display: none;
}
.sp-hub__cap-sub {
  max-width: 46em;
  margin: 0;
  padding: 0 0 3px 24px;
  border-left: 1px solid var(--service-line);
  text-align: left;
  color: var(--service-muted);
}
.sp-hub__cap-grid {
  gap: 12px;
}
.sp-hub__cap-card {
  border-radius: 6px;
  border-color: var(--service-line);
  padding: 22px 20px 18px;
  box-shadow: none;
}
.sp-hub__cap-card:hover {
  transform: translateY(-2px);
  border-color: #aebdcd;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.sp-hub__cap-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border-color: var(--service-line);
  background: #fff;
  color: #475569;
}
.sp-hub__cap-icon svg {
  width: 20px;
  height: 20px;
}
.sp-hub__cap-card-title {
  letter-spacing: 0;
}
.sp-hub__cap-chips li {
  border-radius: 4px;
  background: #f7f9fb;
}
.sp-hub__cap-more {
  color: var(--service-blue);
}
.sp-hub__cap-cta {
  margin-top: 26px;
  padding: 12px 22px;
  border: 1px solid var(--service-blue);
  border-radius: 4px;
  background: var(--service-blue);
  box-shadow: none;
}
.sp-hub__cap-cta:hover {
  transform: none;
  background: #075dbc;
  box-shadow: none;
}
.sp-hub__main {
  padding-top: 48px;
}
.sp-hub__pkgs-title,
.sp-hub__pkgs-sub {
  text-align: left;
}
.sp-hub__pkgs-title {
  font-size: 25px;
  margin-bottom: 6px;
}
.sp-hub__pkgs-sub {
  margin-bottom: 30px;
}
.sp-hub-pkg-group {
  margin-bottom: 42px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--service-line);
}
.sp-hub-pkg-group:last-child {
  border-bottom: 0;
}
.sp-hub-pkg-group__head {
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.sp-hub-pkg-group__title {
  font-size: 18px;
  letter-spacing: 0;
}
.sp-hub-pkg-group__intro {
  max-width: 78em;
  line-height: 1.82;
}
.sp-hub-pkg {
  border-radius: 6px;
  border-color: var(--service-line);
  box-shadow: none;
}
.sp-hub-pkg.is-hot {
  border-color: #b9c8d8;
  background: #fff;
}
.sp-hub-pkg:hover {
  border-color: #9fb1c4;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.sp-hub-pkg__hot {
  border-radius: 3px;
}

/* Category page introduction: positioning on the left, selection evidence on the right. */
.sp-xcx {
  padding-bottom: 56px;
}
.sp-xcx__head {
  margin-bottom: 0;
  padding: 48px 0 42px;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid var(--service-line);
}
.sp-xcx__head > .w {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
  grid-template-areas:
    "title lead"
    "subtitle lead"
    "proof proof"
    "bridge bridge";
  column-gap: 68px;
  align-items: start;
}
.sp-xcx__h1 {
  grid-area: title;
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
  color: var(--service-ink);
}
.sp-xcx__h1-sub {
  grid-area: subtitle;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--service-line);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--service-blue);
}
.sp-xcx__lead {
  grid-area: lead;
  max-width: none;
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--service-text);
}
.sp-xcx__badges {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--service-line);
  border-radius: 6px;
  background: #f8fafc;
}
.sp-xcx__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 0;
  border-right: 1px solid var(--service-line);
  background: transparent;
  box-shadow: none;
  color: var(--service-text);
  font-size: 13px;
}
.sp-xcx__badge:last-child {
  border-right: 0;
}
.sp-xcx__bridge {
  grid-area: bridge;
  margin: 18px 0 0;
  text-align: left;
}
.sp-xcx__bridge-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--service-blue);
}
.sp-xcx__bridge-link:hover {
  border: 0;
  background: transparent;
  text-decoration: underline;
}

/* Packages are presented as comparable specifications, not promotional tiles. */
.sp-xcx__pkgs {
  padding: 48px 0 12px;
}
.sp-xcx__sec-title,
.sp-xcx__sec-desc {
  text-align: left;
}
.sp-xcx__sec-title {
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}
.sp-xcx__sec-desc {
  margin-bottom: 28px;
  line-height: 1.7;
}
.sp-xcx__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sp-xcx__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
}
.sp-xcx__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sp-xcx__grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
}
.sp-xcx-card {
  overflow: hidden;
  border: 1px solid var(--service-line);
  border-top: 3px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sp-xcx-card:hover {
  transform: none;
  border-color: #aebdcd;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.sp-xcx-card.is-hot {
  border-color: var(--service-line);
  border-top-color: var(--service-blue);
}
.sp-xcx-card__ribbon {
  top: 18px;
  right: 18px;
  left: auto;
  transform: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--service-blue);
  font-size: 12px;
}
.sp-xcx-card__head,
.sp-xcx-card.is-hot .sp-xcx-card__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "icon name"
    "icon tagline"
    "price price";
  column-gap: 14px;
  padding: 23px 22px 18px;
  overflow: visible;
  border-radius: 0;
  border-bottom-color: var(--service-line);
  background: #fff;
  text-align: left;
}
.sp-xcx-card.is-hot .sp-xcx-card__head {
  padding-right: 22px;
}
.sp-xcx-card__icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid #cfd9e4;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  font-size: 0;
}
.sp-xcx-card.is-hot .sp-xcx-card__icon {
  border-color: #b8d5f7;
  background: var(--service-blue-soft);
  color: var(--service-blue);
}
.sp-xcx-card__icon svg {
  display: block;
  width: 21px;
  height: 21px;
}
.sp-xcx-card__name {
  grid-area: name;
  align-self: end;
  margin: 0 0 2px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--service-ink);
}
.sp-xcx-card__tagline {
  grid-area: tagline;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.sp-xcx-card__price {
  grid-area: price;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf0f4;
}
.sp-xcx-card__price-label,
.sp-xcx-card__price-desc {
  margin: 0;
  font-size: 12px;
  color: var(--service-muted);
}
.sp-xcx-card__price-value {
  min-width: 0;
  justify-content: flex-start;
  color: var(--service-blue);
}
.sp-xcx-card__price-value .is-custom {
  font-size: 21px;
  white-space: nowrap;
}
.sp-xcx-card__body {
  padding: 17px 22px 20px;
}
.sp-xcx-card__feat-title {
  margin-bottom: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  border-bottom-color: #edf0f4;
}
.sp-xcx-card__feats li {
  min-height: 32px;
  padding: 7px 0 7px 20px;
  line-height: 1.45;
}
.sp-xcx-card__feats li::before {
  content: "";
  top: 10px;
  width: 12px;
  height: 12px;
  background: center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230969da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E");
}
.sp-xcx-card__feats li.is-muted {
  color: #94a3b8;
  text-decoration: none;
}
.sp-xcx-card__feats li.is-muted::before {
  content: "";
  top: 15px;
  height: 1px;
  background: #cbd5e1;
}
.sp-xcx-card__foot {
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) minmax(132px, 1fr);
  align-items: center;
  gap: 12px;
}
.sp-xcx-card__btn {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
}
.sp-xcx-card__btn--primary,
.sp-xcx-card.is-hot .sp-xcx-card__btn--primary {
  border-color: var(--service-blue);
  background: var(--service-blue);
  background-image: none;
}
.sp-xcx-card__btn--outline {
  border-color: #b9c8d8;
  color: var(--service-blue) !important;
}
.sp-xcx-card__more {
  margin: 0;
  text-align: right;
  font-size: 12px;
}

/* Comparison and trust sections continue the same editorial rhythm. */
.sp-xcx__compare {
  padding: 52px 0 14px;
}
.sp-xcx__table-wrap {
  border: 1px solid var(--service-line);
  border-radius: 6px;
  box-shadow: none;
}
.sp-xcx__table th {
  background: #f3f6f9;
}
.sp-xcx__table th,
.sp-xcx__table td {
  border-bottom-color: #e7ebf0;
}
.sp-xcx__table th.is-hot,
.sp-xcx__table td.is-hot {
  background: #f1f6fc;
  color: #145da8;
}
.sp-xcx__trust {
  margin-top: 46px;
}
.sp-hub__trust {
  text-align: left;
}
.sp-hub__trust > h2,
.sp-hub__why-title,
.sp-hub__trust > p,
.sp-hub__why-sub,
.sp-hub__promise,
.sp-hub__faq {
  text-align: left;
}
.sp-hub__trust > h2,
.sp-hub__why-title {
  font-size: 25px;
}
.sp-hub__why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--service-line);
}
.sp-hub__why-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--service-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sp-hub__why-card:hover {
  transform: none;
  border-color: var(--service-line);
  background: transparent;
  box-shadow: none;
}
.sp-hub__why-icon {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #ccd7e2;
  border-radius: 6px;
  background: #fff;
  color: var(--service-blue);
}
.sp-hub__why-icon svg {
  width: 19px;
  height: 19px;
}
.sp-hub__why-card h4,
.sp-hub__why-card p {
  grid-column: 2;
}
.sp-hub__why-card h4 {
  margin-bottom: 4px;
}
.sp-hub__promise,
.sp-hub__faq {
  border-top-color: var(--service-line);
}
.sp-hub__promise .sp-guarantee-item {
  border-radius: 6px;
  box-shadow: none;
}
.sp-hub__faq .sp-faq-item {
  border-radius: 6px;
}
.sp-hub__bottom-cta {
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .sp-hub__cap-head,
  .sp-xcx__head > .w {
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    column-gap: 42px;
  }
  .sp-xcx__grid,
  .sp-xcx__grid--3,
  .sp-xcx__grid--4,
  .sp-xcx__grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:has(.sp-hub) .banner2--inner,
  body:has(.sp-xcx) .banner2--inner {
    min-height: 2.8rem;
  }
  body:has(.sp-hub) .banner2--inner .w,
  body:has(.sp-xcx) .banner2--inner .w {
    width: auto;
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
  body:has(.sp-hub) .banner2--inner .banner-heading,
  body:has(.sp-xcx) .banner2--inner .banner-heading {
    font-size: 22px;
    line-height: 1.35;
  }
  body:has(.sp-hub) .banner2--inner .ftitle,
  body:has(.sp-xcx) .banner2--inner .ftitle {
    font-size: 12px;
    line-height: 1.6;
  }
  .sp-hub__cap,
  .sp-xcx__head {
    padding: 34px 0 30px;
  }
  .sp-hub__cap-head,
  .sp-xcx__head > .w {
    display: block;
  }
  .sp-hub__cap-title,
  .sp-xcx__h1 {
    font-size: 24px;
  }
  .sp-hub__cap-sub {
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid var(--service-line);
    border-left: 0;
  }
  .sp-xcx__h1-sub {
    display: inline-block;
    margin-bottom: 18px;
  }
  .sp-xcx__lead {
    font-size: 14px;
    line-height: 1.85;
  }
  .sp-xcx__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }
  .sp-xcx__badge {
    min-height: 44px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--service-line);
    font-size: 12px;
    text-align: center;
  }
  .sp-xcx__badge:nth-child(2) {
    border-right: 0;
  }
  .sp-xcx__badge:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .sp-xcx__bridge {
    margin-top: 16px;
  }
  .sp-xcx__bridge-link {
    display: inline;
    line-height: 1.7;
  }
  .sp-xcx__pkgs {
    padding-top: 36px;
  }
  .sp-xcx__sec-title,
  .sp-hub__pkgs-title,
  .sp-hub__trust > h2,
  .sp-hub__why-title {
    font-size: 21px;
  }
  .sp-xcx__grid,
  .sp-xcx__grid--3,
  .sp-xcx__grid--4,
  .sp-xcx__grid--5,
  .sp-hub__why-grid {
    grid-template-columns: 1fr;
  }
  .sp-xcx-card__head,
  .sp-xcx-card.is-hot .sp-xcx-card__head {
    padding: 20px 18px 16px;
  }
  .sp-xcx-card.is-hot .sp-xcx-card__head {
    padding-right: 18px;
  }
  .sp-xcx-card__body {
    padding: 16px 18px 18px;
  }
  .sp-xcx-card__foot {
    grid-template-columns: 1fr 1fr;
  }
  .sp-xcx__compare {
    padding-top: 42px;
  }
  .sp-hub__cap-grid {
    gap: 10px;
  }
  .sp-hub__main {
    padding-top: 36px;
  }
}

/* The site's phone stylesheet applies the mobile header at 768px. Keep the
   service content readable when that header is active, without changing the
   existing floating consultation controls. */
@media (max-width: 768px) {
  body:has(.sp-hub) .sp-hub .w,
  body:has(.sp-xcx) .sp-xcx .w {
    width: auto;
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
  body:has(.sp-hub) .sp-hub__cap-grid,
  body:has(.sp-xcx) .sp-xcx__grid,
  body:has(.sp-xcx) .sp-xcx__grid--3,
  body:has(.sp-xcx) .sp-xcx__grid--4,
  body:has(.sp-xcx) .sp-xcx__grid--5 {
    grid-template-columns: 1fr;
  }
  body:has(.sp-xcx) .sp-xcx__table-wrap {
    width: 100%;
  }
  body:has(.sp-xcx) .sp-xcx__table {
    min-width: 680px;
  }
  body:has(.sp-hub) .sp-hub__cap,
  body:has(.sp-xcx) .sp-xcx__head {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .sp-xcx-card__price {
    grid-template-columns: auto 1fr;
  }
  .sp-xcx-card__price-desc {
    grid-column: 1 / -1;
  }
  .sp-xcx-card__foot {
    grid-template-columns: 1fr;
  }
  .sp-xcx-card__more {
    text-align: left;
  }
}

/* Give the package decision a clear visual anchor without turning the page
   into a wall of promotional tiles. */
.sp-xcx-card__icon {
  border: 0;
  background: linear-gradient(135deg, #0b7cff 0%, #16b8d4 100%);
  color: #fff;
  box-shadow: 0 5px 12px rgba(11, 124, 255, 0.15);
}
.sp-xcx-card.is-hot .sp-xcx-card__icon {
  border: 0;
  background: linear-gradient(135deg, #0b7cff 0%, #16b8d4 100%);
  color: #fff;
}
.sp-xcx-card.is-hot .sp-xcx-card__head {
  background: #f7fbff;
}
.sp-xcx-card.is-hot .sp-xcx-card__tagline,
.sp-xcx-card.is-hot .sp-xcx-card__more {
  color: #1769ad;
}
.sp-xcx-card__btn--primary,
.sp-xcx-card.is-hot .sp-xcx-card__btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0b7cff 0%, #16a9cf 100%);
  box-shadow: 0 6px 14px rgba(11, 124, 255, 0.16);
}
.sp-xcx-card__btn--primary:hover,
.sp-xcx-card.is-hot .sp-xcx-card__btn--primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #0869d8 0%, #1098bb 100%);
  box-shadow: 0 8px 16px rgba(11, 124, 255, 0.22);
}

/* Server selection is a deployment decision, so it sits between packages and
   feature comparison as a compact, scannable choice row. */
.sp-server-choice {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.78fr);
  gap: 28px;
  align-items: start;
  margin-top: 26px;
  padding: 28px 0 0;
  border-top: 1px solid var(--service-line);
}
.sp-server-choice__intro {
  padding-right: 14px;
}
.sp-server-choice__eyebrow {
  margin: 0 0 8px;
  color: var(--service-blue);
  font-size: 12px;
  line-height: 1.4;
}
.sp-server-choice__intro h2 {
  margin: 0 0 9px;
  color: var(--service-ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}
.sp-server-choice__intro p {
  margin: 0;
  color: var(--service-text);
  font-size: 13px;
  line-height: 1.75;
}
.sp-server-choice__intro .sp-server-choice__note {
  margin-top: 10px;
  color: var(--service-muted);
  font-size: 12px;
}
.sp-server-choice__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sp-server-choice__option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-height: 142px;
  padding: 17px 15px 15px;
  border: 1px solid var(--service-line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sp-server-choice__option:hover {
  border-color: #aebdcd;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.sp-server-choice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b7cff 0%, #16b8d4 100%);
  color: #fff;
}
.sp-server-choice__icon svg {
  width: 18px;
  height: 18px;
}
.sp-server-choice__option h3 {
  margin: 0 0 5px;
  color: var(--service-ink);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
}
.sp-server-choice__option p {
  min-height: 48px;
  margin: 0;
  color: var(--service-muted);
  font-size: 12px;
  line-height: 1.65;
}
.sp-server-choice__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--service-blue);
  font-size: 12px;
  line-height: 1.4;
}
.sp-server-choice__link:hover {
  color: #075dbc;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .sp-server-choice {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sp-server-choice__intro {
    max-width: 650px;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .sp-server-choice {
    display: block;
    margin-top: 20px;
    padding-top: 24px;
  }
  .sp-server-choice__intro {
    margin-bottom: 16px;
  }
  .sp-server-choice__intro h2 {
    font-size: 21px;
  }
  .sp-server-choice__options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sp-server-choice__option {
    min-height: 0;
    padding: 15px 14px;
  }
  .sp-server-choice__option p {
    min-height: 0;
  }
}
