/* V5: tactile hero controls and continuous artwork surfaces. */
.competencies { align-items: center; text-align: center; }
.competencies.wrap > span { justify-content: center; }
.header .header-cta {
  flex-shrink: 0;
  gap: 18px;
  min-height: 48px;
  padding: 7px 8px 7px 19px;
  border: 1px solid #98aed54d;
  border-radius: 999px;
  background: linear-gradient(125deg, #24304980, #131a2770);
  color: #e5ebf7;
  font-size: 13px;
  font-weight: 550;
  box-shadow: inset 0 1px 0 #c5d7ff0d;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.header .header-cta > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #1b2541;
  background: linear-gradient(135deg, #deebff, #a9bdf5);
  font-size: 20px;
  line-height: 1;
}
.header .header-cta:hover {
  border-color: #a9bfee9c;
  background: #26344c99;
  box-shadow: inset 0 1px 0 #dce7ff16, 0 5px 22px #23397124;
}
.header .header-cta:hover > span { transform: rotate(45deg); }
.matreshka-feature .feature-button { margin-inline: auto; }
@media (min-width: 761px) and (max-width: 1100px) {
  .header .header-cta { gap: 10px; padding-left: 13px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .header .header-cta, .header .header-cta > span { transition: none; }
  .header .header-cta:hover > span { transform: none; }
}
.footer-top .brand .brand-lockup { width: 218px; height: 48px; }
@media (max-width: 760px) {
  .footer-top .brand .brand-lockup { width: 190px; height: 42px; }
}
.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-actions > .button-blue,
.hero-actions > .text-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px 12px 12px 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.hero-actions > .button-blue {
  min-width: 229px;
  color: #fff;
  background:
    linear-gradient(130deg, #638aef, #3c62d7 42%, #304fb8 76%, #405cbb) padding-box,
    linear-gradient(130deg, #d0e6ff, #8aaaff88 38%, #657ccc77) border-box;
  box-shadow: inset 0 1px 0 #ffffff30, inset 0 -1px 0 #14296560, 0 6px 20px #16328124;
}

.hero-actions > .button-blue::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -70% -20%;
  background: linear-gradient(115deg, transparent 34%, #ddecff29 49%, transparent 64%);
  transform: translateX(-60%);
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}

.hero-actions > .text-link {
  min-width: 188px;
  color: #d5dfef;
  border-color: #7483a538;
  background: linear-gradient(145deg, #1e2635, #121925);
  box-shadow: inset 0 1px 0 #ffffff08, 0 5px 18px #00000014;
}

.hero-actions > a > span {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #dae9ff30;
  border-radius: 11px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(145deg, #ffffff1c, #ffffff07);
  box-shadow: inset 0 1px 0 #ffffff18;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.hero-actions > .text-link > span {
  border-color: #8199c126;
  color: #a7b9dd;
  background: #53678916;
  font-size: 20px;
}

@media (hover: hover) {
  .hero-actions > .button-blue:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 #ffffff48, 0 12px 32px #284dba38;
  }
  .hero-actions > .button-blue:hover::before { transform: translateX(55%); }
  .hero-actions > .button-blue:hover > span {
    transform: translate(1px, -1px);
    background: #ffffff24;
    border-color: #e2edff68;
  }
  .hero-actions > .text-link:hover {
    color: #f0f5ff;
    border-color: #90a9dc69;
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 #ffffff0d, 0 12px 26px #0003;
  }
  .hero-actions > .text-link:hover > span {
    transform: translateY(2px);
    background: #627fab26;
  }
}

.hero-actions > a:active { transform: translateY(0); }
.hero-actions > a:focus-visible { outline: 3px solid #a8c4ff; outline-offset: 5px; }

/* The illustration dissolves into the same continuous aubergine surface. */
.matreshka-feature {
  grid-template-columns: .91fr 1.09fr;
  column-gap: 0;
  background:
    radial-gradient(ellipse at 79% 41%, #65234260, transparent 59%),
    radial-gradient(ellipse at 61% 84%, #59302030, transparent 45%),
    linear-gradient(115deg, #171323 5%, #1d1428 66%, #151022);
  border-color: #73567144;
}

.matreshka-feature .feature-copy { padding-right: 29px; }
.matreshka-feature .feature-footer { position: relative; }

.matreshka-feature .matreshka-art {
  margin: -42px -42px -9px -64px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  align-self: stretch;
  z-index: 1;
}

.matreshka-feature .matreshka-art::before {
  content: '';
  position: absolute;
  inset: 20% -1% 11% 10%;
  background: radial-gradient(ellipse at center, #c25b4821, transparent 67%);
  pointer-events: none;
  z-index: -1;
}

.matreshka-feature .matreshka-art::after { display: none; }

.matreshka-feature .matreshka-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 565px;
  border-radius: 0;
  object-fit: cover;
  object-position: 54% center;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 17%, #000 91%, transparent),
    linear-gradient(0deg, transparent, #000 15%, #000 89%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 17%, #000 91%, transparent),
    linear-gradient(0deg, transparent, #000 15%, #000 89%, transparent);
  mask-composite: intersect;
  transition: transform 1.1s cubic-bezier(.2,.65,.2,1);
}

.matreshka-feature:hover .matreshka-art img { transform: scale(1.018); }

/* A readable editorial note, rather than a tiny technical badge. */
.ai-panel .ai-human {
  display: grid;
  gap: 9px;
  margin-top: 27px;
  padding: 1px 0 1px 19px;
  border-top: 0;
  border-left: 2px solid #8094d880;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  color: #b8c7dd;
}

.ai-panel .ai-human > span {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-transform: none;
  color: #edf3ff;
}

@media (max-width: 1150px) {
  .matreshka-feature .matreshka-art { margin: -30px -30px -7px -38px; }
  .matreshka-feature .feature-copy { padding-right: 14px; }
  .matreshka-feature .matreshka-art img { min-height: 565px; }
}

@media (max-width: 760px) {
  .hero-actions { gap: 11px; }
  .hero-actions > .button-blue,
  .hero-actions > .text-link {
    min-height: 59px;
    border-radius: 15px;
    padding: 10px 10px 10px 17px;
    gap: 15px;
    font-size: 14px;
    flex: 1 1 auto;
  }
  .hero-actions > .button-blue { min-width: 208px; }
  .hero-actions > .text-link { min-width: 173px; }
  .hero-actions > a > span { width: 35px; height: 35px; flex-basis: 35px; }
  .matreshka-feature { grid-template-columns: 1fr; }
  .matreshka-feature .feature-copy { padding-right: 0; }
  .matreshka-feature .matreshka-art {
    margin: 14px -23px -10px;
    height: clamp(285px, 73vw, 450px);
    min-height: 0;
  }
  .matreshka-feature .matreshka-art img {
    min-height: 0;
    object-position: 50% 47%;
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
      linear-gradient(0deg, transparent, #000 15%, #000 90%, transparent);
    mask-image:
      linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
      linear-gradient(0deg, transparent, #000 15%, #000 90%, transparent);
  }
  .ai-panel .ai-human { margin-top: 23px; padding-left: 15px; }
  .ai-panel .ai-human > span { font-size: 17px; }
}

@media (max-width: 470px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .hero-actions > .button-blue,
  .hero-actions > .text-link { width: 100%; min-width: 0; padding-left: 20px; }
  .hero-actions > .text-link { min-height: 56px; }
}

@media (max-width: 380px) {
  .matreshka-feature .matreshka-art { margin-inline: -19px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions > a,
  .hero-actions > a::before,
  .hero-actions > a > span,
  .matreshka-feature .matreshka-art img { transition: none; }
  .hero-actions > a:hover,
  .hero-actions > a:hover > span,
  .hero-actions > .button-blue:hover::before,
  .matreshka-feature:hover .matreshka-art img { transform: none; }
}
