/* Shared Chat Logic lead form and AI chat UI 20260821 */
:root {
  --cl-ui-bg: #eef6ff;
  --cl-ui-ink: #071426;
  --cl-ui-muted: #5f7188;
  --cl-ui-line: rgba(96, 165, 250, .28);
  --cl-ui-blue: #2563eb;
  --cl-ui-cyan: #38bdf8;
  --cl-ui-deep: #061327;
}

.mast-v4 {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  border-bottom: 1px solid rgba(96, 165, 250, .22);
  background: rgba(255, 255, 255, .96);
  color: #071426;
  backdrop-filter: blur(16px);
}

.mast-v4 .container,
.cl-products-preview .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mast-v4-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark-v4 {
  flex: 0 0 auto;
  color: #071426;
  font-family: Unbounded, Manrope, Arial, sans-serif;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark-v4 span {
  display: block;
  color: #0891b2;
  font-family: Manrope, Arial, sans-serif;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.1;
}

.main-nav-v4 {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav-v4 > a,
.nav-dropdown > summary {
  color: #15243a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.main-nav-v4 > a:hover,
.nav-dropdown > summary:hover,
.mega-menu a:hover {
  color: var(--cl-ui-blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mega-menu {
  position: absolute;
  top: 38px;
  left: -156px;
  width: min(690px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, .34);
  border-radius: 8px;
  background: #08172c;
  color: #f8fbff;
  box-shadow: 0 24px 70px rgba(2, 8, 23, .28);
}

.mega-menu div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu b {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mega-menu a {
  color: #eef6ff;
  font-size: 14px;
  font-weight: 800;
}

.mega-menu .mega-all {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 211, 252, .18);
  color: #7dd3fc;
  font-weight: 950;
}

.mega-all span {
  float: right;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid #c8d8ee;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #071426;
}

.theme-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8d8ee;
  border-radius: 8px;
  background: #fff;
  color: var(--cl-ui-blue);
  font-weight: 950;
  cursor: pointer;
}

.nav-cta-v4 {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid #071426;
  border-radius: 8px;
  color: #071426;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.nav-cta-v4:hover {
  background: #071426;
  color: #fff;
}

.cl-lead-section {
  padding: 72px 0;
  background:
    radial-gradient(circle at 86% 16%, rgba(56, 189, 248, .16), transparent 28%),
    linear-gradient(135deg, #f8fbff, #eaf4ff 62%, #f4f9ff);
  border-top: 1px solid var(--cl-ui-line);
}

.cl-lead-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1fr);
  gap: 32px;
  align-items: start;
}

.cl-lead-grid h2 {
  margin: 10px 0 12px;
  color: #082247;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.cl-lead-grid p {
  max-width: 660px;
  color: var(--cl-ui-muted);
  line-height: 1.65;
}

.kicker {
  color: #0284c7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cl-lead-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.cl-lead-points span {
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid var(--cl-ui-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #24415f;
  font-weight: 800;
}

.cl-lead-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--cl-ui-line);
  border-radius: 8px;
  background: #fff;
  color: var(--cl-ui-ink);
  box-shadow: 0 28px 70px rgba(37, 99, 235, .12);
}

.cl-lead-form label {
  display: grid;
  gap: 7px;
  color: #10213a;
  font-size: 13px;
  font-weight: 850;
}

.cl-lead-form input,
.cl-lead-form textarea,
.cl-lead-form button {
  width: 100%;
  min-width: 0;
  font: inherit;
}

.cl-lead-form input,
.cl-lead-form textarea {
  border: 1px solid #c8d8ee;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--cl-ui-ink);
  padding: 12px 13px;
}

.cl-lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

.cl-lead-form input:focus,
.cl-lead-form textarea:focus {
  outline: 3px solid rgba(56, 189, 248, .22);
  border-color: var(--cl-ui-cyan);
}

.cl-lead-form input::placeholder,
.cl-lead-form textarea::placeholder {
  color: #74859a;
}

.cl-consent {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #53687f;
  font-weight: 760 !important;
}

.cl-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.button-bright,
.cl-lead-form button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cl-ui-cyan), var(--cl-ui-blue));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.button-bright:hover,
.cl-lead-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .23);
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: #0f4fb8;
  font-size: 13px;
  font-weight: 800;
}

