.service-home {
  background: #fff;

  /* Original hero palette, retained for easy restoration. */
  --home-navy-reserve: #14283f;
  --home-frame-reserve: #20364f;
  --home-frame-border-reserve: #41566f;
  --home-on-blue-muted-reserve: #c1cfdf;
  --home-navy: var(--home-navy-reserve);
  --home-hero-blue: #eaf3ff;
  --home-hero-frame: #f5f9ff;
  --home-hero-frame-border: #ccdef6;
  --home-on-blue-muted: #4f6583;
  --home-line: #e0e6ee;
  --home-muted: #58677a;
  --home-page-inset: max(calc((100vw - 1200px) / 2), calc(clamp(48px, 18.4vw, 264px) / 2));
}

.service-home .public-product-header,
.service-home .home-footer {
  padding-inline: var(--home-page-inset);
}

.service-home img {
  max-width: 100%;
}

.service-home a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 5px;
}

.home-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: #14283f;
  transform: translateY(-160%);
}

.home-skip:focus {
  transform: translateY(0);
}

.home-container {
  width: calc(100% - 2 * var(--home-page-inset));
  margin-inline: auto;
}

.home-eyebrow {
  margin: 0 0 18px;
  color: #65738a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.service-home h1,
.service-home h2,
.service-home h3 {
  color: var(--home-navy);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.service-home h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.12;
}

.service-home h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
}

.home-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.75;
}

.home-button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid #2563eb;
  border-radius: 4px;
  color: #fff;
  background: #2563eb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.home-button:hover {
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.home-inline-link {
  color: #2452a5;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-contact p:not(.home-eyebrow) {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.75;
}

.home-contact {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding-block: 56px;
}

.home-contact h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.home-contact > .home-button {
  flex-shrink: 0;
}

.home-preview-note {
  margin-block: 0 26px;
  color: #68768a;
  font-size: 10px;
  line-height: 1.7;
}

.home-footer {
  flex-wrap: wrap;
  gap: 20px;
}

.home-two-hero {
  padding: 170px 0 110px;
  color: var(--home-navy);
  background: #fff;
}

.home-two-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.home-capabilities {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 136px;
}

.home-capability {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 420px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid #e6e8eb;
  border-radius: 16px;
  background: #fff;
}

.home-capability-featured > p {
  max-width: 260px;
}

