/* Taxi App — 02 Why Corewave & key stages */

.cw-taxi-app-why-stages {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-taxi-app-why-stages__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cw-taxi-app-why-stages__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.cw-taxi-app-why-stages__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

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

.cw-taxi-app-why-stages__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #8a6a00;
}

.cw-taxi-app-why-stages__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.cw-taxi-app-why-stages__panel {
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  align-self: start;
}

.cw-taxi-app-why-stages__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-taxi-app-why-stages__panel-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cw-taxi-app-why-stages__stage-indicator {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #f7d046;
}

.cw-taxi-app-why-stages__bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.cw-taxi-app-why-stages__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(243, 239, 231, 0.14);
  transition: background 0.3s;
}

.cw-taxi-app-why-stages__bar.is-filled {
  background: #f7d046;
}

.cw-taxi-app-why-stages__steps {
  display: flex;
  flex-direction: column;
}

.cw-taxi-app-why-stages__step {
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 231, 0.12);
  background: transparent;
  color: #f3efe7;
  text-align: left;
  padding: 16px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 12px;
  align-items: start;
  width: 100%;
  font: inherit;
}

.cw-taxi-app-why-stages__step:last-child {
  border-bottom: 0;
}

.cw-taxi-app-why-stages__step-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  padding-top: 5px;
  color: rgba(243, 239, 231, 0.4);
  transition: color 0.25s;
}

.cw-taxi-app-why-stages__step.is-active .cw-taxi-app-why-stages__step-no {
  color: #f7d046;
}

.cw-taxi-app-why-stages__step-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: rgba(243, 239, 231, 0.55);
  transition: color 0.25s;
}

.cw-taxi-app-why-stages__step.is-active .cw-taxi-app-why-stages__step-title {
  color: #f3efe7;
}

.cw-taxi-app-why-stages__step-desc {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.72);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cw-taxi-app-why-stages__step.is-active .cw-taxi-app-why-stages__step-desc {
  max-height: 80px;
}

.cw-taxi-app-why-stages__step:focus-visible {
  outline: 2px solid #f7d046;
  outline-offset: 2px;
}
