@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Vollkorn:wght@600;700&display=swap);


/* ─── Custom Properties ──────────────────────────────────────────────────── */
.si {
  --si-card-bg:     #f7f4fd;
  --si-gap-color:   #d9cfe8;
  --si-illus-bg:    #f0e8f7;
  --si-text:        #271d3b;
  --si-text-sub:    #73668c;
  --si-eyebrow:     #271d3b;
  --si-num:         #7359a6;
  --si-btn-bg:      #271d3b;
  --si-btn-text:    #f7f4fd;
  --si-card-radius: 15px;
}

/* ─── Entrance Animations ─────────────────────────────────────────────────── */
@keyframes siFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes siFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Section Shell — no background, sits directly in the page ───────────── */
.si {
  width: 100%;
  box-sizing: border-box;
}

/* ─── Inner Wrapper ───────────────────────────────────────────────────────── */
.si__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 85rem;
  margin: 0 auto;
  padding: 64px 2rem;
  box-sizing: border-box;
}

/* ─── Hero Row ────────────────────────────────────────────────────────────── */
.si__hero-row {
  display: flex;
  align-items: stretch;
  gap: 64px;
}

/* ─── Copy Block ──────────────────────────────────────────────────────────── */
.si__copy {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.si__eyebrow {
  display: none;
}

.si__heading {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--si-text);
  margin: 0;
  animation: siFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

.si__body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #271d3b;
  margin: 0;
  animation: siFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

.si__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 20px;
  background-color: var(--si-btn-bg);
  color: var(--si-btn-text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(39, 29, 59, 0.18), 0 1px 2px rgba(39, 29, 59, 0.1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 16px;
  animation: siFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.4s;
  will-change: transform;
}

.si__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 29, 59, 0.2), 0 2px 6px rgba(39, 29, 59, 0.12),
              0 0 28px rgba(167, 125, 197, 0.4);
}

.si__cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(39, 29, 59, 0.18), 0 1px 2px rgba(39, 29, 59, 0.1);
  transition-duration: 0.08s;
}

/* ─── Illustration — flex 50/50 with copy, fills hero row height ─────────── */
.si__illustration {
  flex: 1 0 0;
  min-width: 0;
  position: relative;
  min-height: 280px;
  background-color: var(--si-illus-bg);
  border-radius: 16px;
  overflow: hidden;
  animation: siFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.25s;
}

.si__illustration-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Feature Cards ───────────────────────────────────────────────────────── */
.si__cards {
  display: flex;
  gap: 1.5px;
  align-items: stretch;
  background-color: var(--si-gap-color);
  border-radius: var(--si-card-radius);
  border: 1.5px solid var(--si-gap-color);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 24px;
  animation: siFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}

.si__card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background-color: var(--si-card-bg);
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.si__card:hover {
  background-color: #e7dcf2;
}

.si__card-num {
  display: block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: var(--si-num);
  opacity: 0.5;
}

.si__card-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.si__card-title {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.375;
  color: var(--si-text);
  margin: 0;
}

.si__card-body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.571;
  color: #271d3b;
  margin: 0;
}

/* ─── Reduced Motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .si__eyebrow,
  .si__heading,
  .si__body,
  .si__cta,
  .si__illustration,
  .si__cards {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── Responsive: Tablet (≤ 991px) ───────────────────────────────────────── */
@media (max-width: 991px) {
  .si {
    --si-card-radius: 13px;
  }

  .si__inner {
    padding: 56px 2rem;
    gap: 28px;
  }

  .si__hero-row {
    gap: 40px;
  }

  .si__heading {
    font-size: clamp(28px, 3.5vw, 36px);
    line-height: 1.19;
  }

  .si__body {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Illustration fixed width alongside text */
  .si__illustration {
    flex: 0 0 320px;
    min-height: 300px;
    border-radius: 14px;
  }

  /* Cards: 2×2 grid */
  .si__cards {
    flex-wrap: wrap;
  }

  .si__card {
    flex: 1 0 calc(50% - 1px);
    min-width: calc(50% - 1px);
    gap: 10px;
    padding: 24px 20px;
  }

  .si__card-num  { font-size: 11px; }
  .si__card-title { font-size: 15px; line-height: 1.27; }
  .si__card-body  { font-size: 13px; line-height: 1.615; }
}

/* ─── Responsive: Mobile Landscape (≤ 767px) ─────────────────────────────── */
@media (max-width: 767px) {
  .si__inner {
    padding: 40px 2rem;
    gap: 24px;
  }

  /* Stack: illustration → copy → cards */
  .si__hero-row {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .si__illustration {
    order: -1;
    flex: none;
    width: 100%;
    height: 240px;
    min-height: unset;
    border-radius: 12px;
  }

  .si__copy {
    gap: 16px;
  }

  .si__heading {
    font-size: clamp(26px, 4vw, 30px);
    line-height: 1.2;
  }
}

/* ─── Responsive: Mobile Portrait (≤ 479px) ──────────────────────────────── */
@media (max-width: 479px) {
  .si {
    --si-card-radius: 11px;
  }

  .si__inner {
    padding: 32px 2rem;
    gap: 20px;
  }

  .si__copy {
    gap: 14px;
  }

  .si__illustration {
    height: 200px;
  }

  .si__eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .si__heading {
    font-size: 24px;
    line-height: 1.23;
  }

  .si__body {
    font-size: 14px;
    line-height: 1.571;
  }

  /* Cards: single column */
  .si__cards {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .si__card {
    flex: none;
    width: 100%;
    min-width: 100%;
  }

  .si__card-title { font-size: 14px; line-height: 1.286; }
  .si__card-body  { font-size: 13px; }
}

