.features { display: grid; gap: 20px; }
.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { min-width: 0; }
.feature__in {
  position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; padding: clamp(22px, 2.4vw, 34px);
  border-radius: var(--r-tile); background: var(--lilac); color: var(--ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:nth-child(4n + 2) .feature__in { background: var(--blush); }
.feature:nth-child(4n + 3) .feature__in { background: var(--peach); }
.feature:nth-child(4n + 4) .feature__in { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
a.feature__in:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__media { display: grid; place-items: center; flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: rgb(255 255 255 / .72); color: var(--rose-deep); font-size: 1.6rem; }
.feature__media img { width: 100%; height: 100%; object-fit: contain; }
.feature__num { position: absolute; top: 18px; right: 24px; color: var(--rose); font: italic 500 2.6rem / 1 var(--font-d); }
.feature__num ~ .feature__body > :first-child { padding-right: 48px; }
.feature__title { display: block; margin: 0; padding: 0; color: var(--ink); font: 500 clamp(1.3rem, 1.8vw, 1.6rem) / 1.2 var(--font-d); letter-spacing: 0; text-wrap: balance; }
.feature__title::first-letter { text-transform: uppercase; }
.feature__text { margin-top: 10px; line-height: 1.55; }
.feature__text p { margin: 0 0 .6em; }
.features--photo .feature__in { padding: 12px 12px clamp(22px, 2.4vw, 30px); }
.features--photo .feature__media { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--r-img); background: rgb(255 255 255 / .55); }
.features--photo .feature__media img { object-fit: cover; }
.features__after { max-width: 760px; margin: clamp(28px, 4vw, 44px) auto 0; color: var(--ink); font-size: clamp(1.05rem, 1.3vw, 1.2rem); text-align: center; }
.features__after > :last-child { margin-bottom: 0; }
.features--full .feature__media { aspect-ratio: auto; height: auto; }
.features--full .feature__media img { height: auto; object-fit: contain; }
.features--photo .feature__body { padding: 0 clamp(10px, 1.2vw, 18px); }

.features--1 { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; gap: 14px; }
.features--1 .feature .feature__in { flex-direction: row; align-items: flex-start; gap: clamp(16px, 2vw, 26px); padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.8vw, 36px); background: var(--paper); box-shadow: var(--shadow-sm); }
.features--1 .feature__media { width: 56px; height: 56px; background: var(--lilac); font-size: 1.45rem; }
.features--1 .feature:nth-child(4n + 2) .feature__media { background: var(--blush); }
.features--1 .feature:nth-child(4n + 3) .feature__media { background: var(--peach); }
.features--1 .feature:nth-child(4n + 4) .feature__media { background: var(--bg); }
.features--1 .feature__body { padding-top: 6px; }
.features--1 .feature__title { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }
.features--1 .feature__text { margin-top: 8px; }
.features-sec--list .head { margin-inline: auto; text-align: center; }
.features-sec--list .head > .rich { margin-inline: auto; }

.features-sec:is(.features-sec--quotes, .features-sec--steps, .features-sec--dark) .head { margin-inline: auto; text-align: center; }
.features-sec:is(.features-sec--quotes, .features-sec--steps, .features-sec--dark) .head > .rich { margin-inline: auto; }

.features--quotes { gap: 18px; }
.features--quotes .feature .feature__in { padding: 62px clamp(24px, 2.6vw, 34px) clamp(26px, 2.6vw, 32px); border-radius: var(--r-tile) var(--r-tile) var(--r-tile) 8px; background: var(--paper); box-shadow: var(--shadow-sm); }
.features--quotes .feature__in::before { content: "”"; position: absolute; top: 14px; left: clamp(22px, 2.4vw, 32px); color: var(--rose); font: 500 4.4rem / .9 var(--font-d); pointer-events: none; }
.features--quotes .feature:nth-child(4n + 2) .feature__in::before { color: var(--rose-deep); }
.features--quotes .feature:nth-child(4n + 3) .feature__in::before { color: var(--ink); }
.features--quotes .feature__title { font: italic 400 clamp(1.25rem, 1.7vw, 1.5rem) / 1.32 var(--font-d); text-wrap: pretty; }

.features--steps { gap: 28px 24px; }
.features--steps .feature .feature__in { gap: 18px; padding: 0; background: none; box-shadow: none; }
.features--steps .feature__num { position: relative; top: auto; right: auto; z-index: 1; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 1.45rem / 1 var(--font-d); }
.features--steps .feature:nth-child(even) .feature__num { background: var(--rose-deep); }
.features--steps .feature:not(:last-child) .feature__in::after { content: ""; position: absolute; top: 28px; left: 68px; right: -24px; height: 1px; background: var(--blush-2); }
.features--steps .feature__body > :first-child { padding-right: 0; }
.features--steps .feature__title { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }
.features--steps .feature__text { color: var(--text); }
.features--steps.features--1 { gap: 0; }
.features--steps.features--1 .feature .feature__in { flex-direction: row; gap: 22px; padding-bottom: 30px; background: none; box-shadow: none; }
.features--steps.features--1 .feature:not(:last-child) .feature__in::after { top: 62px; bottom: 4px; left: 28px; right: auto; width: 1px; height: auto; }
.features--steps.features--1 .feature__body { padding-top: 12px; }

.features--checks { gap: 18px clamp(24px, 4vw, 56px); }
.features--checks .feature .feature__in { flex-direction: row; align-items: flex-start; gap: 14px; padding: 0; background: none; box-shadow: none; }
.features--checks .feature__media { width: 38px; height: 38px; background: var(--blush); font-size: 1.05rem; }
.features--checks .feature:nth-child(3n + 2) .feature__media { background: var(--lilac); }
.features--checks .feature:nth-child(3n + 3) .feature__media { background: var(--peach); }
.features--checks .feature__body { padding-top: 6px; }
.features--checks .feature__title { font-size: clamp(1.15rem, 1.4vw, 1.3rem); }
.features--checks .feature__text { margin-top: 4px; }

.features-sec--dark { padding-inline: var(--gut); }
.features-sec--dark > .wrap { width: 100%; max-width: 1480px; padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 80px); border-radius: clamp(28px, 4vw, 56px); background: var(--ink); color: #D9D5F2; }
.features-sec--dark .head > :not(.rich), .features-sec--dark .head .eyebrow { color: #fff; }
.features-sec--dark .head > .rich { color: #D9D5F2; }
.features-sec--dark .head em { color: var(--blush-2); }
.features--dark .feature .feature__in { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #D9D5F2; }
.features--dark .feature__title { color: #fff; }
.features--dark .feature__media { background: rgb(255 255 255 / .1); color: var(--blush-2); }
.features--dark .feature__num { color: var(--blush-2); }
.features-sec--dark .features__after { color: #fff; }
.features-sec--dark .after .btn--ink { background: var(--blush); color: var(--ink); }

@media (max-width: 1023px) {
  .features--3, .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .features, .features--2, .features--3, .features--4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .features--1 .feature .feature__in { gap: 14px; }
  .features--1 .feature__media { width: 44px; height: 44px; font-size: 1.15rem; }
  .features--1 .feature__body { padding-top: 2px; }
  .features--steps .feature .feature__in { flex-direction: row; gap: 16px; }
  .features--steps .feature__num { flex: none; width: 48px; height: 48px; font-size: 1.25rem; }
  .features--steps .feature:not(:last-child) .feature__in::after { top: 54px; bottom: -22px; left: 24px; right: auto; width: 1px; height: auto; }
  .features--steps .feature__body { padding-top: 10px; }
  .features--checks { gap: 14px; }
}
