:root {
  --blue: #3D59A7;
  --teal: #00c2a8;
  --ink: #0A1230;
  --ink2: #101B42;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --line: #E3E9F4;
  --line-dark: rgba(255, 255, 255, .10);
  --paperink: #4b4f54;
  --chrome: #E9EBEF;
  --chrome-line: #D8DBE1;
  --slate: #4A5875;
  --slate-dark: #9AA7CE;
  --tint: #EBF0FA;
  --teal-soft: rgba(45, 186, 164, .12);
  --grad: linear-gradient(120deg, #3D59A7 0%, #00c2a8 100%);
  --grad-deep: linear-gradient(150deg, #0A1230 0%, #16255C 55%, #1E3A7A 100%);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 18px 50px -18px rgba(10, 18, 48, .28);
  --shadow-sm: 0 8px 24px -12px rgba(10, 18, 48, .18);
  --xblue: #1f4ed8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .45
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
.disp {
  font-family: 'Schibsted Grotesk', 'Inter', sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter';
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal)
}

.eyebrow.on-dark {
  color: var(--teal)
}

section {
  position: relative;
  padding: 104px 0;
  color: var(--paperink);
}

.sec-head {
  max-width: 760px;
  margin: 0 auto;
  margin-bottom: 56px
}

.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 14px 0 16px
}

.sec-head p {
  color: var(--slate);
  font-size: 22px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto
}

.center .eyebrow {
  justify-content: center
}

section.separator::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 1px;
  background-color: var(--paperink);
  opacity: 10%;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--chrome);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--chrome-line)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px
}

.nav-links {
  display: flex;
  gap: 34px
}

.nav-links a {
  color: var(--slate);
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--ink)
}

.nav-links a.active {
  color: var(--ink)
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter';
  font-weight: 600;
  font-size: .97rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: all .22s ease, transform .1s ease
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  background-size: 160% 100%;
  background-position: 0 0;
}

.nav .btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(31, 78, 216, .55)
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(31, 78, 216, .55)
}

.btn-blue {
  background: var(--blue);
  color: #fff
}

.btn-blue:hover {
  background: #4867BE;
  transform: translateY(-1px)
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .28)
}

.btn-ghost:hover {
  border-color: #fff
}

.btn-ghost-ink {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid #C3CFEA
}

.btn-ghost-ink:hover {
  border-color: var(--blue)
}

.btn .arrow {
  transition: transform .22s
}

.btn:hover .arrow {
  transform: translateX(3px)
}

.textlink {
  color: var(--xblue);
  font-weight: 600;
  font-size: .97rem;
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.textlink:hover .arrow {
  transform: translateX(3px)
}

.textlink .arrow {
  transition: transform .22s
}

/* ---------- hero (dark) ---------- */
.hero {
  position: relative;
  background: var(--paper);
  color: var(--paperink);
  overflow: hidden;
  padding: 110px 0 0
}

.hero .signal {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto
}

.hero h1 {
  font-size: clamp(2.4rem, 7.5vw, 90px);
  font-weight: 800;
  letter-spacing: -.03em
}

.shine {
  color: #1f4ed8;
  background: linear-gradient(90deg,
      #1f4ed8 0%,
      #3d59a7 30%,
      #00c2a8 50%,
      #3d59a7 70%,
      #1f4ed8 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shine 4s ease-in-out 1 forwards;
  animation-iteration-count: infinite;
}

@keyframes shine {
  0% {
    background-position: 100% 0;
  }

  80% {
    background-position: -50% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.hero p.lede {
  margin: 24px auto 0;
  max-width: 680px;
  color: var(--paperink);
  font-size: 20px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 38px
}

.hero-ctas .btn-primary {
  background: var(--grad);
  background-size: 160% 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 18px;
  color: var(--paperink);
  font-weight: 500;
  margin-bottom: 26px
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 186, 164, .22)
}

.hero-badge2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(100deg, var(--xblue) 0%, var(--teal) 100%);
  color: #fff;
  padding: 9px 22px;
  border-radius: 999px;
  margin: 36px auto 0;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
}

.hero-badge2 .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex: none
}

.hero-shot {
  position: relative;
  margin: 36px auto 128px;
  max-width: 1020px;
}

.hero-shot .frame {
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  border-bottom: 0;
  transform: rotateX(6deg);
  transform-origin: bottom;
  width: 100%;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -8%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(45, 186, 164, .28), transparent 70%);
  pointer-events: none
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: translateY(2px);
}