.cl-chat {
  position: fixed !important;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: block !important;
  width: auto;
  max-width: calc(100vw - 32px);
  color: #f8fbff;
  font-family: inherit;
}

.cl-chat-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 92px;
  min-height: 54px;
  padding: 9px 15px 9px 10px;
  border: 1px solid rgba(125, 211, 252, .38);
  border-radius: 8px;
  background: rgba(5, 16, 34, .96);
  color: #fff;
  box-shadow: 0 20px 55px rgba(2, 8, 23, .28);
  cursor: pointer;
}

.cl-chat-launch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: linear-gradient(135deg, #5eead4, var(--cl-ui-cyan));
  color: #03202c;
  font-size: 13px;
  font-weight: 950;
}

.cl-chat-launch b {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.cl-chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(405px, calc(100vw - 32px));
  max-height: min(690px, calc(100vh - 96px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(125, 211, 252, .42);
  border-radius: 8px;
  background: #071426;
  color: #f8fbff;
  box-shadow: 0 28px 90px rgba(2, 8, 23, .42);
}

.cl-chat-panel[hidden] {
  display: none !important;
}

.cl-chat-panel header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(125, 211, 252, .20);
  background: #08172c;
}

.cl-chat-panel header b,
.cl-chat-panel header small {
  display: block;
}

.cl-chat-panel header b {
  font-size: 16px;
  line-height: 1.25;
}

.cl-chat-panel header small {
  margin-top: 2px;
  color: #bfdbfe;
  font-size: 12px;
}

.cl-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(191, 219, 254, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cl-chat-log {
  flex: 0 1 auto;
  min-height: 112px;
  max-height: 210px;
  overflow: auto;
  padding: 16px 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.cl-chat-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.cl-chat-msg.bot {
  justify-self: start;
  background: rgba(239, 246, 255, .10);
  color: #eaf6ff;
}

.cl-chat-msg.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--cl-ui-cyan), var(--cl-ui-blue));
  color: #fff;
}

.cl-chat-prompts {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 14px;
}

.cl-chat:has(.cl-chat-lead-form:not([hidden])) .cl-chat-prompts {
  display: none;
}

.cl-chat:has(.cl-chat-lead-form:not([hidden])) .cl-chat-form {
  display: none;
}

.cl-chat-prompts button,
.cl-chat-lead-form button,
.cl-chat-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.cl-chat-prompts button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(191, 219, 254, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 850;
}

.cl-chat-lead-form {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 10px;
  max-height: min(360px, 42vh);
  overflow: auto;
  padding: 0 18px 14px;
  overscroll-behavior: contain;
}

.cl-chat-lead-form[hidden] {
  display: none !important;
}

.cl-chat-lead-form label {
  display: grid;
  gap: 6px;
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 850;
}

.cl-chat-lead-form input,
.cl-chat-lead-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(191, 219, 254, .30);
  border-radius: 8px;
  background: #f8fbff;
  color: #071426;
  padding: 10px 11px;
  font: 14px/1.45 inherit;
}

.cl-chat-lead-form textarea {
  min-height: 84px;
  resize: vertical;
}

.cl-chat-lead-form .cl-consent {
  color: #dbeafe;
}

.cl-chat-lead-form button[type="submit"] {
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cl-ui-cyan), var(--cl-ui-blue));
  color: #fff;
  font-weight: 900;
}

.cl-chat-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(125, 211, 252, .20);
  background: #08172c;
}

.cl-chat-form textarea {
  width: 100%;
  min-width: 0;
  max-height: 96px;
  border: 1px solid rgba(191, 219, 254, .30);
  border-radius: 8px;
  background: #f8fbff;
  color: #071426;
  padding: 12px;
  resize: none;
  font: 14px/1.45 inherit;
}

.cl-chat-form button {
  min-width: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5eead4, var(--cl-ui-cyan));
  color: #03202c;
  font-size: 19px;
  font-weight: 950;
}

#catalog,
#request {
  scroll-margin-top: 96px;
}

