@property --hero-base { syntax: "<color>"; inherits: false; initial-value: #2A90C9; }
@property --hero-tint { syntax: "<color>"; inherits: false; initial-value: #1C7DB5; }
@property --hero-mid { syntax: "<color>"; inherits: false; initial-value: #17709F; }
@property --hero-deep { syntax: "<color>"; inherits: false; initial-value: #12658F; }
@property --hero-edge { syntax: "<color>"; inherits: false; initial-value: #0F5E8C; }
@property --hero-glow { syntax: "<color>"; inherits: false; initial-value: rgba(120, 214, 245, 0.4); }
@property --hero-bloom { syntax: "<color>"; inherits: false; initial-value: rgba(60, 175, 225, 0.4); }
@property --hero-scrim { syntax: "<number>"; inherits: false; initial-value: 0.18; }
@property --hero-ray { syntax: "<number>"; inherits: false; initial-value: 0.3; }
.hero {
  --hero-base: #2A90C9;
  --hero-tint: #1C7DB5;
  --hero-mid: #17709F;
  --hero-deep: #12658F;
  --hero-edge: #0F5E8C;
  --hero-glow: rgba(120, 214, 245, 0.4);
  --hero-bloom: rgba(60, 175, 225, 0.4);
  --hero-ray: 0.3;
  --hero-scrim: 0.18;
  position: relative;
  background-color: var(--hero-tint);
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 35, 58, var(--hero-scrim)) 0%,
      rgba(5, 35, 58, var(--hero-scrim)) 38%,
      rgba(5, 35, 58, 0) 62%),
    radial-gradient(
      1100px 640px at 86% 74%,
      var(--hero-glow) 0%,
      rgba(120, 214, 245, 0) 64%),
    radial-gradient(
      900px 560px at 60% 18%,
      var(--hero-bloom) 0%,
      rgba(60, 175, 225, 0) 62%),
    linear-gradient(
      122deg,
      var(--hero-base) 0%,
      var(--hero-tint) 40%,
      var(--hero-mid) 72%,
      var(--hero-deep) 88%,
      var(--hero-edge) 100%);
  transition:
    --hero-base 0.8s ease,
    --hero-tint 0.8s ease,
    --hero-mid 0.8s ease,
    --hero-deep 0.8s ease,
    --hero-edge 0.8s ease,
    --hero-glow 0.8s ease,
    --hero-bloom 0.8s ease,
    --hero-ray 0.8s ease,
    --hero-scrim 0.8s ease,
    background-color 0.8s ease;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% -20% 30%;
  z-index: 0;
  background:
    conic-gradient(
      from 200deg at 76% 46%,
      rgba(255, 255, 255, 0) 0deg,
      rgba(255, 255, 255, var(--hero-ray)) 14deg,
      rgba(255, 255, 255, 0) 30deg,
      rgba(255, 255, 255, 0) 52deg,
      rgba(255, 255, 255, calc(var(--hero-ray) * 0.7)) 64deg,
      rgba(255, 255, 255, 0) 80deg,
      rgba(255, 255, 255, 0) 120deg,
      rgba(255, 255, 255, calc(var(--hero-ray) * 0.56)) 132deg,
      rgba(255, 255, 255, 0) 150deg,
      rgba(255, 255, 255, 0) 360deg);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 22%,
      #000 100%);
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 22%,
      #000 100%);
  filter: blur(3px);
  pointer-events: none;
}
.hero--s1 {
  --hero-base: #2A90C9;
  --hero-tint: #1C7DB5;
  --hero-mid: #17709F;
  --hero-deep: #12658F;
  --hero-edge: #0F5E8C;
}
.hero--s2 {
  --hero-base: #2589C4;
  --hero-tint: #1874AE;
  --hero-mid: #146897;
  --hero-deep: #0F5C86;
  --hero-edge: #0C5179;
}
.hero--s3 {
  --hero-base: #2E9AAF;
  --hero-tint: #1E8298;
  --hero-mid: #197183;
  --hero-deep: #146272;
  --hero-edge: #115563;
  --hero-glow: rgba(140, 226, 235, 0.4);
}
.hero--s4 {
  --hero-base: #35A0D6;
  --hero-tint: #2389C0;
  --hero-mid: #1B79AC;
  --hero-deep: #146A99;
  --hero-edge: #105C87;
  --hero-glow: rgba(150, 226, 250, 0.4);
}
.hero .btn-dark {
  background: #FFFFFF;
  color: var(--c-ink);
}
.hero .btn-dark:hover {
  background: var(--c-tint);
  color: var(--c-ink);
}
.hero .img-slot {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero .img-slot-label {
  color: rgba(255, 255, 255, 0.78);
}
.hero-inner {
  position: relative;
  height: 600px;
  z-index: 1;
}
.hero-slides {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 72px;
  padding-bottom: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-copy {
  flex: 1;
  min-width: 0;
}
.hero-slide--novisual .hero-copy {
  max-width: 760px;
}
.hero-copy .eyebrow {
  margin-bottom: 18px;
  color: #9FDCFA;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
}
.hero-desc {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}
.hero-copy .btn {
  margin-top: 34px;
}
.hero-visual {
  flex-shrink: 0;
  width: 520px;
  height: 380px;
}
.hero-visual .img-slot {
  width: 100%;
  height: 100%;
}
.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-controls {
  position: absolute;
  left: var(--pad-x);
  bottom: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(17, 20, 24, 0.18);
  transition: width 0.25s ease, background-color 0.25s ease;
}
.hero-dot.is-active {
  width: 26px;
  background: var(--c-primary-deep);
}
.hero-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-sub);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.hero-counter-current {
  color: var(--c-ink);
}
.hero-autoplay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 20, 24, 0.18);
  border-radius: var(--radius-pill);
  color: var(--c-text-sub);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-autoplay:hover {
  border-color: var(--c-primary-deep);
  color: var(--c-primary-deep);
}
.hero-dot {
  background: rgba(255, 255, 255, 0.4);
}
.hero-dot.is-active {
  background: #FFFFFF;
}
.hero-counter {
  color: rgba(255, 255, 255, 0.72);
}
.hero-counter-current {
  color: #FFFFFF;
}
.hero-autoplay {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
}
.hero-autoplay:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.hero-autoplay .icon-play {
  display: none;
}
.hero-autoplay.is-paused .icon-pause {
  display: none;
}
.hero-autoplay.is-paused .icon-play {
  display: block;
}
.section-products {
  padding: 88px 0 96px;
}
.section-products .section-head {
  margin-bottom: 40px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--c-primary);
  padding-top: 16px;
}
.product-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin-bottom: 2px;
}
.product-cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-primary-deep);
}
.product-col.is-pending {
  border-top-color: var(--c-border);
}
.product-col.is-pending .product-cat {
  color: var(--c-text-mute);
}
.product-card {
  display: block;
  padding: 20px 22px 18px;
}
.product-card-cat {
  display: block;
  font-size: 12px;
  color: var(--c-text-mute);
  margin-bottom: 4px;
  line-height: 1.5;
}
.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.35;
}
.product-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-primary-deep);
}
.product-link .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.product-card:hover .product-link .arrow {
  transform: translateX(4px);
}
.product-card.is-pending {
  background: #FAFBFC;
  border-color: var(--c-border-soft);
}
.product-card.is-pending:hover {
  border-color: var(--c-primary);
}
.product-card.is-pending .product-name {
  color: var(--c-text);
}
.products-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 230px;
  padding: 20px 24px 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-footer);
}
.product-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  pointer-events: none;
  transition: border-color 0.3s ease;
}
.product-tile:hover::after {
  border-color: var(--c-primary);
}
.product-tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.product-tile:hover .product-tile-bg {
  transform: scale(1.03);
}
.product-tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(17, 20, 24, 0.32) 0%,
      rgba(17, 20, 24, 0) 38%);
}
.product-tile-bg--binary {
  background-image: url(../img/bg-clarity-binary2.png);
}
.product-tile-bg--air {
  background-image: url(../img/bg-clarity-air2.png);
}
.product-tile-bg--sc {
  background-image: url(../img/bg-clarity-sc2.png);
}
.product-tile-bg--fossid {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .055) 0 1px,
      transparent 1px 38px),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, .045) 0 1px,
      transparent 1px 38px),
    linear-gradient(
      165deg,
      #4A4890 0%,
      #2E2C5C 48%,
      #16161F 100%);
}
.product-tile-bg--snyk {
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, .06) 0 1px,
      transparent 1px 22px),
    linear-gradient(
      165deg,
      #5B4FA8 0%,
      #372F63 48%,
      #17151F 100%);
}
.product-tile-bg--rl {
  background-image:
    radial-gradient(rgba(255, 255, 255, .07) 1.1px, transparent 1.1px),
    linear-gradient(
      165deg,
      #C8113A 0%,
      #7A1024 48%,
      #1C1013 100%);
  background-size: 26px 26px, auto;
}
.product-tile--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(17, 20, 24, 0.38) 0%,
      rgba(17, 20, 24, 0.1) 65%,
      rgba(17, 20, 24, 0) 100%);
  pointer-events: none;
}
.product-tile-head,
.product-tile-name,
.product-tile-desc,
.product-tile-link {
  position: relative;
  z-index: 2;
}
.product-tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 0;
  margin-bottom: auto;
}
.product-tile-cat {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}
.product-tile-head .chip-pending {
  padding: 2px 10px;
  font-size: 11.5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
}
.product-tile-name {
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}
.product-tile-desc {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-tile-link {
  display: inline-block;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
}
.product-tile-link .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.product-tile:hover .product-tile-link .arrow {
  transform: translateX(4px);
}
.product-tile.is-pending {
  background: #232A32;
}
.product-tile.is-pending .product-tile-name {
  color: rgba(255, 255, 255, 0.92);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  padding: 36px 34px 32px;
}
.service-no {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-tint-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-primary-deep);
}
.service-title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
}
.service-divider {
  height: 1px;
  background: var(--c-tint-2);
  margin: 20px 0;
  border: 0;
}
.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-sub);
  min-height: 76px;
}
.service-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-primary-deep);
}
.service-link .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.service-card:hover .service-link .arrow {
  transform: translateX(4px);
}
.section-clients {
  background: var(--c-bg-alt);
}
.section-clients .section-head {
  margin-bottom: 56px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.client-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 64px;
  padding: 0 28px;
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-pill);
}
.client-pill img {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--logo-h, 30px);
  max-width: 100%;
}
.clients-marquee {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%);
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%);
}
.marquee-row {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left var(--marquee-dur, 42s) linear infinite;
}
.marquee-row--reverse .marquee-track {
  animation-name: marquee-right;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track .client-pill {
  flex: 0 0 auto;
  width: 196px;
  margin-right: 16px;
}
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
.clients-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding: 0 20px;
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 24px;
  font-weight: 700;
  margin-left: 2px;
}
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary-deep);
}
.section-insights {
  background: var(--c-bg-alt);
}
.insights-layout {
  display: flex;
  gap: 80px;
}
.insights-head {
  width: 360px;
  flex-shrink: 0;
}
.insights-head .eyebrow {
  margin-bottom: 14px;
}
.insights-head .section-lead {
  margin-top: 14px;
}
.insights-head .btn {
  margin-top: 32px;
}
.insights-list {
  flex: 1;
  border-top: 1px solid var(--c-border);
}
.insight-item {
  display: block;
  padding: 28px 8px;
  border-bottom: 1px solid var(--c-border);
}
.insight-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.insight-item:hover .insight-title {
  color: var(--c-primary-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.insight-summary {
  margin-top: 8px;
  font-size: 15px;
  color: var(--c-text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.insight-date {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-mute);
}
.products-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--c-text-mute);
}
@media (max-width: 1279px) {
  .hero-slide {
    gap: 48px;
  }
  .hero-visual {
    width: 40%;
    height: auto;
    aspect-ratio: 520 / 380;
  }
  .hero-title {
    font-size: clamp(38px, 3.75vw, 48px);
  }
}
@media (max-width: 1023px) {
  .hero-inner {
    height: auto;
  }
  .hero-slides {
    display: grid;
    height: auto;
    min-height: 560px;
    padding: 56px 0 112px;
  }
  .hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    gap: 32px;
    padding-bottom: 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-desc {
    margin-top: 18px;
    font-size: 16px;
  }
  .hero-copy .btn {
    margin-top: 28px;
  }
  .hero-autoplay {
    width: 40px;
    height: 40px;
  }
  .hero-dot {
    position: relative;
  }
  .hero-dots {
    gap: 16px;
  }
  .hero-dot::before {
    content: "";
    position: absolute;
    inset: -16px -8px;
  }
  .section-clients .section-head {
    margin-bottom: 40px;
  }
}
@media (max-width: 767px) {
  .hero-slides {
    min-height: 0;
    padding: 48px 0 112px;
  }
  .hero-slide {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 36px;
  }
  .hero-slide--novisual {
    justify-content: center;
  }
  .hero-copy {
    flex: none;
  }
  .hero-copy .eyebrow {
    margin-bottom: 14px;
  }
  .hero-visual {
    width: 100%;
    max-width: 440px;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.3;
  }
  .hero-title br {
    display: none;
  }
  .hero-desc {
    margin-top: 16px;
  }
  .hero-controls {
    bottom: 40px;
  }
  .section-clients .section-head {
    margin-bottom: 32px;
  }
  .clients-marquee {
    gap: 12px;
  }
  .marquee-track .client-pill {
    width: 160px;
    height: 56px;
    padding: 0 22px;
    margin-right: 12px;
  }
  .clients-action {
    margin-top: 32px;
  }
}
@media (hover: none) and (pointer: coarse) {
  .hero-dots {
    gap: 16px;
  }
  .hero-dot {
    position: relative;
  }
  .hero-dot::before {
    content: "";
    position: absolute;
    inset: -16px -8px;
  }
}
@media (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
  .hero-slides {
    min-height: 0;
    padding-top: 24px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-slide--novisual {
    justify-content: flex-start;
  }
}