video,
video *,
video:focus,
video:active {
  outline: none !important;
  outline: 0 !important;
  clip-path: inset(3px 2px 0px 5px) !important;
  -webkit-tap-highlight-color: transparent;
  /* Fixes mobile click boxes */
}

/* ---------- trust band ---------- */
.trust {
  background: #fff;
  color: var(--paperink);
  padding: 64px 0;
  border-top: 1px solid var(--line-dark)
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center
}

.trust .num {
  font-family: 'Schibsted Grotesk';
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--xblue)
}

.trust .num em {
  font-style: normal;
}

.trust .lbl {
  color: var(--paperink);
  font-size: 18px;
  margin-top: 6px
}

.trust-note {
  text-align: center;
  color: var(--paperink);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 40px
}

.num.currency::before {
  content: "$" counter(num);
}

@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.reveal.in .num {
  counter-reset: num var(--num);
  animation: countUp 4s ease-out forwards;
}

.num::before {
  content: counter(num);
}

@keyframes countUp {
  to {
    --num: var(--target);
  }
}

.card.problem-card {
  position: relative;
  overflow: visible
}

.problem-art {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: var(--w, 240px);
  transform: translateX(-50%);
  margin-bottom: var(--overlap, 0px);
  pointer-events: none
}

/* ---------- cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: all .25s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #CBD7EF
}

.card h3 {
  font-size: 20px;
  margin: 18px 0 10px
}

.card p {
  color: var(--slate);
  font-size: 18px;
}

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint)
}

.icon-chip.teal {
  background: var(--teal-soft)
}

.tag {
  display: inline-block;
  background: var(--tint);
  color: var(--xblue);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase
}

.tag.teal {
  background: var(--teal-soft);
  color: #149181
}

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center
}

.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 18px
}

.split p {
  color: var(--slate);
  margin-bottom: 14px
}

.split .visual {
  background: #1d232a;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  border: 10px solid #1d232a
}

.check-list {
  list-style: none;
  margin: 20px 0
}

.check-list li {
  font-size: 18px;
  padding-left: 34px;
  position: relative;
  margin-bottom: 13px;
  color: var(--ink);
  font-weight: 500
}

.check-list li span {
  color: var(--slate);
  font-weight: 400
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23149181" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat
}

/* ---------- dark section ---------- */
.dark {
  background: var(--ink);
  color: var(--paper)
}

.dark .sec-head p,
.dark .card p {
  color: var(--slate-dark)
}

.dark .card {
  background: var(--ink2);
  border-color: var(--line-dark)
}

.dark .card:hover {
  border-color: rgba(45, 186, 164, .4);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .6)
}

/* ---------- quote ---------- */
.quote-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center
}

.quote blockquote {
  font-family: 'Schibsted Grotesk';
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.01em
}

.quote blockquote .hl {
  color: var(--blue)
}

.quote .who {
  margin-top: 26px;
  color: var(--slate);
  font-size: .95rem
}

.quote .who b {
  color: var(--ink)
}

.quote .stars {
  color: var(--teal);
  letter-spacing: 4px;
  margin-bottom: 22px;
  font-size: 1.05rem
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: #fff;
  color: var(--paperink);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--paperink)
}

.cta-band .signal {
  position: absolute;
  inset: 0;
  opacity: .45;
  pointer-events: none
}

.cta-band h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  position: relative
}

.cta-band p {
  position: relative;
  color: #B9C4E6;
  max-width: 560px;
  margin: 18px auto 34px;
  font-size: 1.08rem
}

.cta-band .hero-ctas {
  position: relative
}