.home-capability-art {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  height: 210px;
  mask-image: linear-gradient(#000 65%, transparent);
  pointer-events: none;
}

.home-capability-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-capability-art-embeds {
  inset: 118px -48px auto auto;
  width: 310px;
  height: 212px;
  mask-image: linear-gradient(110deg, transparent, #000 28%);
}

.home-capability-art-portal svg,
.home-capability-art-platform svg {
  width: 310px;
  max-width: none;
}

.home-capability-art-platform {
  height: 230px;
}

.home-capability-art-portal,
.home-capability-art-platform {
  position: relative;
  inset: auto;
  flex-shrink: 0;
  width: calc(100% + 52px);
  margin: 24px -26px 0;
}

.home-capability h2 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.home-capability-title-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-capability p,
.home-capability-features {
  margin: 0;
  color: #707984;
  font-size: 14px;
  line-height: 1.7;
}

.home-capability strong {
  color: #253243;
  font-weight: 500;
}

.home-capability-features {
  display: grid;
  gap: 3px;
  position: relative;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.home-capability-features li::before {
  content: '\2713';
  margin-right: 8px;
  color: #677484;
}

.home-capability-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: #2452a5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.home-capability-featured .home-capability-link {
  margin-top: 0;
}

.home-capability-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-two-hero h1 {
  color: var(--home-navy);
  font-size: clamp(30px, 3.2vw, 48px);
}

.home-two-hero h1 span {
  color: #2563eb;
}

.home-two-hero-description {
  padding-top: 8px;
  padding-left: 100px;
}

.home-two-hero .home-lead {
  max-width: 460px;
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.home-hero-actions .home-button {
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
}

.home-button-secondary {
  border-color: #d1d9e5;
  color: var(--home-navy);
  background: #fff;
}

.home-button-secondary:hover {
  border-color: #aab9ce;
  background: #f5f8fc;
}

.home-hero-product {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-hero-frame-border);
  border-radius: 6px;
  background: var(--home-hero-frame);
  box-shadow: 0 18px 45px rgb(0 0 0 / 6%);
}

.home-product-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.home-hero-product > a,
.home-story-visual > a {
  display: block;
}

.home-hero-product > a {
  margin-inline: 18px;
}

.home-hero-product img,
.home-story-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-product figcaption {
  padding: 16px 18px;
  color: var(--home-on-blue-muted);
  font-size: 11px;
  line-height: 1.7;
}

.home-hero-product figcaption a {
  display: inline-block;
  margin-left: 6px;
  color: #2452a5;
  text-underline-offset: 3px;
}

.home-two-hero a:focus-visible {
  outline-color: #2563eb;
  outline-offset: 3px;
}

.home-service-stories,
.home-story {
  scroll-margin-top: 100px;
}

.home-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
  padding: 70px 0;
}

.home-story h2 {
  font-size: 36px;
}

.home-story-copy > p:not(.home-eyebrow) {
  margin: 0 0 18px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.8;
}

.home-story-copy .home-button {
  margin-top: 8px;
}

.home-story-sub-link {
  display: block;
  margin-top: 20px;
}

.home-story-visual {
  min-width: 0;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 6px;
  background: #f5f7fa;
}

.home-editorial-heading {
  margin-bottom: 20px;
}

.home-embed-slide > a {
  display: block;
}

.home-embed-slide img {
  aspect-ratio: 35 / 24;
  object-fit: contain;
  background: #fff;
}

.home-embed-slider-controls {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  border-bottom: 1px solid var(--home-line);
}

.home-embed-slider-controls[hidden] {
  display: none;
}

.home-embed-slider-controls button {
  min-height: 36px;
  margin-bottom: -1px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--home-muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.home-embed-slider-controls button:hover {
  color: var(--home-navy);
}

.home-embed-slider-controls button[aria-selected='true'] {
  color: #2452a5;
  border-bottom-color: currentcolor;
}

.home-embed-slider-controls button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.home-editorial-heading > span {
  color: #65738a;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-editorial-heading strong {
  display: block;
  margin-top: 10px;
  color: var(--home-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.home-editorial-heading p {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.7;
}

.home-story-visual figcaption {
  margin-top: 16px;
  color: #65738a;
  font-size: 10px;
  line-height: 1.6;
}

.home-story-reversed {
  grid-template-columns: 1.15fr 0.85fr;
  border-top: 1px solid var(--home-line);
}

.home-story-reversed .home-story-copy {
  grid-column: 2;
  grid-row: 1;
}

.home-story-reversed .home-story-visual,
.home-story-reversed .home-platform-product {
  grid-column: 1;
  grid-row: 1;
}

.home-research-preview {
  padding: 18px;
  background: #edf1f6;
}

.home-research-preview .home-product-heading {
  padding: 0 0 16px;
  color: #4b6078;
}

.home-two-contact {
  margin-bottom: 24px;
  border-block: 1px solid var(--home-line);
  background: #f5f7fa;
}

@media (max-width: 1100px) {
  .service-home {
    --home-page-inset: 24px;
  }
}

@media (max-width: 1000px) {
  .home-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-capability-featured {
    grid-column: 1 / -1;
  }

  .home-two-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    transform: none;
  }

  .home-two-hero-description {
    padding-top: 0;
    padding-left: 0;
  }

  .home-hero-product {
    width: min(700px, 100%);
  }

  .home-story {
    gap: 36px;
  }
}

@media (max-width: 700px) {
  .service-home {
    --home-page-inset: 16px;
  }

  .home-two-hero {
    padding-block: 44px;
  }

  .home-capabilities {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 112px;
  }

  .home-capability {
    padding: 24px;
  }

  .home-capability-art {
    margin-inline: 0;
  }

  .home-capability-art-portal,
  .home-capability-art-platform {
    width: calc(100% + 48px);
    margin-inline: -24px;
  }

  .home-capability-featured {
    min-height: 470px;
  }

  .home-capability-art-embeds {
    top: 140px;
  }

  .home-lead {
    font-size: 15px;
  }

  .home-contact {
    align-items: start;
    flex-direction: column;
    gap: 24px;
    padding-block: 36px;
  }

  .home-contact h2 {
    font-size: 25px;
  }

  .home-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 40px;
    scroll-margin-top: 150px;
  }

  .home-story h2 {
    font-size: 30px;
  }

  .home-story-reversed .home-story-copy,
  .home-story-reversed .home-story-visual,
  .home-story-reversed .home-platform-product {
    grid-column: auto;
    grid-row: auto;
  }

  .home-story-visual {
    padding: 16px;
  }

  .home-service-stories {
    scroll-margin-top: 140px;
  }
}

@media (max-width: 380px) {
  .service-home h1 {
    font-size: 34px;
  }
}