#catalog {
  background:
    radial-gradient(circle at 82% 8%, rgba(56, 189, 248, .16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

#catalog .section-head {
  align-items: start;
}

.project-tools {
  position: sticky;
  top: 88px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 46px rgba(37, 99, 235, .09);
  backdrop-filter: blur(14px);
}

.project-search {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, .24);
  border-radius: 8px;
  background: #f8fbff;
  color: #082247;
  font: inherit;
  font-weight: 800;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.project-search::placeholder {
  color: #6b7f99;
  font-weight: 700;
}

.project-search:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.project-reset {
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, .3);
  border-radius: 8px;
  background: #061327;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.project-reset:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.project-count {
  justify-self: end;
  white-space: nowrap;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  min-width: 0;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, .3);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(240, 248, 255, .94)),
    #fff;
  color: #071426;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -42px auto;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 20px solid rgba(56, 189, 248, .12);
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(37, 99, 235, .58);
  box-shadow: 0 22px 56px rgba(37, 99, 235, .15);
  transform: translateY(-3px);
}

.project-card[hidden] {
  display: none !important;
}

.project-card span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: #071426;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.project-card p {
  margin: 0;
  color: #60728a;
  line-height: 1.5;
}

.project-card b {
  display: block;
  margin-top: auto;
  color: #061327;
  font-size: 22px;
  line-height: 1;
}

.project-card .text-link {
  width: fit-content;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: background .2s ease, transform .2s ease;
}

.project-card .text-link:hover {
  background: #0f172a;
  color: #fff;
  transform: translateX(2px);
}

.cl-products-preview {
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .14), transparent 32%),
    linear-gradient(180deg, #f8fbff, #eef6ff);
}

.cl-products-preview .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.cl-products-preview .section-head h2 {
  margin: 0;
  color: #071426;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: 0;
}

.cl-products-preview .section-head p {
  margin: 0;
  color: #60728a;
  font-size: 17px;
  line-height: 1.6;
}

.cl-product-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cl-product-link {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 8px;
  background: #fff;
  color: #071426;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cl-product-link::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 130px;
  aspect-ratio: 1;
  border: 22px solid rgba(56, 189, 248, .12);
  border-radius: 999px;
}

.cl-product-link:hover {
  border-color: rgba(37, 99, 235, .58);
  box-shadow: 0 24px 62px rgba(37, 99, 235, .15);
  transform: translateY(-3px);
}

.cl-product-link span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cl-product-link h3 {
  margin: 0;
  color: #071426;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.cl-product-link p {
  margin: 0;
  color: #60728a;
  line-height: 1.55;
}

