/* Real Estate App — 04 Features by user */

.cw-real-estate-app-features {
  background: #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-real-estate-app-features__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cw-real-estate-app-features__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-real-estate-app-features__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-real-estate-app-features__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-real-estate-app-features__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-real-estate-app-features__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #7cf5c8;
}

.cw-real-estate-app-features__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.7);
}

.cw-real-estate-app-features__toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-real-estate-app-features__prompt {
  font-size: 14px;
  color: #a39c90;
  margin-right: 4px;
}

.cw-real-estate-app-features__audiences {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cw-real-estate-app-features__audience {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-real-estate-app-features__audience.is-active {
  border-color: #7cf5c8;
  background: #7cf5c8;
  color: #141210;
}

.cw-real-estate-app-features__audience:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-real-estate-app-features__count {
  margin-left: auto;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #7cf5c8;
}

@media (max-width: 640px) {
  .cw-real-estate-app-features__count {
    margin-left: 0;
    width: 100%;
  }
}

.cw-real-estate-app-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: rgba(243, 239, 231, 0.1);
  border-radius: 22px;
  overflow: hidden;
}

.cw-real-estate-app-features__card {
  background: #141210;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  opacity: 0.38;
  transition: opacity 0.3s, background 0.3s;
}

.cw-real-estate-app-features__card.is-active {
  opacity: 1;
  background: #1c1916;
}

.cw-real-estate-app-features__mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.25);
  background: transparent;
  color: #141210;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s;
}

.cw-real-estate-app-features__card.is-active .cw-real-estate-app-features__mark {
  border-color: #7cf5c8;
  background: #7cf5c8;
}

.cw-real-estate-app-features__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cw-real-estate-app-features__name {
  font-weight: 600;
  font-size: 15.5px;
}

.cw-real-estate-app-features__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #a39c90;
}
