.sn-page {
  background: #fff;
}
.sn-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #071d33;
  color: #fff;
}
.sn-hero:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, #071d33);
}
.sn-hero-photo {
  position: absolute;
  inset: 0 0 0 46%;
}
.sn-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4) contrast(1.05);
  opacity: 0.68;
}
.sn-hero-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #071d33 0%, #071d33c7 18%, #071d3314 65%),
    linear-gradient(0deg, #071d33aa, transparent 44%);
}
.sn-hero-photo span {
  position: absolute;
  z-index: 2;
  inset: 16% 10% 12% 18%;
  border: 1px solid #73dfe16e;
  background: linear-gradient(145deg, #329ef61f, #03cea429);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 100px #03cea42b;
  transform: skewY(-3deg);
}
.sn-hero-in {
  position: relative;
  z-index: 3;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.sn-hero-copy {
  width: min(690px, 58%);
  padding-top: 78px;
}
.sn-hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.sn-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #b7a8ff, #59c0ff, #55e1c7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sn-hero-copy > p:last-of-type {
  max-width: 580px;
  margin: 25px 0;
  color: #c7d5e2;
  font-size: 17px;
}
.sn-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.sn-secondary {
  padding: 13px 20px;
  border: 1px solid #ffffff70;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
}
.sn-impact {
  position: relative;
  z-index: 4;
  margin-top: -92px;
  padding-bottom: 34px;
  color: #fff;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  border: 1px solid #ffffff3b;
  background: #0b2940d9;
  backdrop-filter: blur(18px);
}
.impact-title,
.impact-grid article {
  min-height: 190px;
  padding: 27px 24px;
  border-right: 1px solid #ffffff2b;
}
.impact-title h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}
.impact-grid article:last-child {
  border: 0;
}
.impact-grid strong {
  display: block;
  font-size: 46px;
  line-height: 1;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.impact-grid article:nth-child(3) strong {
  color: #58d7bc;
}
.impact-grid article:nth-child(4) strong {
  color: #ffc857;
}
.impact-grid article:nth-child(5) strong {
  color: #da7795;
}
.impact-grid span {
  display: block;
  margin: 10px 0 8px;
  font-weight: 600;
}
.impact-grid p {
  margin: 0;
  color: #9eb1c3;
  font-size: 12px;
}
.sn-solutions {
  background: linear-gradient(180deg, #fff, #eef5fa);
}
.product-stack {
  display: grid;
  gap: 18px;
}
.product-card {
  --accent: #03cea4;
  position: relative;
  display: grid;
  grid-template-columns: 72px 185px minmax(0, 1fr) 68px;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid #d7e2eb;
  background: #fff;
  box-shadow: 0 14px 36px #173b5d0b;
  transition: 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px #173b5d16;
}
.product-number {
  padding: 24px 0;
  text-align: center;
  color: #789;
  font-size: 12px;
}
.product-accent {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(
    155deg,
    #071d33 5%,
    color-mix(in srgb, var(--accent) 72%, #071d33)
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}
.product-accent:before,
.product-accent:after {
  content: '';
  position: absolute;
  border: 1px solid #ffffff4d;
  background: #ffffff12;
  box-shadow: 0 14px 40px #0004;
}
.product-accent:before {
  width: 94px;
  height: 115px;
  top: 29px;
  left: 25px;
  transform: rotate(-10deg);
}
.product-accent:after {
  width: 83px;
  height: 94px;
  top: 61px;
  left: 68px;
  transform: rotate(9deg);
}
.product-accent span {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.product-copy {
  padding: 30px 38px;
}
.product-kicker {
  margin: 0 0 5px !important;
  color: var(--accent) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.product-copy h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.product-copy > p {
  margin: 0 0 15px;
  color: #60718a;
}
.product-copy ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-copy li {
  color: #4e6078;
  font-size: 12px;
}
.product-copy li:before {
  content: '✓';
  margin-right: 7px;
  color: #069f83;
  font-weight: 700;
}
.product-link {
  align-self: center;
  justify-self: center;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid #9caebe;
  border-radius: 50%;
  text-decoration: none;
  font-size: 21px;
}
.product-purple {
  --accent: #da7795;
}
.product-gold {
  --accent: #e6a827;
}
.product-blue {
  --accent: #329ef6;
}
.agent-catalogue {
  background: #071d33;
  color: #fff;
}
.agent-catalogue .intro > p {
  color: #aebdcb;
}
.agent-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.agent-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-filter {
  padding: 9px 12px;
  border: 1px solid #ffffff30;
  border-radius: 99px;
  background: transparent;
  color: #c7d3de;
  font: 600 12px Manrope;
  cursor: pointer;
}
.agent-filter.active,
.agent-filter:hover {
  background: #fff;
  color: #071d33;
}
.agent-key {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #93a9bb;
  font-size: 11px;
}
.agent-key span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.agent-key i,
.status-pill i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 2px;
}
.demo {
  background: #03cea4;
}
.guided {
  background: #329ef6;
}
.active {
  background: #8193a4;
}
.agent-board {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 9px;
}
.agent-card {
  --cat: #da7795;
  min-height: 132px;
  padding: 14px 12px 11px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff20;
  border-top: 3px solid var(--cat);
  background: #ffffff0a;
  transition: 0.2s;
}
.agent-card:hover {
  transform: translateY(-3px);
  background: #ffffff12;
}
.agent-card h3 {
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.agent-category {
  color: var(--cat);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #8fa4b5;
  font-size: 9px;
}
.cat-HR {
  --cat: #da7795;
}
.cat-INCIDENT {
  --cat: #329ef6;
}
.cat-APP-PORTFOLIO {
  --cat: #ffc857;
}
.cat-PROCUREMENT {
  --cat: #03cea4;
}
.cat-COMPLIANCE {
  --cat: #f36f63;
}
.cat-STANDALONE {
  --cat: #57d4c2;
}
.cat-ROADMAP {
  --cat: #a5b1bd;
}
.agent-card.hidden {
  display: none;
}
.agent-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ffffff24;
}
.agent-cta p {
  color: #aebdcb;
}
.agent-cta a {
  color: #60cdb9;
  text-decoration: none;
  font-weight: 700;
}
.sn-clients {
  padding-bottom: 90px;
}
.sn-identity {
  background: #eef5fa;
}
.sn-cta {
  padding: 100px 0;
  background: linear-gradient(110deg, #071d33, #0b304b);
  color: #fff;
}
.sn-cta .wrap {
  max-width: 1380px;
}
.sn-cta h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.sn-cta p:not(.eyebrow) {
  max-width: 620px;
  color: #b7c6d4;
  font-size: 16px;
  margin: 22px 0 26px;
}
@media (max-width: 1100px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .impact-title {
    grid-column: 1/-1;
    min-height: auto;
  }
  .impact-grid article {
    border-top: 1px solid #ffffff2b;
  }
  .agent-board {
    grid-template-columns: repeat(5, 1fr);
  }
  .product-card {
    grid-template-columns: 55px 150px minmax(0, 1fr) 55px;
  }
  .product-copy {
    padding: 27px;
  }
  .product-copy ul {
    display: grid;
    gap: 5px;
  }
}
@media (max-width: 720px) {
  .sn-hero,
  .sn-hero-in {
    min-height: 700px;
  }
  .sn-hero-photo {
    left: 0;
    opacity: 0.42;
  }
  .sn-hero-photo:after {
    background: linear-gradient(180deg, #071d3325, #071d33 80%);
  }
  .sn-hero-copy {
    width: 100%;
    align-self: flex-end;
    padding: 0 0 145px;
  }
  .sn-hero h1 {
    font-size: 42px;
  }
  .sn-impact {
    margin-top: -105px;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .impact-grid article {
    min-height: 170px;
  }
  .product-card {
    grid-template-columns: 45px minmax(0, 1fr) 48px;
  }
  .product-accent {
    display: none;
  }
  .product-copy {
    padding: 25px 16px;
  }
  .product-copy h3 {
    font-size: 25px;
  }
  .agent-topline {
    display: block;
  }
  .agent-key {
    margin-top: 16px;
  }
  .agent-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .agent-card {
    min-height: 126px;
  }
  .sn-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .sn-actions a {
    text-align: center;
  }
  .sn-cta {
    padding: 72px 0;
  }
}

/* v30 cohesion refinements */
.sn-hero,
.sn-hero-in {
  min-height: 750px;
  height: 750px;
}
.sn-hero-in {
  justify-content: space-between;
  gap: 70px;
}
.sn-hero-copy {
  width: min(650px, 53%);
  padding-top: 82px;
}
.sn-hero h1 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.sn-hero-copy > p:last-of-type {
  max-width: 560px;
  margin: 18px 0 22px;
  font-size: 15px;
}
.sn-hero .button {
  padding: 12px 18px;
  font-size: 13px;
}
.sn-hero-photo {
  left: 48%;
  opacity: 0.44;
}
.sn-hero-photo:after {
  background:
    linear-gradient(90deg, #071d33 0%, #071d33dd 24%, #071d3366 70%),
    linear-gradient(0deg, #071d33b5, transparent 50%);
}
.sn-logo-panel {
  position: relative;
  width: min(460px, 39%);
  height: 360px;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.sn-logo-panel > div {
  position: relative;
  z-index: 3;
  width: 82%;
  padding: 42px 34px;
  border: 1px solid #ffffff73;
  background: #f8ffffe8;
  box-shadow: 0 32px 80px #00182c80;
  backdrop-filter: blur(14px);
  transform: rotateY(-8deg);
}
.sn-logo-panel img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.logo-layer {
  position: absolute;
  width: 69%;
  height: 73%;
  border: 1px solid #72d8e66b;
  background: linear-gradient(145deg, #329ef62c, #03cea429);
  backdrop-filter: blur(8px);
}
.layer-one {
  left: 2%;
  top: 2%;
  transform: rotateY(12deg) translateZ(-30px);
}
.layer-two {
  right: 0;
  bottom: 1%;
  transform: rotateY(-15deg) translateZ(-55px);
}
.sn-impact {
  margin-top: -72px;
  padding: 0 0 42px;
  color: var(--ink);
}
.impact-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.impact-grid article,
.impact-grid article:last-child {
  position: relative;
  min-height: 158px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px #173b5d15;
}
.impact-grid article:nth-child(2) {
  border-top-color: var(--blue);
}
.impact-grid article:nth-child(3) {
  border-top-color: var(--pink);
}
.impact-grid article:nth-child(4) {
  border-top-color: #ffc857;
}
.impact-grid strong,
.impact-grid article:nth-child(n) strong {
  font-size: 44px;
  color: #142a4d;
}
.impact-grid p {
  margin: 10px 0 0;
  color: #60718a;
  font-size: 12px;
  line-height: 1.45;
}
.sn-partner {
  padding-top: 70px;
  background: #fff;
}
.partner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.partner-intro {
  padding-top: 8px;
}
.partner-intro h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.partner-intro > p:last-child {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
}
.partner-points {
  display: grid;
  gap: 15px;
}
.partner-points article {
  position: relative;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fbfdff) padding-box,
    linear-gradient(90deg, var(--teal), var(--blue)) border-box;
  box-shadow: 0 15px 34px #173b5d0c;
}
.partner-points h3 {
  margin: 0 0 7px;
  font-size: 19px;
}
.partner-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.product-accent {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.product-accent svg {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-accent span {
  align-self: flex-start;
}
@media (max-width: 980px) {
  .sn-hero-in {
    gap: 30px;
  }
  .sn-logo-panel {
    width: 38%;
    height: 300px;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .sn-hero,
  .sn-hero-in {
    min-height: 700px;
    height: 700px;
  }
  .sn-hero-in {
    display: flex;
  }
  .sn-hero-copy {
    width: 100%;
    padding: 0 0 115px;
  }
  .sn-logo-panel {
    position: absolute;
    right: 0;
    top: 95px;
    width: 48%;
    height: 190px;
    opacity: 0.9;
  }
  .sn-logo-panel > div {
    padding: 24px 18px;
  }
  .sn-impact {
    margin-top: -78px;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .impact-grid article {
    min-height: 150px;
    padding: 18px 15px;
    border-radius: 15px;
  }
  .impact-grid strong,
  .impact-grid article:nth-child(n) strong {
    font-size: 36px;
  }
  .partner-grid {
    gap: 30px;
  }
  .partner-intro h2 {
    font-size: 38px;
  }
  .partner-points article {
    padding: 21px;
  }
  .product-accent {
    display: none;
  }
}
.sn-solution-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 34px;
  align-items: start;
  margin: 76px 0 22px;
  padding-top: 34px;
  border-top: 1px solid rgba(25, 68, 113, 0.12);
}
.sn-solution-group:first-of-type {
  margin-top: 48px;
}
.sn-solution-group h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.sn-solution-group .product-kicker {
  margin-top: 7px !important;
}
@media (max-width: 720px) {
  .sn-solution-group {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 56px;
  }
}

/* v32 ServiceNow page alignment */
.sn-partner {
  padding-bottom: 46px;
}
.sn-solutions {
  padding-top: 46px;
}
.sn-solution-group {
  display: block;
  margin: 64px 0 24px;
  padding-top: 30px;
}
.sn-solution-group:first-of-type {
  margin-top: 40px;
}
.sn-solution-group h3 {
  max-width: 760px;
  margin-top: 8px;
}
.product-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 20px;
}
.product-number {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  color: #fff;
  background: #071d337d;
  backdrop-filter: blur(8px);
}
.product-accent {
  flex: 0 0 162px;
  width: 100%;
  padding: 22px;
  align-items: center;
  justify-content: center;
}
.product-accent:before {
  width: 80px;
  height: 94px;
  top: 22px;
  left: calc(50% - 58px);
}
.product-accent:after {
  width: 72px;
  height: 82px;
  top: 49px;
  left: calc(50% - 12px);
}
.product-accent svg {
  width: 64px;
  height: 64px;
}
.product-accent span {
  position: absolute;
  left: 22px;
  bottom: 18px;
}
.product-copy {
  flex: 1;
  padding: 28px 28px 18px;
}
.product-copy h3 {
  font-size: 25px;
}
.product-copy > p {
  line-height: 1.65;
}
.product-copy ul {
  display: grid;
  gap: 7px;
}
.product-link {
  flex: 0 0 45px;
  margin: 0 26px 26px auto;
  color: #173b5d;
}
.sn-cta {
  padding: 90px 0;
}
.sn-cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 70px;
  align-items: center;
}
.sn-cta-grid img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(1);
}
@media (max-width: 1000px) {
  .product-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sn-cta-grid {
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .sn-partner {
    padding-bottom: 38px;
  }
  .sn-solutions {
    padding-top: 38px;
  }
  .sn-solution-group {
    margin-top: 48px;
  }
  .product-stack {
    grid-template-columns: 1fr;
  }
  .product-card {
    display: flex;
  }
  .product-accent {
    display: flex;
  }
  .sn-cta-grid {
    grid-template-columns: 1fr;
  }
  .sn-cta-grid img {
    margin-top: 18px;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