.cl-product-link b {
  margin-top: auto;
  color: #2563eb;
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 920px) {
  .cl-lead-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mast-v4-inner {
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
  }

  .main-nav-v4 {
    order: 5;
    display: none;
    width: 100%;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(96, 165, 250, .22);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav-v4.open {
    display: flex;
  }

  .main-nav-v4 > a,
  .nav-dropdown > summary {
    padding: 10px 0;
  }

  .mega-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 14px 0;
    border: 0;
    border-top: 1px solid rgba(96, 165, 250, .22);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mega-menu a {
    color: #15243a;
  }

  .cl-product-links {
    grid-template-columns: 1fr;
  }

  .cl-products-preview .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .cl-lead-section {
    padding-block: 42px;
  }

  .cl-lead-form {
    padding: 20px;
  }

  .cl-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }

  .cl-chat-launch {
    min-width: 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 999px;
  }

  .cl-chat-launch b {
    display: none;
  }

  .cl-chat-panel {
    position: fixed;
    inset: auto 10px calc(76px + env(safe-area-inset-bottom)) 10px;
    width: auto;
    max-height: min(680px, calc(100vh - 92px));
  }

  .cl-chat:has(.cl-chat-lead-form:not([hidden])) .cl-chat-log {
    display: none;
  }

  .cl-chat:has(.cl-chat-lead-form:not([hidden])) .cl-chat-lead-form {
    max-height: none;
    padding-bottom: 18px;
  }

  .project-tools {
    position: static;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .project-count {
    justify-self: stretch;
    text-align: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 220px;
  }
}

/* Services conversion pass 20260824 */
body {
  background:
    radial-gradient(circle at 82% 8%, rgba(56, 189, 248, .10), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f8fbff 100%);
}

.mast-v4 {
  box-shadow: 0 12px 34px rgba(2, 8, 23, .08);
}

.main-nav-v4 > a,
.nav-dropdown > summary,
.nav-cta-v4 {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-group {
  border-bottom: 4px solid #38bdf8;
}

.hero-grid {
  min-height: min(620px, calc(100svh - 76px));
  grid-template-columns: minmax(0, .95fr) minmax(360px, .82fr);
  gap: clamp(24px, 4vw, 58px);
}

.hero-copy {
  padding: clamp(62px, 8vw, 96px) 0;
}

.hero-copy h1 {
  max-width: 790px;
  font-size: clamp(42px, 5.9vw, 76px);
  line-height: .98;
}

.hero-copy p {
  max-width: 700px;
  color: rgba(232, 244, 255, .88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.hero-art {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  margin-bottom: -1px;
  overflow: visible;
}

.hero-art img {
  width: min(100%, 520px);
  max-height: 470px;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px 10px 0 0;
  transform: perspective(1100px) rotateY(-7deg) translateY(8px);
}

.cl-service-snapshot {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  padding: 0 0 34px;
}

.cl-service-snapshot .container,
.cl-package-snapshot .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cl-service-snapshot article,
.cl-package-snapshot article {
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(239, 247, 255, .94)),
    #fff;
  box-shadow: 0 20px 52px rgba(37, 99, 235, .11);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.cl-service-snapshot article:hover,
.cl-package-snapshot article:hover,
.capability:hover,
.priceCard:hover,
.deliver:hover,
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .50);
  box-shadow: 0 26px 64px rgba(37, 99, 235, .14);
}

.cl-service-snapshot b,
.cl-package-snapshot b {
  display: block;
  color: #2563eb;
  font-family: Unbounded, Manrope, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.cl-service-snapshot span,
.cl-package-snapshot span {
  display: block;
  margin-top: 10px;
  color: #50657d;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.45;
}

.section {
  padding: clamp(64px, 7vw, 96px) 0;
}

.section.soft {
  background:
    radial-gradient(circle at 15% 8%, rgba(56, 189, 248, .12), transparent 34%),
    linear-gradient(180deg, #eef6ff, #f8fbff);
}

.section-head {
  align-items: start;
}

.section-head p,
.capability p,
.faq-list p,
.cl-products-preview .section-head p,
.cl-product-link p {
  color: #53687f;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability {
  min-height: 280px;
  border-color: rgba(96, 165, 250, .28);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(239, 247, 255, .92)),
    #fff;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.cap-code {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(37, 99, 235, .10);
  color: #2563eb;
}

.capability h3 {
  color: #071426;
}

.faq-list details {
  border-color: rgba(96, 165, 250, .30);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .08);
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .28), transparent 28%),
    linear-gradient(135deg, #061327 0%, #0b2b5c 62%, #061327 100%);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(125, 211, 252, .13) 50%, transparent 58% 100%);
  animation: cl-service-scan 7s ease-in-out infinite;
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final-cta .kicker,
.final-cta .kicker.light {
  color: #7dd3fc;
}

.final-cta h2 {
  color: #f8fbff;
}

.final-cta p {
  color: #dbeafe;
}

.final-cta .button-bright {
  border-color: rgba(248, 251, 255, .92);
  background: #f8fbff;
  color: #061327;
  box-shadow: 0 16px 36px rgba(2, 6, 23, .24);
}

.cl-products-preview {
  border-top: 1px solid rgba(96, 165, 250, .22);
}

.cl-product-link {
  min-height: 236px;
}

.cl-chat {
  display: block !important;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .76fr);
  }

  .capability-grid,
  .cl-service-snapshot .container,
  .cl-package-snapshot .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .mast-v4-inner {
    gap: 12px;
  }

  .nav-cta-v4 {
    order: 3;
    margin-left: 0;
  }

  .theme-toggle {
    order: 2;
  }

  .menu-button {
    order: 1;
  }

  .main-nav-v4.open {
    padding: 10px 0 2px;
  }

  .nav-dropdown[open] .mega-menu {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(96, 165, 250, .24);
    border-radius: 8px;
    background: #f8fbff;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-art {
    justify-content: flex-start;
    max-height: 280px;
    overflow: hidden;
  }

  .hero-art img {
    width: min(100%, 580px);
    max-height: 320px;
    transform: none;
  }

  .cl-service-snapshot {
    margin-top: 0;
    padding-top: 24px;
  }
}

@media (max-width: 620px) {
  .hero-copy h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero-actions .button,
  .nav-cta-v4 {
    width: 100%;
  }

  .capability-grid,
  .cl-service-snapshot .container,
  .cl-package-snapshot .wrap {
    grid-template-columns: 1fr;
  }

  .cl-service-snapshot article,
  .cl-package-snapshot article,
  .capability {
    min-height: auto;
  }
}