/* ---------- page hero (interior) ---------- */
.page-hero {
  background: var(--grad-deep);
  color: var(--paperink);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden
}

.page-hero .signal {
  position: absolute;
  inset: 0;
  opacity: .4;
  pointer-events: none
}

.page-hero .wrap {
  position: relative
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 800;
  max-width: 760px;
  margin: 16px 0 20px
}

.page-hero p {
  color: #B9C4E6;
  max-width: 620px;
  font-size: 1.12rem
}

/* ------- Search Bar Animation ------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  background: #fff;
  border: 1px solid #d9dce0;
  border-radius: 32px;
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
  height: 108.59px;
  min-height: 108.59px
}

.search-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon i {
  color: #ffffff;
  font-size: 28px;
}

.search-text {
  flex: 1;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: normal;
  /* was nowrap */
  overflow: visible;
  /* was hidden */
  word-wrap: break-word;
  line-height: 1.4;
}

.cursor {
  border-right: 3px solid #1a1a1a;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn i {
  color: #ffffff;
  font-size: 24px;
}

/* ---------- misc ---------- */
.xone-logo {
  display: inline;
  max-height: 30px;
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

@media (max-width:960px) {

  .grid-3,
  .trust-grid,
  .step-rail {
    grid-template-columns: 1fr 1fr
  }

  .split,
  .grid-2 {
    grid-template-columns: 1fr
  }

  .nav-links {
    display: none
  }
}

@media (max-width:600px) {

  .grid-3,
  .trust-grid,
  .step-rail {
    grid-template-columns: 1fr
  }

  section {
    padding: 72px 0
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center
  }

  .hero-badge {
    font-size: 13px;
    padding: 0;
    margin-bottom: 16px
  }

  .hero-badge .dot {
    width: 6px;
    height: 6px
  }

  .hero-shot {
    margin: 28px auto 56px;
  }

  .search-bar {
    height: auto;
    min-height: auto;
    padding: 14px 14px 14px 18px;
    border-radius: 22px;
    gap: 12px;
  }

  .search-icon {
    display: none;
  }

  .search-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    min-height: calc(2 * 1.45em);
  }

  .search-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .search-btn i {
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.5vw, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    text-wrap: balance
  }

  .hero p.lede {
    margin-top: 18px;
    max-width: 300px;
    color: var(--slate);
    font-size: 14.5px;
    line-height: 1.55;
    text-wrap: balance
  }

  .hero {
    padding-top: 48px
  }

}

@media (max-width: 480px) {
.hero-badge2 {
    white-space: normal;
    font-size: 11px;
    letter-spacing: .06em;
    padding: 7px 15px;
    margin-top: 18px;
  }
}

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .hero-poster-mobile {
    display: block;
  }
}

@media (max-width: 350.98px) {
  .hero-badge {
    font-size: 11.5px;
    padding: 0;
    margin-bottom: 16px
  }

  .hero-badge .dot {
    width: 6px;
    height: 6px
  }

  .hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    text-wrap: balance
  }
}

@media (max-width: 419.98px) {
  .search-text {
    min-height: calc(3 * 1.45em);
  }
}

@media (max-width: 339.98px) {
  .search-text {
    min-height: calc(4 * 1.45em);
  }
}

/* ===================================================================
   Added: richer graphics, motion & interactivity (homepage pass)
   =================================================================== */

/* Hero parallax "signal" layer — dot grid + brand glow, drifts on scroll */
.hero .signal {
  background:
    radial-gradient(560px 560px at 12% 18%, rgba(0, 194, 168, .20), transparent 62%),
    radial-gradient(620px 620px at 88% 6%, rgba(31, 78, 216, .16), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(10, 18, 48, .10) 1px, transparent 0);
  background-size: auto, auto, 28px 28px;
  will-change: transform;
}

/* Hero CTA row (restored) */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap
}

.hero-ctas .btn-ghost-ink {
  background: rgba(255, 255, 255, .5)
}

/* Staggered reveal — each grid assigns --d via JS */
.reveal {
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0s), transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0s)
}

