/* Services page accent. */

.page-story-section--services {
  --page-accent: #2394f2;
  --page-accent-rgb: 35, 148, 242;
}

@media (min-width: 769px) {
  .page-story-section--services .page-story-visual {
    transform: translateX(clamp(-42px, -2.1vw, -24px));
  }
}

.page-story-section--services .page-story-chapters {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  min-height: 0;
  padding: clamp(26px, 3.4vw, 46px);
}

.page-story-section--services .page-feature-panel {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: clamp(24px, 2.8vw, 38px);
}

.page-story-section--services .page-feature-panel .about-founders-media {
  display: none;
}

.page-story-section--services .page-feature-panel .about-founders-content {
  min-height: 0;
  grid-template-rows: auto auto;
  gap: clamp(20px, 2.2vw, 28px);
}

.page-story-section--services .page-feature-panel .about-founders-copy {
  grid-row: auto;
  justify-self: center;
  width: min(100%, 760px);
  max-width: 760px;
  text-align: center;
}

.page-story-section--services .page-feature-panel .about-founders-title {
  max-width: min(100%, 760px);
  margin-inline: auto;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.page-story-section--services.page-story-section--about .page-feature-panel.page-feature-panel--services .about-founders-title {
  max-width: min(100%, 980px);
  font-size: clamp(1.92rem, 2.65vw, 3.05rem);
  line-height: 1.03;
}

.page-story-section--services .page-feature-panel .about-founders-text {
  max-width: 62ch;
  margin-inline: auto;
}

.page-story-section--services .page-feature-panel .about-founders-stats {
  grid-row: auto;
  align-self: start;
}

.page-story-section--services .page-feature-panel .about-founders-stat {
  min-height: 78px;
  padding: 14px;
}

.page-story-section--services .page-chapter {
  --chapter-accent-rgb: 35, 148, 242;
  --chapter-accent: rgb(var(--chapter-accent-rgb));
  position: relative;
  isolation: isolate;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 36px);
  min-width: 0;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--chapter-accent-rgb), 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.44);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 42px rgba(39, 89, 138, 0.08);
  overflow: hidden;
}

.page-story-section--services .page-chapter::before {
  display: none;
}

.page-story-section--services .page-chapter::after {
  display: none;
}

.page-story-section--services .page-chapter--02 {
  --chapter-accent-rgb: 0, 166, 186;
}

.page-story-section--services .page-chapter--03 {
  --chapter-accent-rgb: 111, 92, 255;
}

.page-story-section--services .page-chapter-head {
  display: grid;
  align-content: start;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
  padding: 0 0 0 clamp(14px, 1.5vw, 20px);
  background: none;
  box-shadow: none;
}

.page-story-section--services .page-chapter-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-story-section--services .page-chapter-index {
  width: max-content;
  min-width: 52px;
  height: 32px;
  padding: 0 13px;
  border-color: rgba(var(--chapter-accent-rgb), 0.22);
  background: rgba(var(--chapter-accent-rgb), 0.1);
  color: var(--chapter-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.page-story-section--services .page-chapter-title {
  max-width: none;
  margin: 0;
  color: rgba(35, 42, 52, 0.96);
  font-size: clamp(1.62rem, 1.9vw, 2.18rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.page-story-section--services .page-chapter-intro {
  max-width: 31ch;
  color: rgba(46, 51, 59, 0.66);
  font-size: clamp(0.92rem, 0.96vw, 1rem);
  line-height: 1.5;
}

.page-story-section--services .page-points,
.page-story-section--services .page-chapter--01 .page-points,
.page-story-section--services .page-chapter--02 .page-points,
.page-story-section--services .page-chapter--03 .page-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  min-width: 0;
  gap: clamp(10px, 1.3vw, 14px);
}

.page-story-section--services .page-point,
.page-story-section--services .page-point:first-child,
.page-story-section--services .page-point:last-child,
.page-story-section--services .page-chapter--01 .page-point,
.page-story-section--services .page-chapter--02 .page-point,
.page-story-section--services .page-chapter--03 .page-point {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 7px 14px;
  min-width: 0;
  height: auto;
  min-height: clamp(132px, 9.2vw, 158px);
  padding: clamp(15px, 1.5vw, 19px);
  border-top: 0;
  border-radius: 18px;
  border: 1px solid rgba(var(--chapter-accent-rgb), 0.13);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--chapter-accent-rgb), 0.1), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(39, 89, 138, 0.055);
  overflow: hidden;
}

.page-story-section--services .page-point::before {
  display: none;
}

.page-story-section--services .page-point-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: var(--chapter-accent);
  border: 1px solid rgba(var(--chapter-accent-rgb), 0.18);
  background:
    linear-gradient(145deg, rgba(var(--chapter-accent-rgb), 0.16), rgba(var(--chapter-accent-rgb), 0.06)),
    rgba(255, 255, 255, 0.58);
}

.page-story-section--services .page-point-icon-svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-story-section--services .page-point-title {
  grid-column: 2;
  margin: 0;
  color: rgba(35, 42, 52, 0.95);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-story-section--services .page-point-text,
.page-story-section--services .page-point-link {
  grid-column: 2;
  align-self: start;
  margin: 0;
  color: rgba(46, 51, 59, 0.66);
  font-size: clamp(0.88rem, 0.92vw, 0.96rem);
  line-height: 1.48;
}

@media (max-width: 1180px) {
  .page-story-section--services .page-chapter {
    grid-template-columns: 1fr;
  }

  .page-story-section--services .page-chapter-intro {
    max-width: 52ch;
  }
}

@media (max-width: 960px) {
  .page-story-section--services .page-points,
  .page-story-section--services .page-chapter--01 .page-points,
  .page-story-section--services .page-chapter--02 .page-points,
  .page-story-section--services .page-chapter--03 .page-points {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .page-story-section--services .page-point,
  .page-story-section--services .page-point:first-child,
  .page-story-section--services .page-point:last-child,
  .page-story-section--services .page-chapter--01 .page-point,
  .page-story-section--services .page-chapter--02 .page-point,
  .page-story-section--services .page-chapter--03 .page-point {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .page-story-section--services .page-story-chapters {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-story-section--services .page-chapter {
    gap: 16px;
    padding: 17px;
    border-radius: 22px;
  }

  .page-story-section--services .page-chapter-head {
    padding: 0;
  }

  .page-story-section--services .page-chapter-title {
    font-size: clamp(1.42rem, 6.5vw, 1.86rem);
    line-height: 1;
  }

  .page-story-section--services .page-chapter-intro {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .page-story-section--services .page-point,
  .page-story-section--services .page-point:first-child,
  .page-story-section--services .page-point:last-child,
  .page-story-section--services .page-chapter--01 .page-point,
  .page-story-section--services .page-chapter--02 .page-point,
  .page-story-section--services .page-chapter--03 .page-point {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 14px;
    border-radius: 17px;
  }

  .page-story-section--services .page-point-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .page-story-section--services .page-point-icon-svg {
    width: 20px;
    height: 20px;
  }

  .page-story-section--services .page-point-title {
    font-size: clamp(0.98rem, 4.4vw, 1.12rem);
    line-height: 1.12;
  }

  .page-story-section--services .page-point-text,
  .page-story-section--services .page-point-link {
    font-size: 0.87rem;
    line-height: 1.44;
  }
}
