/* ===================== SECTION 06 — stats section (1:1951) ===================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@400;600&display=swap');

.s06 {
  height: 823.5px;
  background: #ffffff;
  box-sizing: border-box;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Inner content column 1056px wide, 743.523px tall (1:1952) */
.s06-inner {
  position: relative;
  width: 1056px;
  height: 743.523px;
}

/* ---- Top feature cards (264px wide each) ---- */
.s06-feature {
  position: absolute;
  top: 0;
  width: 264px;
  box-sizing: border-box;
  padding: 25px 25px 25px 24px;
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  border-bottom: 1px solid rgba(34, 34, 34, 0.1);
  border-right: 1px solid rgba(34, 34, 34, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.s06-feature--last {
  border-right: none;
  padding-right: 24px;
}

.s06-feature-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.s06-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.s06-feature-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
}
.s06-feature-desc {
  margin: 0;
  width: 215px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: -0.35px;
  color: rgba(0, 0, 0, 0.75);
}

/* ---- Bottom columns (528px wide, 612.727px tall, top 130.8px) ---- */
.s06-col {
  position: absolute;
  top: 130.8px;
  width: 528px;
  height: 612.727px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.s06-col--left {
  left: 0;
  padding: 80px 81px 80px 80px;
  border-right: 1px solid rgba(34, 34, 34, 0.1);
}
.s06-col--right {
  left: 528px;
  padding: 80px;
}

.s06-col-title {
  margin: 0;
  width: 367px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #000000;
}
.s06-col--right .s06-col-title {
  width: 368px;
}

.s06-col-sub {
  margin: 0;
  padding-top: 8px;
  width: 368px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #6b7280;
}
.s06-col-sub--narrow {
  width: 367px;
}

/* media wrapper (pt-24) */
.s06-media {
  padding-top: 24px;
  width: 100%;
}

/* Left compliance dashboard image */
.s06-media-frame--left {
  width: 367px;
  height: 315.867px;
  border-radius: 12px;
  overflow: hidden;
}
.s06-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right stat frame */
.s06-stat-frame {
  position: relative;
  width: 368px;
  height: 316.727px;
  border-radius: 16px;
  overflow: hidden;
}
.s06-stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s06-stat-card {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 312px;
  height: 260.727px;
  box-sizing: border-box;
  padding: 60px 0;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s06-stat-gt {
  font-family: 'Noto Serif Display', serif;
  font-weight: 400;
  font-size: 55px;
  line-height: 82.5px;
  color: #16407a;
  white-space: nowrap;
}
.s06-stat-num {
  font-family: 'Noto Serif Display', serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 96px;
  color: #1f4e91;
  white-space: nowrap;
}
.s06-stat-pct {
  font-family: 'Noto Serif Display', serif;
  font-weight: 600;
  font-size: 55px;
  line-height: 82.5px;
  white-space: nowrap;
  background-image: linear-gradient(270deg,
    rgb(158, 42, 40) 0%,
    rgb(151, 49, 51) 7.1429%,
    rgb(144, 55, 60) 14.286%,
    rgb(136, 59, 68) 21.429%,
    rgb(129, 63, 76) 28.571%,
    rgb(122, 66, 83) 35.714%,
    rgb(114, 69, 91) 42.857%,
    rgb(106, 71, 98) 50%,
    rgb(98, 73, 104) 57.143%,
    rgb(89, 75, 111) 64.286%,
    rgb(80, 76, 117) 71.429%,
    rgb(70, 76, 124) 78.571%,
    rgb(59, 77, 130) 85.714%,
    rgb(46, 77, 137) 92.857%,
    rgb(30, 77, 143) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===================== RESPONSIVE (appended) ===================== */

@media (max-width: 1024px) {
  .s06 {
    height: auto;
    padding: 64px 0;
  }

  /* Inner wrapper: drop fixed size + relative positioning so children flow */
  .s06-inner {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2-up feature cards */
  }

  /* Feature cards: static, fill grid cells, drop fixed width + inline left */
  .s06-feature {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto;
  }
  .s06-feature-title {
    white-space: normal;
  }
  .s06-feature-desc {
    width: auto;
  }

  /* Bottom columns: de-absolute, stack full width across both grid columns */
  .s06-col {
    position: static !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
  }
  /* Remove the vertical center divider on mobile */
  .s06-col--left {
    border-right: none;
    padding: 48px 0 0;
  }
  .s06-col--right {
    padding: 48px 0 0;
  }

  .s06-col-title,
  .s06-col--right .s06-col-title,
  .s06-col-sub,
  .s06-col-sub--narrow {
    width: 100%;
  }

  /* Dashboard image scales fluidly */
  .s06-media-frame--left {
    width: 100%;
    height: auto;
  }
  .s06-media-img {
    height: auto;
  }

  /* Stat box: full width, height auto */
  .s06-stat-frame {
    width: 100%;
    height: auto;
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  /* Feature cards: 1-up */
  .s06-inner {
    grid-template-columns: 1fr;
  }
  /* Restore right border so each card keeps its hairline edge */
  .s06-feature {
    border-right: 1px solid rgba(34, 34, 34, 0.1);
  }

  /* Smaller headings */
  .s06-col-title,
  .s06-col--right .s06-col-title {
    font-size: 18px;
    line-height: 24px;
  }

  /* Shrink the ">84.3%" figure so it fits */
  .s06-stat-num {
    font-size: 44px;
    line-height: 60px;
  }
  .s06-stat-gt,
  .s06-stat-pct {
    font-size: 38px;
    line-height: 60px;
  }
  .s06-stat-card {
    width: calc(100% - 56px);
    height: auto;
    padding: 40px 0;
  }
}