/* Card + tile micro-interactions */
.card {
  overflow: hidden
}

.icon-chip {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s ease, box-shadow .3s ease
}

.icon-chip svg {
  transition: stroke .3s ease
}

.card:hover .icon-chip {
  transform: rotate(-8deg) scale(1.1);
  background: var(--grad);
  box-shadow: 0 10px 24px -10px rgba(0, 194, 168, .55)
}

.card:hover .icon-chip svg {
  stroke: #fff
}

.card .textlink {
  margin-top: 14px;
  display: inline-flex
}

/* Animated stat "impact" bars under each number */
.stat-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  margin: 14px auto 0;
  overflow: hidden;
  width: 90%
}

.stat-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 1.8s cubic-bezier(.16, 1, .3, 1) .1s
}

.reveal.in .stat-bar span {
  width: var(--fill)
}


/* Nav link underline sweep */
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  transition: right .25s ease
}

.nav-links a:hover::before {
  right: 0
}


/* Button press feedback */
.btn {
  transition: all .22s ease, transform .1s ease
}

.btn:active {
  transform: scale(.96)
}

/* "Who we serve" — uniform navy tiles, 3 across with the last row centered */
.bento {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px
}

.bento .card {
  background: var(--grad-deep);
  border-color: transparent;
  flex: 1 1 320px;
  max-width: 360px;
  min-height: 330px;
  display: flex;
  flex-direction: column
}

.bento .card h3,
.bento .card p {
  color: #fff
}

.bento .card p {
  color: rgba(255, 255, 255, .72)
}

.bento .card .icon-chip {
  background: rgba(255, 255, 255, .14)
}

.bento .card .icon-chip svg {
  stroke: #fff
}

.bento .card:hover .icon-chip {
  background: #fff
}

.bento .card:hover .icon-chip svg {
  stroke: var(--xblue)
}

/* Dark "Where we stand out" section + phone mockups */
.dark .check-list li {
  color: var(--paper);
  font-size: 18px;
  font-weight: normal;
}

.dark .check-list li span {
  color: var(--slate-dark)
}

.phones {
  max-width: 520px;
  margin: 0 auto
}

.phones svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (min-width:961px) {
  .dark .split {
    grid-template-columns: 1.5fr 1fr
  }

  /* wider phone column */
  .phones {
    max-width: none;
    width: 94%;
    margin: 0 auto
  }

  /* extend left past the column */
  .phones svg {
    overflow: visible
  }
}

.dark {
  overflow-x: clip
}

/* no sideways scroll if it reaches the edge */

/* "The change you need" — one-time build, then still */
.trio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0
}

.trio::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1) .2s
}

.reveal.in .trio::before {
  transform: scaleX(1)
}

.trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1)
}

.reveal.in .trio-item {
  opacity: 1;
  transform: none
}

.reveal.in .trio-item:nth-child(2) {
  transition-delay: .15s
}

.reveal.in .trio-item:nth-child(3) {
  transition-delay: .3s
}

.trio-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease
}

.trio-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--xblue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease
}

.trio-item:hover .trio-icon {
  transform: translateY(-4px);
  background: var(--xblue);
  box-shadow: 0 12px 26px -12px rgba(31, 78, 216, .6)
}

.trio-item:hover .trio-icon svg {
  stroke: #fff
}

.trio-item span {
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  max-width: 120px
}

/* travelling "signal" along the connector */
.trio::after {
  content: "";
  position: absolute;
  top: 55px;
  left: 16.67%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  box-shadow: 0 0 0 4px rgba(0, 194, 168, .18), 0 0 14px rgba(0, 194, 168, .7)
}

.reveal.in .trio::after {
  animation: trioSignal 5s linear 1.4s infinite
}

@keyframes trioSignal {
  0% {
    left: 16.67%;
    opacity: 0
  }

  5% {
    opacity: 1
  }

  40% {
    left: 83.33%;
    opacity: 1
  }

  45%,
  100% {
    left: 83.33%;
    opacity: 0
  }
}

