/* Mobile App — 02 Transform */

@keyframes cw-mobile-app-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-mobile-app-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.cw-mobile-app-reveal.is-visible {
  animation: cw-mobile-app-reveal 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.cw-mobile-app-transform {
  background: #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-transform__inner {
  box-sizing: border-box;
  width: min(1580px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 120px) var(--cw-ma-pad-x);
}

.cw-mobile-app-transform__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.cw-mobile-app-transform__sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cw-mobile-app-transform__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #f3efe7;
  text-wrap: balance;
}

.cw-mobile-app-transform__title-em {
  color: #d4f53c;
}

.cw-mobile-app-transform__offices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-mobile-app-transform__offices-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.55);
}

.cw-mobile-app-transform__city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-mobile-app-transform__city-tab {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.2);
  background: transparent;
  color: #eae7e1;
  font: 500 14px 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cw-mobile-app-transform__city-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(234, 231, 225, 0.4);
  transition: background 0.2s;
}

.cw-mobile-app-transform__city-tab.is-active {
  border-color: #d4f53c;
  background: rgba(212, 245, 60, 0.12);
  color: #d4f53c;
}

.cw-mobile-app-transform__city-tab.is-active .cw-mobile-app-transform__city-tab-dot {
  background: #d4f53c;
}

.cw-mobile-app-transform__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.8);
}

.cw-mobile-app-transform__p {
  margin: 0;
}

.cw-mobile-app-transform__link {
  color: #f3efe7;
  text-underline-offset: 3px;
}

.cw-mobile-app-transform__city {
  color: inherit;
  transition: color 0.3s;
}

.cw-mobile-app-transform__city.is-highlight {
  color: #d4f53c;
}

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