/* Social Media App — 02 Custom + networking */

@keyframes cw-sm-custom-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-social-media-app-custom {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-social-media-app-custom__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  box-sizing: border-box;
}

.cw-social-media-app-custom__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-social-media-app-custom__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.cw-social-media-app-custom__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #c8391a;
}

.cw-social-media-app-custom__subtitle {
  margin: 10px 0 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}

.cw-social-media-app-custom__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2e2822;
}

.cw-social-media-app-custom__panel {
  position: sticky;
  top: 90px;
  border-radius: 28px;
  background: #141210;
  color: #f3efe7;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 40px 80px -40px rgba(40, 20, 80, 0.65);
  min-width: 0;
}

@media (max-width: 900px) {
  .cw-social-media-app-custom__panel {
    position: relative;
    top: auto;
  }
}

.cw-social-media-app-custom__panel-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-social-media-app-custom__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-social-media-app-custom__chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.16);
  background: transparent;
  color: #eae7e1;
  font: 600 13px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cw-social-media-app-custom__chip:hover {
  border-color: rgba(255, 85, 39, 0.45);
}

.cw-social-media-app-custom__chip:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-social-media-app-custom__chip.is-active {
  border-color: #ff5527;
  background: #ff5527;
  color: #141210;
}

.cw-social-media-app-custom__detail.is-updating {
  animation: cw-sm-custom-in 0.4s ease-out both;
}

.cw-social-media-app-custom__detail-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.cw-social-media-app-custom__detail-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(234, 231, 225, 0.72);
}

.cw-social-media-app-custom__features-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-social-media-app-custom__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cw-social-media-app-custom__feature {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: background 0.35s ease, color 0.35s ease;
}

.cw-social-media-app-custom__feature--on {
  background: rgba(212, 245, 60, 0.12);
  color: #d4f53c;
}

.cw-social-media-app-custom__feature--off {
  background: rgba(234, 231, 225, 0.04);
  color: rgba(234, 231, 225, 0.4);
}

.cw-social-media-app-custom__detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