/* each icon lights up as the signal reaches it */
.reveal.in .trio-icon {
  animation: trioPing 5s ease-out infinite
}

.reveal.in .trio-item:nth-child(1) .trio-icon {
  animation-delay: 1.4s
}

.reveal.in .trio-item:nth-child(2) .trio-icon {
  animation-delay: 2.4s
}

.reveal.in .trio-item:nth-child(3) .trio-icon {
  animation-delay: 3.4s
}

@keyframes trioPing {

  0%,
  16%,
  100% {
    border-color: var(--line);
    box-shadow: var(--shadow-sm)
  }

  4% {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm), 0 0 0 6px rgba(0, 194, 168, .12)
  }
}

@media (max-width:720px) {
  .trio::after {
    top: 50px
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal.in .trio::after,
  .reveal.in .trio-icon {
    animation: none
  }
}

@media (max-width:720px) {
  .trio::before {
    top: 53px
  }

  .trio-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px
  }

  .trio-icon svg {
    width: 26px;
    height: 26px
  }

  .trio-item span {
    font-size: .75rem
  }
}

@media (prefers-reduced-motion: reduce) {
  .trio-item {
    opacity: 1;
    transform: none;
    transition: none
  }

  .trio::before {
    transform: scaleX(1);
    transition: none
  }
}

/* Comparison — two-column face-off instead of a plain table */
.faceoff {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto
}

.faceoff-head {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.faceoff-head div {
  padding: 20px 30px;
  font-family: 'Schibsted Grotesk';
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center
}

.faceoff-head .old {
  color: var(--slate-dark);
  background: var(--paper)
}

.faceoff-head .new {
  color: #fff;
  background: var(--grad-deep)
}

.faceoff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative
}

.faceoff-row:nth-child(odd) {
  background: var(--paper)
}

.faceoff-row>div {
  padding: 14px 28px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px
}

.faceoff-row .old {
  color: var(--slate-dark)
}

.faceoff-row .new {
  color: var(--ink);
  font-weight: 600
}

.faceoff-row .ico {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.faceoff-row .old .ico {
  background: #F4E7E7;
  color: #C24545
}

.faceoff-row .new .ico {
  background: var(--teal-soft);
  color: var(--teal)
}

.faceoff-row .ico svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round
}

.faceoff-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  color: var(--slate-dark);
  z-index: 2
}

/* Mid-page gradient banner ("Stop guessing...") — distinct from the footer contact band */
.banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad);
  padding: 56px 50px;
  text-align: center;
  isolation: isolate
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 15% 20%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(420px 260px at 85% 85%, rgba(10, 18, 48, .25), transparent 60%);
  z-index: -1
}

.banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  max-width: 640px;
  margin: 0 auto 14px
}

.banner p {
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important
  }

  .stat-bar span {
    transition: none !important
  }

  .hero .signal {
    transform: none !important
  }
}

@media (max-width:720px) {

  .faceoff-head div,
  .faceoff-row>div {
    padding: 14px 16px;
    font-size: .85rem
  }

  .banner {
    padding: 40px 22px
  }
}

.separator .sec-head {
  position: relative;
  z-index: 1;
}

.separator .grid-2 {
  position: relative;
  z-index: 2;
}

/* cards on top */

.rise-img {
  display: block;
  width: 320px;
  margin: 0 auto;
  transform: translateY(140px);
  /* starting point: tucked behind the cards */
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .rise-img {
    transform: none !important;
  }
}

/* ---------- The Problem: art placement when cards wrap ---------- */
@media (min-width:601px) and (max-width:960px) {
  .grid-3 .problem-card:nth-child(3) .problem-art {
    bottom: auto !important;
    top: 50%;
    left: calc(150% + 26px);
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(var(--w, 240px), 90%);
  }
}

@media (max-width:600px) {
  .problem-head {
    margin-bottom: 56px !important
  }

  .problem-art {
    position: static;
    transform: none;
    margin: 0 auto 20px;
    width: min(var(--w, 240px), 75%)
  }
}