.sano-cap-v2 {
  /* Shared v2 motion tokens, same names as the other v2 modules. */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-hover: 280ms;
  --dur-icon: 400ms;

  color: #0b1b2b;
  container-name: sano-cap-v2;
  container-type: inline-size;
  font-family: "Beaufort Classic", sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.sano-cap-v2,
.sano-cap-v2 * {
  box-sizing: border-box;
}

.sano-cap-v2--white {
  background: #ffffff;
}

.sano-cap-v2--subtle {
  background: #f6f7f8;
}

.sano-cap-v2__inner {
  margin: 0 auto;
  max-width: 1140px;
  padding: 96px 0;
}

.sano-cap-v2__head {
  margin: 0 auto 64px;
  max-width: 760px;
  text-align: center;
}

.sano-cap-v2__eyebrow {
  color: #0b1b2b;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.5;
  margin: 0 0 20px;
  text-transform: none;
}

.sano-cap-v2__heading {
  color: #0b1b2b;
  font-size: clamp(32px, 3.2cqi, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.sano-cap-v2__grid {
  display: grid;
  gap: 48px 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sano-cap-v2__card {
  border-top: 1px solid #dbdee0;
  min-width: 0;
  padding-top: 40px;
  position: relative;
}

/* A red rule draws across the grey one. The cards are not links,
   so nothing lifts and the cursor never changes: the movement is
   the whole signal. */
.sano-cap-v2__card::before {
  background: #f75337;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-hover) var(--ease-soft);
  width: 100%;
}

.sano-cap-v2__icon {
  display: block;
  height: 24px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  transition: transform var(--dur-icon) var(--ease-soft);
  width: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .sano-cap-v2__card:hover::before { transform: scaleX(1); }
  .sano-cap-v2__card:hover .sano-cap-v2__icon { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .sano-cap-v2__card::before { transition: none; }
  .sano-cap-v2__icon { transition: none; }
  .sano-cap-v2__card:hover .sano-cap-v2__icon { transform: none; }
}

.sano-cap-v2__title {
  color: #0b1b2b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 8px;
}

.sano-cap-v2__description {
  color: #5a6472;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

@container sano-cap-v2 (max-width: 850px) {
  .sano-cap-v2__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

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

@container sano-cap-v2 (max-width: 600px) {
  .sano-cap-v2__inner {
    padding: 64px 32px;
  }

  .sano-cap-v2__head {
    margin-bottom: 40px;
  }

  .sano-cap-v2__grid {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sano-cap-v2__card {
    padding-top: 24px;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 850px) {
    .sano-cap-v2__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 600px) {
    .sano-cap-v2__inner {
      padding: 64px 32px;
    }

    .sano-cap-v2__grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

/* Keep the 1140px grid aligned inside HubSpot sections with outer gutters. */
@container sano-cap-v2 (max-width: 1139px) {
  .sano-cap-v2__inner { padding-inline: clamp(0px, calc((1140px - 100cqi) / 2), 24px); }
}
@container sano-cap-v2 (max-width: 767px) {
  .sano-cap-v2__inner { padding-inline: 32px; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 1139px) {
    .sano-cap-v2__inner { padding-inline: clamp(0px, calc((1140px - 100vw) / 2), 24px); }
  }
  @media (max-width: 767px) {
    .sano-cap-v2__inner { padding-inline: 32px; }
  }
}

/* Brief scroll entrance. Without JavaScript, content stays visible. */
.sano-cap-v2 [data-sano-reveal="pending"] {
  opacity: 0;
  translate: 0 24px;
}

.sano-cap-v2 [data-sano-reveal="visible"] {
  animation: sanoV2Reveal 1000ms cubic-bezier(0.33, 1, 0.68, 1) both;
  animation-delay: calc(var(--sano-reveal-index, 0) * 120ms);
}

@keyframes sanoV2Reveal {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sano-cap-v2 [data-sano-reveal] {
    opacity: 1;
    translate: none;
    animation: none;
  }
}

/* Mobile spacing and text containment, 2026-09-29. */
@media (max-width: 767px) {
  .sano-cap-v2__inner { padding: 48px 16px; }
  .sano-cap-v2__head { margin-bottom: 32px; }
}
